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

7 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.

7 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.

7 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.

7 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"

7 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.

7 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

7 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.

7 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.

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

7 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

7 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

7 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

7 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

7 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

7 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.

7 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.

7 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.

7 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.

7 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.

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

7 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.

7 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.

7 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.

7 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".

7 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.

7 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).

7 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.

7 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().

7 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

7 years agoDon't use development version of JSNlog
Mike Taylor [Mon, 19 Jan 2015 09:01:36 +0000 (09:01 +0000)]
Don't use development version of JSNlog

7 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Jason Skomorowski [Fri, 16 Jan 2015 17:36:06 +0000 (12:36 -0500)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

7 years agoPublish 'authenticated' when using pazpar2
Jason Skomorowski [Fri, 16 Jan 2015 17:36:00 +0000 (12:36 -0500)]
Publish 'authenticated' when using pazpar2

7 years agoAdd 'searchtriggered' queue, remove 'navi' queue.
Jason Skomorowski [Fri, 16 Jan 2015 17:18:56 +0000 (12:18 -0500)]
Add 'searchtriggered' queue, remove 'navi' queue.

7 years agoTweak for MacOS 10.10 and its Apache 2.4 installation:
Mike Taylor [Thu, 15 Jan 2015 19:58:55 +0000 (19:58 +0000)]
Tweak for MacOS 10.10 and its Apache 2.4 installation:
- Remove rewrite rules (no longer needed anyway)
- Use "Require all granted" instead of "Allow from all"

7 years agoTweak for MacOS 10.10 and its Apache 2.4 installation:
Mike Taylor [Thu, 15 Jan 2015 19:58:32 +0000 (19:58 +0000)]
Tweak for MacOS 10.10 and its Apache 2.4 installation:
- Remove rewrite rules (no longer needed anyway)
- Use "Require all granted" instead of "Allow from all"

7 years agoShould fix MKWS-351.
Mike Taylor [Thu, 15 Jan 2015 17:02:49 +0000 (17:02 +0000)]
Should fix MKWS-351.

Fix up the "<input>" tag in our local copy of jQuery to be self-closing.

7 years agoAdd alias for /metarepo/
Mike Taylor [Thu, 15 Jan 2015 16:18:29 +0000 (16:18 +0000)]
Add alias for /metarepo/

7 years agoAll src= and href= references to objects in src or tools directories changed to ...
Mike Taylor [Thu, 15 Jan 2015 15:04:43 +0000 (15:04 +0000)]
All src= and href= references to objects in src or tools directories changed to /src and /tools, as Jason's new directory layout broke all the examples.

7 years agoRedo Mike's development-box Apache2 config for Jason's new directory layout.
Mike Taylor [Thu, 15 Jan 2015 15:03:17 +0000 (15:03 +0000)]
Redo Mike's development-box Apache2 config for Jason's new directory layout.

7 years agoRemove demos that have moved to the demos repo.
Jason Skomorowski [Wed, 14 Jan 2015 04:30:54 +0000 (23:30 -0500)]
Remove demos that have moved to the demos repo.

7 years agoExtent default Wikipedia-widget styles to apply to the mkws-wikipedia
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.

7 years agoUse existing styles for Wikipedia widget rather than handcoding some.
Mike Taylor [Mon, 12 Jan 2015 17:42:32 +0000 (17:42 +0000)]
Use existing styles for Wikipedia widget rather than handcoding some.

7 years agoUpdate README document for Reference Universe widget.
Mike Taylor [Mon, 12 Jan 2015 17:36:58 +0000 (17:36 +0000)]
Update README document for Reference Universe widget.

7 years agoNo longer necessary to include mkws-widget-ru.js.
Mike Taylor [Mon, 12 Jan 2015 17:35:19 +0000 (17:35 +0000)]
No longer necessary to include mkws-widget-ru.js.

7 years agoNo 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.

7 years agoNo 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.

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

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

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

7 years agoRename template file. DEFINTELY the last part of MKWS-349.
Mike Taylor [Mon, 12 Jan 2015 17:24:34 +0000 (17:24 +0000)]
Rename template file. DEFINTELY the last part of MKWS-349.

7 years agoTweak comment.
Mike Taylor [Mon, 12 Jan 2015 17:24:04 +0000 (17:24 +0000)]
Tweak comment.
DEFINTELY the last part of MKWS-349.

7 years agoUse template called "wikipedia", not "reference".
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.

7 years agoUse "wikipedia" widget instead of "reference" (see MKWS-348)
Mike Taylor [Mon, 12 Jan 2015 16:58:51 +0000 (16:58 +0000)]
Use "wikipedia" widget instead of "reference" (see MKWS-348)
Tweak styles.

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

7 years agoAdd mkws.aliasWidgetType() function.
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".

7 years agoRecompiled (though I don't know why a compiled file is in git).
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).

7 years agoFIx comment.
Mike Taylor [Mon, 12 Jan 2015 15:59:56 +0000 (15:59 +0000)]
FIx comment.

7 years agoUse mkws-widget-wikipedia.css instead of mkws-widget-reference.css
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.

7 years agoPart of MKWS-349, rename the CSS for the Wikipedia widget
Mike Taylor [Mon, 12 Jan 2015 15:57:40 +0000 (15:57 +0000)]
Part of MKWS-349, rename the CSS for the Wikipedia widget

7 years agoAll examples use mkws-widget-wikipedia.js rather than mkws-widget-reference.js
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

7 years agoPart of MKWS-349, compile using mkws-widget-wikipedia.js
Mike Taylor [Mon, 12 Jan 2015 14:48:13 +0000 (14:48 +0000)]
Part of MKWS-349, compile using mkws-widget-wikipedia.js

7 years agoRename file -- part of MKWS-349
Mike Taylor [Mon, 12 Jan 2015 14:47:23 +0000 (14:47 +0000)]
Rename file -- part of MKWS-349

7 years agoNew, private to AG.
Mike Taylor [Mon, 12 Jan 2015 11:43:13 +0000 (11:43 +0000)]
New, private to AG.

7 years agoRemove commented-out alternative authentication.
Mike Taylor [Mon, 12 Jan 2015 11:12:06 +0000 (11:12 +0000)]
Remove commented-out alternative authentication.

7 years agoThe Reference Universe widget now specifies to use the correct target.
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.)

7 years agoAdd commented-out line authenticating as AG Production.
Mike Taylor [Fri, 9 Jan 2015 16:00:13 +0000 (16:00 +0000)]
Add commented-out line authenticating as AG Production.

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

7 years agoUpdate Reference Universe widget documentation.
Mike Taylor [Fri, 9 Jan 2015 11:37:23 +0000 (11:37 +0000)]
Update Reference Universe widget documentation.

7 years agoAdd sp_auth_credentials setting for tpl.html
Mike Taylor [Fri, 9 Jan 2015 10:40:33 +0000 (10:40 +0000)]
Add sp_auth_credentials setting for tpl.html

7 years agoReorder
Mike Taylor [Fri, 9 Jan 2015 10:39:04 +0000 (10:39 +0000)]
Reorder

7 years agoMove sp_auth_credentials setting from Reference Universe widget to application. Part...
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

7 years agoSet sp_auth_credentials rather than entire service_proxy_auth URL.
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!)

7 years agorun screen shots in parallel (3 times faster)
Wolfram Schneider [Thu, 8 Jan 2015 14:19:55 +0000 (14:19 +0000)]
run screen shots in parallel (3 times faster)

7 years agocheck /tester.html
Wolfram Schneider [Thu, 8 Jan 2015 14:19:46 +0000 (14:19 +0000)]
check /tester.html

7 years agofinish previous commit
Wolfram Schneider [Wed, 7 Jan 2015 13:17:21 +0000 (13:17 +0000)]
finish previous commit

7 years agoenable to run tidy several times
Wolfram Schneider [Wed, 7 Jan 2015 13:15:37 +0000 (13:15 +0000)]
enable to run tidy several times

7 years agoscreenshots depends on NPM
Wolfram Schneider [Wed, 7 Jan 2015 13:13:37 +0000 (13:13 +0000)]
screenshots depends on NPM

7 years agotidy is a post target
Wolfram Schneider [Wed, 7 Jan 2015 13:12:13 +0000 (13:12 +0000)]
tidy is a post target

7 years agomore spaces in help message
Wolfram Schneider [Wed, 7 Jan 2015 13:10:34 +0000 (13:10 +0000)]
more spaces in help message

7 years agoAdd a screenshot CSS
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

7 years agowe no longer depends on specific JavaScript NPM modules
Wolfram Schneider [Wed, 7 Jan 2015 13:07:59 +0000 (13:07 +0000)]
we no longer depends on specific JavaScript NPM modules

7 years agodisplay a hint how to check the index pages
Wolfram Schneider [Wed, 7 Jan 2015 13:07:23 +0000 (13:07 +0000)]
display a hint how to check the index pages

7 years agorun tidy by default
Wolfram Schneider [Wed, 7 Jan 2015 13:04:20 +0000 (13:04 +0000)]
run tidy by default

7 years agonew target tidy, part of MKWS-346
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

7 years agoupdate version to "1.0.0"
Wolfram Schneider [Wed, 7 Jan 2015 12:20:25 +0000 (12:20 +0000)]
update version to  "1.0.0"

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

7 years agotest is no longer needed, see the upgrade to "jquery" in MKWS-345
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

7 years agoswitch to newer npm module "jquery", 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

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

7 years agoWidget for testing Wikipediat-derived categories WCAT-4
Jason Skomorowski [Mon, 15 Dec 2014 19:04:22 +0000 (14:04 -0500)]
Widget for testing Wikipediat-derived categories WCAT-4

7 years agocleanup
Wolfram Schneider [Fri, 12 Dec 2014 12:10:56 +0000 (12:10 +0000)]
cleanup

7 years agobring raw pp2 test page back
Wolfram Schneider [Fri, 12 Dec 2014 11:39:01 +0000 (11:39 +0000)]
bring raw pp2 test page back

7 years agodocument default wikipedia single target
Wolfram Schneider [Thu, 11 Dec 2014 18:06:52 +0000 (18:06 +0000)]
document default wikipedia single target

7 years agoconfigurable credit for reference widget, MKWS-344
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>

7 years agoignore empty query values
Wolfram Schneider [Wed, 10 Dec 2014 11:47:55 +0000 (11:47 +0000)]
ignore empty query values

7 years agoreduce number of default queries
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

7 years agoAllow changes to mkws.config from tester.html WRIS-3
Jason Skomorowski [Tue, 9 Dec 2014 20:57:39 +0000 (15:57 -0500)]
Allow changes to mkws.config from tester.html WRIS-3

7 years agoAdd note field to 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

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