mkws-moved-to-github.git
10 years agotriggerSearch logging now uses m_filterSet.toJSON()
Mike Taylor [Wed, 23 Apr 2014 16:40:44 +0000 (17:40 +0100)]
triggerSearch logging now uses m_filterSet.toJSON()

10 years agoRemove no-longer needed OLD-vs-NEW scaffolding around pp2filter.
Mike Taylor [Wed, 23 Apr 2014 16:40:18 +0000 (17:40 +0100)]
Remove no-longer needed OLD-vs-NEW scaffolding around pp2filter.

10 years agoNew pp2filter implementation that uses visitTargets.
Mike Taylor [Wed, 23 Apr 2014 16:39:50 +0000 (17:39 +0100)]
New pp2filter implementation that uses visitTargets.

10 years agoAdd so-far-meaningless wrapper to pp2filter.
Mike Taylor [Wed, 23 Apr 2014 16:36:13 +0000 (17:36 +0100)]
Add so-far-meaningless wrapper to pp2filter.
Will check new implementation matches old.

10 years agoAdd filterSet.toJSON method (used only for logging).
Mike Taylor [Wed, 23 Apr 2014 16:31:46 +0000 (17:31 +0100)]
Add filterSet.toJSON method (used only for logging).
Remove the encapsulation-violating filterSet.list method.

10 years agoRewrite Navi widget to use filters.visitTargets and visitFields.
Mike Taylor [Wed, 23 Apr 2014 16:25:36 +0000 (17:25 +0100)]
Rewrite Navi widget to use filters.visitTargets and visitFields.
HTML generation is now separated from filter-list inspection.

10 years agoAdd filterSet.visitTargets and filterSet.visitFields methods.
Mike Taylor [Wed, 23 Apr 2014 16:24:13 +0000 (17:24 +0100)]
Add filterSet.visitTargets and filterSet.visitFields methods.

10 years agoRename variable.
Mike Taylor [Wed, 23 Apr 2014 16:17:29 +0000 (17:17 +0100)]
Rename variable.

10 years agoTweak Navi widget for modified team.filters behaviour.
Mike Taylor [Wed, 23 Apr 2014 16:16:19 +0000 (17:16 +0100)]
Tweak Navi widget for modified team.filters behaviour.

10 years agoteam.filters returns the filterSet object, not its list.
Mike Taylor [Wed, 23 Apr 2014 16:16:00 +0000 (17:16 +0100)]
team.filters returns the filterSet object, not its list.

10 years agoGenerate target filters first, then keyword filters separately.
Mike Taylor [Wed, 23 Apr 2014 16:13:34 +0000 (17:13 +0100)]
Generate target filters first, then keyword filters separately.

10 years agoComment.
Mike Taylor [Wed, 23 Apr 2014 15:03:10 +0000 (16:03 +0100)]
Comment.

10 years agoMore compact fomatting in triggerSearch function.
Mike Taylor [Wed, 23 Apr 2014 15:01:37 +0000 (16:01 +0100)]
More compact fomatting in triggerSearch function.

10 years agoRemove outdated comment.
Mike Taylor [Wed, 23 Apr 2014 14:45:34 +0000 (15:45 +0100)]
Remove outdated comment.

10 years agoUse m_filterSet.pp2limit method instead of building by hand.
Mike Taylor [Wed, 23 Apr 2014 14:38:31 +0000 (15:38 +0100)]
Use m_filterSet.pp2limit method instead of building by hand.

10 years agoAdd pp2limit method
Mike Taylor [Wed, 23 Apr 2014 14:38:07 +0000 (15:38 +0100)]
Add pp2limit method

10 years agoSimplify
Mike Taylor [Wed, 23 Apr 2014 14:31:13 +0000 (15:31 +0100)]
Simplify

10 years agoUse m_filterSet.pp2filter method instead of building by hand.
Mike Taylor [Wed, 23 Apr 2014 14:30:47 +0000 (15:30 +0100)]
Use m_filterSet.pp2filter method instead of building by hand.

10 years agoAdd pp2filter method.
Mike Taylor [Wed, 23 Apr 2014 14:30:32 +0000 (15:30 +0100)]
Add pp2filter method.

10 years agokill team.removeMatchingFilters, use m_filterSet.removeMatching instead.
Mike Taylor [Wed, 23 Apr 2014 14:24:56 +0000 (15:24 +0100)]
kill team.removeMatchingFilters, use m_filterSet.removeMatching instead.

10 years agofilterSet factory accepts a team argument and stashes it for logging.
Mike Taylor [Wed, 23 Apr 2014 14:24:29 +0000 (15:24 +0100)]
filterSet factory accepts a team argument and stashes it for logging.

10 years agoteam.targetFiltered now simply delegates to m_filterSet.targetFiltered
Mike Taylor [Wed, 23 Apr 2014 14:06:16 +0000 (15:06 +0100)]
team.targetFiltered now simply delegates to m_filterSet.targetFiltered

10 years agoImplement filterSet.targetFiltered function
Mike Taylor [Wed, 23 Apr 2014 14:05:55 +0000 (15:05 +0100)]
Implement filterSet.targetFiltered function

10 years agoSuper-ugly port from having an explicit list called m_filters to
Mike Taylor [Wed, 23 Apr 2014 14:00:44 +0000 (15:00 +0100)]
Super-ugly port from having an explicit list called m_filters to
having a managed set called m_filterSet, but at the moment almost no
encapsulated functionality is used (or exists).

10 years agoInclude new source file, mkws-filter.js
Mike Taylor [Wed, 23 Apr 2014 13:52:19 +0000 (14:52 +0100)]
Include new source file, mkws-filter.js

10 years agoInclude new source file, mkws-filter.js
Mike Taylor [Wed, 23 Apr 2014 13:52:07 +0000 (14:52 +0100)]
Include new source file, mkws-filter.js

10 years agoInclude new source file, mkws-filter.js
Mike Taylor [Wed, 23 Apr 2014 13:51:47 +0000 (14:51 +0100)]
Include new source file, mkws-filter.js

10 years agoUse filter factory function.
Mike Taylor [Wed, 23 Apr 2014 13:44:03 +0000 (14:44 +0100)]
Use filter factory function.

10 years agofilter factory accepts name argument.
Mike Taylor [Wed, 23 Apr 2014 13:43:34 +0000 (14:43 +0100)]
filter factory accepts name argument.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 23 Apr 2014 12:36:05 +0000 (13:36 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Wed, 23 Apr 2014 12:17:46 +0000 (12:17 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agomininum number of targets (active clients) is 1-9 (was 10+)
Wolfram Schneider [Wed, 23 Apr 2014 12:16:11 +0000 (12:16 +0000)]
mininum number of targets (active clients) is 1-9 (was 10+)

We are currently testing with 16 targets, so we never notice
this until we disabled some solr targets and were down to 9 targets.

10 years agoSeparate generation of pp2filter and pp2limit
Mike Taylor [Wed, 23 Apr 2014 10:50:20 +0000 (11:50 +0100)]
Separate generation of pp2filter and pp2limit

10 years agoInclude mkws-filter.js in COMPONENTS.
Mike Taylor [Tue, 22 Apr 2014 16:54:48 +0000 (17:54 +0100)]
Include mkws-filter.js in COMPONENTS.

10 years agoNew, woefully inadequate.
Mike Taylor [Tue, 22 Apr 2014 16:54:33 +0000 (17:54 +0100)]
New, woefully inadequate.

10 years agoCategory filters use a "category" element.
Mike Taylor [Tue, 22 Apr 2014 15:53:20 +0000 (16:53 +0100)]
Category filters use a "category" element.

10 years agoChange code order.
Mike Taylor [Tue, 22 Apr 2014 15:25:22 +0000 (16:25 +0100)]
Change code order.

10 years agoAdd special ctaegory "[All]" to dropdown.
Mike Taylor [Tue, 22 Apr 2014 13:12:54 +0000 (14:12 +0100)]
Add special ctaegory "[All]" to dropdown.

10 years agoCategories widget invokes mkws.limitCategory
Mike Taylor [Tue, 22 Apr 2014 13:11:56 +0000 (14:11 +0100)]
Categories widget invokes mkws.limitCategory

10 years agoAdd mkws.limitCategory dispatcher for team.limitCategory
Mike Taylor [Tue, 22 Apr 2014 13:11:27 +0000 (14:11 +0100)]
Add mkws.limitCategory dispatcher for team.limitCategory

10 years agoAdd team.limitCategory function -- currently does nothing but logging.
Mike Taylor [Tue, 22 Apr 2014 13:10:42 +0000 (14:10 +0100)]
Add team.limitCategory function -- currently does nothing but logging.

10 years agoChange to use a dropdown for categories instead of a bullet-list.
Mike Taylor [Tue, 22 Apr 2014 12:52:00 +0000 (13:52 +0100)]
Change to use a dropdown for categories instead of a bullet-list.

10 years agodebugging hit counter
Wolfram Schneider [Sat, 19 Apr 2014 08:05:24 +0000 (08:05 +0000)]
debugging hit counter

10 years agodocumentation: hits count in source may be less or equal
Wolfram Schneider [Fri, 18 Apr 2014 17:58:55 +0000 (17:58 +0000)]
documentation: hits count in source may be less or equal

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 18 Apr 2014 17:57:47 +0000 (17:57 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoremove useless check which randomly fails
Wolfram Schneider [Fri, 18 Apr 2014 17:56:55 +0000 (17:56 +0000)]
remove useless check which randomly fails

10 years agoRemoves test page that doesn't pass unit tests
Niels Erik G. Nielsen [Fri, 18 Apr 2014 17:42:32 +0000 (13:42 -0400)]
Removes test page that doesn't pass unit tests

10 years agoCreates test page
Niels Erik G. Nielsen [Fri, 18 Apr 2014 17:12:54 +0000 (13:12 -0400)]
Creates test page

10 years agoTowards a Categories widget that actually does something.
Mike Taylor [Thu, 17 Apr 2014 22:17:59 +0000 (23:17 +0100)]
Towards a Categories widget that actually does something.

10 years agoAdd unstyled Categories widget for testing/development.
Mike Taylor [Thu, 17 Apr 2014 16:14:40 +0000 (17:14 +0100)]
Add unstyled Categories widget for testing/development.

10 years agoNot quite a trivial Categories widget any more.
Mike Taylor [Thu, 17 Apr 2014 16:13:38 +0000 (17:13 +0100)]
Not quite a trivial Categories widget any more.

10 years agoAdd mkws-widget-authname.js to COMPONENTS
Mike Taylor [Thu, 17 Apr 2014 16:01:44 +0000 (17:01 +0100)]
Add mkws-widget-authname.js to COMPONENTS

10 years agoPublish identity realm, as well as displayName, in "authenticated" events.
Mike Taylor [Thu, 17 Apr 2014 16:01:27 +0000 (17:01 +0100)]
Publish identity realm, as well as displayName, in "authenticated" events.

10 years agoNon-Mike-specific.
Mike Taylor [Thu, 17 Apr 2014 14:51:00 +0000 (15:51 +0100)]
Non-Mike-specific.

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

10 years agoAdd "Results" widget.
Mike Taylor [Thu, 17 Apr 2014 14:46:28 +0000 (15:46 +0100)]
Add "Results" widget.
Nothing to do apart from act as an autosearch trigger.

10 years agoNew file stateful.html
Mike Taylor [Thu, 17 Apr 2014 14:45:50 +0000 (15:45 +0100)]
New file stateful.html

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

10 years agoNote to self
Mike Taylor [Thu, 17 Apr 2014 14:37:04 +0000 (15:37 +0100)]
Note to self

10 years agoChange ALL id="mkws*" to class="mkws*", as use of IDs is deprecated
Wolfram Schneider [Thu, 17 Apr 2014 12:47:52 +0000 (12:47 +0000)]
Change ALL id="mkws*" to class="mkws*", as use of IDs is deprecated

10 years agouse of IDs is deprecated
Wolfram Schneider [Thu, 17 Apr 2014 12:44:31 +0000 (12:44 +0000)]
use of IDs is deprecated

10 years agouse of IDs is deprecated
Wolfram Schneider [Thu, 17 Apr 2014 12:43:48 +0000 (12:43 +0000)]
use of IDs is deprecated

10 years agouse of IDs is deprecated
Wolfram Schneider [Thu, 17 Apr 2014 12:42:59 +0000 (12:42 +0000)]
use of IDs is deprecated

10 years agouse of IDs is deprecated
Wolfram Schneider [Thu, 17 Apr 2014 12:25:05 +0000 (12:25 +0000)]
use of IDs is deprecated

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Thu, 17 Apr 2014 11:41:16 +0000 (11:41 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agobring .gitkeep file back
Wolfram Schneider [Thu, 17 Apr 2014 11:39:55 +0000 (11:39 +0000)]
bring .gitkeep file back

10 years agoadd missing entries
Wolfram Schneider [Thu, 17 Apr 2014 11:38:07 +0000 (11:38 +0000)]
add missing entries

10 years agoAdd mkwsBuilder to main example.
Mike Taylor [Thu, 17 Apr 2014 11:31:59 +0000 (12:31 +0100)]
Add mkwsBuilder to main example.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Niels Erik G. Nielsen [Wed, 16 Apr 2014 16:18:10 +0000 (12:18 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoApache config, ne
Niels Erik G. Nielsen [Wed, 16 Apr 2014 16:17:35 +0000 (12:17 -0400)]
Apache config, ne

10 years agoChange ALL id="mkwsStat" to class="mkwsStat", as use of IDs is deprecated
Wolfram Schneider [Wed, 16 Apr 2014 15:26:10 +0000 (15:26 +0000)]
Change ALL id="mkwsStat" to class="mkwsStat", as use of IDs is deprecated

10 years agoChange ALL id="mkwsStat" to class="mkwsStat", as use of IDs is deprecated
Wolfram Schneider [Wed, 16 Apr 2014 15:18:20 +0000 (15:18 +0000)]
Change ALL id="mkwsStat" to class="mkwsStat", as use of IDs is deprecated

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Wed, 16 Apr 2014 14:51:25 +0000 (14:51 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agotools/htdocs -> src migration
Wolfram Schneider [Wed, 16 Apr 2014 14:51:17 +0000 (14:51 +0000)]
tools/htdocs -> src migration

10 years agoUse a ConsoleBuilder widget instead of a regular Builder.
Mike Taylor [Wed, 16 Apr 2014 14:34:49 +0000 (15:34 +0100)]
Use a ConsoleBuilder widget instead of a regular Builder.

10 years agoMake Builder widget customisable by "callback" element.
Mike Taylor [Wed, 16 Apr 2014 14:34:25 +0000 (15:34 +0100)]
Make Builder widget customisable by "callback" element.
Add new ConsoleBuilder widget that logs the widget to the console.

10 years agoAdd mkwsBuilder node.
Mike Taylor [Wed, 16 Apr 2014 14:16:34 +0000 (15:16 +0100)]
Add mkwsBuilder node.

10 years agoAdd mkws-widget-builder.js to COMPONENTS.
Mike Taylor [Wed, 16 Apr 2014 14:15:59 +0000 (15:15 +0100)]
Add mkws-widget-builder.js to COMPONENTS.

10 years agoNew file mkws-widget-builder.js
Mike Taylor [Wed, 16 Apr 2014 14:15:31 +0000 (15:15 +0100)]
New file mkws-widget-builder.js

10 years agoDocument widget.value function.
Mike Taylor [Wed, 16 Apr 2014 14:09:22 +0000 (15:09 +0100)]
Document widget.value function.

10 years agoAdd widget.value function
Mike Taylor [Wed, 16 Apr 2014 14:08:41 +0000 (15:08 +0100)]
Add widget.value function

10 years agoRemove outdated comma.
Mike Taylor [Wed, 16 Apr 2014 11:25:32 +0000 (12:25 +0100)]
Remove outdated comma.

10 years agoSimplify findnode, which no longer needs to deal with commas.
Mike Taylor [Wed, 16 Apr 2014 11:24:50 +0000 (12:24 +0100)]
Simplify findnode, which no longer needs to deal with commas.

10 years agoFix loadTemplate to handle null return from widgetNode.
Mike Taylor [Wed, 16 Apr 2014 11:24:28 +0000 (12:24 +0100)]
Fix loadTemplate to handle null return from widgetNode.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 16 Apr 2014 11:16:54 +0000 (12:16 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoTemplate nodes are found using widgetNode.
Mike Taylor [Wed, 16 Apr 2014 11:10:49 +0000 (12:10 +0100)]
Template nodes are found using widgetNode.

10 years agoMore use of widgetNode
Mike Taylor [Wed, 16 Apr 2014 11:03:01 +0000 (12:03 +0100)]
More use of widgetNode

10 years agoReinstate mkwsTermlists into mike.html
Mike Taylor [Wed, 16 Apr 2014 11:00:58 +0000 (12:00 +0100)]
Reinstate mkwsTermlists into mike.html

10 years agoMore use of widgetNode.
Mike Taylor [Wed, 16 Apr 2014 10:37:49 +0000 (11:37 +0100)]
More use of widgetNode.

10 years agoChange last findnode call in switchView to a pair of widgetNode calls.
Mike Taylor [Wed, 16 Apr 2014 10:26:37 +0000 (11:26 +0100)]
Change last findnode call in switchView to a pair of widgetNode calls.

10 years agoafter successfully run, stop apache
Wolfram Schneider [Wed, 16 Apr 2014 09:34:10 +0000 (09:34 +0000)]
after successfully run, stop apache

make don't call a target twice.

10 years agomake sure that the apache.pid file will be deleted at stop file
Wolfram Schneider [Wed, 16 Apr 2014 09:27:30 +0000 (09:27 +0000)]
make sure that the apache.pid file will be deleted at stop file

10 years agodisplay a info how to run jasmine regression tests
Wolfram Schneider [Wed, 16 Apr 2014 09:16:03 +0000 (09:16 +0000)]
display a info how to run jasmine regression tests

10 years agoConvert more findnode invocations to widgetNode.
Mike Taylor [Tue, 15 Apr 2014 17:13:33 +0000 (18:13 +0100)]
Convert more findnode invocations to widgetNode.
NOTE TO SELF: findnode will not work during team construction.

10 years agoChange ALL id="mkws*" to class="mkws*", as use of IDs is deprecated
Mike Taylor [Tue, 15 Apr 2014 17:08:43 +0000 (18:08 +0100)]
Change ALL id="mkws*" to class="mkws*", as use of IDs is deprecated

10 years agoUse class='mkwsRecords' instead of deprecated id='mkwsRecords'
Mike Taylor [Tue, 15 Apr 2014 17:02:30 +0000 (18:02 +0100)]
Use class='mkwsRecords' instead of deprecated id='mkwsRecords'

10 years agoPut the third facet and mkwsTargets back into the regular places.
Mike Taylor [Tue, 15 Apr 2014 17:01:18 +0000 (18:01 +0100)]
Put the third facet and mkwsTargets back into the regular places.

10 years agoAdd function widgetNode, a simpler and more efficient alternative to
Mike Taylor [Tue, 15 Apr 2014 17:00:44 +0000 (18:00 +0100)]
Add function widgetNode, a simpler and more efficient alternative to
findnode for most though not all purposes. widgetNode('Records') is
equivalent to findnode('.mkwsRecords') but works by reference to the
team's registered set of widgets.

This is presently used in just one place, as proof of concept. Many
more to follow, so that uses of findnode should become very rare.

10 years agoReorder rules.
Mike Taylor [Tue, 15 Apr 2014 16:23:00 +0000 (17:23 +0100)]
Reorder rules.

10 years agoInvert PP2_FILE/PP2_URL dependency.
Mike Taylor [Tue, 15 Apr 2014 16:22:29 +0000 (17:22 +0100)]
Invert PP2_FILE/PP2_URL dependency.
More consistent ordering.