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
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
Jason Skomorowski [Mon, 15 Dec 2014 19:04:22 +0000 (14:04 -0500)]
Widget for testing Wikipediat-derived categories WCAT-4
Wolfram Schneider [Thu, 11 Dec 2014 18:06:52 +0000 (18:06 +0000)]
document default wikipedia single target
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>
Wolfram Schneider [Wed, 10 Dec 2014 11:47:55 +0000 (11:47 +0000)]
ignore empty query values
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
Jason Skomorowski [Tue, 9 Dec 2014 20:57:39 +0000 (15:57 -0500)]
Allow changes to mkws.config from 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
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
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.
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
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.
Wolfram Schneider [Tue, 9 Dec 2014 14:11:43 +0000 (14:11 +0000)]
indent
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.
Jason Skomorowski [Fri, 5 Dec 2014 22:19:18 +0000 (17:19 -0500)]
tester.html tweak styles WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:38:43 +0000 (16:38 -0500)]
tester.html re-remove reference universe WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:31:05 +0000 (16:31 -0500)]
tester.html prevent header overflow 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.
Jason Skomorowski [Fri, 5 Dec 2014 21:11:39 +0000 (16:11 -0500)]
Persist tester.html values WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 19:16:29 +0000 (14:16 -0500)]
Improve tester results table WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 18:43:48 +0000 (13:43 -0500)]
Add current position indicator to test harness WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 18:32:16 +0000 (13:32 -0500)]
tester.html aesthetics WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 15:13:23 +0000 (10:13 -0500)]
Add Reference Universe widget to tester.html 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
Jason Skomorowski [Thu, 4 Dec 2014 21:27:58 +0000 (16:27 -0500)]
Widget tester WRIS-3
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
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.
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
Wolfram Schneider [Mon, 1 Dec 2014 15:32:46 +0000 (15:32 +0000)]
reorder JS lib tests
Wolfram Schneider [Mon, 1 Dec 2014 15:28:54 +0000 (15:28 +0000)]
check for "jQuery JSON" and "pazpar2" javascript libs
Wolfram Schneider [Mon, 1 Dec 2014 15:23:37 +0000 (15:23 +0000)]
indent
Wolfram Schneider [Mon, 1 Dec 2014 15:22:46 +0000 (15:22 +0000)]
use correct class name for MKWS popup widget
Wolfram Schneider [Mon, 1 Dec 2014 15:20:04 +0000 (15:20 +0000)]
enable jQuery UI check
Wolfram Schneider [Mon, 1 Dec 2014 15:13:31 +0000 (15:13 +0000)]
Check for external JavaScript libs, part of MKWS-341
Wolfram Schneider [Mon, 1 Dec 2014 12:56:13 +0000 (12:56 +0000)]
use new bomb shell wrapper
Wolfram Schneider [Mon, 1 Dec 2014 12:55:55 +0000 (12:55 +0000)]
portable perl call
Wolfram Schneider [Mon, 1 Dec 2014 12:54:28 +0000 (12:54 +0000)]
typo
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.
Wolfram Schneider [Fri, 28 Nov 2014 14:10:13 +0000 (14:10 +0000)]
display killed process group, part of SA-689
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
Mike Taylor [Fri, 21 Nov 2014 17:14:18 +0000 (17:14 +0000)]
For now, use jsnlog-DEV.js
Mike Taylor [Fri, 21 Nov 2014 17:13:52 +0000 (17:13 +0000)]
Sort the list of ignored files.
Mike Taylor [Fri, 21 Nov 2014 17:13:39 +0000 (17:13 +0000)]
Ignore jsnlog-DEV.js, which I sometimes create as a symlink,
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.
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
Mike Taylor [Thu, 20 Nov 2014 17:02:30 +0000 (17:02 +0000)]
Add log_level.
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.
Mike Taylor [Thu, 20 Nov 2014 16:45:02 +0000 (16:45 +0000)]
Simplify _log(), since log_level no longer means what it expects.
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.
Mike Taylor [Thu, 20 Nov 2014 14:40:26 +0000 (14:40 +0000)]
Remove 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.
Mike Taylor [Thu, 20 Nov 2014 14:39:43 +0000 (14:39 +0000)]
Update manual with revised meaning of log_level.
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'.
Wolfram Schneider [Thu, 20 Nov 2014 12:27:08 +0000 (13:27 +0100)]
newline in output
Wolfram Schneider [Thu, 20 Nov 2014 12:26:10 +0000 (13:26 +0100)]
in case of a failure don't show $? twice
Mike Taylor [Thu, 20 Nov 2014 11:20:23 +0000 (11:20 +0000)]
Use team.info() in place of removed team.log()
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.
Mike Taylor [Thu, 20 Nov 2014 11:16:42 +0000 (11:16 +0000)]
Remove team.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:16:05 +0000 (11:16 +0000)]
Use this.info() instead of now-removed this.log()
Mike Taylor [Thu, 20 Nov 2014 11:13:42 +0000 (11:13 +0000)]
Remove widget.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:12:33 +0000 (11:12 +0000)]
Use specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:10:01 +0000 (11:10 +0000)]
Use specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:01:25 +0000 (11:01 +0000)]
Use specific logging.
Mike Taylor [Thu, 20 Nov 2014 10:59:29 +0000 (10:59 +0000)]
Use that.info() rather then console.log() directly.
Mike Taylor [Thu, 20 Nov 2014 10:59:03 +0000 (10:59 +0000)]
Use info() instead of log()
Mike Taylor [Thu, 20 Nov 2014 10:57:14 +0000 (10:57 +0000)]
Remove redundant "warning" captions.
Mike Taylor [Thu, 20 Nov 2014 10:56:50 +0000 (10:56 +0000)]
Remove redundant "warning" caption.
Mike Taylor [Thu, 20 Nov 2014 10:56:01 +0000 (10:56 +0000)]
Use specific logging functions throughout mkws-widget.js
Mike Taylor [Thu, 20 Nov 2014 10:53:45 +0000 (10:53 +0000)]
Add straight-through aliases for trace(), debug() etc.
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.
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.
Mike Taylor [Wed, 19 Nov 2014 17:35:41 +0000 (17:35 +0000)]
Promote logging invocations on team objects.
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.
Mike Taylor [Wed, 19 Nov 2014 17:31:49 +0000 (17:31 +0000)]
Greeting message demoted from warning to info.
Mike Taylor [Wed, 19 Nov 2014 17:10:35 +0000 (17:10 +0000)]
Add curried trace(), debug() etc. methods to the team object.
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().
Mike Taylor [Wed, 19 Nov 2014 16:31:30 +0000 (16:31 +0000)]
Part of MKWS-239.
Add trace()/debug()/etc. functions to mkws object.
Use these directly for all logging within the mkws-core.js.
(It remains to update the team code and individual widgets accordingly.)
Mike Taylor [Wed, 19 Nov 2014 15:52:55 +0000 (15:52 +0000)]
Fix comment.
Mike Taylor [Wed, 19 Nov 2014 15:49:49 +0000 (15:49 +0000)]
Logging using mkws.log notes that it is legacy output.
Code should be switched to using warn(), info(), etc.
Mike Taylor [Wed, 19 Nov 2014 15:39:16 +0000 (15:39 +0000)]
Part of MKWS-239.
mkws.log() is now a trivial invocation of new underlying private function _log().
Allows us to similarly curry _log() for warn, error, info, etc.
Mike Taylor [Wed, 19 Nov 2014 12:31:05 +0000 (12:31 +0000)]
Ignore downloaded file jsnlog.min.js
Mike Taylor [Wed, 19 Nov 2014 12:30:30 +0000 (12:30 +0000)]
All example pages now include jsnlog.min.js from the appropriate source
Mike Taylor [Wed, 19 Nov 2014 12:22:23 +0000 (12:22 +0000)]
Use JSNlog (at level INFO) for all logging.
Mike Taylor [Wed, 19 Nov 2014 12:22:01 +0000 (12:22 +0000)]
Add rules to fetch and install JSNlog.
Wolfram Schneider [Mon, 17 Nov 2014 16:11:58 +0000 (16:11 +0000)]
add wimp demo, part of MKWS-266
Wolfram Schneider [Mon, 17 Nov 2014 16:05:56 +0000 (16:05 +0000)]
lowercase widget name: Wimp -> wimp, MKWS-266
forgotten in:
22a5c1a36b18bfdee55bad0d991fc5c3ed57e195
Wolfram Schneider [Thu, 13 Nov 2014 16:56:41 +0000 (16:56 +0000)]
GIT repo: private -> pub
Wolfram Schneider [Thu, 13 Nov 2014 16:47:41 +0000 (16:47 +0000)]
replace yui-compressor with a JS based solution, MKWS-337
Wolfram Schneider [Thu, 13 Nov 2014 08:56:25 +0000 (09:56 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Thu, 13 Nov 2014 08:53:54 +0000 (09:53 +0100)]
for a release, we depend on the real yui-compressor tool, MKWS-336
Mike Taylor [Wed, 12 Nov 2014 14:37:05 +0000 (14:37 +0000)]
Part of MKWS-336.
Do not use dummy do-nothing version of yui-compressor if the real one
is missing. If it's not there, we want to know that.
Mike Taylor [Tue, 11 Nov 2014 13:39:13 +0000 (13:39 +0000)]
Add files from release 1.0.0
Mike Taylor [Tue, 11 Nov 2014 13:38:25 +0000 (13:38 +0000)]
Version 1.0.0.
Mike Taylor [Tue, 11 Nov 2014 13:38:14 +0000 (13:38 +0000)]
Changelog for v1.0
Mike Taylor [Tue, 11 Nov 2014 12:47:02 +0000 (12:47 +0000)]
The "release" rule depends on INSTALLED_RELEASABLE, not RELEASABLE.
Reinstate lost trailing backslash.
Mike Taylor [Tue, 11 Nov 2014 12:45:08 +0000 (12:45 +0000)]
Part of MKWS-329.
Add CSS to "make release" rule.
Mike Taylor [Tue, 11 Nov 2014 12:42:54 +0000 (12:42 +0000)]
Part of MKWS-329.
Note that the CSS is also part of the release.
Mike Taylor [Tue, 11 Nov 2014 12:42:08 +0000 (12:42 +0000)]
Reinstate specific rules to copy VERSION and NEWS into $(DEST).
This was no longer being done as Jason found the generic rule was
causing problems with GNU Make 4.0, and removed it. (I wonder how he
was getting the build to succeed, then?)
Mike Taylor [Tue, 11 Nov 2014 12:38:27 +0000 (12:38 +0000)]
We don't need the empty src/releases area; we keep old releases in tools/htdocs/releases, where they're needed