Wolfram Schneider [Thu, 7 Jan 2016 09:51:23 +0000 (09:51 +0000)]
extract latest git commit ID from github, MKWS-420
Wolfram Schneider [Thu, 7 Jan 2016 09:40:25 +0000 (09:40 +0000)]
pazpar2 git repo moved to github, MKWS-420
Wolfram Schneider [Tue, 3 Nov 2015 17:04:50 +0000 (17:04 +0000)]
move the jquery example test to test/spec-dev
This should fix the issue: MKWS is currently incompatible with nodejs 4.x, MKWS-415
The core issue is here is that the newer node.js is incompatible with many
older modules, in part of jsdom which depends on contextify
Wolfram Schneider [Wed, 14 Oct 2015 13:06:12 +0000 (13:06 +0000)]
update <title>
Mike Taylor [Wed, 14 Oct 2015 11:30:57 +0000 (12:30 +0100)]
Fix MKWS-414.
Search-form widget now correctly passes the widget object into
team.newsearch, rather than the DOM object associated with it.
Mike Taylor [Wed, 14 Oct 2015 10:03:08 +0000 (11:03 +0100)]
Update documentation of newSearch method to reflect newish "widget" parameter.
Mike Taylor [Tue, 13 Oct 2015 21:17:46 +0000 (22:17 +0100)]
Proper (non-hacky) fix for SUP-807.
team.newSearch now rightly looks in the widget for configuration, not
in the team. This means that configuration items set directly in the
widget itself (such as the "target" setting in the Wikipedia and
Reference Universe widgets) are now found, whereas previously only
settings that had been established at the team level or higher -- such
as the targetfilter categories of us.openrepo.net -- were found.
Mike Taylor [Tue, 13 Oct 2015 21:15:26 +0000 (22:15 +0100)]
Revert to
12099f341d4d836116b636796a8e4af3306d3828 (undoing last
commit) because I now have a proper fix for SUP-807.
Mike Taylor [Tue, 13 Oct 2015 20:55:56 +0000 (21:55 +0100)]
Add nasty hack in auto-executing widgets. Sets torusquery if target is
present, and explicitly passes it into team.newSearch. This shouldn't
be necessary because team.newSearch looks for the target config item
anyway, but for some reason that doesn't work.
Fixes SUP-807, but not in a satisfactory way.
Mike Taylor [Tue, 6 Oct 2015 16:00:32 +0000 (17:00 +0100)]
Last part of MKWS-413.
widget.autosearch no longer attempts to pass individual arguments into
team.newSearch. (It can't -- the variables are undefined.)
Mike Taylor [Tue, 6 Oct 2015 15:56:22 +0000 (16:56 +0100)]
Part of MKWS-413.
widget.autosearch now passes the auto-searching widget into
team.newSearch, and leaves it to do the configuration.
Mike Taylor [Tue, 6 Oct 2015 15:55:36 +0000 (16:55 +0100)]
Part of MKWS-413.
team.newSearch() now fills in unspecified parameters from a nominated widget.
Mike Taylor [Tue, 6 Oct 2015 14:41:38 +0000 (15:41 +0100)]
Part of ACREP-80: new 'widget' parameter to team.newSearch
Mike Taylor [Tue, 6 Oct 2015 14:41:01 +0000 (15:41 +0100)]
Do not register generated mkws-jasmine-*.pid files in git.
Wolfram Schneider [Thu, 24 Sep 2015 15:12:59 +0000 (15:12 +0000)]
update German translation
Wolfram Schneider [Thu, 24 Sep 2015 14:54:33 +0000 (14:54 +0000)]
correct danish translation
Wolfram Schneider [Thu, 24 Sep 2015 14:47:50 +0000 (14:47 +0000)]
translate "Locations" to de + da
Wolfram Schneider [Mon, 21 Sep 2015 15:08:22 +0000 (15:08 +0000)]
fix logging for IE8 (again...)
Wolfram Schneider [Mon, 7 Sep 2015 09:38:30 +0000 (09:38 +0000)]
sent signal TERM instead INT
TERM seems to be more common for non-interactive scripts
Wolfram Schneider [Mon, 7 Sep 2015 09:38:06 +0000 (09:38 +0000)]
display command which will be terminated
Wolfram Schneider [Wed, 26 Aug 2015 14:35:08 +0000 (14:35 +0000)]
update debian package list
Wolfram Schneider [Mon, 27 Jul 2015 13:32:54 +0000 (13:32 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Mon, 27 Jul 2015 13:28:21 +0000 (13:28 +0000)]
enable translation check again, part of MKWS-400
The check will now accept one missing field (e.g. Author)
Wolfram Schneider [Mon, 27 Jul 2015 13:13:30 +0000 (15:13 +0200)]
translation tests, MKWS-400
Wolfram Schneider [Mon, 27 Jul 2015 12:09:51 +0000 (14:09 +0200)]
new target check-dev
Wolfram Schneider [Tue, 14 Jul 2015 07:16:33 +0000 (07:16 +0000)]
temporary disable translation checks due records without an author, MKWS-400
Wolfram Schneider [Wed, 8 Jul 2015 08:51:20 +0000 (10:51 +0200)]
remove duplicated error message
Wolfram Schneider [Tue, 7 Jul 2015 14:41:30 +0000 (16:41 +0200)]
add a message how to start apache manually
Wolfram Schneider [Tue, 7 Jul 2015 14:29:56 +0000 (16:29 +0200)]
show URL with port for widgets test index page:
$ make help-url
Please check now: http://localhost:4040/test/widgets/index.html
Wolfram Schneider [Tue, 7 Jul 2015 14:14:27 +0000 (14:14 +0000)]
call wrapper "bomb" instead bomb.pl
Wolfram Schneider [Tue, 7 Jul 2015 14:13:16 +0000 (14:13 +0000)]
disable CPU limit.
we already set the CPU limit in the wrapper ./bomb
Wolfram Schneider [Tue, 30 Jun 2015 13:43:07 +0000 (13:43 +0000)]
use protocol independent URL for fonts, MKWS-395
Mike Taylor [Tue, 30 Jun 2015 12:56:27 +0000 (13:56 +0100)]
Check whether there are any URLs before iterating over them.
MAY fix a problem in the test-suite.
Thanks for Wolfram for spotting this.
Mike Taylor [Tue, 30 Jun 2015 10:10:47 +0000 (11:10 +0100)]
Tidying up after ACREP-32.
Remove another extraneous warning from URL analysis.
Warn when seeing a so-called link that is not a valid URL.
Mike Taylor [Tue, 30 Jun 2015 10:08:02 +0000 (11:08 +0100)]
Remove extraneous warning from URL analysis.
Mike Taylor [Mon, 29 Jun 2015 19:20:14 +0000 (20:20 +0100)]
Remove extraneous debugging from calculation of bestLink and
otherLinks. Allows us to merge two branches.
Mike Taylor [Mon, 29 Jun 2015 19:05:00 +0000 (20:05 +0100)]
Part of ACREP-32.
Remove the Handlebars helpers 'mkws-best-url' and 'mkws-other-urls'.
The relevant logic is now in the widget itself.
I hope this will make Jason happy.
Mike Taylor [Mon, 29 Jun 2015 19:04:11 +0000 (20:04 +0100)]
Main part of ACREP-32.
The 'records' handler now adds two new fields to the data objects that it renders:
* bestLink -- a single URL, is there is a good electronic-url.
* otherLinks -- all other electronic-urls, whether well-formed or not.
Mike Taylor [Mon, 29 Jun 2015 19:02:46 +0000 (20:02 +0100)]
Part of ACREP-32.
Add new Handlebars helper mkws-indexplus.
Emits the current index in an iteration, plus a constant.
Mike Taylor [Fri, 26 Jun 2015 17:30:12 +0000 (18:30 +0100)]
Downgrade warn() calls to debug()
Mike Taylor [Fri, 26 Jun 2015 17:25:56 +0000 (18:25 +0100)]
Part of ACREP-32.
Provide new Handlebars helper mkws-best-url, which returns the first
item in a list that matches a regular-expression suggesting that it's
a URL (basically anything that starts with http://, https:// or //).
Also provide mkws-other-urls (not yet tested), which returns all the
other URLs in the list except the first.
Wolfram Schneider [Thu, 25 Jun 2015 09:13:31 +0000 (11:13 +0200)]
ignore SSL errors for local tests, part of MKWS-391
phantomjs --ignore-ssl-errors=true
Wolfram Schneider [Tue, 23 Jun 2015 20:44:39 +0000 (20:44 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Tue, 23 Jun 2015 20:41:59 +0000 (20:41 +0000)]
fix demo index files
Wolfram Schneider [Tue, 23 Jun 2015 20:41:34 +0000 (20:41 +0000)]
correct index URL
Wolfram Schneider [Tue, 23 Jun 2015 20:36:22 +0000 (20:36 +0000)]
create an index.html file
Jason Skomorowski [Tue, 23 Jun 2015 19:18:45 +0000 (15:18 -0400)]
Hide broken images MAR-162
Wolfram Schneider [Tue, 23 Jun 2015 16:39:06 +0000 (16:39 +0000)]
the list of pages in the iframe is pretty long now, split it
into 2 pieces, one for example.indexdata.com sites and one
for all other hostnames.
Wolfram Schneider [Tue, 23 Jun 2015 15:38:27 +0000 (15:38 +0000)]
add http://mkdru.indexdata.com/
Wolfram Schneider [Tue, 23 Jun 2015 14:56:33 +0000 (14:56 +0000)]
The One Repo: http://onerepo.net/
Wolfram Schneider [Tue, 23 Jun 2015 14:55:56 +0000 (14:55 +0000)]
add MKX OA demo library: sample.mkx.indexdata.com
Wolfram Schneider [Tue, 23 Jun 2015 14:53:43 +0000 (14:53 +0000)]
check our infamous MK2 demo site mk2.indexdata.com
Wolfram Schneider [Tue, 23 Jun 2015 14:52:46 +0000 (14:52 +0000)]
topic search for "global warming"
Wolfram Schneider [Tue, 23 Jun 2015 14:48:38 +0000 (14:48 +0000)]
add test examples for "nuclear power"
Wolfram Schneider [Tue, 23 Jun 2015 14:46:27 +0000 (14:46 +0000)]
remove whitespace line
Wolfram Schneider [Tue, 23 Jun 2015 14:38:59 +0000 (14:38 +0000)]
the wimp search for "faubus" no longer works, eat sushi instead
Wolfram Schneider [Tue, 23 Jun 2015 14:38:10 +0000 (14:38 +0000)]
add mkwscat.html, part of MAR-161
Mike Taylor [Fri, 5 Jun 2015 08:36:49 +0000 (09:36 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Wolfram Schneider [Thu, 4 Jun 2015 10:51:31 +0000 (10:51 +0000)]
try out /bin/bash for job control, SA-739
Wolfram Schneider [Thu, 4 Jun 2015 08:26:16 +0000 (08:26 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Mike Taylor [Wed, 3 Jun 2015 16:26:18 +0000 (17:26 +0100)]
Part of ACREP-35, and surely the last part?
Establish local $ as a copy of mkws.$.
This is not necessary when running using a local copy of MKWS, when $
already has that value. But for reasons that I don't understand at
all, $ is undefined when running the exact same code using a copy of
MKWS from the production server.
Mike Taylor [Mon, 1 Jun 2015 16:05:39 +0000 (17:05 +0100)]
Remove trailing blank line.
Mike Taylor [Fri, 22 May 2015 15:25:28 +0000 (16:25 +0100)]
Remove old debugging output for freezing/unfreezing records.
Mike Taylor [Fri, 22 May 2015 10:53:21 +0000 (11:53 +0100)]
Part of ACREP-35.
From the "categories" widget, remove the unnecessary and harmful check
that authentication has been completed. Of course it generally has NOT
at the time the widget is created, resulting in an assertion-failure.
But this is unnecessary anyway, because the body of the widget's code
is in any case run as a callback when authentication is complete.
Wolfram Schneider [Thu, 21 May 2015 09:01:52 +0000 (09:01 +0000)]
IE11 CSS parsing in regression tests, MKWS-386
Wolfram Schneider [Thu, 21 May 2015 08:57:30 +0000 (08:57 +0000)]
IE11 CSS parsing in regression tests, MKWS-386
Jason Skomorowski [Tue, 12 May 2015 18:17:51 +0000 (14:17 -0400)]
Revert "Added examples/htdocs/widgetsrising because IT WAS ON THE LIVE SITE BUT NOT CHECKED IN. I have no idea what it is, but Jason owns the files, so presumably he can comment"
This reverts commit
5f39e98368832c582017b10f9ce0bb77eb441c44.
These files are a mockup that more rightly lives in the demos repo but
predates that.
Mike Taylor [Tue, 12 May 2015 08:59:41 +0000 (08:59 +0000)]
Inexplicable changes to examples/apache2/mkws-examples which SOMEONE MADE AND DID NOT CHECK IN. I don't know what their intention was. Come ON, people.
Mike Taylor [Tue, 12 May 2015 08:57:42 +0000 (08:57 +0000)]
Added examples/htdocs/widgetsrising because IT WAS ON THE LIVE SITE BUT NOT CHECKED IN. I have no idea what it is, but Jason owns the files, so presumably he can comment
Mike Taylor [Mon, 11 May 2015 14:05:05 +0000 (15:05 +0100)]
Re-fix ACREP-30 in a way that works on production.
The regular expression that recognises harvested targets now works
correctly on either ZURL-style or UDB-style target identifiers. (The
question of why we get the first on the production system and the
second on my development system is a whole nother ball of wax.)
Mike Taylor [Mon, 11 May 2015 13:32:27 +0000 (14:32 +0100)]
Fixes ACREP-30.
Add new "Type" column to targets-table template.
Mike Taylor [Mon, 11 May 2015 13:30:10 +0000 (14:30 +0100)]
Part of ACREP-30.
Extend the "compared" Handlebars helper to implement a "matches"
operator for regular-expression matching.
Wolfram Schneider [Mon, 11 May 2015 08:44:44 +0000 (08:44 +0000)]
better description
Wolfram Schneider [Sun, 10 May 2015 16:09:48 +0000 (16:09 +0000)]
configure watitime for Records/Targets check
Wolfram Schneider [Sun, 10 May 2015 16:06:25 +0000 (16:06 +0000)]
wait a little bit for source facets to avoid race conditions of source facets updates, MKWS-385
Wolfram Schneider [Thu, 7 May 2015 15:08:07 +0000 (15:08 +0000)]
assume batch testing if running on localhost:4040
Wolfram Schneider [Thu, 7 May 2015 14:52:57 +0000 (14:52 +0000)]
enable to tune timeouts, MKWS-384
This can be activated with the URL parameter &second=number
second is by default 1000 ms. To increase the
value by 2, use &second=2000
Jason Skomorowski [Fri, 1 May 2015 16:03:24 +0000 (12:03 -0400)]
Revert "Jasmine now expects --forceExit to be case-sensitive"
This reverts commit
80ab3be75c7e6df9f2d23660fb9ff14d5f31dd21.
...the node ecosystem is insane. "npm update" seems to have installed
a beta version. To update stable packages I apparently need to do
rm -rf node_modules && npm install. Which is silly.
Jason Skomorowski [Fri, 1 May 2015 14:34:32 +0000 (10:34 -0400)]
Handlebars 3.0.3
Jason Skomorowski [Fri, 1 May 2015 14:10:53 +0000 (10:10 -0400)]
Remove deprecated sample spec from old Jasmine docs
Jason Skomorowski [Fri, 1 May 2015 13:56:20 +0000 (09:56 -0400)]
Jasmine now expects --forceExit to be case-sensitive
Mike Taylor [Wed, 29 Apr 2015 15:53:11 +0000 (16:53 +0100)]
Fix very error-prone MarkDown table alignment.
Mike Taylor [Thu, 26 Mar 2015 17:03:10 +0000 (17:03 +0000)]
Change-logging.
Mike Taylor [Thu, 26 Mar 2015 17:02:25 +0000 (17:02 +0000)]
Add another Handlebars helper, "compare".
This code is by Mike Griffin, taken from this blog comment:
http://doginthehat.com.au/2012/02/comparison-block-helper-for-handlebars-templates/#comment-44
Clearly something like it ought to be in Handlebars.
Mike Taylor [Thu, 26 Mar 2015 15:34:39 +0000 (15:34 +0000)]
Change-logging.
Mike Taylor [Thu, 26 Mar 2015 15:31:44 +0000 (15:31 +0000)]
Part of ACREP-22.
Add a new helper, mkws-if-either, which we need in order to test
whether we have either of the md-free_to_read or md-license_url
fields. Astonishingly, there is no way to make such a check using
stock Handlebars.
Mike Taylor [Thu, 26 Mar 2015 11:42:35 +0000 (11:42 +0000)]
Typo
Wolfram Schneider [Tue, 24 Mar 2015 21:45:49 +0000 (21:45 +0000)]
downgrade jsdom to 3.x, MKWS-381
Mike Taylor [Tue, 10 Mar 2015 12:02:53 +0000 (12:02 +0000)]
Fix SUP-725.
When the wikipedia widget finds no records, emit a "Not found in
Wikipedia" message rather than a blank widget with a meaningless
"Source: Wikipedia" attribution.
Mike Taylor [Tue, 10 Mar 2015 12:01:52 +0000 (12:01 +0000)]
mike2.html changed to be a Wikipedia-widget test-harness.
Mike Taylor [Mon, 9 Mar 2015 17:23:35 +0000 (17:23 +0000)]
Last part of MKWS-58.
Documentation for the new freeze_opacity configuration setting.
Mike Taylor [Mon, 9 Mar 2015 17:20:05 +0000 (17:20 +0000)]
Last part of MKWS-58 (apart from documentation)
Only fade the frozen record-display if the freeze_opacity setting is provided.
If it is, then fade it to the specified level.
Mike Taylor [Mon, 9 Mar 2015 17:15:01 +0000 (17:15 +0000)]
Cleaning up MKWS-58.
Use debug-level logging instead of info-level.
Mike Taylor [Mon, 9 Mar 2015 17:13:43 +0000 (17:13 +0000)]
Cleaning up MKWS-58.
Remove unnecessary named function setRecordData(), used only once.
Just use a closure.
Mike Taylor [Mon, 9 Mar 2015 17:12:13 +0000 (17:12 +0000)]
Move declarations of state variable m_dataToRedraw and m_frozen to
just before the first function that uses each.
Mike Taylor [Mon, 9 Mar 2015 17:09:58 +0000 (17:09 +0000)]
Part of MKWS-58.
Eliminate unnecessary state variable m_needRedraw, which is always tied to m_data.
Rename m_data to m_dataToRedraw, better expressing its function.
Mike Taylor [Mon, 9 Mar 2015 16:50:11 +0000 (16:50 +0000)]
Remove commented-out code for more sophisticated timeout that fades the record display.
Mike Taylor [Mon, 9 Mar 2015 16:49:48 +0000 (16:49 +0000)]
Progress of MKWS-58.
Record-display freeze now times out after 1000ms.
Mike Taylor [Mon, 9 Mar 2015 16:38:08 +0000 (16:38 +0000)]
Part of MKWS-58.
Trigger freeze on mouseMove rather than mouseEnter.
That will allow continuing movement to keep re-triggering.
Mike Taylor [Mon, 9 Mar 2015 15:58:58 +0000 (15:58 +0000)]
Towards a more sophisticated MKWS-58 fix.
Add commented-out, over-complex mousemove event-handler.