mkws-moved-to-github.git
8 years agodocument tools/htdocs/NEWS
Wolfram Schneider [Thu, 9 Jan 2014 13:27:59 +0000 (13:27 +0000)]
document tools/htdocs/NEWS

8 years agoupdate devel tool list
Wolfram Schneider [Thu, 9 Jan 2014 13:26:30 +0000 (13:26 +0000)]
update devel tool list

8 years agorun all JS files locally
Wolfram Schneider [Wed, 8 Jan 2014 17:23:54 +0000 (17:23 +0000)]
run all JS files locally

8 years agorun all JS files locally
Wolfram Schneider [Wed, 8 Jan 2014 17:20:05 +0000 (17:20 +0000)]
run all JS files locally

8 years agomake a local copy of pz2.js for testing
Wolfram Schneider [Wed, 8 Jan 2014 17:16:18 +0000 (17:16 +0000)]
make a local copy of pz2.js for testing

8 years agosimplify tests
Wolfram Schneider [Wed, 8 Jan 2014 13:19:14 +0000 (13:19 +0000)]
simplify tests

8 years agorun 'setup' before calling check-js
Wolfram Schneider [Wed, 8 Jan 2014 13:16:54 +0000 (13:16 +0000)]
run 'setup' before calling check-js

8 years ago`make all' should not call the tests
Wolfram Schneider [Wed, 8 Jan 2014 13:14:56 +0000 (13:14 +0000)]
`make all' should not call the tests

8 years agodo not run distclean by default
Wolfram Schneider [Wed, 8 Jan 2014 13:09:22 +0000 (13:09 +0000)]
do not run distclean by default

8 years agorun full syntax check before running tests
Wolfram Schneider [Wed, 8 Jan 2014 13:05:22 +0000 (13:05 +0000)]
run full syntax check before running tests

8 years agonew target mkws-complete-syntax-check
Wolfram Schneider [Wed, 8 Jan 2014 13:04:26 +0000 (13:04 +0000)]
new target mkws-complete-syntax-check

8 years agonew target mkws-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

8 years agoimport missing favicon
Wolfram Schneider [Wed, 8 Jan 2014 12:53:40 +0000 (12:53 +0000)]
import missing favicon

8 years agofile no longer needed, running MKWS on page load event is now the default
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

8 years agofix makefile warnings
Wolfram Schneider [Wed, 8 Jan 2014 12:46:54 +0000 (12:46 +0000)]
fix makefile warnings

8 years agoadd distclean target
Wolfram Schneider [Wed, 8 Jan 2014 12:45:50 +0000 (12:45 +0000)]
add distclean target

8 years agoimprove 'setup' target for tests
Wolfram Schneider [Wed, 8 Jan 2014 12:45:13 +0000 (12:45 +0000)]
improve 'setup' target for tests

8 years agoadd a new setup target
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.

8 years agonew jasmine location
Wolfram Schneider [Wed, 8 Jan 2014 12:31:09 +0000 (12:31 +0000)]
new jasmine location

8 years agojasmine directory moved up and is part of the repo
Wolfram Schneider [Wed, 8 Jan 2014 12:17:11 +0000 (12:17 +0000)]
jasmine directory moved up and is part of the repo

8 years agoimport jasmine-standalone-1.3.1.zip
Wolfram Schneider [Wed, 8 Jan 2014 12:15:04 +0000 (12:15 +0000)]
import jasmine-standalone-1.3.1.zip

8 years agoIgnore generated directory node_modules
Mike Taylor [Tue, 7 Jan 2014 12:03:55 +0000 (12:03 +0000)]
Ignore generated directory node_modules

8 years agoRemove spurious line consisting only of a tab.
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

8 years agoTowards sending windowid
Mike Taylor [Mon, 6 Jan 2014 17:29:26 +0000 (17:29 +0000)]
Towards sending windowid

8 years agorun_auto_searches() starts search for EACH #mkwsRecords* div.
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.

8 years agoBetter div names, differing searches.
Mike Taylor [Mon, 6 Jan 2014 15:08:56 +0000 (15:08 +0000)]
Better div names, differing searches.

8 years agoMultiple auto-executing elements.
Mike Taylor [Mon, 6 Jan 2014 14:26:58 +0000 (14:26 +0000)]
Multiple auto-executing elements.

8 years agocall mkws-complete inside <body/>
Wolfram Schneider [Mon, 6 Jan 2014 12:12:19 +0000 (12:12 +0000)]
call mkws-complete inside <body/>

8 years agoMerge remote branch 'origin/onload'
Wolfram Schneider [Mon, 6 Jan 2014 11:54:03 +0000 (11:54 +0000)]
Merge remote branch 'origin/onload'

8 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
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

8 years agobuild the MKWS from GIT repo in a sandbox and run full tests
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

8 years agoMerge remote branch 'origin/master' into onload
Wolfram Schneider [Fri, 3 Jan 2014 15:44:53 +0000 (15:44 +0000)]
Merge remote branch 'origin/master' into onload

8 years agoswitch from "jquery" to "jQuery" module
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.

8 years agoMerge branch 'master' into onload
Wolfram Schneider [Fri, 3 Jan 2014 15:16:33 +0000 (15:16 +0000)]
Merge branch 'master' into onload

Conflicts:
tools/htdocs/mkws.js

8 years agobracket typo
Wolfram Schneider [Fri, 3 Jan 2014 14:35:47 +0000 (14:35 +0000)]
bracket typo

8 years agoimprove checking of mkws_config object, MKWS-88
Wolfram Schneider [Fri, 3 Jan 2014 13:15:09 +0000 (13:15 +0000)]
improve checking of mkws_config object, MKWS-88

8 years agoMerge remote branch 'origin/onload' into onload
Wolfram Schneider [Thu, 19 Dec 2013 16:43:33 +0000 (16:43 +0000)]
Merge remote branch 'origin/onload' into onload

8 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws 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

8 years agodebug -> debug_function
Wolfram Schneider [Thu, 19 Dec 2013 16:34:12 +0000 (16:34 +0000)]
debug -> debug_function

8 years agoInclude Handlebars.
Mike Taylor [Thu, 19 Dec 2013 16:16:57 +0000 (16:16 +0000)]
Include Handlebars.

8 years agoFirst release 0.9.1
Mike Taylor [Thu, 19 Dec 2013 15:39:23 +0000 (15:39 +0000)]
First release

8 years agorelease depends on mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 15:39:00 +0000 (15:39 +0000)]
release depends on mkws.min.js

8 years agoAdd "Versions" section with links to old versions and NEWS file.
Mike Taylor [Thu, 19 Dec 2013 15:35:11 +0000 (15:35 +0000)]
Add "Versions" section with links to old versions and NEWS file.

8 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
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

8 years agoNEWS file.
Mike Taylor [Thu, 19 Dec 2013 15:33:36 +0000 (15:33 +0000)]
NEWS file.

8 years agoparseQuerystring() doesn't have to be a jquery plugin
Wolfram Schneider [Thu, 19 Dec 2013 15:23:09 +0000 (15:23 +0000)]
parseQuerystring() doesn't have to be a jquery plugin

8 years agomove the jquery plugins out of the _mkws() function,
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

8 years agoAdd links to minified JS files.
Mike Taylor [Thu, 19 Dec 2013 15:05:48 +0000 (15:05 +0000)]
Add links to minified JS files.

8 years agoMake .min.js files by default.
Mike Taylor [Thu, 19 Dec 2013 15:05:11 +0000 (15:05 +0000)]
Make .min.js files by default.

8 years agoMerge branch 'master' into onload
Wolfram Schneider [Thu, 19 Dec 2013 14:30:44 +0000 (14:30 +0000)]
Merge branch 'master' into onload

8 years agotest output: do not use color coding for output
Wolfram Schneider [Thu, 19 Dec 2013 14:19:30 +0000 (14:19 +0000)]
test output: do not use color coding for output

8 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
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

8 years agorun each jasmine node test separately
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)

8 years agoMerge remote branch 'origin/master' into onload
Wolfram Schneider [Thu, 19 Dec 2013 14:04:26 +0000 (14:04 +0000)]
Merge remote branch 'origin/master' into onload

8 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
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

8 years agoReorder
Mike Taylor [Thu, 19 Dec 2013 13:29:58 +0000 (13:29 +0000)]
Reorder

8 years agodebug(): format timestamps with 3 digits, e.g. 0.1 -> 0.100
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

8 years ago"make all" depends on mkws-js-min
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.

8 years agoRemove another used-once variable.
Mike Taylor [Thu, 19 Dec 2013 13:26:49 +0000 (13:26 +0000)]
Remove another used-once variable.

8 years ago"make clean" removes generated mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 13:25:48 +0000 (13:25 +0000)]
"make clean" removes generated mkws.min.js

8 years agoComment
Mike Taylor [Thu, 19 Dec 2013 13:24:35 +0000 (13:24 +0000)]
Comment

8 years ago"make release" rule includes mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 13:24:06 +0000 (13:24 +0000)]
"make release" rule includes mkws.min.js

8 years agoIgnore generated file mkws.min.js
Mike Taylor [Thu, 19 Dec 2013 13:22:56 +0000 (13:22 +0000)]
Ignore generated file mkws.min.js

8 years agoGeneralise rule to make %.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

8 years agoLose indirection through awkward variable.
Mike Taylor [Thu, 19 Dec 2013 13:20:06 +0000 (13:20 +0000)]
Lose indirection through awkward variable.

8 years agoRemove redundant overridden redirect.
Mike Taylor [Thu, 19 Dec 2013 13:18:45 +0000 (13:18 +0000)]
Remove redundant overridden redirect.

8 years agoIgnore generated file mkws-complete.min.js
Mike Taylor [Thu, 19 Dec 2013 13:15:11 +0000 (13:15 +0000)]
Ignore generated file mkws-complete.min.js

8 years agoNew file VERSION
Mike Taylor [Thu, 19 Dec 2013 13:14:48 +0000 (13:14 +0000)]
New file VERSION

8 years agoInitial "make install" rule.
Mike Taylor [Thu, 19 Dec 2013 13:14:35 +0000 (13:14 +0000)]
Initial "make install" rule.

8 years agokeep our copyright when minifying JavaScript using YUIcompressor
Wolfram Schneider [Thu, 19 Dec 2013 11:21:33 +0000 (11:21 +0000)]
keep our copyright when minifying JavaScript using YUIcompressor

8 years agoupdate help
Wolfram Schneider [Thu, 19 Dec 2013 11:13:25 +0000 (11:13 +0000)]
update help

8 years agoimplement distclean
Wolfram Schneider [Thu, 19 Dec 2013 10:59:05 +0000 (10:59 +0000)]
implement distclean

8 years agoupdate clean target
Wolfram Schneider [Thu, 19 Dec 2013 10:58:26 +0000 (10:58 +0000)]
update clean target

8 years agocreate minified mkws-complete.min.js, MKWS-83
Wolfram Schneider [Thu, 19 Dec 2013 10:56:30 +0000 (10:56 +0000)]
create minified mkws-complete.min.js, MKWS-83

8 years agocall mkws() on page load, part of MKWS-50
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.

8 years agoload mkws-complete.js in <body> section, and call mkws() on page load
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

8 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
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

8 years agoFinally change that stupid old header comment from jsdemo
Mike Taylor [Wed, 18 Dec 2013 17:56:50 +0000 (17:56 +0000)]
Finally change that stupid old header comment from jsdemo

8 years agoFinalise index.html
Mike Taylor [Wed, 18 Dec 2013 17:42:32 +0000 (17:42 +0000)]
Finalise index.html

8 years agoFinish classifying examples.
Mike Taylor [Wed, 18 Dec 2013 17:32:12 +0000 (17:32 +0000)]
Finish classifying examples.

8 years agocall run_auto_searches() for raw pp2, MKWS-82
Wolfram Schneider [Wed, 18 Dec 2013 17:25:36 +0000 (17:25 +0000)]
call run_auto_searches() for raw pp2, MKWS-82

8 years agoadd a flag to disable check for URLs in records
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

8 years agoStart sorting examples into subcategories.
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.

8 years agoGet mkws-complete.js from correct location, don't depend on FS layout.
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.

8 years agoGet 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.

8 years agoif running as raw pp2, don't wait for mkws auth, MKWS-82
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

8 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
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

8 years agoNew text on target selection.
Mike Taylor [Wed, 18 Dec 2013 16:25:45 +0000 (16:25 +0000)]
New text on target selection.

8 years agoNew file, using-mkadmin, extracted from material in the home-page.
Mike Taylor [Wed, 18 Dec 2013 16:20:12 +0000 (16:20 +0000)]
New file, using-mkadmin, extracted from material in the home-page.

8 years agoindent
Wolfram Schneider [Wed, 18 Dec 2013 16:19:27 +0000 (16:19 +0000)]
indent

8 years agorun with pp2 and sp
Wolfram Schneider [Wed, 18 Dec 2013 16:16:27 +0000 (16:16 +0000)]
run with pp2 and sp

8 years agoconfigure to use pp2
Wolfram Schneider [Wed, 18 Dec 2013 16:16:09 +0000 (16:16 +0000)]
configure to use pp2

8 years agocheck mkws.authenticated only for SP config, MKWS-82
Wolfram Schneider [Wed, 18 Dec 2013 15:38:33 +0000 (15:38 +0000)]
check mkws.authenticated only for SP config, MKWS-82

8 years agocheck with raw pazpar2 config
Wolfram Schneider [Wed, 18 Dec 2013 15:36:06 +0000 (15:36 +0000)]
check with raw pazpar2 config

8 years agoshow only 10 hits by default, looks better
Wolfram Schneider [Wed, 18 Dec 2013 14:23:46 +0000 (14:23 +0000)]
show only 10 hits by default, looks better

8 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
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

8 years agoHeading.
Mike Taylor [Wed, 18 Dec 2013 13:34:53 +0000 (13:34 +0000)]
Heading.

8 years agoNew file, made from the pre-release checklist that was in
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

8 years agoMove the pre-release checklist to its own new file,
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

8 years agoAdd link to whitepaper.
Mike Taylor [Wed, 18 Dec 2013 13:07:26 +0000 (13:07 +0000)]
Add link to whitepaper.