Wolfram Schneider [Wed, 8 Jan 2014 17:23:54 +0000 (17:23 +0000)]
run all JS files locally
Wolfram Schneider [Wed, 8 Jan 2014 17:20:05 +0000 (17:20 +0000)]
run all JS files locally
Wolfram Schneider [Wed, 8 Jan 2014 17:16:18 +0000 (17:16 +0000)]
make a local copy of pz2.js for testing
Wolfram Schneider [Wed, 8 Jan 2014 13:19:14 +0000 (13:19 +0000)]
simplify tests
Wolfram Schneider [Wed, 8 Jan 2014 13:16:54 +0000 (13:16 +0000)]
run 'setup' before calling check-js
Wolfram Schneider [Wed, 8 Jan 2014 13:14:56 +0000 (13:14 +0000)]
`make all' should not call the tests
Wolfram Schneider [Wed, 8 Jan 2014 13:09:22 +0000 (13:09 +0000)]
do not run distclean by default
Wolfram Schneider [Wed, 8 Jan 2014 13:05:22 +0000 (13:05 +0000)]
run full syntax check before running tests
Wolfram Schneider [Wed, 8 Jan 2014 13:04:26 +0000 (13:04 +0000)]
new target mkws-complete-syntax-check
Wolfram Schneider [Wed, 8 Jan 2014 12:58:48 +0000 (12:58 +0000)]
new target mkws-syntax-check
for a simple and fast check if mkws.js is valid JavaScript
Wolfram Schneider [Wed, 8 Jan 2014 12:53:40 +0000 (12:53 +0000)]
import missing favicon
Wolfram Schneider [Wed, 8 Jan 2014 12:48:44 +0000 (12:48 +0000)]
file no longer needed, running MKWS on page load event is now the default
Wolfram Schneider [Wed, 8 Jan 2014 12:46:54 +0000 (12:46 +0000)]
fix makefile warnings
Wolfram Schneider [Wed, 8 Jan 2014 12:45:50 +0000 (12:45 +0000)]
add distclean target
Wolfram Schneider [Wed, 8 Jan 2014 12:45:13 +0000 (12:45 +0000)]
improve 'setup' target for tests
Wolfram Schneider [Wed, 8 Jan 2014 12:41:42 +0000 (12:41 +0000)]
add a new setup target
The setup target will call all other target needed for test and
developing.
Wolfram Schneider [Wed, 8 Jan 2014 12:31:09 +0000 (12:31 +0000)]
new jasmine location
Wolfram Schneider [Wed, 8 Jan 2014 12:17:11 +0000 (12:17 +0000)]
jasmine directory moved up and is part of the repo
Wolfram Schneider [Wed, 8 Jan 2014 12:15:04 +0000 (12:15 +0000)]
import jasmine-standalone-1.3.1.zip
Mike Taylor [Tue, 7 Jan 2014 12:03:55 +0000 (12:03 +0000)]
Ignore generated directory node_modules
Mike Taylor [Tue, 7 Jan 2014 12:03:33 +0000 (12:03 +0000)]
Remove spurious line consisting only of a tab.
Add "terse" rule to do tests all at once.
Add $(MIKE) prefix for running my local node.js
Mike Taylor [Mon, 6 Jan 2014 17:29:26 +0000 (17:29 +0000)]
Towards sending windowid
Mike Taylor [Mon, 6 Jan 2014 17:15:46 +0000 (17:15 +0000)]
run_auto_searches() starts search for EACH #mkwsRecords* div.
newSearch() and triggerSearch() accept windowid but don't do much with it.
Mike Taylor [Mon, 6 Jan 2014 15:08:56 +0000 (15:08 +0000)]
Better div names, differing searches.
Mike Taylor [Mon, 6 Jan 2014 14:26:58 +0000 (14:26 +0000)]
Multiple auto-executing elements.
Wolfram Schneider [Mon, 6 Jan 2014 12:12:19 +0000 (12:12 +0000)]
call mkws-complete inside <body/>
Wolfram Schneider [Mon, 6 Jan 2014 11:54:03 +0000 (11:54 +0000)]
Merge remote branch 'origin/onload'
Wolfram Schneider [Fri, 3 Jan 2014 17:35:20 +0000 (17:35 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 3 Jan 2014 17:35:14 +0000 (17:35 +0000)]
build the MKWS from GIT repo in a sandbox and run full tests
Wolfram Schneider [Fri, 3 Jan 2014 15:44:53 +0000 (15:44 +0000)]
Merge remote branch 'origin/master' into onload
Wolfram Schneider [Fri, 3 Jan 2014 15:42:59 +0000 (15:42 +0000)]
switch from "jquery" to "jQuery" module
the old jquery module upgraded to v2.10 which is no
longer compatible with our tests.
Wolfram Schneider [Fri, 3 Jan 2014 15:16:33 +0000 (15:16 +0000)]
Merge branch 'master' into onload
Conflicts:
tools/htdocs/mkws.js
Wolfram Schneider [Fri, 3 Jan 2014 14:35:47 +0000 (14:35 +0000)]
bracket typo
Wolfram Schneider [Fri, 3 Jan 2014 13:15:09 +0000 (13:15 +0000)]
improve checking of mkws_config object, MKWS-88
Wolfram Schneider [Thu, 19 Dec 2013 16:43:33 +0000 (16:43 +0000)]
Merge remote branch 'origin/onload' into onload
Wolfram Schneider [Thu, 19 Dec 2013 16:34:58 +0000 (16:34 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws into onload
Wolfram Schneider [Thu, 19 Dec 2013 16:34:12 +0000 (16:34 +0000)]
debug -> debug_function
Mike Taylor [Thu, 19 Dec 2013 16:16:57 +0000 (16:16 +0000)]
Include Handlebars.
Mike Taylor [Thu, 19 Dec 2013 15:39:23 +0000 (15:39 +0000)]
First release
Mike Taylor [Thu, 19 Dec 2013 15:39:00 +0000 (15:39 +0000)]
release depends on mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 15:35:11 +0000 (15:35 +0000)]
Add "Versions" section with links to old versions and NEWS file.
Mike Taylor [Thu, 19 Dec 2013 15:34:04 +0000 (15:34 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 19 Dec 2013 15:33:36 +0000 (15:33 +0000)]
NEWS file.
Wolfram Schneider [Thu, 19 Dec 2013 15:23:09 +0000 (15:23 +0000)]
parseQuerystring() doesn't have to be a jquery plugin
Wolfram Schneider [Thu, 19 Dec 2013 15:19:28 +0000 (15:19 +0000)]
move the jquery plugins out of the _mkws() function,
so we could call it before mkws() runs at page load
Mike Taylor [Thu, 19 Dec 2013 15:05:48 +0000 (15:05 +0000)]
Add links to minified JS files.
Mike Taylor [Thu, 19 Dec 2013 15:05:11 +0000 (15:05 +0000)]
Make .min.js files by default.
Wolfram Schneider [Thu, 19 Dec 2013 14:30:44 +0000 (14:30 +0000)]
Merge branch 'master' into onload
Wolfram Schneider [Thu, 19 Dec 2013 14:19:30 +0000 (14:19 +0000)]
test output: do not use color coding for output
Wolfram Schneider [Thu, 19 Dec 2013 14:10:25 +0000 (14:10 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Thu, 19 Dec 2013 14:07:51 +0000 (14:07 +0000)]
run each jasmine node test separately
This is a workaround for the strange error message
TypeError: Cannot call method 'getAttribute' of undefined
at Object.pzHttpRequest._handleResponse (http://mkws.indexdata.com/pazpar2/js/pz2.js:1018:38)
at request.onreadystatechange (http://mkws.indexdata.com/pazpar2/js/pz2.js:939:21)
at dispatchEvent (/jenkins/jenkins-varlib/jobs/mkws/workspace/test/node_modules/jsdom/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:570:25)
at setState (/jenkins/jenkins-varlib/jobs/mkws/workspace/test/node_modules/jsdom/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:589:14)
at IncomingMessage.<anonymous> (/jenkins/jenkins-varlib/jobs/mkws/workspace/test/node_modules/jsdom/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:427:13)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
Wolfram Schneider [Thu, 19 Dec 2013 14:04:26 +0000 (14:04 +0000)]
Merge remote branch 'origin/master' into onload
Mike Taylor [Thu, 19 Dec 2013 13:30:59 +0000 (13:30 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 19 Dec 2013 13:29:58 +0000 (13:29 +0000)]
Reorder
Wolfram Schneider [Thu, 19 Dec 2013 13:29:29 +0000 (13:29 +0000)]
debug(): format timestamps with 3 digits, e.g. 0.1 -> 0.100
Mike Taylor [Thu, 19 Dec 2013 13:28:33 +0000 (13:28 +0000)]
"make all" depends on mkws-js-min
So it really does make all, now.
Mike Taylor [Thu, 19 Dec 2013 13:26:49 +0000 (13:26 +0000)]
Remove another used-once variable.
Mike Taylor [Thu, 19 Dec 2013 13:25:48 +0000 (13:25 +0000)]
"make clean" removes generated mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 13:24:35 +0000 (13:24 +0000)]
Comment
Mike Taylor [Thu, 19 Dec 2013 13:24:06 +0000 (13:24 +0000)]
"make release" rule includes mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 13:22:56 +0000 (13:22 +0000)]
Ignore generated file mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 13:22:36 +0000 (13:22 +0000)]
Generalise rule to make %.min.js
mkws-js-min now depends on both mkws.min.js and mkws-complete.min.js
Mike Taylor [Thu, 19 Dec 2013 13:20:06 +0000 (13:20 +0000)]
Lose indirection through awkward variable.
Mike Taylor [Thu, 19 Dec 2013 13:18:45 +0000 (13:18 +0000)]
Remove redundant overridden redirect.
Mike Taylor [Thu, 19 Dec 2013 13:15:11 +0000 (13:15 +0000)]
Ignore generated file mkws-complete.min.js
Mike Taylor [Thu, 19 Dec 2013 13:14:48 +0000 (13:14 +0000)]
New file VERSION
Mike Taylor [Thu, 19 Dec 2013 13:14:35 +0000 (13:14 +0000)]
Initial "make install" rule.
Wolfram Schneider [Thu, 19 Dec 2013 11:21:33 +0000 (11:21 +0000)]
keep our copyright when minifying JavaScript using YUIcompressor
Wolfram Schneider [Thu, 19 Dec 2013 11:13:25 +0000 (11:13 +0000)]
update help
Wolfram Schneider [Thu, 19 Dec 2013 10:59:05 +0000 (10:59 +0000)]
implement distclean
Wolfram Schneider [Thu, 19 Dec 2013 10:58:26 +0000 (10:58 +0000)]
update clean target
Wolfram Schneider [Thu, 19 Dec 2013 10:56:30 +0000 (10:56 +0000)]
create minified mkws-complete.min.js, MKWS-83
Wolfram Schneider [Thu, 19 Dec 2013 10:29:11 +0000 (10:29 +0000)]
call mkws() on page load, part of MKWS-50
This make it possible to configure mkws anywhere in a HTML page,
in the <head> or <body> section. Also, this would enable us to
include mkws-complete.js at the end of the HTML page at the bottom, to
speedup incremental page load for users.
Wolfram Schneider [Thu, 19 Dec 2013 10:27:47 +0000 (10:27 +0000)]
load mkws-complete.js in <body> section, and call mkws() on page load
Wolfram Schneider [Thu, 19 Dec 2013 09:46:42 +0000 (09:46 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Mike Taylor [Wed, 18 Dec 2013 17:56:50 +0000 (17:56 +0000)]
Finally change that stupid old header comment from jsdemo
Mike Taylor [Wed, 18 Dec 2013 17:42:32 +0000 (17:42 +0000)]
Finalise index.html
Mike Taylor [Wed, 18 Dec 2013 17:32:12 +0000 (17:32 +0000)]
Finish classifying examples.
Wolfram Schneider [Wed, 18 Dec 2013 17:25:36 +0000 (17:25 +0000)]
call run_auto_searches() for raw pp2, MKWS-82
Wolfram Schneider [Wed, 18 Dec 2013 17:24:38 +0000 (17:24 +0000)]
add a flag to disable check for URLs in records
We need this for raw pp2 tests, MKWS-82
Mike Taylor [Wed, 18 Dec 2013 17:14:47 +0000 (17:14 +0000)]
Start sorting examples into subcategories.
Allow H2 to be normal size now we're using H3 as well.
Mike Taylor [Wed, 18 Dec 2013 17:14:06 +0000 (17:14 +0000)]
Get mkws-complete.js from correct location, don't depend on FS layout.
Mike Taylor [Wed, 18 Dec 2013 17:12:55 +0000 (17:12 +0000)]
Get mkws-complete.js from correct location, don't depend on FS layout.
Wolfram Schneider [Wed, 18 Dec 2013 16:49:01 +0000 (16:49 +0000)]
if running as raw pp2, don't wait for mkws auth, MKWS-82
Mike Taylor [Wed, 18 Dec 2013 16:25:53 +0000 (16:25 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 18 Dec 2013 16:25:45 +0000 (16:25 +0000)]
New text on target selection.
Mike Taylor [Wed, 18 Dec 2013 16:20:12 +0000 (16:20 +0000)]
New file, using-mkadmin, extracted from material in the home-page.
Wolfram Schneider [Wed, 18 Dec 2013 16:19:27 +0000 (16:19 +0000)]
indent
Wolfram Schneider [Wed, 18 Dec 2013 16:16:27 +0000 (16:16 +0000)]
run with pp2 and sp
Wolfram Schneider [Wed, 18 Dec 2013 16:16:09 +0000 (16:16 +0000)]
configure to use pp2
Wolfram Schneider [Wed, 18 Dec 2013 15:38:33 +0000 (15:38 +0000)]
check mkws.authenticated only for SP config, MKWS-82
Wolfram Schneider [Wed, 18 Dec 2013 15:36:06 +0000 (15:36 +0000)]
check with raw pazpar2 config
Wolfram Schneider [Wed, 18 Dec 2013 14:23:46 +0000 (14:23 +0000)]
show only 10 hits by default, looks better
Wolfram Schneider [Wed, 18 Dec 2013 14:15:07 +0000 (14:15 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Mike Taylor [Wed, 18 Dec 2013 13:34:53 +0000 (13:34 +0000)]
Heading.
Mike Taylor [Wed, 18 Dec 2013 13:09:28 +0000 (13:09 +0000)]
New file, made from the pre-release checklist that was in
../tools/htdocs/README.markdown
Mike Taylor [Wed, 18 Dec 2013 13:08:36 +0000 (13:08 +0000)]
Move the pre-release checklist to its own new file,
../../notes/pre-release-checklist
Mike Taylor [Wed, 18 Dec 2013 13:07:26 +0000 (13:07 +0000)]
Add link to whitepaper.
Mike Taylor [Wed, 18 Dec 2013 13:05:02 +0000 (13:05 +0000)]
Remove leading "www." from Index Data URL.
Mike Taylor [Wed, 18 Dec 2013 13:04:33 +0000 (13:04 +0000)]
Get rid of "New Features since jsdemo". It may have made sense to have
this earlier on, but MKWS is now well removed from its humble
beginnings, and comparing it with jsdemo is not really meaningful.