mkws-moved-to-github.git
10 years agoRemove ALL ID-based targets from CSS.
Mike Taylor [Wed, 5 Mar 2014 09:24:33 +0000 (09:24 +0000)]
Remove ALL ID-based targets from CSS.
Fixes the last part of MWKS-117.

10 years agoSet full-record HTML using jQuery rather than innerHTML.
Mike Taylor [Wed, 5 Mar 2014 09:19:41 +0000 (09:19 +0000)]
Set full-record HTML using jQuery rather than innerHTML.
Fixes the last part of MKWS-22.

10 years agoChange Mike's playground to two-team version.
Mike Taylor [Tue, 4 Mar 2014 17:21:23 +0000 (17:21 +0000)]
Change Mike's playground to two-team version.

10 years agoComment.
Mike Taylor [Tue, 4 Mar 2014 17:13:23 +0000 (17:13 +0000)]
Comment.

10 years agoMove event-queue code into teams.
Mike Taylor [Tue, 4 Mar 2014 17:11:19 +0000 (17:11 +0000)]
Move event-queue code into teams.
Events are now subscribed/published on team-specific basis.
As a result, we don't need the ugly faceted event names.

10 years agostat event-queueing is per-team.
Mike Taylor [Tue, 4 Mar 2014 16:48:16 +0000 (16:48 +0000)]
stat event-queueing is per-team.

10 years agoNew team member-function, name().
Mike Taylor [Tue, 4 Mar 2014 15:24:31 +0000 (15:24 +0000)]
New team member-function, name().
"targets" events are now registered per-team.

10 years agoMove "return" higher up widget factory method.
Mike Taylor [Tue, 4 Mar 2014 15:04:36 +0000 (15:04 +0000)]
Move "return" higher up widget factory method.
Local functions come after it.

10 years agoRemove no-longer pertinent comment.
Mike Taylor [Tue, 4 Mar 2014 15:03:48 +0000 (15:03 +0000)]
Remove no-longer pertinent comment.

10 years agoRemove unused teamName arguments from several pz2 callbacks.
Mike Taylor [Tue, 4 Mar 2014 14:56:10 +0000 (14:56 +0000)]
Remove unused teamName arguments from several pz2 callbacks.

10 years agoStatus line implemented using pub/sub
Mike Taylor [Tue, 4 Mar 2014 14:54:54 +0000 (14:54 +0000)]
Status line implemented using pub/sub

10 years agoTighten up.
Mike Taylor [Tue, 4 Mar 2014 14:49:07 +0000 (14:49 +0000)]
Tighten up.

10 years agoFix CSS for targets area.
Mike Taylor [Tue, 4 Mar 2014 14:10:50 +0000 (14:10 +0000)]
Fix CSS for targets area.
(HTML is assigned to a subnode, not the widget node itself.)

10 years agoTargets list is now generated by widget, not team.
Mike Taylor [Tue, 4 Mar 2014 14:07:47 +0000 (14:07 +0000)]
Targets list is now generated by widget, not team.
This is done using publish/subscribe -- yay!
For some reason, the CSS styles are not getting applied.

10 years agoLast (for now!) re-ordering.
Mike Taylor [Tue, 4 Mar 2014 13:05:12 +0000 (13:05 +0000)]
Last (for now!) re-ordering.
The whole sequence makes a lot more sense now.

10 years agoMore reordering.
Mike Taylor [Tue, 4 Mar 2014 13:02:02 +0000 (13:02 +0000)]
More reordering.

10 years agoMore reordering.
Mike Taylor [Tue, 4 Mar 2014 13:01:09 +0000 (13:01 +0000)]
More reordering.

10 years agoMore re-ordered to draw related code together.
Mike Taylor [Tue, 4 Mar 2014 12:53:07 +0000 (12:53 +0000)]
More re-ordered to draw related code together.

10 years agoRemove redundantly verbose logging.
Mike Taylor [Tue, 4 Mar 2014 12:51:02 +0000 (12:51 +0000)]
Remove redundantly verbose logging.

10 years agoMore consistency.
Mike Taylor [Tue, 4 Mar 2014 12:42:42 +0000 (12:42 +0000)]
More consistency.

10 years agoRename variable for consistency.
Mike Taylor [Tue, 4 Mar 2014 12:33:24 +0000 (12:33 +0000)]
Rename variable for consistency.

10 years agoFix code that skips filling in onTarget area.
Mike Taylor [Tue, 4 Mar 2014 12:32:36 +0000 (12:32 +0000)]
Fix code that skips filling in onTarget area.

10 years agoSimplify configuration and make more consistent.
Mike Taylor [Tue, 4 Mar 2014 12:31:18 +0000 (12:31 +0000)]
Simplify configuration and make more consistent.

10 years agoMove more global code (protocol-independent link adjusting) out of the team.
Mike Taylor [Tue, 4 Mar 2014 12:20:47 +0000 (12:20 +0000)]
Move more global code (protocol-independent link adjusting) out of the team.

10 years agoMove all template code to end of team objects.
Mike Taylor [Mon, 3 Mar 2014 17:36:32 +0000 (17:36 +0000)]
Move all template code to end of team objects.

10 years agoMove related utility functions together.
Mike Taylor [Mon, 3 Mar 2014 17:22:28 +0000 (17:22 +0000)]
Move related utility functions together.

10 years agoMove utility function findnode() to near the end.
Mike Taylor [Mon, 3 Mar 2014 17:18:17 +0000 (17:18 +0000)]
Move utility function findnode() to near the end.

10 years agoReorder functions: all onXXX handlers together, in order.
Mike Taylor [Mon, 3 Mar 2014 17:10:26 +0000 (17:10 +0000)]
Reorder functions: all onXXX handlers together, in order.

10 years agoRemove pointless "showResponseType" pz2 constructor param.
Mike Taylor [Mon, 3 Mar 2014 16:57:57 +0000 (16:57 +0000)]
Remove pointless "showResponseType" pz2 constructor param.

10 years agoRe-order parameters to pz2 constructor.
Mike Taylor [Mon, 3 Mar 2014 16:55:55 +0000 (16:55 +0000)]
Re-order parameters to pz2 constructor.

10 years agoReorder some code.
Mike Taylor [Mon, 3 Mar 2014 16:35:35 +0000 (16:35 +0000)]
Reorder some code.

10 years agoALL function names changed from embedded_underscore to camelCase.
Mike Taylor [Mon, 3 Mar 2014 16:30:41 +0000 (16:30 +0000)]
ALL function names changed from embedded_underscore to camelCase.
For example, add_single_facet -> addSingleFacet

10 years agoRename all my_onoperation functions to onOperation.
Mike Taylor [Mon, 3 Mar 2014 16:15:51 +0000 (16:15 +0000)]
Rename all my_onoperation functions to onOperation.

10 years agoRemove outdated comment.
Mike Taylor [Mon, 3 Mar 2014 16:01:28 +0000 (16:01 +0000)]
Remove outdated comment.

10 years agoMove resize-setup code.
Mike Taylor [Mon, 3 Mar 2014 16:00:27 +0000 (16:00 +0000)]
Move resize-setup code.

10 years agoSimplify
Mike Taylor [Mon, 3 Mar 2014 15:59:16 +0000 (15:59 +0000)]
Simplify

10 years agoRemove extraneous default-valued config elements.
Mike Taylor [Mon, 3 Mar 2014 15:41:14 +0000 (15:41 +0000)]
Remove extraneous default-valued config elements.

10 years agoFix comment.
Mike Taylor [Mon, 3 Mar 2014 15:20:03 +0000 (15:20 +0000)]
Fix comment.

10 years agoRemove explicit windowid parameter from newSearch() and triggerSearch()
Mike Taylor [Mon, 3 Mar 2014 15:19:54 +0000 (15:19 +0000)]
Remove explicit windowid parameter from newSearch() and triggerSearch()
This is not needed, as the team-name is passed into the pz2 constructor.

10 years agoRemove obsolete comment.
Mike Taylor [Mon, 3 Mar 2014 14:38:30 +0000 (14:38 +0000)]
Remove obsolete comment.

10 years agoDramatically simplify onFormSubmitEventHandler()
Mike Taylor [Mon, 3 Mar 2014 14:37:30 +0000 (14:37 +0000)]
Dramatically simplify onFormSubmitEventHandler()
newSearch() can now be a regular, hidden member function.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Mon, 3 Mar 2014 13:44:40 +0000 (13:44 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoMove some global code down out of the team object.
Mike Taylor [Mon, 3 Mar 2014 13:44:30 +0000 (13:44 +0000)]
Move some global code down out of the team object.

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.