mkws-moved-to-github.git
10 years agoadd jasmine test account
Wolfram Schneider [Mon, 3 Mar 2014 13:38:18 +0000 (13:38 +0000)]
add jasmine test account

10 years agouse jasmine test account
Wolfram Schneider [Mon, 3 Mar 2014 13:36:24 +0000 (13:36 +0000)]
use jasmine test account

10 years agoadd jasmine test account
Wolfram Schneider [Mon, 3 Mar 2014 23:34:58 +0000 (23:34 +0000)]
add jasmine test account

10 years agoadd rewrite rules for jasmine test account, MKWS-132
Wolfram Schneider [Mon, 3 Mar 2014 13:32:01 +0000 (13:32 +0000)]
add rewrite rules for jasmine test account, MKWS-132

10 years agosetup to use local SP with MKWS jasmine test account, MKWS-13
Wolfram Schneider [Mon, 3 Mar 2014 13:31:33 +0000 (13:31 +0000)]
setup to use local SP with MKWS jasmine test account, MKWS-13

10 years agosetup to use local SP with MKWS jasmine test account, MKWS-132
Wolfram Schneider [Mon, 3 Mar 2014 13:28:47 +0000 (13:28 +0000)]
setup to use local SP with MKWS jasmine test account, MKWS-132

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Fri, 28 Feb 2014 16:32:36 +0000 (16:32 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoCopy of mobile.html
Mike Taylor [Fri, 28 Feb 2014 16:32:28 +0000 (16:32 +0000)]
Copy of mobile.html

10 years agoFix a couple of escaped selectors to use findnode()
Mike Taylor [Fri, 28 Feb 2014 16:23:42 +0000 (16:23 +0000)]
Fix a couple of escaped selectors to use findnode()

10 years agofindnode() correctly handles selectors with commas ("or").
Mike Taylor [Fri, 28 Feb 2014 16:21:12 +0000 (16:21 +0000)]
findnode() correctly handles selectors with commas ("or").
It is now used in the case where we have such a thing.

10 years agoFix findnode() logic for allowing default team-name to be overridden.
Mike Taylor [Fri, 28 Feb 2014 15:47:24 +0000 (15:47 +0000)]
Fix findnode() logic for allowing default team-name to be overridden.

10 years agoStupid JS doesn't have the ||= operator.
Mike Taylor [Fri, 28 Feb 2014 15:45:29 +0000 (15:45 +0000)]
Stupid JS doesn't have the ||= operator.

10 years agoLolcat demo
Mike Taylor [Fri, 28 Feb 2014 15:45:17 +0000 (15:45 +0000)]
Lolcat demo

10 years agoUse findnode() for backup template name.
Mike Taylor [Fri, 28 Feb 2014 15:43:51 +0000 (15:43 +0000)]
Use findnode() for backup template name.

10 years agofindnode() takes optional second argument teamName
Mike Taylor [Fri, 28 Feb 2014 15:42:49 +0000 (15:42 +0000)]
findnode() takes optional second argument teamName

10 years agoRename variable.
Mike Taylor [Fri, 28 Feb 2014 15:42:23 +0000 (15:42 +0000)]
Rename variable.

10 years agoAdd utility method findnode(), limited to elements in present team.
Mike Taylor [Fri, 28 Feb 2014 15:39:47 +0000 (15:39 +0000)]
Add utility method findnode(), limited to elements in present team.
Use this in 25 places.

10 years agoAdd nine ###-comments arising from code-read with Heikki.
Mike Taylor [Fri, 28 Feb 2014 15:28:05 +0000 (15:28 +0000)]
Add nine ###-comments arising from code-read with Heikki.

10 years agoSome typos
Heikki Levanto [Fri, 28 Feb 2014 14:52:43 +0000 (15:52 +0100)]
Some typos

10 years agoMike's comments on mkws.js
Heikki Levanto [Fri, 28 Feb 2014 14:25:25 +0000 (15:25 +0100)]
Mike's comments on mkws.js

10 years agoCollect useful advice for developers into one file
Heikki Levanto [Fri, 28 Feb 2014 13:23:43 +0000 (14:23 +0100)]
Collect useful advice for developers into one file

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Heikki Levanto [Fri, 28 Feb 2014 12:50:19 +0000 (13:50 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoAdd MOTD to teh div id to class conversion list MKWS-133
Heikki Levanto [Fri, 28 Feb 2014 12:49:48 +0000 (13:49 +0100)]
Add MOTD to teh div id to class conversion list   MKWS-133

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Fri, 28 Feb 2014 12:45:56 +0000 (12:45 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoTwo teams.
Mike Taylor [Fri, 28 Feb 2014 12:45:52 +0000 (12:45 +0000)]
Two teams.

10 years agoHugely simplify setting up the on-submit actions for search forms.
Mike Taylor [Fri, 28 Feb 2014 12:45:19 +0000 (12:45 +0000)]
Hugely simplify setting up the on-submit actions for search forms.

10 years agoFurther simplify to eliminate temporary variable `node'
Mike Taylor [Fri, 28 Feb 2014 12:33:28 +0000 (12:33 +0000)]
Further simplify to eliminate temporary variable `node'

10 years agoFINALLY simplify the unnecessary iteration over all one of the search
Mike Taylor [Fri, 28 Feb 2014 12:32:33 +0000 (12:32 +0000)]
FINALLY simplify the unnecessary iteration over all one of the search
forms of a given team.

10 years agomkws.handle_node_with_team() now works with both DOM nodes and jQuery
Mike Taylor [Fri, 28 Feb 2014 12:31:10 +0000 (12:31 +0000)]
mkws.handle_node_with_team() now works with both DOM nodes and jQuery
objects.

Previously it handled only the former. For some retarded reason
related to the JavaScript runtime, if it was given the latter (so that
node.className was undefined), pushing on and assigning
list = classes.split(/\s+/)
would not yield an error message: instead, this function and its
callers, up several stack level, silently return. What a crock.

This took FOREVER to find.

10 years agoAdd a test page for the motd problem FRES-4
Heikki Levanto [Fri, 28 Feb 2014 11:33:38 +0000 (12:33 +0100)]
Add a test page for the motd problem FRES-4

10 years agoBack to simple sandbox.
Mike Taylor [Fri, 28 Feb 2014 11:20:52 +0000 (11:20 +0000)]
Back to simple sandbox.

10 years agohandle_node_with_team() sets `this' to the node in the callback.
Mike Taylor [Fri, 28 Feb 2014 11:04:01 +0000 (11:04 +0000)]
handle_node_with_team() sets `this' to the node in the callback.

10 years agoRename variable.
Mike Taylor [Fri, 28 Feb 2014 10:31:26 +0000 (10:31 +0000)]
Rename variable.

10 years agohandle_node_with_team() now passes widget-type as well as class to callback.
Mike Taylor [Fri, 28 Feb 2014 10:30:50 +0000 (10:30 +0000)]
handle_node_with_team() now passes widget-type as well as class to callback.
widget() factory method accepts `type' argument.
widget() factory method logs object creation.

10 years agoUse `this' instead of temporary.
Mike Taylor [Thu, 27 Feb 2014 16:05:37 +0000 (16:05 +0000)]
Use `this' instead of temporary.

10 years agoUse `this' instead of temporary.
Mike Taylor [Thu, 27 Feb 2014 16:04:33 +0000 (16:04 +0000)]
Use `this' instead of temporary.

10 years agoFix handle_node_with_team() to correctly set `this' within callback.
Mike Taylor [Thu, 27 Feb 2014 16:02:34 +0000 (16:02 +0000)]
Fix handle_node_with_team() to correctly set `this' within callback.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Heikki Levanto [Thu, 27 Feb 2014 15:27:29 +0000 (16:27 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoMy tests, setup stuff
Heikki Levanto [Thu, 27 Feb 2014 15:27:14 +0000 (16:27 +0100)]
My tests, setup stuff

10 years agoObsoleted by bug MKWS-130
Mike Taylor [Thu, 27 Feb 2014 15:27:07 +0000 (15:27 +0000)]
Obsoleted by bug MKWS-130

10 years agoAdd simple PubSub code adapted from jQuery manual.
Mike Taylor [Thu, 27 Feb 2014 15:23:56 +0000 (15:23 +0000)]
Add simple PubSub code adapted from jQuery manual.

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

10 years agofetch pz2.js from git.indexdata.com as we do for jquery libs. MKWS-131
Wolfram Schneider [Thu, 27 Feb 2014 15:04:38 +0000 (15:04 +0000)]
fetch pz2.js from git.indexdata.com as we do for jquery libs. MKWS-131

10 years agotricks for Deb7wheezy in README
Heikki Levanto [Thu, 27 Feb 2014 11:50:47 +0000 (12:50 +0100)]
tricks for Deb7wheezy in README

10 years agoEliminate temporary
Mike Taylor [Thu, 27 Feb 2014 11:30:15 +0000 (11:30 +0000)]
Eliminate temporary

10 years agoMake (vacuous) widget objects.
Mike Taylor [Thu, 27 Feb 2014 10:53:27 +0000 (10:53 +0000)]
Make (vacuous) widget objects.

10 years agoReorder.
Mike Taylor [Wed, 26 Feb 2014 14:42:57 +0000 (14:42 +0000)]
Reorder.

10 years agoMove MKAdmin TODOs back into their own repo for further sorting.
Mike Taylor [Wed, 26 Feb 2014 11:40:43 +0000 (11:40 +0000)]
Move MKAdmin TODOs back into their own repo for further sorting.

10 years agoMore sorting.
Mike Taylor [Fri, 21 Feb 2014 19:53:19 +0000 (14:53 -0500)]
More sorting.

10 years agoReorder "Other" items
Mike Taylor [Fri, 21 Feb 2014 19:38:45 +0000 (14:38 -0500)]
Reorder "Other" items

10 years agoMove "General" category (at top) to "Other" at bottom.
Mike Taylor [Fri, 21 Feb 2014 19:37:48 +0000 (14:37 -0500)]
Move "General" category (at top) to "Other" at bottom.

10 years agoReformat with individual items indented a tab.
Mike Taylor [Fri, 21 Feb 2014 19:37:07 +0000 (14:37 -0500)]
Reformat with individual items indented a tab.

10 years agoConsistent formatting.
Mike Taylor [Fri, 21 Feb 2014 19:36:11 +0000 (14:36 -0500)]
Consistent formatting.

10 years agoMove MKAdmin TODOs into this file.
Mike Taylor [Fri, 21 Feb 2014 19:35:26 +0000 (14:35 -0500)]
Move MKAdmin TODOs into this file.

10 years agoSort and rationalise.
Mike Taylor [Fri, 21 Feb 2014 19:35:10 +0000 (14:35 -0500)]
Sort and rationalise.

10 years agoComment on use of SP.
Mike Taylor [Thu, 20 Feb 2014 21:38:54 +0000 (16:38 -0500)]
Comment on use of SP.

10 years agoAdd comment on SP torusquery.
Mike Taylor [Thu, 20 Feb 2014 21:37:11 +0000 (16:37 -0500)]
Add comment on SP torusquery.

10 years agoNew, incomplete, temporary, rolling, should probably by integrated
Mike Taylor [Thu, 20 Feb 2014 17:06:46 +0000 (12:06 -0500)]
New, incomplete, temporary, rolling, should probably by integrated
with mkadmin/TODO.

10 years agoSearch for just 'cat', not 'lolcat'
Mike Taylor [Wed, 19 Feb 2014 22:05:35 +0000 (17:05 -0500)]
Search for just 'cat', not 'lolcat'

10 years agoSort by date:0 (newest)
Mike Taylor [Wed, 19 Feb 2014 22:03:09 +0000 (17:03 -0500)]
Sort by date:0 (newest)

10 years agoSort by position
Mike Taylor [Wed, 19 Feb 2014 22:01:24 +0000 (17:01 -0500)]
Sort by position

10 years agoNew demo with a LOLcat
Mike Taylor [Wed, 19 Feb 2014 21:49:25 +0000 (16:49 -0500)]
New demo with a LOLcat

10 years agoAdd instrumentation for time taken to walk nodes.
Mike Taylor [Wed, 19 Feb 2014 21:47:59 +0000 (16:47 -0500)]
Add instrumentation for time taken to walk nodes.

10 years agoUse Flickr instead of Google images.
Mike Taylor [Wed, 19 Feb 2014 21:47:28 +0000 (16:47 -0500)]
Use Flickr instead of Google images.

10 years agoLolcat widget it GO!
Mike Taylor [Tue, 18 Feb 2014 23:01:06 +0000 (18:01 -0500)]
Lolcat widget it GO!

10 years agoUse updated template rules
Mike Taylor [Tue, 18 Feb 2014 21:01:41 +0000 (16:01 -0500)]
Use updated template rules

10 years agoUpdated documentation for templates.
Mike Taylor [Tue, 18 Feb 2014 21:01:17 +0000 (16:01 -0500)]
Updated documentation for templates.

10 years agoTemplates are specified by class rather then ID, like other elements.
Mike Taylor [Tue, 18 Feb 2014 20:58:32 +0000 (15:58 -0500)]
Templates are specified by class rather then ID, like other elements.
Template classes are mkwsTemplate_NAME instead of mkwsTemplateNAME.

10 years agoTemplates are compiled on a per-team basis.
Mike Taylor [Tue, 18 Feb 2014 20:57:07 +0000 (15:57 -0500)]
Templates are compiled on a per-team basis.
Fixes bug MKWS-119.

10 years agoAdd link to images demo.
Mike Taylor [Tue, 18 Feb 2014 17:04:58 +0000 (12:04 -0500)]
Add link to images demo.

10 years agoAdd image alt-text (from title).
Mike Taylor [Tue, 18 Feb 2014 16:56:03 +0000 (11:56 -0500)]
Add image alt-text (from title).
Whole record is hot.
No use of bold for captions.

10 years agoShorten magic div.
Mike Taylor [Tue, 18 Feb 2014 16:55:47 +0000 (11:55 -0500)]
Shorten magic div.

10 years agoAdd image alt-text (from title).
Mike Taylor [Tue, 18 Feb 2014 16:54:33 +0000 (11:54 -0500)]
Add image alt-text (from title).
Whole record is hot.
No use of bold for captions.

10 years agoUse mkws-complete.js from canonical location.
Mike Taylor [Tue, 18 Feb 2014 16:43:12 +0000 (11:43 -0500)]
Use mkws-complete.js from canonical location.
Remove unnecessary sort-default restatement.

10 years agoNew file, images.html displays thumbnail images inline.
Mike Taylor [Tue, 18 Feb 2014 16:28:21 +0000 (11:28 -0500)]
New file, images.html displays thumbnail images inline.

10 years agoMove utility function getParameterByName() into the scope where it's needed.
Mike Taylor [Tue, 18 Feb 2014 16:25:41 +0000 (11:25 -0500)]
Move utility function getParameterByName() into the scope where it's needed.

10 years agoResole
Mike Taylor [Tue, 18 Feb 2014 16:20:08 +0000 (11:20 -0500)]
Resole

10 years agorun_auto_searches() is now a tiny function that just dispatches
Mike Taylor [Fri, 14 Feb 2014 17:29:59 +0000 (17:29 +0000)]
run_auto_searches() is now a tiny function that just dispatches
run_auto_search() on each team. The work is done by individual teams.

10 years agoin run_auto_searches(), if query is undefined, don't examine it for
Mike Taylor [Fri, 14 Feb 2014 17:10:31 +0000 (17:10 +0000)]
in run_auto_searches(), if query is undefined, don't examine it for
special values. Fixes bug MKWS-124.

10 years agoAdd mkws-jquery.js
Mike Taylor [Fri, 14 Feb 2014 16:37:16 +0000 (16:37 +0000)]
Add mkws-jquery.js

10 years agoLight-grey background
Mike Taylor [Fri, 14 Feb 2014 15:42:24 +0000 (15:42 +0000)]
Light-grey background

10 years agoFixed width
Mike Taylor [Fri, 14 Feb 2014 15:41:37 +0000 (15:41 +0000)]
Fixed width

10 years agoRemove style completely.
Mike Taylor [Fri, 14 Feb 2014 15:35:08 +0000 (15:35 +0000)]
Remove style completely.

10 years agoComment out the CSS
Mike Taylor [Fri, 14 Feb 2014 15:34:16 +0000 (15:34 +0000)]
Comment out the CSS

10 years agoUse {{#commaList}} helper to render subjects, avoiding long character
Mike Taylor [Fri, 14 Feb 2014 14:52:05 +0000 (14:52 +0000)]
Use {{#commaList}} helper to render subjects, avoiding long character
strings with no spaces that HTML can't render properly in small areas.

10 years agoRemove obsolete logging
Mike Taylor [Fri, 14 Feb 2014 10:31:11 +0000 (10:31 +0000)]
Remove obsolete logging

10 years agoModify default full-record template not to render URLs.
Mike Taylor [Fri, 14 Feb 2014 10:29:33 +0000 (10:29 +0000)]
Modify default full-record template not to render URLs.
Add new Handlebars helper {{index1}} to form link texts.

10 years agoInterpret autosearch queries of the form !path!NUMBER
Mike Taylor [Thu, 13 Feb 2014 16:19:33 +0000 (16:19 +0000)]
Interpret autosearch queries of the form !path!NUMBER

10 years agoNew
Mike Taylor [Thu, 13 Feb 2014 15:20:07 +0000 (15:20 +0000)]
New

10 years agoRemove the other two widgets.
Mike Taylor [Thu, 13 Feb 2014 15:10:41 +0000 (15:10 +0000)]
Remove the other two widgets.

10 years agoMagic divs in different teams.
Mike Taylor [Thu, 13 Feb 2014 15:04:02 +0000 (15:04 +0000)]
Magic divs in different teams.

10 years agoInclude results in all three versions of position order.
Mike Taylor [Thu, 13 Feb 2014 15:03:15 +0000 (15:03 +0000)]
Include results in all three versions of position order.

10 years agoOh, it's even easier: just specify the sort-order right in the widget!
Mike Taylor [Thu, 13 Feb 2014 14:59:17 +0000 (14:59 +0000)]
Oh, it's even easier: just specify the sort-order right in the widget!

10 years agoAdd sort_default
Mike Taylor [Thu, 13 Feb 2014 14:58:23 +0000 (14:58 +0000)]
Add sort_default

10 years ago?SN ERROR
Mike Taylor [Thu, 13 Feb 2014 14:52:46 +0000 (14:52 +0000)]
?SN ERROR

10 years agoAdd perpage_default
Mike Taylor [Thu, 13 Feb 2014 14:49:50 +0000 (14:49 +0000)]
Add perpage_default

10 years agoCHange heading
Mike Taylor [Thu, 13 Feb 2014 14:47:48 +0000 (14:47 +0000)]
CHange heading

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 13 Feb 2014 14:42:54 +0000 (14:42 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoUse component scripts instead of all-in-one mkws-complete.js
Mike Taylor [Thu, 13 Feb 2014 14:42:46 +0000 (14:42 +0000)]
Use component scripts instead of all-in-one mkws-complete.js
Auto-search now uses new !param!NAME syntax.

10 years agoReinstate SP-auth configuration to use Paratext library.
Mike Taylor [Thu, 13 Feb 2014 14:42:06 +0000 (14:42 +0000)]
Reinstate SP-auth configuration to use Paratext library.