mkws-moved-to-github.git
10 years agoThe service proxy auth URL shortcut may contain ;jsessionid= as part of the URL path...
Wolfram Schneider [Fri, 6 Jun 2014 10:53:12 +0000 (10:53 +0000)]
The service proxy auth URL shortcut may contain ;jsessionid= as part of the URL path, MKWS-203

Note: jsessionid=... is not an URL parameter, it is before ?command

10 years agoKoha + mkws-widget-reference.css
Wolfram Schneider [Wed, 4 Jun 2014 13:55:43 +0000 (13:55 +0000)]
Koha + mkws-widget-reference.css

10 years agoSingle sentence.
Mike Taylor [Tue, 3 Jun 2014 15:43:28 +0000 (16:43 +0100)]
Single sentence.

10 years agoFix a perfectly understandable logic error that anyone could have made
Mike Taylor [Tue, 3 Jun 2014 15:30:22 +0000 (16:30 +0100)]
Fix a perfectly understandable logic error that anyone could have made
and which it would be churlish to blame me for.

10 years agoAdd credit-styling to Reference widget.
Mike Taylor [Tue, 3 Jun 2014 15:25:46 +0000 (16:25 +0100)]
Add credit-styling to Reference widget.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Tue, 3 Jun 2014 15:14:35 +0000 (16:14 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoLimit output to five sentences.
Mike Taylor [Tue, 3 Jun 2014 15:14:11 +0000 (16:14 +0100)]
Limit output to five sentences.

10 years agoThe mkws-paragraphs Handlebars helper now accepts a second optional
Mike Taylor [Tue, 3 Jun 2014 15:12:45 +0000 (16:12 +0100)]
The mkws-paragraphs Handlebars helper now accepts a second optional
argument nSent, which limits output to the specified number of
sentences.

10 years agoPass number of sentences through into mkws-paragraphs Handlebars helper.
Mike Taylor [Tue, 3 Jun 2014 15:06:08 +0000 (16:06 +0100)]
Pass number of sentences through into mkws-paragraphs Handlebars helper.

10 years agoMike's playground now used for Reference widget.
Mike Taylor [Tue, 3 Jun 2014 14:42:47 +0000 (15:42 +0100)]
Mike's playground now used for Reference widget.

10 years ago/service-proxy-kohaauth will use the user "kohademo" now
Wolfram Schneider [Tue, 3 Jun 2014 12:01:42 +0000 (12:01 +0000)]
/service-proxy-kohaauth will use the user "kohademo" now

10 years agofix last commit
Wolfram Schneider [Sat, 31 May 2014 21:01:38 +0000 (21:01 +0000)]
fix last commit

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Sat, 31 May 2014 20:06:08 +0000 (20:06 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agofail better if apache is not installed
Wolfram Schneider [Sat, 31 May 2014 20:05:54 +0000 (20:05 +0000)]
fail better if apache is not installed

10 years agoExample adding bootstrap to the credo widget.
Jason Skomorowski [Thu, 29 May 2014 22:17:26 +0000 (18:17 -0400)]
Example adding bootstrap to the credo widget.

10 years agoThe Credo widget's Reference subwidget is now passed a "paragraphs"
Mike Taylor [Thu, 29 May 2014 15:22:40 +0000 (16:22 +0100)]
The Credo widget's Reference subwidget is now passed a "paragraphs"
parameter of 1, so that only the first paragraph of the Wikipedia
article is used.

10 years agomkws-paragraphs also handles explicitly undefined parameters.
Mike Taylor [Thu, 29 May 2014 15:21:57 +0000 (16:21 +0100)]
mkws-paragraphs also handles explicitly undefined parameters.

10 years agoReference widget passes the configuration item "paragraphs" into the
Mike Taylor [Thu, 29 May 2014 15:21:34 +0000 (16:21 +0100)]
Reference widget passes the configuration item "paragraphs" into the
mkws-paragraphs helper, specifying how many paragraphs to render. If
this is absent (or zero), all paragraphs obtained from the target are
rendered.

10 years agoSimplify handling of optional count argument.
Mike Taylor [Thu, 29 May 2014 15:14:49 +0000 (16:14 +0100)]
Simplify handling of optional count argument.

10 years agothe "mkws-paragraphs" Handlebars helper now accepts an optional second
Mike Taylor [Thu, 29 May 2014 15:12:26 +0000 (16:12 +0100)]
the "mkws-paragraphs" Handlebars helper now accepts an optional second
argument specifying how many paragraphs to emit.

10 years agoStyling for mkwsCredit area.
Mike Taylor [Thu, 29 May 2014 14:09:41 +0000 (15:09 +0100)]
Styling for mkwsCredit area.

10 years agoReference widget (and therefore Credo widget) credits Wikipedia.
Mike Taylor [Thu, 29 May 2014 14:05:34 +0000 (15:05 +0100)]
Reference widget (and therefore Credo widget) credits Wikipedia.

10 years agoRemove extraneous <p>...</p> around {{{mkws-paragraphs}}} call.
Mike Taylor [Thu, 29 May 2014 13:12:33 +0000 (14:12 +0100)]
Remove extraneous <p>...</p> around {{{mkws-paragraphs}}} call.

10 years agoAdd hack to remove numbered references from mkws-paragraphs output.
Mike Taylor [Thu, 29 May 2014 13:07:43 +0000 (14:07 +0100)]
Add hack to remove numbered references from mkws-paragraphs output.

10 years agoVertical ws
Mike Taylor [Thu, 29 May 2014 13:03:32 +0000 (14:03 +0100)]
Vertical ws

10 years agoWorking SP auth that re-uses sessions.
Mike Taylor [Thu, 29 May 2014 13:03:10 +0000 (14:03 +0100)]
Working SP auth that re-uses sessions.

10 years agoAdd commented-out alternative service_proxy_auth
Mike Taylor [Wed, 28 May 2014 15:53:44 +0000 (16:53 +0100)]
Add commented-out alternative service_proxy_auth

10 years agoFormatting
Mike Taylor [Wed, 28 May 2014 15:53:32 +0000 (16:53 +0100)]
Formatting

10 years agoRemove irrelevant mkws_config.responsive_design_width
Mike Taylor [Wed, 28 May 2014 15:53:25 +0000 (16:53 +0100)]
Remove irrelevant mkws_config.responsive_design_width

10 years agoRevert previous delta.
Mike Taylor [Wed, 28 May 2014 15:41:09 +0000 (16:41 +0100)]
Revert previous delta.

10 years agoSP auth for demo realm does check before auth.
Mike Taylor [Wed, 28 May 2014 15:35:07 +0000 (16:35 +0100)]
SP auth for demo realm does check before auth.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 28 May 2014 14:54:53 +0000 (15:54 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoNew
Mike Taylor [Wed, 28 May 2014 14:51:57 +0000 (15:51 +0100)]
New

10 years agoRename variables in autosearch method.
Mike Taylor [Wed, 28 May 2014 14:51:41 +0000 (15:51 +0100)]
Rename variables in autosearch method.

10 years agoRename variables in hideWhenNarrow
Mike Taylor [Wed, 28 May 2014 14:38:59 +0000 (15:38 +0100)]
Rename variables in hideWhenNarrow

10 years agoAll invocations of widget.hideWhenNarrow(w) changed to w.hideWhenNarrow()
Mike Taylor [Wed, 28 May 2014 14:37:52 +0000 (15:37 +0100)]
All invocations of widget.hideWhenNarrow(w) changed to w.hideWhenNarrow()

10 years agoThe hideWhenNarrow function is now a member of the widget object, so it's
Mike Taylor [Wed, 28 May 2014 14:37:35 +0000 (15:37 +0100)]
The hideWhenNarrow function is now a member of the widget object, so it's
invoked as
w.hideWhenNarrow()
rather than
widget.hideWhenNarrow(w)

10 years agoAll invocations of widget.autosearch(w) changed to w.autosearch()
Mike Taylor [Wed, 28 May 2014 14:33:40 +0000 (15:33 +0100)]
All invocations of widget.autosearch(w) changed to w.autosearch()

10 years agoThe autosearch function is now a member of the widget object, so it's
Mike Taylor [Wed, 28 May 2014 14:33:09 +0000 (15:33 +0100)]
The autosearch function is now a member of the widget object, so it's
invoked as
w.autosearch()
rather than
widget.autosearch(w)

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Wed, 28 May 2014 14:24:06 +0000 (14:24 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 28 May 2014 14:22:34 +0000 (15:22 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agofix Firefox table display, MKWS-78
Wolfram Schneider [Wed, 28 May 2014 14:21:29 +0000 (14:21 +0000)]
fix Firefox table display, MKWS-78

10 years agoConvert query to title case for titles.
Mike Taylor [Wed, 28 May 2014 14:17:56 +0000 (15:17 +0100)]
Convert query to title case for titles.

10 years agoSet HTML title as well.
Mike Taylor [Wed, 28 May 2014 14:10:43 +0000 (15:10 +0100)]
Set HTML title as well.

10 years agoAfter all sub-widget are generated, fill in the query as title.
Mike Taylor [Wed, 28 May 2014 14:09:55 +0000 (15:09 +0100)]
After all sub-widget are generated, fill in the query as title.

10 years agolarger select box for Firefox, part of MKWS-198
Wolfram Schneider [Wed, 28 May 2014 13:41:48 +0000 (13:41 +0000)]
larger select box for Firefox, part of MKWS-198

10 years agoincrease example timeout from 8 to 12 seconds
Wolfram Schneider [Wed, 28 May 2014 12:50:20 +0000 (12:50 +0000)]
increase example timeout from 8 to 12 seconds

8 seconds are often not enough. sic!

10 years agonew koha SP auth URL http://mkws.indexdata.com/service-proxy-kohaauth
Wolfram Schneider [Wed, 28 May 2014 11:49:56 +0000 (11:49 +0000)]
new koha SP auth URL mkws.indexdata.com/service-proxy-kohaauth

10 years agoStash query for subsequent inspection
Mike Taylor [Tue, 27 May 2014 16:11:58 +0000 (17:11 +0100)]
Stash query for subsequent inspection

10 years agoMove all config inspection inside the "ready" handler.
Mike Taylor [Tue, 27 May 2014 16:10:08 +0000 (17:10 +0100)]
Move all config inspection inside the "ready" handler.

10 years agoComment explains delayed initialisation.
Mike Taylor [Tue, 27 May 2014 16:08:52 +0000 (17:08 +0100)]
Comment explains delayed initialisation.

10 years agoMerge the two consecutive if(!query) clauses.
Mike Taylor [Tue, 27 May 2014 15:53:29 +0000 (16:53 +0100)]
Merge the two consecutive if(!query) clauses.

10 years agoGet much of the config from the widget before the "ready" event.
Mike Taylor [Tue, 27 May 2014 15:52:11 +0000 (16:52 +0100)]
Get much of the config from the widget before the "ready" event.
Experiment shows that, bizarrely, if we do the same for
      var target = widget.config.target;
everything goes wrong -- the various searches seem to start
interfering with each other. I have NO IDEA why this is.

10 years agoInvert if(query) test and queue("ready") wrapper.
Mike Taylor [Tue, 27 May 2014 15:46:11 +0000 (16:46 +0100)]
Invert if(query) test and queue("ready") wrapper.

10 years agoCalculate query up front, not just on "ready" event.
Mike Taylor [Tue, 27 May 2014 15:45:19 +0000 (16:45 +0100)]
Calculate query up front, not just on "ready" event.

10 years agoDefensive coding in mkws-googleurl Handlebars helper.
Mike Taylor [Tue, 27 May 2014 15:34:46 +0000 (16:34 +0100)]
Defensive coding in mkws-googleurl Handlebars helper.

10 years agoimport our logo for koha plugin
Wolfram Schneider [Mon, 26 May 2014 14:07:45 +0000 (16:07 +0200)]
import our logo for koha plugin

10 years agoReferenceUniverse widget CSS
Wolfram Schneider [Mon, 26 May 2014 12:15:26 +0000 (14:15 +0200)]
ReferenceUniverse widget CSS

10 years agoadd documentation & copyright
Wolfram Schneider [Mon, 26 May 2014 12:00:48 +0000 (14:00 +0200)]
add documentation & copyright

10 years agoadd a README
Wolfram Schneider [Mon, 26 May 2014 11:57:06 +0000 (13:57 +0200)]
add a README

10 years agoAdd .mkwsProgress styles.
Mike Taylor [Thu, 22 May 2014 16:14:24 +0000 (17:14 +0100)]
Add .mkwsProgress styles.
It's almost *too* easy ...

10 years agoAdd mkwsProgress widget to simple demo.
Mike Taylor [Thu, 22 May 2014 16:14:04 +0000 (17:14 +0100)]
Add mkwsProgress widget to simple demo.

10 years agoAdd Progress widget (progress-meter)
Mike Taylor [Thu, 22 May 2014 16:13:22 +0000 (17:13 +0100)]
Add Progress widget (progress-meter)
Fixes bug MKWS-195 ("Progress-bar widget").

10 years agoReinstate and configure news widget.
Mike Taylor [Thu, 22 May 2014 15:08:32 +0000 (16:08 +0100)]
Reinstate and configure news widget.
Add "not implemented" note for Suggested Resources.

10 years agoReinstate and configure books widget.
Mike Taylor [Thu, 22 May 2014 15:04:57 +0000 (16:04 +0100)]
Reinstate and configure books widget.

10 years agoCHange "articles" team-name.
Mike Taylor [Thu, 22 May 2014 15:04:44 +0000 (16:04 +0100)]
CHange "articles" team-name.

10 years agoReinstate and configure articles widget.
Mike Taylor [Thu, 22 May 2014 14:56:36 +0000 (15:56 +0100)]
Reinstate and configure articles widget.

10 years agoReinstate Credo CSS
Mike Taylor [Thu, 22 May 2014 14:27:58 +0000 (15:27 +0100)]
Reinstate Credo CSS

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 22 May 2014 14:27:23 +0000 (15:27 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoAdd new file, ref.html
Mike Taylor [Thu, 22 May 2014 14:26:35 +0000 (15:26 +0100)]
Add new file, ref.html
Demo of Credo widget by a different name.

10 years agoAdd new Handlebars helper, mkws-googleurl
Mike Taylor [Thu, 22 May 2014 14:21:51 +0000 (15:21 +0100)]
Add new Handlebars helper, mkws-googleurl
Use this in the CredoImage template to eliminate redirection

10 years agoMove koha CSS to the tool site (mkws.indexdata.com)
Wolfram Schneider [Thu, 22 May 2014 14:21:15 +0000 (14:21 +0000)]
Move koha CSS to  the tool site (mkws.indexdata.com)

10 years agoAdd optional URL parameter to mkws.getParameterByName function
Mike Taylor [Thu, 22 May 2014 14:19:35 +0000 (15:19 +0100)]
Add optional URL parameter to mkws.getParameterByName function

10 years agoimport Koha MKWS CSS, for use on external sites
Wolfram Schneider [Thu, 22 May 2014 13:45:43 +0000 (13:45 +0000)]
import Koha MKWS CSS, for use on external sites

10 years agoStyle the divider <tr>
Mike Taylor [Thu, 22 May 2014 13:43:01 +0000 (14:43 +0100)]
Style the divider <tr>

10 years agoEmit a divider <tr>
Mike Taylor [Thu, 22 May 2014 13:42:52 +0000 (14:42 +0100)]
Emit a divider <tr>

10 years agoUse Mindmap widget (which, OK, doesn't exist yet).
Mike Taylor [Thu, 22 May 2014 13:34:43 +0000 (14:34 +0100)]
Use Mindmap widget (which, OK, doesn't exist yet).

10 years agoRemove no-longer-needed old versions of Credo files
Mike Taylor [Thu, 22 May 2014 13:28:07 +0000 (14:28 +0100)]
Remove no-longer-needed old versions of Credo files

10 years agoRe-enable main "entries" subwidget, and place the Facet in the same
Mike Taylor [Thu, 22 May 2014 13:27:34 +0000 (14:27 +0100)]
Re-enable main "entries" subwidget, and place the Facet in the same
team as it so that a search gets fired that yields facets.

10 years agoSimplify
Mike Taylor [Thu, 22 May 2014 13:20:05 +0000 (14:20 +0100)]
Simplify

10 years agoNew example of an 'Intro' widget, as used in our Koha plugin
Mike Taylor [Thu, 22 May 2014 12:48:18 +0000 (13:48 +0100)]
New example of an 'Intro' widget, as used in our Koha plugin

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 22 May 2014 11:07:11 +0000 (12:07 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoNew
Mike Taylor [Thu, 22 May 2014 11:07:01 +0000 (12:07 +0100)]
New

10 years agorun on centos6
Wolfram Schneider [Thu, 22 May 2014 08:40:57 +0000 (08:40 +0000)]
run on centos6

10 years agorun on MacOS
Wolfram Schneider [Thu, 22 May 2014 08:18:39 +0000 (10:18 +0200)]
run on MacOS

10 years agosupport multiple OS
Wolfram Schneider [Thu, 22 May 2014 08:16:05 +0000 (10:16 +0200)]
support multiple OS

10 years agodetect correct apache binary
Wolfram Schneider [Thu, 22 May 2014 07:42:31 +0000 (09:42 +0200)]
detect correct apache binary

10 years agoMerge remote-tracking branch 'origin/master' into wosch
Wolfram Schneider [Thu, 22 May 2014 07:38:55 +0000 (09:38 +0200)]
Merge remote-tracking branch 'origin/master' into wosch

10 years agoReinstate "Related Topics" widget.
Mike Taylor [Wed, 21 May 2014 16:17:30 +0000 (17:17 +0100)]
Reinstate "Related Topics" widget.
Which doesn't work.

10 years agoStyle widget to fill whole page-width.
Mike Taylor [Wed, 21 May 2014 15:06:51 +0000 (16:06 +0100)]
Style widget to fill whole page-width.

10 years agoOpen image links in new window.
Mike Taylor [Wed, 21 May 2014 14:54:57 +0000 (15:54 +0100)]
Open image links in new window.

10 years agoCustom CredoImage template is used to attach a caption to each image.
Mike Taylor [Wed, 21 May 2014 14:45:33 +0000 (15:45 +0100)]
Custom CredoImage template is used to attach a caption to each image.
Unfortunately, this breaks the float-clearing styles. Darn.

Also, clicking on images goes to their site instead of doing a
regular-ass MKWS full-record popup.

10 years agoComment.
Mike Taylor [Wed, 21 May 2014 14:43:43 +0000 (15:43 +0100)]
Comment.

10 years agoRemove width:100% from .mkwsCredo div.content styles, as it interacts
Mike Taylor [Wed, 21 May 2014 14:34:37 +0000 (15:34 +0100)]
Remove width:100% from .mkwsCredo div.content styles, as it interacts
badly with the padding.

10 years agoAdd styles to make content area grow to contain floated images.
Mike Taylor [Wed, 21 May 2014 12:07:50 +0000 (13:07 +0100)]
Add styles to make content area grow to contain floated images.
See http://www.quirksmode.org/css/clearing.html

10 years agoBetter styling for images
Mike Taylor [Wed, 21 May 2014 11:14:06 +0000 (12:14 +0100)]
Better styling for images

10 years agoPlace the encyclodaedia and image widgets in different teams.
Mike Taylor [Tue, 20 May 2014 16:22:26 +0000 (17:22 +0100)]
Place the encyclodaedia and image widgets in different teams.

10 years agoThe subwidget function now treats the "_team" override specially,
Mike Taylor [Tue, 20 May 2014 16:21:37 +0000 (17:21 +0100)]
The subwidget function now treats the "_team" override specially,
allowing it to override the team that the subwidget is a member of.

10 years agoStore the GID id of the last commit in mkws-complete.js
Wolfram Schneider [Tue, 20 May 2014 13:14:13 +0000 (13:14 +0000)]
Store the GID id of the last commit in mkws-complete.js

We used the gid id from mkws.js, but that's no longer
usefull after we split mkws.js into parts

10 years agoReset m_gotRecords to false in resetPage
Mike Taylor [Tue, 20 May 2014 12:35:08 +0000 (13:35 +0100)]
Reset m_gotRecords to false in resetPage