Jason Skomorowski [Wed, 14 Jan 2015 04:30:54 +0000 (23:30 -0500)]
Remove demos that have moved to the demos repo.
Mike Taylor [Mon, 12 Jan 2015 17:44:19 +0000 (17:44 +0000)]
Extent default Wikipedia-widget styles to apply to the mkws-wikipedia
class (which is now the default) as well as the old mkws-reference. An
overlooked piece of MKWS-349.
Mike Taylor [Mon, 12 Jan 2015 17:42:32 +0000 (17:42 +0000)]
Use existing styles for Wikipedia widget rather than handcoding some.
Mike Taylor [Mon, 12 Jan 2015 17:36:58 +0000 (17:36 +0000)]
Update README document for Reference Universe widget.
Mike Taylor [Mon, 12 Jan 2015 17:35:19 +0000 (17:35 +0000)]
No longer necessary to include mkws-widget-ru.js.
Mike Taylor [Mon, 12 Jan 2015 17:35:13 +0000 (17:35 +0000)]
No longer necessary to include mkws-widget-ru.js.
Mike Taylor [Mon, 12 Jan 2015 17:35:06 +0000 (17:35 +0000)]
No longer necessary to include mkws-widget-ru.js.
Mike Taylor [Mon, 12 Jan 2015 17:34:39 +0000 (17:34 +0000)]
Part of MKWS-348.
Remove all content of old examples/htdocs/mkws-widget-ru.js.
Replace with a comment.
Mike Taylor [Mon, 12 Jan 2015 17:33:27 +0000 (17:33 +0000)]
Part of MKWS-348.
Makefile rule to include mkws-widget-ru.js in mkws-complete.js
Mike Taylor [Mon, 12 Jan 2015 17:32:51 +0000 (17:32 +0000)]
Part of MKWS-348.
New file src/mkws-widget-ru.js, identical to old version in ../examples/htdocs
Mike Taylor [Mon, 12 Jan 2015 17:24:34 +0000 (17:24 +0000)]
Rename template file. DEFINTELY the last part of MKWS-349.
Mike Taylor [Mon, 12 Jan 2015 17:24:04 +0000 (17:24 +0000)]
Tweak comment.
DEFINTELY the last part of MKWS-349.
Mike Taylor [Mon, 12 Jan 2015 17:23:27 +0000 (17:23 +0000)]
Use template called "wikipedia", not "reference".
DEFINTELY the last part of MKWS-349.
Mike Taylor [Mon, 12 Jan 2015 16:58:51 +0000 (16:58 +0000)]
Use "wikipedia" widget instead of "reference" (see MKWS-348)
Tweak styles.
Mike Taylor [Mon, 12 Jan 2015 16:51:06 +0000 (16:51 +0000)]
Last part of MKWS-348.
Widget type registered is now "wikipedia".
But "reference" is still registered as an alias.
Mike Taylor [Mon, 12 Jan 2015 16:46:49 +0000 (16:46 +0000)]
Add mkws.aliasWidgetType() function.
Will be used for making "reference" work like "wikipedia".
Mike Taylor [Mon, 12 Jan 2015 16:43:34 +0000 (16:43 +0000)]
Recompiled (though I don't know why a compiled file is in git).
Mike Taylor [Mon, 12 Jan 2015 15:59:56 +0000 (15:59 +0000)]
FIx comment.
Mike Taylor [Mon, 12 Jan 2015 15:59:13 +0000 (15:59 +0000)]
Use mkws-widget-wikipedia.css instead of mkws-widget-reference.css
Yet another part of MKWS-349.
Mike Taylor [Mon, 12 Jan 2015 15:57:40 +0000 (15:57 +0000)]
Part of MKWS-349, rename the CSS for the Wikipedia widget
Mike Taylor [Mon, 12 Jan 2015 15:16:34 +0000 (15:16 +0000)]
All examples use mkws-widget-wikipedia.js rather than mkws-widget-reference.js
Mike Taylor [Mon, 12 Jan 2015 14:48:13 +0000 (14:48 +0000)]
Part of MKWS-349, compile using mkws-widget-wikipedia.js
Mike Taylor [Mon, 12 Jan 2015 14:47:23 +0000 (14:47 +0000)]
Rename file -- part of MKWS-349
Mike Taylor [Mon, 12 Jan 2015 11:43:13 +0000 (11:43 +0000)]
New, private to AG.
Mike Taylor [Mon, 12 Jan 2015 11:12:06 +0000 (11:12 +0000)]
Remove commented-out alternative authentication.
Mike Taylor [Fri, 9 Jan 2015 16:01:09 +0000 (16:01 +0000)]
The Reference Universe widget now specifies to use the correct target.
(Unfortunately that target presently only exists in the special magic
realm, but we're working on that.)
Mike Taylor [Fri, 9 Jan 2015 16:00:13 +0000 (16:00 +0000)]
Add commented-out line authenticating as AG Production.
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
Mike Taylor [Fri, 9 Jan 2015 11:37:23 +0000 (11:37 +0000)]
Update Reference Universe widget documentation.
Mike Taylor [Fri, 9 Jan 2015 10:40:33 +0000 (10:40 +0000)]
Add sp_auth_credentials setting for tpl.html
Mike Taylor [Fri, 9 Jan 2015 10:39:04 +0000 (10:39 +0000)]
Reorder
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
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!)
Wolfram Schneider [Thu, 8 Jan 2015 14:19:55 +0000 (14:19 +0000)]
run screen shots in parallel (3 times faster)
Wolfram Schneider [Thu, 8 Jan 2015 14:19:46 +0000 (14:19 +0000)]
check /tester.html
Wolfram Schneider [Wed, 7 Jan 2015 13:17:21 +0000 (13:17 +0000)]
finish previous commit
Wolfram Schneider [Wed, 7 Jan 2015 13:15:37 +0000 (13:15 +0000)]
enable to run tidy several times
Wolfram Schneider [Wed, 7 Jan 2015 13:13:37 +0000 (13:13 +0000)]
screenshots depends on NPM
Wolfram Schneider [Wed, 7 Jan 2015 13:12:13 +0000 (13:12 +0000)]
tidy is a post target
Wolfram Schneider [Wed, 7 Jan 2015 13:10:34 +0000 (13:10 +0000)]
more spaces in help message
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
Wolfram Schneider [Wed, 7 Jan 2015 13:07:59 +0000 (13:07 +0000)]
we no longer depends on specific JavaScript NPM modules
Wolfram Schneider [Wed, 7 Jan 2015 13:07:23 +0000 (13:07 +0000)]
display a hint how to check the index pages
Wolfram Schneider [Wed, 7 Jan 2015 13:04:20 +0000 (13:04 +0000)]
run tidy by default
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
Wolfram Schneider [Wed, 7 Jan 2015 12:20:25 +0000 (12:20 +0000)]
update version to "1.0.0"
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
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
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
Jason Skomorowski [Mon, 15 Dec 2014 19:04:22 +0000 (14:04 -0500)]
Widget for testing Wikipediat-derived categories WCAT-4
Wolfram Schneider [Fri, 12 Dec 2014 12:10:56 +0000 (12:10 +0000)]
cleanup
Wolfram Schneider [Fri, 12 Dec 2014 11:39:01 +0000 (11:39 +0000)]
bring raw pp2 test page back
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.