mkws-moved-to-github.git
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

9 years agoTweak wording.
Mike Taylor [Wed, 4 Feb 2015 10:13:42 +0000 (10:13 +0000)]
Tweak wording.

9 years agoPart of MKWS-372.
Mike Taylor [Wed, 4 Feb 2015 10:12:45 +0000 (10:12 +0000)]
Part of MKWS-372.

Document newsearch_opacity setting. (Note different spelling from
what's in the code, to match spelling of other properties. I will
change the code accordingly.)

9 years agoTable headings use "Setting" instead of "Element" for configuration items.
Mike Taylor [Wed, 4 Feb 2015 10:10:04 +0000 (10:10 +0000)]
Table headings use "Setting" instead of "Element" for configuration items.

9 years agoFix MKWS-376.
Mike Taylor [Wed, 4 Feb 2015 10:06:40 +0000 (10:06 +0000)]
Fix MKWS-376.

The facets and records widgets now interpret a new 'new-search-opacity' configuration setting. If it's defined, then it's an opacity in the range 0.0 (transparent) to 1.0 (opaque), and the widget fades to that opacity when a new search is submitted (reverting to full opacity when data arrives).

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

9 years agoNote on jsnlog.min.js -- thanks to Biligsaikhan Batjargal for pointing it out.
Mike Taylor [Fri, 30 Jan 2015 08:43:58 +0000 (08:43 +0000)]
Note on jsnlog.min.js -- thanks to Biligsaikhan Batjargal for pointing it out.

9 years agoDanish: "Status" sounds better than "Tilstand"
Wolfram Schneider [Thu, 29 Jan 2015 16:15:56 +0000 (16:15 +0000)]
Danish: "Status" sounds better than "Tilstand"

9 years agoindent
Wolfram Schneider [Thu, 29 Jan 2015 16:14:13 +0000 (16:14 +0000)]
indent

9 years agotranslate "State"
Wolfram Schneider [Thu, 29 Jan 2015 16:13:57 +0000 (16:13 +0000)]
translate "State"

9 years agodocument not tested translation
Wolfram Schneider [Thu, 29 Jan 2015 15:58:21 +0000 (15:58 +0000)]
document not tested translation

9 years agotest languages
Wolfram Schneider [Thu, 29 Jan 2015 15:56:07 +0000 (15:56 +0000)]
test languages

9 years agodo not escape facet title
Wolfram Schneider [Thu, 29 Jan 2015 15:51:34 +0000 (15:51 +0000)]
do not escape facet title

9 years agoenable translation facets sidebar test
Wolfram Schneider [Thu, 29 Jan 2015 15:48:51 +0000 (15:48 +0000)]
enable translation facets sidebar test

9 years agofix CSS path typo which failed in node.js
Wolfram Schneider [Wed, 28 Jan 2015 17:10:38 +0000 (17:10 +0000)]
fix CSS path typo which failed in node.js

9 years agotranslate facets, MKWS-364
Wolfram Schneider [Wed, 28 Jan 2015 16:47:18 +0000 (16:47 +0000)]
translate facets, MKWS-364

9 years agocheck translations, part sort by, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 16:37:43 +0000 (16:37 +0000)]
check translations, part sort by, MKWS-365

9 years agotranslate sort options, MKWS-366
Wolfram Schneider [Wed, 28 Jan 2015 16:32:34 +0000 (16:32 +0000)]
translate sort options, MKWS-366

9 years agocopy&paste typo
Wolfram Schneider [Wed, 28 Jan 2015 15:42:31 +0000 (15:42 +0000)]
copy&paste typo

9 years agorun translation check earlier, before Check removable facets links
Wolfram Schneider [Wed, 28 Jan 2015 15:36:29 +0000 (15:36 +0000)]
run translation check earlier, before Check removable facets links

9 years agocompare only the first 3 elements in records details (title, date, author)
Wolfram Schneider [Wed, 28 Jan 2015 14:44:14 +0000 (14:44 +0000)]
compare only the first 3 elements in records details (title, date, author)

9 years agorefactor translation checks
Wolfram Schneider [Wed, 28 Jan 2015 14:27:26 +0000 (14:27 +0000)]
refactor translation checks

9 years agocheck translations, part record details, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 14:18:34 +0000 (14:18 +0000)]
check translations, part record details, MKWS-365

9 years agoimprove logging for translate check
Wolfram Schneider [Wed, 28 Jan 2015 13:56:43 +0000 (13:56 +0000)]
improve logging for translate check

9 years agocheck translations, part facets filter/navi, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 13:53:24 +0000 (13:53 +0000)]
check translations, part facets filter/navi, MKWS-365

9 years agocheck translations, part switch links, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 13:45:14 +0000 (13:45 +0000)]
check translations, part switch links, MKWS-365

9 years agocheck translations, part search button, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 13:41:49 +0000 (13:41 +0000)]
check translations, part search button, MKWS-365

9 years agocheck translations, part navigation, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 13:38:09 +0000 (13:38 +0000)]
check translations, part navigation, MKWS-365

9 years agocheck translations, part facets, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 13:19:47 +0000 (13:19 +0000)]
check translations, part facets, MKWS-365

9 years agocheck translations, MKWS-365
Wolfram Schneider [Wed, 28 Jan 2015 13:04:25 +0000 (13:04 +0000)]
check translations, MKWS-365

9 years agoFix MKWS-363.
Mike Taylor [Wed, 28 Jan 2015 12:21:19 +0000 (12:21 +0000)]
Fix MKWS-363.

When an auto-search term is provided, it fills the query box.

9 years agoCleanup towards MKWS-363.
Mike Taylor [Wed, 28 Jan 2015 11:40:02 +0000 (11:40 +0000)]
Cleanup towards MKWS-363.

Remove old code to do with conflicting autosearch terms in a single team.
These paths are inaccessible since commit ed9584cc29f7be0e35b94faf2e9800d9400598e6.
This allows us to stop abusing this.team.config.query as local state.

9 years agoMoving more examples to the demos repo MKWS-354
Jason Skomorowski [Tue, 27 Jan 2015 17:11:37 +0000 (12:11 -0500)]
Moving more examples to the demos repo MKWS-354

9 years agoDo not pass that.config.query into the facet template.
Mike Taylor [Tue, 27 Jan 2015 13:05:01 +0000 (13:05 +0000)]
Do not pass that.config.query into the facet template.

This was never needed, and is in fact currently used only as a local
cache by the widget.autosearch() function, rather rudely.

9 years agoFix MKWS-362
Mike Taylor [Tue, 27 Jan 2015 12:36:12 +0000 (12:36 +0000)]
Fix MKWS-362

Allow optional URL autosearch arguments.

9 years agoDisambiguation link is now in a <p> of class "mkws-disambiguation"
Mike Taylor [Fri, 23 Jan 2015 09:33:32 +0000 (09:33 +0000)]
Disambiguation link is now in a <p> of class "mkws-disambiguation"

9 years agoRelated to MKWS-163.
Mike Taylor [Fri, 23 Jan 2015 09:30:19 +0000 (09:30 +0000)]
Related to MKWS-163.

The wikipedia widget now includes "Or did you mean a different XXX?"
links to disambiguation pages, when a disambiguationurl field is
present. These pages open in a new tab.

The main Wikipedia links now also open in a new tab.

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Thu, 22 Jan 2015 12:05:35 +0000 (12:05 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agoProvide "<<" and ">>" text for Prev and Next links using CSS.
Mike Taylor [Thu, 22 Jan 2015 12:05:29 +0000 (12:05 +0000)]
Provide "<<" and ">>" text for Prev and Next links using CSS.

9 years agoRemove hardwired "<<" and ">>" text from Prev and Next text.
Mike Taylor [Thu, 22 Jan 2015 12:05:17 +0000 (12:05 +0000)]
Remove hardwired "<<" and ">>" text from Prev and Next text.

9 years agoNew Makefile in src/templates.
Mike Taylor [Thu, 22 Jan 2015 12:01:53 +0000 (12:01 +0000)]
New Makefile in src/templates.

9 years agosupport multiple images, part of WRIS-10
Wolfram Schneider [Wed, 21 Jan 2015 17:06:29 +0000 (17:06 +0000)]
support multiple images, part of WRIS-10

9 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Wed, 21 Jan 2015 13:28:23 +0000 (13:28 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws

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

9 years agoadd Aliases for new "demos" git repo checkout
Wolfram Schneider [Wed, 21 Jan 2015 13:27:51 +0000 (13:27 +0000)]
add Aliases for new "demos" git repo checkout

9 years agoadd Aliases for new "demos" git repo checkout
Wolfram Schneider [Wed, 21 Jan 2015 13:26:34 +0000 (13:26 +0000)]
add Aliases for new "demos" git repo checkout

9 years agoUses .mkws-pager-desc and .mkws-pager-list classes instead of hardwired styles.
Mike Taylor [Tue, 20 Jan 2015 16:19:45 +0000 (16:19 +0000)]
Uses .mkws-pager-desc and .mkws-pager-list classes instead of hardwired styles.

9 years agoNew styles for the .mkws-pager-desc and .mkws-pager-list classes.
Mike Taylor [Tue, 20 Jan 2015 16:19:17 +0000 (16:19 +0000)]
New styles for the .mkws-pager-desc and .mkws-pager-list classes.

9 years agotargets widget removes leading "Client_" from states.
Mike Taylor [Tue, 20 Jan 2015 08:25:48 +0000 (08:25 +0000)]
targets widget removes leading "Client_" from states.

9 years agoThe "targets" widget now lists targets in alphabetical order.
Mike Taylor [Tue, 20 Jan 2015 08:16:18 +0000 (08:16 +0000)]
The "targets" widget now lists targets in alphabetical order.

9 years agoTowards MKWS-353: add relay.USE_OPAQUE_ID=udb to SP configurations.
Mike Taylor [Mon, 19 Jan 2015 15:02:21 +0000 (15:02 +0000)]
Towards MKWS-353: add relay.USE_OPAQUE_ID=udb to SP configurations.

9 years agoTrailing whitespace.
Mike Taylor [Mon, 19 Jan 2015 14:58:59 +0000 (14:58 +0000)]
Trailing whitespace.

9 years agoClean-up for MKWS-352 work.
Mike Taylor [Mon, 19 Jan 2015 12:35:33 +0000 (12:35 +0000)]
Clean-up for MKWS-352 work.

Facets widget no longer caches id->name mapping.

9 years agoClean-up for MKWS-352 work.
Mike Taylor [Mon, 19 Jan 2015 12:35:05 +0000 (12:35 +0000)]
Clean-up for MKWS-352 work.

Rip out private m_targetMap members, mapTarget() and targetName() functions.

9 years agoClean-up for MKWS-352 work.
Mike Taylor [Mon, 19 Jan 2015 12:34:06 +0000 (12:34 +0000)]
Clean-up for MKWS-352 work.

Targets tempate is now passed the true ID as its "id" field rather
than the cached name associated with that ID.

9 years agoProper fix for MKWS-352.
Mike Taylor [Mon, 19 Jan 2015 12:31:29 +0000 (12:31 +0000)]
Proper fix for MKWS-352.

The "targets" template uses the "name" element rather than "id".

9 years agoTowards a proper fix for MKWS-352.
Mike Taylor [Mon, 19 Jan 2015 12:29:54 +0000 (12:29 +0000)]
Towards a proper fix for MKWS-352.

The targets widget now captures the "name" element in Pazpar2's
"bytargets" response, which it was for some inexplicable reason
discarding.

9 years agoLast part of MKWS-352.
Mike Taylor [Mon, 19 Jan 2015 11:57:35 +0000 (11:57 +0000)]
Last part of MKWS-352.

MKWS "targets" widget now use team.targetName() to emit the
displayName when known, falling back to the old behaviour of using the
ID when that is not known (because we have yet to get back a targets
facet that includes this target).

9 years agoTowards MKWS-352.
Mike Taylor [Mon, 19 Jan 2015 11:55:25 +0000 (11:55 +0000)]
Towards MKWS-352.

MKWS facet widgets now update the mapping of target IDs to
displayNames whenever a termlists response comes back with information
about the "xtargets" facet.

9 years agoTowards MKWS-352.
Mike Taylor [Mon, 19 Jan 2015 11:54:17 +0000 (11:54 +0000)]
Towards MKWS-352.

MKWS teams now maintain a mapping of target IDs to displayNames. This
mapping can be updated using team.mapTarget() and inspected using
team.targetName().

9 years agoAdd new-layout aliases to Mike's Mac Apache2 config
Mike Taylor [Mon, 19 Jan 2015 09:02:06 +0000 (09:02 +0000)]
Add new-layout aliases to Mike's Mac Apache2 config