mkws-moved-to-github.git
9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Fri, 9 Jan 2015 11:37:55 +0000 (11:37 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agoUpdate Reference Universe widget documentation.
Mike Taylor [Fri, 9 Jan 2015 11:37:23 +0000 (11:37 +0000)]
Update Reference Universe widget documentation.

9 years agoAdd sp_auth_credentials setting for tpl.html
Mike Taylor [Fri, 9 Jan 2015 10:40:33 +0000 (10:40 +0000)]
Add sp_auth_credentials setting for tpl.html

9 years agoReorder
Mike Taylor [Fri, 9 Jan 2015 10:39:04 +0000 (10:39 +0000)]
Reorder

9 years agoMove sp_auth_credentials setting from Reference Universe widget to application. Part...
Mike Taylor [Fri, 9 Jan 2015 10:38:09 +0000 (10:38 +0000)]
Move sp_auth_credentials setting from Reference Universe widget to application. Part of AUT-222

9 years agoSet sp_auth_credentials rather than entire service_proxy_auth URL.
Mike Taylor [Fri, 9 Jan 2015 10:28:45 +0000 (10:28 +0000)]
Set sp_auth_credentials rather than entire service_proxy_auth URL.
(Of course, the widget code shouldn't be doing this at all!)

9 years agorun screen shots in parallel (3 times faster)
Wolfram Schneider [Thu, 8 Jan 2015 14:19:55 +0000 (14:19 +0000)]
run screen shots in parallel (3 times faster)

9 years agocheck /tester.html
Wolfram Schneider [Thu, 8 Jan 2015 14:19:46 +0000 (14:19 +0000)]
check /tester.html

9 years agofinish previous commit
Wolfram Schneider [Wed, 7 Jan 2015 13:17:21 +0000 (13:17 +0000)]
finish previous commit

9 years agoenable to run tidy several times
Wolfram Schneider [Wed, 7 Jan 2015 13:15:37 +0000 (13:15 +0000)]
enable to run tidy several times

9 years agoscreenshots depends on NPM
Wolfram Schneider [Wed, 7 Jan 2015 13:13:37 +0000 (13:13 +0000)]
screenshots depends on NPM

9 years agotidy is a post target
Wolfram Schneider [Wed, 7 Jan 2015 13:12:13 +0000 (13:12 +0000)]
tidy is a post target

9 years agomore spaces in help message
Wolfram Schneider [Wed, 7 Jan 2015 13:10:34 +0000 (13:10 +0000)]
more spaces in help message

9 years agoAdd a screenshot CSS
Wolfram Schneider [Wed, 7 Jan 2015 13:08:56 +0000 (13:08 +0000)]
Add a screenshot CSS

screen shots have usually a white background. Change the default
browser background to orange to make the screen shots more visible

9 years agowe no longer depends on specific JavaScript NPM modules
Wolfram Schneider [Wed, 7 Jan 2015 13:07:59 +0000 (13:07 +0000)]
we no longer depends on specific JavaScript NPM modules

9 years agodisplay a hint how to check the index pages
Wolfram Schneider [Wed, 7 Jan 2015 13:07:23 +0000 (13:07 +0000)]
display a hint how to check the index pages

9 years agorun tidy by default
Wolfram Schneider [Wed, 7 Jan 2015 13:04:20 +0000 (13:04 +0000)]
run tidy by default

9 years agonew target tidy, part of MKWS-346
Wolfram Schneider [Wed, 7 Jan 2015 13:03:06 +0000 (13:03 +0000)]
new target tidy, part of MKWS-346

Add a CSS style sheets for all generated index pages

9 years agoupdate version to "1.0.0"
Wolfram Schneider [Wed, 7 Jan 2015 12:20:25 +0000 (12:20 +0000)]
update version to  "1.0.0"

9 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Wed, 7 Jan 2015 12:19:32 +0000 (12:19 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws

9 years agotest is no longer needed, see the upgrade to "jquery" in MKWS-345
Wolfram Schneider [Wed, 7 Jan 2015 12:14:57 +0000 (12:14 +0000)]
test is no longer needed, see the upgrade to "jquery" in MKWS-345

9 years agoswitch to newer npm module "jquery", MKWS-345
Wolfram Schneider [Wed, 7 Jan 2015 12:13:42 +0000 (12:13 +0000)]
switch to newer npm module "jquery", MKWS-345

This fix the warnings: deprecated jQuery@1.7.4

9 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Wed, 17 Dec 2014 10:26:46 +0000 (10:26 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws

9 years agoWidget for testing Wikipediat-derived categories WCAT-4
Jason Skomorowski [Mon, 15 Dec 2014 19:04:22 +0000 (14:04 -0500)]
Widget for testing Wikipediat-derived categories WCAT-4

9 years agocleanup
Wolfram Schneider [Fri, 12 Dec 2014 12:10:56 +0000 (12:10 +0000)]
cleanup

9 years agobring raw pp2 test page back
Wolfram Schneider [Fri, 12 Dec 2014 11:39:01 +0000 (11:39 +0000)]
bring raw pp2 test page back

9 years agodocument default wikipedia single target
Wolfram Schneider [Thu, 11 Dec 2014 18:06:52 +0000 (18:06 +0000)]
document default wikipedia single target

9 years agoconfigurable credit for reference widget, MKWS-344
Wolfram Schneider [Thu, 11 Dec 2014 17:52:43 +0000 (17:52 +0000)]
configurable credit for reference widget, MKWS-344

e.g.:

<div class="mkws-reference" autosearch="sushi" credit="credo api">Loading..</div>

9 years agoignore empty query values
Wolfram Schneider [Wed, 10 Dec 2014 11:47:55 +0000 (11:47 +0000)]
ignore empty query values

9 years agoreduce number of default queries
Wolfram Schneider [Wed, 10 Dec 2014 10:49:16 +0000 (10:49 +0000)]
reduce number of default queries

Down from 8 to 4, which is good enough

9 years agoAllow changes to mkws.config from tester.html WRIS-3
Jason Skomorowski [Tue, 9 Dec 2014 20:57:39 +0000 (15:57 -0500)]
Allow changes to mkws.config from tester.html WRIS-3

9 years agoAdd note field to tester.html WRIS-3
Jason Skomorowski [Tue, 9 Dec 2014 18:06:39 +0000 (13:06 -0500)]
Add note field to tester.html WRIS-3

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Tue, 9 Dec 2014 15:12:47 +0000 (15:12 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agoExtend regexp that recognises ignorable non-widget elements.
Mike Taylor [Tue, 9 Dec 2014 15:12:42 +0000 (15:12 +0000)]
Extend regexp that recognises ignorable non-widget elements.
Previously, the "Container" part was case-sensitive.
Fixes an unfiled bug that Wolfram emailed me about.

9 years agolast resort if BSD::Resource is not available in ./bomb.pl, part of MKWS-157
Wolfram Schneider [Tue, 9 Dec 2014 14:17:49 +0000 (14:17 +0000)]
last resort if BSD::Resource is not available in ./bomb.pl, part of MKWS-157

9 years agoless debug noise: don't display every DOM change, show every 5th or 10th.
Wolfram Schneider [Tue, 9 Dec 2014 14:12:16 +0000 (14:12 +0000)]
less debug noise: don't display every DOM change, show every 5th or 10th.

9 years agoindent
Wolfram Schneider [Tue, 9 Dec 2014 14:11:43 +0000 (14:11 +0000)]
indent

9 years agoWorkaround for phantomjs 1.9.8 bug, MKWS-343
Wolfram Schneider [Tue, 9 Dec 2014 10:22:28 +0000 (10:22 +0000)]
Workaround for phantomjs 1.9.8 bug, MKWS-343

This will avoid the error message:
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file://phantom/run-jasmine.js. Domains, protocols and ports must match.

after the tests runs.

9 years agotester.html tweak styles WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 22:19:18 +0000 (17:19 -0500)]
tester.html tweak styles WRIS-3

9 years agotester.html re-remove reference universe WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:38:43 +0000 (16:38 -0500)]
tester.html re-remove reference universe WRIS-3

9 years agotester.html prevent header overflow WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:31:05 +0000 (16:31 -0500)]
tester.html prevent header overflow WRIS-3

9 years agoRevert "Add Reference Universe widget to tester.html WRIS-3"
Jason Skomorowski [Fri, 5 Dec 2014 21:11:59 +0000 (16:11 -0500)]
Revert "Add Reference Universe widget to tester.html WRIS-3"

This reverts commit b22b6a2bdf79b16e4f4cf30d8a1d102ef3772202.
RU changes the sp, riiight.

9 years agoPersist tester.html values WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:11:39 +0000 (16:11 -0500)]
Persist tester.html values WRIS-3

9 years agoImprove tester results table WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 19:16:29 +0000 (14:16 -0500)]
Improve tester results table WRIS-3

9 years agoAdd current position indicator to test harness WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 18:43:48 +0000 (13:43 -0500)]
Add current position indicator to test harness WRIS-3

9 years agotester.html aesthetics WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 18:32:16 +0000 (13:32 -0500)]
tester.html aesthetics WRIS-3

9 years agoAdd Reference Universe widget to tester.html WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 15:13:23 +0000 (10:13 -0500)]
Add Reference Universe widget to tester.html WRIS-3

9 years agoTester: display query and rename delimited output button WRIS-3
Jason Skomorowski [Thu, 4 Dec 2014 21:55:39 +0000 (16:55 -0500)]
Tester: display query and rename delimited output button WRIS-3

9 years agoWidget tester WRIS-3
Jason Skomorowski [Thu, 4 Dec 2014 21:27:58 +0000 (16:27 -0500)]
Widget tester WRIS-3

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Wed, 3 Dec 2014 14:25:00 +0000 (14:25 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agomakePz2() now sets the onStat callback if any of the "stat",
Mike Taylor [Wed, 3 Dec 2014 14:24:50 +0000 (14:24 +0000)]
makePz2() now sets the onStat callback if any of the "stat",
"firstrecords" or "complete" events is subscribed, since that callback
will publish to all of those events.

9 years agorename mis-guided name jasmine-cors-popup.html to jasmine-cms-popup.html
Wolfram Schneider [Mon, 1 Dec 2014 18:38:00 +0000 (18:38 +0000)]
rename mis-guided name jasmine-cors-popup.html to jasmine-cms-popup.html

The test is like in a CMS, with jquery modifications and use of the
production //mkws.indexdata.com/mkws-complete.js lib

9 years agoreorder JS lib tests
Wolfram Schneider [Mon, 1 Dec 2014 15:32:46 +0000 (15:32 +0000)]
reorder JS lib tests

9 years agocheck for "jQuery JSON" and "pazpar2" javascript libs
Wolfram Schneider [Mon, 1 Dec 2014 15:28:54 +0000 (15:28 +0000)]
check for "jQuery JSON" and "pazpar2" javascript libs

9 years agoindent
Wolfram Schneider [Mon, 1 Dec 2014 15:23:37 +0000 (15:23 +0000)]
indent

9 years agouse correct class name for MKWS popup widget
Wolfram Schneider [Mon, 1 Dec 2014 15:22:46 +0000 (15:22 +0000)]
use correct class name for MKWS popup widget

9 years agoenable jQuery UI check
Wolfram Schneider [Mon, 1 Dec 2014 15:20:04 +0000 (15:20 +0000)]
enable jQuery UI check

9 years agoCheck for external JavaScript libs, part of MKWS-341
Wolfram Schneider [Mon, 1 Dec 2014 15:13:31 +0000 (15:13 +0000)]
Check for external JavaScript libs, part of MKWS-341

9 years agouse new bomb shell wrapper
Wolfram Schneider [Mon, 1 Dec 2014 12:56:13 +0000 (12:56 +0000)]
use new bomb shell wrapper

9 years agoportable perl call
Wolfram Schneider [Mon, 1 Dec 2014 12:55:55 +0000 (12:55 +0000)]
portable perl call

9 years agotypo
Wolfram Schneider [Mon, 1 Dec 2014 12:54:28 +0000 (12:54 +0000)]
typo

9 years agothe regression check script bomb.pl needs to switch the process group, MKWS-340
Wolfram Schneider [Mon, 1 Dec 2014 12:53:18 +0000 (12:53 +0000)]
the regression check script bomb.pl needs to switch the process group, MKWS-340

Turn on job control. This will switch the process group
as on an interactive shell, and make sure that a signal
to the process group will not kill any parent processes.

9 years agodisplay killed process group, part of SA-689
Wolfram Schneider [Fri, 28 Nov 2014 14:10:13 +0000 (14:10 +0000)]
display killed process group, part of SA-689

9 years agoenable to set PHANTOMJS_TIMEOUT as env variable, not just a make variable
Wolfram Schneider [Fri, 28 Nov 2014 13:21:24 +0000 (13:21 +0000)]
enable to set PHANTOMJS_TIMEOUT as env variable, not just a make variable

9 years agoFor now, use jsnlog-DEV.js
Mike Taylor [Fri, 21 Nov 2014 17:14:18 +0000 (17:14 +0000)]
For now, use jsnlog-DEV.js

9 years agoSort the list of ignored files.
Mike Taylor [Fri, 21 Nov 2014 17:13:52 +0000 (17:13 +0000)]
Sort the list of ignored files.

9 years agoIgnore jsnlog-DEV.js, which I sometimes create as a symlink,
Mike Taylor [Fri, 21 Nov 2014 17:13:39 +0000 (17:13 +0000)]
Ignore jsnlog-DEV.js, which I sometimes create as a symlink,

9 years agoLast part of MKWS-239.
Mike Taylor [Fri, 21 Nov 2014 09:50:12 +0000 (09:50 +0000)]
Last part of MKWS-239.

The core code's private _log() function now uses JavaScript's
arguments pseudo-array to pass any sequence of arguments,
varargs-like, into the underlying JSNLog functions.

Unfortunately, it turns out that this doesn't get us anything right
now, as those underlying functions expect a single argument -- so if
you call mkws.info("found", n, "records"), it will only emit the
string "found".

For that reason, it's not worth the effort at this point to similarly
varargsify the team-level logging, but I am leaving this one done so
that the relevant code is in place when JSNLog gets updated.

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Thu, 20 Nov 2014 17:05:36 +0000 (17:05 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agoAdd log_level.
Mike Taylor [Thu, 20 Nov 2014 17:02:30 +0000 (17:02 +0000)]
Add log_level.

9 years agoSet logging level when mkws-core.js is loaded, rather than during init.
Mike Taylor [Thu, 20 Nov 2014 17:00:54 +0000 (17:00 +0000)]
Set logging level when mkws-core.js is loaded, rather than during init.
Allows it to affect logging of widget registrations.

9 years agoSimplify _log(), since log_level no longer means what it expects.
Mike Taylor [Thu, 20 Nov 2014 16:45:02 +0000 (16:45 +0000)]
Simplify _log(), since log_level no longer means what it expects.

9 years agoSet the logging level _after_ the application has had a chance to set mkws_config.
Mike Taylor [Thu, 20 Nov 2014 16:09:01 +0000 (16:09 +0000)]
Set the logging level _after_ the application has had a chance to set mkws_config.

9 years agoRemove always-redundant and now-incorrect log_level setting.
Mike Taylor [Thu, 20 Nov 2014 14:40:26 +0000 (14:40 +0000)]
Remove always-redundant and now-incorrect log_level setting.

9 years agoRemove always-redundant and now-incorrect log_level setting.
Mike Taylor [Thu, 20 Nov 2014 14:40:19 +0000 (14:40 +0000)]
Remove always-redundant and now-incorrect log_level setting.

9 years agoUpdate manual with revised meaning of log_level.
Mike Taylor [Thu, 20 Nov 2014 14:39:43 +0000 (14:39 +0000)]
Update manual with revised meaning of log_level.

9 years agoRepurpose the log_level setting to be the lowest level to emit.
Mike Taylor [Thu, 20 Nov 2014 14:37:33 +0000 (14:37 +0000)]
Repurpose the log_level setting to be the lowest level to emit.
Can be any of 'trace', 'debug', 'info', 'warn', 'error' or 'fatal'.

9 years agonewline in output
Wolfram Schneider [Thu, 20 Nov 2014 12:27:08 +0000 (13:27 +0100)]
newline in output

9 years agoin case of a failure don't show $? twice
Wolfram Schneider [Thu, 20 Nov 2014 12:26:10 +0000 (13:26 +0100)]
in case of a failure don't show $? twice

9 years agoUse team.info() in place of removed team.log()
Mike Taylor [Thu, 20 Nov 2014 11:20:23 +0000 (11:20 +0000)]
Use team.info() in place of removed team.log()

9 years agoRemove legacy mkws.log() function: nothing should be using it any more.
Mike Taylor [Thu, 20 Nov 2014 11:17:33 +0000 (11:17 +0000)]
Remove legacy mkws.log() function: nothing should be using it any more.

9 years agoRemove team.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:16:42 +0000 (11:16 +0000)]
Remove team.log -- all invocation have now been specialised.

9 years agoUse this.info() instead of now-removed this.log()
Mike Taylor [Thu, 20 Nov 2014 11:16:05 +0000 (11:16 +0000)]
Use this.info() instead of now-removed this.log()

9 years agoRemove widget.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:13:42 +0000 (11:13 +0000)]
Remove widget.log -- all invocation have now been specialised.

9 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:12:33 +0000 (11:12 +0000)]
Use specific logging.

9 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:10:01 +0000 (11:10 +0000)]
Use specific logging.

9 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:01:25 +0000 (11:01 +0000)]
Use specific logging.

9 years agoUse that.info() rather then console.log() directly.
Mike Taylor [Thu, 20 Nov 2014 10:59:29 +0000 (10:59 +0000)]
Use that.info() rather then console.log() directly.

9 years agoUse info() instead of log()
Mike Taylor [Thu, 20 Nov 2014 10:59:03 +0000 (10:59 +0000)]
Use info() instead of log()

9 years agoRemove redundant "warning" captions.
Mike Taylor [Thu, 20 Nov 2014 10:57:14 +0000 (10:57 +0000)]
Remove redundant "warning" captions.

9 years agoRemove redundant "warning" caption.
Mike Taylor [Thu, 20 Nov 2014 10:56:50 +0000 (10:56 +0000)]
Remove redundant "warning" caption.

9 years agoUse specific logging functions throughout mkws-widget.js
Mike Taylor [Thu, 20 Nov 2014 10:56:01 +0000 (10:56 +0000)]
Use specific logging functions throughout mkws-widget.js

9 years agoAdd straight-through aliases for trace(), debug() etc.
Mike Taylor [Thu, 20 Nov 2014 10:53:45 +0000 (10:53 +0000)]
Add straight-through aliases for trace(), debug() etc.

9 years agoGet rid of local variable log; all invocation are explicitly on this or that.
Mike Taylor [Thu, 20 Nov 2014 10:18:18 +0000 (10:18 +0000)]
Get rid of local variable log; all invocation are explicitly on this or that.

9 years agoLocal function log() is now a simple alias to team.log(), rather than invoking it.
Mike Taylor [Thu, 20 Nov 2014 10:13:08 +0000 (10:13 +0000)]
Local function log() is now a simple alias to team.log(), rather than invoking it.

9 years agoPromote logging invocations on team objects.
Mike Taylor [Wed, 19 Nov 2014 17:35:41 +0000 (17:35 +0000)]
Promote logging invocations on team objects.

9 years agoFix currying definitions.
Mike Taylor [Wed, 19 Nov 2014 17:34:13 +0000 (17:34 +0000)]
Fix currying definitions.
Change all team-level logging in mkws-team to use non-legacy functions.

9 years agoGreeting message demoted from warning to info.
Mike Taylor [Wed, 19 Nov 2014 17:31:49 +0000 (17:31 +0000)]
Greeting message demoted from warning to info.

9 years agoAdd curried trace(), debug() etc. methods to the team object.
Mike Taylor [Wed, 19 Nov 2014 17:10:35 +0000 (17:10 +0000)]
Add curried trace(), debug() etc. methods to the team object.

9 years agoPart of MKWS-239.
Mike Taylor [Wed, 19 Nov 2014 17:07:58 +0000 (17:07 +0000)]
Part of MKWS-239.

Within mkws-team.js _log() is now a private function that calls
through to one of the MKWS core's logging functions. team.log() is now
a simple currying of that function to use mkws.log().