mkws-moved-to-github.git
10 years agoif we limit a search to a source, the hit counter could be the same
Wolfram Schneider [Mon, 13 Jan 2014 14:49:18 +0000 (14:49 +0000)]
if we limit a search to a source, the hit counter could be the same
as for all targets, MKWS-97

10 years agoadd a README for jasmine tests
Wolfram Schneider [Fri, 10 Jan 2014 18:05:35 +0000 (18:05 +0000)]
add a README for jasmine tests

10 years agowait only 5 seconds for limited source search
Wolfram Schneider [Fri, 10 Jan 2014 17:59:09 +0000 (17:59 +0000)]
wait only 5 seconds for limited source search

Note: it may happens that limited source search returns the same number of hits
as before. Thats not really an error, but unfortunate

10 years agocheck ../examples/htdocs/index.html
Wolfram Schneider [Fri, 10 Jan 2014 17:35:29 +0000 (17:35 +0000)]
check ../examples/htdocs/index.html

10 years agomove the SP related test to a new directory ./spec-sp
Wolfram Schneider [Fri, 10 Jan 2014 17:30:26 +0000 (17:30 +0000)]
move the SP related test to a new directory ./spec-sp

10 years agocleanup
Wolfram Schneider [Fri, 10 Jan 2014 17:25:05 +0000 (17:25 +0000)]
cleanup

10 years agofile no longer needed
Wolfram Schneider [Fri, 10 Jan 2014 17:24:27 +0000 (17:24 +0000)]
file no longer needed

mkws-index-jsdom.spec.js does most of the tests already

10 years agocleanup, less tests
Wolfram Schneider [Fri, 10 Jan 2014 17:16:40 +0000 (17:16 +0000)]
cleanup, less tests

10 years agonot used anymore
Wolfram Schneider [Fri, 10 Jan 2014 17:13:46 +0000 (17:13 +0000)]
not used anymore

10 years agoless verbose output for installing npm modules
Wolfram Schneider [Fri, 10 Jan 2014 17:11:37 +0000 (17:11 +0000)]
less verbose output for installing npm modules

10 years agoremove trailing slash from /service-proxy-auth/
Wolfram Schneider [Fri, 10 Jan 2014 17:06:36 +0000 (17:06 +0000)]
remove trailing slash from /service-proxy-auth/

there is no need for the slash

10 years agoswitch to user mkws, MKWS-96
Wolfram Schneider [Fri, 10 Jan 2014 17:02:54 +0000 (17:02 +0000)]
switch to user mkws, MKWS-96

10 years agoswitch to user "mkws"
Wolfram Schneider [Fri, 10 Jan 2014 16:57:33 +0000 (16:57 +0000)]
switch to user "mkws"

10 years agono links outside of the document root, MKWS-94
Wolfram Schneider [Fri, 10 Jan 2014 16:50:37 +0000 (16:50 +0000)]
no links outside of the document root, MKWS-94

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 10 Jan 2014 16:18:36 +0000 (16:18 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoservice proxy moved from CPH to US
Wolfram Schneider [Fri, 10 Jan 2014 16:00:50 +0000 (16:00 +0000)]
service proxy moved from CPH to US

http://mkc.indexdata.com:9009/service-proxy/

running on amphion/armada

10 years agoAdd alias enabling the use of Jasmine tests.
Mike Taylor [Fri, 10 Jan 2014 14:59:27 +0000 (14:59 +0000)]
Add alias enabling the use of Jasmine tests.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Fri, 10 Jan 2014 14:31:12 +0000 (14:31 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agodocument tools/htdocs/NEWS
Wolfram Schneider [Thu, 9 Jan 2014 13:27:59 +0000 (13:27 +0000)]
document tools/htdocs/NEWS

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

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

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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

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

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

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

10 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.

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

10 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

10 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

10 years agoAdd initial changes for v0.9.2
Mike Taylor [Tue, 7 Jan 2014 13:42:12 +0000 (13:42 +0000)]
Add initial changes for v0.9.2

10 years agoFull-record template invokes {{translate}} on fieldnames.
Mike Taylor [Tue, 7 Jan 2014 13:41:27 +0000 (13:41 +0000)]
Full-record template invokes {{translate}} on fieldnames.
Fixes MKWS-84 Translate fieldnames in full-record popup.

10 years agoAdd new Handlebars helper {{translate}}
Mike Taylor [Tue, 7 Jan 2014 13:38:18 +0000 (13:38 +0000)]
Add new Handlebars helper {{translate}}

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

10 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

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

10 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.

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

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

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

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

10 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

10 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

10 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

10 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.

10 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

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

10 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

10 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

10 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

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

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

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

10 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

10 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.

10 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

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

10 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

10 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

10 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.

10 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.

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

10 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

10 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

10 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)

10 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

10 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

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

10 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

10 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.

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

10 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

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

10 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

10 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

10 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

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

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

10 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

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

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

10 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

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

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

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

10 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

10 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.

10 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

10 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

10 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

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