mkws-moved-to-github.git
9 years agonew target check-dev
Wolfram Schneider [Mon, 27 Jul 2015 12:09:51 +0000 (14:09 +0200)]
new target check-dev

9 years agotemporary disable translation checks due records without an author, MKWS-400
Wolfram Schneider [Tue, 14 Jul 2015 07:16:33 +0000 (07:16 +0000)]
temporary disable translation checks due records without an author, MKWS-400

9 years agoremove duplicated error message
Wolfram Schneider [Wed, 8 Jul 2015 08:51:20 +0000 (10:51 +0200)]
remove duplicated error message

9 years agoadd a message how to start apache manually
Wolfram Schneider [Tue, 7 Jul 2015 14:41:30 +0000 (16:41 +0200)]
add a message how to start apache manually

9 years agoshow URL with port for widgets test index page:
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

9 years agocall wrapper "bomb" instead bomb.pl
Wolfram Schneider [Tue, 7 Jul 2015 14:14:27 +0000 (14:14 +0000)]
call wrapper "bomb" instead bomb.pl

9 years agodisable CPU limit.
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

9 years agouse protocol independent URL for fonts, MKWS-395
Wolfram Schneider [Tue, 30 Jun 2015 13:43:07 +0000 (13:43 +0000)]
use protocol independent URL for fonts, MKWS-395

9 years agoCheck whether there are any URLs before iterating over them.
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.

9 years agoTidying up after ACREP-32.
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.

9 years agoRemove extraneous warning from URL analysis.
Mike Taylor [Tue, 30 Jun 2015 10:08:02 +0000 (11:08 +0100)]
Remove extraneous warning from URL analysis.

9 years agoRemove extraneous debugging from calculation of bestLink and
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.

9 years agoPart of ACREP-32.
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.

9 years agoMain part of ACREP-32.
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.

9 years agoPart of ACREP-32.
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.

9 years agoDowngrade warn() calls to debug()
Mike Taylor [Fri, 26 Jun 2015 17:30:12 +0000 (18:30 +0100)]
Downgrade warn() calls to debug()

9 years agoPart of ACREP-32.
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.

9 years agoignore SSL errors for local tests, part of MKWS-391
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

9 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
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

9 years agofix demo index files
Wolfram Schneider [Tue, 23 Jun 2015 20:41:59 +0000 (20:41 +0000)]
fix demo index files

9 years agocorrect index URL
Wolfram Schneider [Tue, 23 Jun 2015 20:41:34 +0000 (20:41 +0000)]
correct index URL

9 years agocreate an index.html file
Wolfram Schneider [Tue, 23 Jun 2015 20:36:22 +0000 (20:36 +0000)]
create an index.html file

9 years agoHide broken images MAR-162
Jason Skomorowski [Tue, 23 Jun 2015 19:18:45 +0000 (15:18 -0400)]
Hide broken images MAR-162

9 years agothe list of pages in the iframe is pretty long now, split it
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.

9 years agoadd http://mkdru.indexdata.com/
Wolfram Schneider [Tue, 23 Jun 2015 15:38:27 +0000 (15:38 +0000)]
add http://mkdru.indexdata.com/

9 years agoThe One Repo: http://onerepo.net/
Wolfram Schneider [Tue, 23 Jun 2015 14:56:33 +0000 (14:56 +0000)]
The One Repo: http://onerepo.net/

9 years agoadd MKX OA demo library: http://sample.mkx.indexdata.com
Wolfram Schneider [Tue, 23 Jun 2015 14:55:56 +0000 (14:55 +0000)]
add MKX OA demo library: sample.mkx.indexdata.com

9 years agocheck our infamous MK2 demo site http://mk2.indexdata.com
Wolfram Schneider [Tue, 23 Jun 2015 14:53:43 +0000 (14:53 +0000)]
check our infamous MK2 demo site mk2.indexdata.com

9 years agotopic search for "global warming"
Wolfram Schneider [Tue, 23 Jun 2015 14:52:46 +0000 (14:52 +0000)]
topic search for "global warming"

9 years agoadd test examples for "nuclear power"
Wolfram Schneider [Tue, 23 Jun 2015 14:48:38 +0000 (14:48 +0000)]
add test examples for "nuclear power"

9 years agoremove whitespace line
Wolfram Schneider [Tue, 23 Jun 2015 14:46:27 +0000 (14:46 +0000)]
remove whitespace line

9 years agothe wimp search for "faubus" no longer works, eat sushi instead
Wolfram Schneider [Tue, 23 Jun 2015 14:38:59 +0000 (14:38 +0000)]
the wimp search for "faubus" no longer works, eat sushi instead

9 years agoadd mkwscat.html, part of MAR-161
Wolfram Schneider [Tue, 23 Jun 2015 14:38:10 +0000 (14:38 +0000)]
add mkwscat.html, part of MAR-161

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
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

9 years agotry out /bin/bash for job control, SA-739
Wolfram Schneider [Thu, 4 Jun 2015 10:51:31 +0000 (10:51 +0000)]
try out /bin/bash for job control, SA-739

9 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
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

9 years agoPart of ACREP-35, and surely the last part?
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.

9 years agoRemove trailing blank line.
Mike Taylor [Mon, 1 Jun 2015 16:05:39 +0000 (17:05 +0100)]
Remove trailing blank line.

9 years agoRemove old debugging output for freezing/unfreezing records.
Mike Taylor [Fri, 22 May 2015 15:25:28 +0000 (16:25 +0100)]
Remove old debugging output for freezing/unfreezing records.

9 years agoPart of ACREP-35.
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.

9 years agoIE11 CSS parsing in regression tests, MKWS-386
Wolfram Schneider [Thu, 21 May 2015 09:01:52 +0000 (09:01 +0000)]
IE11 CSS parsing in regression tests, MKWS-386

9 years agoIE11 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

9 years agoRevert "Added examples/htdocs/widgetsrising because IT WAS ON THE LIVE SITE BUT NOT...
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.

9 years agoInexplicable changes to examples/apache2/mkws-examples which SOMEONE MADE AND DID...
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.

9 years agoAdded examples/htdocs/widgetsrising because IT WAS ON THE LIVE SITE BUT NOT CHECKED...
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

9 years agoRe-fix ACREP-30 in a way that works on production.
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.)

9 years agoFixes ACREP-30.
Mike Taylor [Mon, 11 May 2015 13:32:27 +0000 (14:32 +0100)]
Fixes ACREP-30.

Add new "Type" column to targets-table template.

9 years agoPart of ACREP-30.
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.

9 years agobetter description
Wolfram Schneider [Mon, 11 May 2015 08:44:44 +0000 (08:44 +0000)]
better description

9 years agoconfigure watitime for Records/Targets check
Wolfram Schneider [Sun, 10 May 2015 16:09:48 +0000 (16:09 +0000)]
configure watitime for Records/Targets check

9 years agowait a little bit for source facets to avoid race conditions of source facets updates...
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

9 years agoassume batch testing if running on http://localhost:4040
Wolfram Schneider [Thu, 7 May 2015 15:08:07 +0000 (15:08 +0000)]
assume batch testing if running on localhost:4040

9 years agoenable to tune timeouts, MKWS-384
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

9 years agoRevert "Jasmine now expects --forceExit to be case-sensitive"
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.

9 years agoHandlebars 3.0.3
Jason Skomorowski [Fri, 1 May 2015 14:34:32 +0000 (10:34 -0400)]
Handlebars 3.0.3

9 years agoRemove deprecated sample spec from old Jasmine docs
Jason Skomorowski [Fri, 1 May 2015 14:10:53 +0000 (10:10 -0400)]
Remove deprecated sample spec from old Jasmine docs

9 years agoJasmine now expects --forceExit to be case-sensitive
Jason Skomorowski [Fri, 1 May 2015 13:56:20 +0000 (09:56 -0400)]
Jasmine now expects --forceExit to be case-sensitive

9 years agoFix very error-prone MarkDown table alignment.
Mike Taylor [Wed, 29 Apr 2015 15:53:11 +0000 (16:53 +0100)]
Fix very error-prone MarkDown table alignment.

9 years agoChange-logging.
Mike Taylor [Thu, 26 Mar 2015 17:03:10 +0000 (17:03 +0000)]
Change-logging.

9 years agoAdd another Handlebars helper, "compare".
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.

9 years agoChange-logging.
Mike Taylor [Thu, 26 Mar 2015 15:34:39 +0000 (15:34 +0000)]
Change-logging.

9 years agoPart of ACREP-22.
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.

9 years agoTypo
Mike Taylor [Thu, 26 Mar 2015 11:42:35 +0000 (11:42 +0000)]
Typo

9 years agodowngrade jsdom to 3.x, MKWS-381
Wolfram Schneider [Tue, 24 Mar 2015 21:45:49 +0000 (21:45 +0000)]
downgrade jsdom to 3.x, MKWS-381

9 years agoFix SUP-725.
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.

9 years agomike2.html changed to be a Wikipedia-widget test-harness.
Mike Taylor [Tue, 10 Mar 2015 12:01:52 +0000 (12:01 +0000)]
mike2.html changed to be a Wikipedia-widget test-harness.

9 years agoLast part of MKWS-58.
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.

9 years agoLast part of MKWS-58 (apart from documentation)
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.

9 years agoCleaning up MKWS-58.
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.

9 years agoCleaning up MKWS-58.
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.

9 years agoMove declarations of state variable m_dataToRedraw and m_frozen to
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.

9 years agoPart of MKWS-58.
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.

9 years agoRemove commented-out code for more sophisticated timeout that fades the record display.
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.

9 years agoProgress of MKWS-58.
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.

9 years agoPart of MKWS-58.
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.

9 years agoTowards a more sophisticated MKWS-58 fix.
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.

9 years agoSimple fix for MKWS-58.
Mike Taylor [Mon, 9 Mar 2015 15:58:09 +0000 (15:58 +0000)]
Simple fix for MKWS-58.

Freeze record list whenever mouse is above it.
For now, we also give a visual signal by increasing its opacity.

9 years agoUse Cabin font for main MKWS stylesheet.
Mike Taylor [Thu, 26 Feb 2015 15:33:40 +0000 (15:33 +0000)]
Use Cabin font for main MKWS stylesheet.
Should fix the last parts of WRIS-12.

9 years agoFix WRIS-12.
Mike Taylor [Wed, 25 Feb 2015 11:46:24 +0000 (11:46 +0000)]
Fix WRIS-12.

Use Goole font "Cabin" in place of Gill Sans, to avoid idiotic font
substitution on Chrome v37 under Windows.

9 years agoSettled on Google's Cabin font, having auditioned Puritan, Lato and Molengo.
Mike Taylor [Tue, 24 Feb 2015 17:36:54 +0000 (17:36 +0000)]
Settled on Google's Cabin font, having auditioned Puritan, Lato and Molengo.

9 years agoUse Google's "Lato" font in place of Gill Sans, since we know we can
Mike Taylor [Tue, 24 Feb 2015 17:27:36 +0000 (17:27 +0000)]
Use Google's "Lato" font in place of Gill Sans, since we know we can
always get it.

9 years agoAdd two more lines.
Mike Taylor [Tue, 24 Feb 2015 15:14:49 +0000 (15:14 +0000)]
Add two more lines.

9 years agoAdd font-weight:normal to selection of Gill Sans.
Mike Taylor [Tue, 24 Feb 2015 12:38:40 +0000 (12:38 +0000)]
Add font-weight:normal to selection of Gill Sans.
This MAY fix WRIS-12, which affects Google Chrome v37 on Windows.

9 years agoNew somewhat temporary file font-styles.html to help debug WRIS-12.
Mike Taylor [Mon, 23 Feb 2015 11:19:20 +0000 (11:19 +0000)]
New somewhat temporary file font-styles.html to help debug WRIS-12.

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Mon, 23 Feb 2015 10:12:28 +0000 (10:12 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agoPart of WRIS-11.
Mike Taylor [Mon, 23 Feb 2015 10:12:22 +0000 (10:12 +0000)]
Part of WRIS-11.

Move disambiguation message above main text.

9 years agodowngrade to handlebars <= 2.0.0, MKWS-380
Wolfram Schneider [Mon, 16 Feb 2015 13:05:07 +0000 (13:05 +0000)]
downgrade to handlebars <= 2.0.0, MKWS-380

9 years agomake typo
Wolfram Schneider [Mon, 9 Feb 2015 15:09:00 +0000 (15:09 +0000)]
make typo

9 years agogenerated copyright year
Wolfram Schneider [Mon, 9 Feb 2015 15:07:25 +0000 (15:07 +0000)]
generated copyright year

9 years agoupdate copyright year
Wolfram Schneider [Mon, 9 Feb 2015 15:03:20 +0000 (15:03 +0000)]
update copyright year

9 years agoFix overzealous edit
Jason Skomorowski [Fri, 6 Feb 2015 16:04:03 +0000 (11:04 -0500)]
Fix overzealous edit

9 years agoTemplate waiting widget MKWS-375
Jason Skomorowski [Fri, 6 Feb 2015 16:01:16 +0000 (11:01 -0500)]
Template waiting widget MKWS-375

9 years agoAllow multiple categories MKWS-377
Jason Skomorowski [Fri, 6 Feb 2015 15:20:14 +0000 (10:20 -0500)]
Allow multiple categories MKWS-377

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Jason Skomorowski [Thu, 5 Feb 2015 15:58:28 +0000 (10:58 -0500)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agoLast part of MKWS-375.
Mike Taylor [Wed, 4 Feb 2015 13:42:40 +0000 (13:42 +0000)]
Last part of MKWS-375.

Documentation for the new "waiting" widget.

9 years agoTowards MKWS-375.
Mike Taylor [Wed, 4 Feb 2015 13:38:46 +0000 (13:38 +0000)]
Towards MKWS-375.

Add new "waiting" widget.

9 years agoTowards MKWS-375.
Mike Taylor [Wed, 4 Feb 2015 13:38:17 +0000 (13:38 +0000)]
Towards MKWS-375.

New file, tools/htdocs/progress.gif.
Used by default in the "waiting" widget.

9 years agoFix MKWS-374.
Mike Taylor [Wed, 4 Feb 2015 11:54:18 +0000 (11:54 +0000)]
Fix MKWS-374.

Emit "No hits" instead of "Displaying: 1 to 0 of 0 (found: 0)" when no hits.

9 years agoUse member-access syntax for newsearch_opacity property
Mike Taylor [Wed, 4 Feb 2015 10:16:01 +0000 (10:16 +0000)]
Use member-access syntax for newsearch_opacity property

9 years agoFix spelling of newsearch_opacity property
Mike Taylor [Wed, 4 Feb 2015 10:15:20 +0000 (10:15 +0000)]
Fix spelling of newsearch_opacity property