Mike Taylor [Thu, 27 Feb 2014 16:02:34 +0000 (16:02 +0000)]
Fix handle_node_with_team() to correctly set `this' within callback.
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
Heikki Levanto [Thu, 27 Feb 2014 15:27:14 +0000 (16:27 +0100)]
My tests, setup stuff
Mike Taylor [Thu, 27 Feb 2014 15:27:07 +0000 (15:27 +0000)]
Obsoleted by bug MKWS-130
Mike Taylor [Thu, 27 Feb 2014 15:23:56 +0000 (15:23 +0000)]
Add simple PubSub code adapted from jQuery manual.
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
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
Heikki Levanto [Thu, 27 Feb 2014 11:50:47 +0000 (12:50 +0100)]
tricks for Deb7wheezy in README
Mike Taylor [Thu, 27 Feb 2014 11:30:15 +0000 (11:30 +0000)]
Eliminate temporary
Mike Taylor [Thu, 27 Feb 2014 10:53:27 +0000 (10:53 +0000)]
Make (vacuous) widget objects.
Mike Taylor [Wed, 26 Feb 2014 14:42:57 +0000 (14:42 +0000)]
Reorder.
Mike Taylor [Wed, 26 Feb 2014 11:40:43 +0000 (11:40 +0000)]
Move MKAdmin TODOs back into their own repo for further sorting.
Mike Taylor [Fri, 21 Feb 2014 19:53:19 +0000 (14:53 -0500)]
More sorting.
Mike Taylor [Fri, 21 Feb 2014 19:38:45 +0000 (14:38 -0500)]
Reorder "Other" items
Mike Taylor [Fri, 21 Feb 2014 19:37:48 +0000 (14:37 -0500)]
Move "General" category (at top) to "Other" at bottom.
Mike Taylor [Fri, 21 Feb 2014 19:37:07 +0000 (14:37 -0500)]
Reformat with individual items indented a tab.
Mike Taylor [Fri, 21 Feb 2014 19:36:11 +0000 (14:36 -0500)]
Consistent formatting.
Mike Taylor [Fri, 21 Feb 2014 19:35:26 +0000 (14:35 -0500)]
Move MKAdmin TODOs into this file.
Mike Taylor [Fri, 21 Feb 2014 19:35:10 +0000 (14:35 -0500)]
Sort and rationalise.
Mike Taylor [Thu, 20 Feb 2014 21:38:54 +0000 (16:38 -0500)]
Comment on use of SP.
Mike Taylor [Thu, 20 Feb 2014 21:37:11 +0000 (16:37 -0500)]
Add comment on SP torusquery.
Mike Taylor [Thu, 20 Feb 2014 17:06:46 +0000 (12:06 -0500)]
New, incomplete, temporary, rolling, should probably by integrated
with mkadmin/TODO.
Mike Taylor [Wed, 19 Feb 2014 22:05:35 +0000 (17:05 -0500)]
Search for just 'cat', not 'lolcat'
Mike Taylor [Wed, 19 Feb 2014 22:03:09 +0000 (17:03 -0500)]
Sort by date:0 (newest)
Mike Taylor [Wed, 19 Feb 2014 22:01:24 +0000 (17:01 -0500)]
Sort by position
Mike Taylor [Wed, 19 Feb 2014 21:49:25 +0000 (16:49 -0500)]
New demo with a LOLcat
Mike Taylor [Wed, 19 Feb 2014 21:47:59 +0000 (16:47 -0500)]
Add instrumentation for time taken to walk nodes.
Mike Taylor [Wed, 19 Feb 2014 21:47:28 +0000 (16:47 -0500)]
Use Flickr instead of Google images.
Mike Taylor [Tue, 18 Feb 2014 23:01:06 +0000 (18:01 -0500)]
Lolcat widget it GO!
Mike Taylor [Tue, 18 Feb 2014 21:01:41 +0000 (16:01 -0500)]
Use updated template rules
Mike Taylor [Tue, 18 Feb 2014 21:01:17 +0000 (16:01 -0500)]
Updated documentation for templates.
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.
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.
Mike Taylor [Tue, 18 Feb 2014 17:04:58 +0000 (12:04 -0500)]
Add link to images demo.
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.
Mike Taylor [Tue, 18 Feb 2014 16:55:47 +0000 (11:55 -0500)]
Shorten magic div.
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.
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.
Mike Taylor [Tue, 18 Feb 2014 16:28:21 +0000 (11:28 -0500)]
New file, images.html displays thumbnail images inline.
Mike Taylor [Tue, 18 Feb 2014 16:25:41 +0000 (11:25 -0500)]
Move utility function getParameterByName() into the scope where it's needed.
Mike Taylor [Tue, 18 Feb 2014 16:20:08 +0000 (11:20 -0500)]
Resole
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.
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.
Mike Taylor [Fri, 14 Feb 2014 16:37:16 +0000 (16:37 +0000)]
Add mkws-jquery.js
Mike Taylor [Fri, 14 Feb 2014 15:42:24 +0000 (15:42 +0000)]
Light-grey background
Mike Taylor [Fri, 14 Feb 2014 15:41:37 +0000 (15:41 +0000)]
Fixed width
Mike Taylor [Fri, 14 Feb 2014 15:35:08 +0000 (15:35 +0000)]
Remove style completely.
Mike Taylor [Fri, 14 Feb 2014 15:34:16 +0000 (15:34 +0000)]
Comment out the CSS
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.
Mike Taylor [Fri, 14 Feb 2014 10:31:11 +0000 (10:31 +0000)]
Remove obsolete logging
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.
Mike Taylor [Thu, 13 Feb 2014 16:19:33 +0000 (16:19 +0000)]
Interpret autosearch queries of the form !path!NUMBER
Mike Taylor [Thu, 13 Feb 2014 15:20:07 +0000 (15:20 +0000)]
New
Mike Taylor [Thu, 13 Feb 2014 15:10:41 +0000 (15:10 +0000)]
Remove the other two widgets.
Mike Taylor [Thu, 13 Feb 2014 15:04:02 +0000 (15:04 +0000)]
Magic divs in different teams.
Mike Taylor [Thu, 13 Feb 2014 15:03:15 +0000 (15:03 +0000)]
Include results in all three versions of position order.
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!
Mike Taylor [Thu, 13 Feb 2014 14:58:23 +0000 (14:58 +0000)]
Add sort_default
Mike Taylor [Thu, 13 Feb 2014 14:52:46 +0000 (14:52 +0000)]
?SN ERROR
Mike Taylor [Thu, 13 Feb 2014 14:49:50 +0000 (14:49 +0000)]
Add perpage_default
Mike Taylor [Thu, 13 Feb 2014 14:47:48 +0000 (14:47 +0000)]
CHange heading
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
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.
Mike Taylor [Thu, 13 Feb 2014 14:42:06 +0000 (14:42 +0000)]
Reinstate SP-auth configuration to use Paratext library.
Mike Taylor [Thu, 13 Feb 2014 14:40:13 +0000 (14:40 +0000)]
All change, back to a derivative of auto-paratext.html
Mike Taylor [Thu, 13 Feb 2014 14:39:08 +0000 (14:39 +0000)]
Add support for auto-running widgets that take their query from a
nominated URL parameter. The syntax is
<div id='mkwsRecords' autosearch='!param!q' sort='relevance'></div>
to search for the term specified in the URL as "?q=TERM"
Wolfram Schneider [Thu, 13 Feb 2014 13:20:56 +0000 (13:20 +0000)]
remove "id_button" and "id_popup" from the popup config to get it working with new classes
Mike Taylor [Thu, 13 Feb 2014 12:51:11 +0000 (12:51 +0000)]
Mike's playground changes again ...
Mike Taylor [Thu, 13 Feb 2014 12:50:53 +0000 (12:50 +0000)]
Remove "x." prefixes from hostnames.
Mike Taylor [Thu, 13 Feb 2014 12:38:15 +0000 (12:38 +0000)]
No longer needed
Mike Taylor [Thu, 13 Feb 2014 11:50:35 +0000 (11:50 +0000)]
Remove short-term debugging output
Mike Taylor [Thu, 13 Feb 2014 11:48:57 +0000 (11:48 +0000)]
Use #mkwsPopup -- there is only one, by design.
Mike Taylor [Thu, 13 Feb 2014 11:47:52 +0000 (11:47 +0000)]
Clear up class/id confusion for mkwsPopup
Mike Taylor [Thu, 13 Feb 2014 11:32:00 +0000 (11:32 +0000)]
Remove extraneous content.
Add mkws-jquery.js
Mike Taylor [Thu, 13 Feb 2014 11:26:48 +0000 (11:26 +0000)]
New file, mike.html -- local version of popup.html
Mike Taylor [Thu, 13 Feb 2014 11:25:17 +0000 (11:25 +0000)]
Rename
Mike Taylor [Thu, 13 Feb 2014 10:56:06 +0000 (10:56 +0000)]
Add logging for popup.
Mike Taylor [Thu, 13 Feb 2014 08:46:00 +0000 (08:46 +0000)]
New file auto-paratext.html, demo for Seb
Mike Taylor [Wed, 12 Feb 2014 18:40:28 +0000 (18:40 +0000)]
Initialise debug_level to 1 so that the jQuery popup can use it.
There's a better way to fix this by doing things in the right order,
but right now I need the logging to fix a different bug.
Mike Taylor [Wed, 12 Feb 2014 18:12:50 +0000 (18:12 +0000)]
All styles are now applicable by class as well as by ID.
Fixes the first half of MKWS-117.
(The second half is to dump the ID rules.)
Mike Taylor [Wed, 12 Feb 2014 18:01:14 +0000 (18:01 +0000)]
Remove no-longer-needed debugging output.
Mike Taylor [Wed, 12 Feb 2014 17:54:17 +0000 (17:54 +0000)]
Fix redundant local overrides of jQuery plugin default configuration values with copies of those values, to now use the new versions of those default values that rely on class selection rather than ID selection. It would make more sense to get rid of these pointless and error-prone overrides completely.
Mike Taylor [Wed, 12 Feb 2014 17:52:59 +0000 (17:52 +0000)]
Tweak dictionary-lookup example to work correctly without using IDs.
Mike Taylor [Wed, 12 Feb 2014 17:50:24 +0000 (17:50 +0000)]
mkws-jquery.js's default selectors for id_button and id_popup now use
classes rather than identifiers. I suppose this is, sort of, a part of
MKWS-116.
Mike Taylor [Wed, 12 Feb 2014 17:48:55 +0000 (17:48 +0000)]
Many more tests are now done using class selectors instead of IDs.
Regression-test now succeeds again.
Fixes the last part of MKWS-116.
Mike Taylor [Wed, 12 Feb 2014 17:21:08 +0000 (17:21 +0000)]
Move IDs from generated HTML.
Fixes most of bug MKWS-116.
But I'll need to also fix the regression-test to cope.
Mike Taylor [Wed, 12 Feb 2014 17:18:34 +0000 (17:18 +0000)]
Remove extraneous comment.
I seem to be doing this a lot.
Mike Taylor [Wed, 12 Feb 2014 16:19:47 +0000 (16:19 +0000)]
Add boolean target_filtered() function.
When true, no facet action is generated.
Fixes bug MKWS-111.
Mike Taylor [Wed, 12 Feb 2014 15:47:19 +0000 (15:47 +0000)]
Include mkws-jquery.js
Mike Taylor [Wed, 12 Feb 2014 15:47:14 +0000 (15:47 +0000)]
Include mkws-jquery.js
Mike Taylor [Wed, 12 Feb 2014 15:46:35 +0000 (15:46 +0000)]
Move jQuery plugin out of mkws.js into its own file mkws-jquery.js: see MKWS-120
Mike Taylor [Wed, 12 Feb 2014 15:22:41 +0000 (15:22 +0000)]
mkwsDet_* and mkwsRecdiv_* IDs include teamName.
This ensures the right instance of the record is expanded.
Mike Taylor [Wed, 12 Feb 2014 12:42:27 +0000 (12:42 +0000)]
Don't bother calculating result summary if there's no mkwsRecords
element.
Mike Taylor [Wed, 12 Feb 2014 12:41:08 +0000 (12:41 +0000)]
Remove wildly inaccurate comment.
Mike Taylor [Wed, 12 Feb 2014 12:09:50 +0000 (12:09 +0000)]
Address mkwsPrev and mkwsNext by class.
Mike Taylor [Wed, 12 Feb 2014 12:09:35 +0000 (12:09 +0000)]
Replace mkwsPrev/mkwsNext IDs with classes. See MKWS-115.
These classes are not needed by the MKWS code, but are made available
so they can be styled.
(Also the Jasmine test-suite uses them.)
Mike Taylor [Tue, 11 Feb 2014 17:24:00 +0000 (17:24 +0000)]
Fix test-suite's debug() function to use mkws.debug()
Mike Taylor [Tue, 11 Feb 2014 17:13:27 +0000 (17:13 +0000)]
Add a TODO comment.
Mike Taylor [Tue, 11 Feb 2014 17:07:40 +0000 (17:07 +0000)]
Remove misleading comment.
Mike Taylor [Tue, 11 Feb 2014 17:05:50 +0000 (17:05 +0000)]
Remove the misleadingly named domReady() function, and put its code
inline in its only caller.