mkws-moved-to-github.git
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.

10 years agoRemove outdated/misleading "help' target.
Mike Taylor [Tue, 15 Apr 2014 16:18:11 +0000 (17:18 +0100)]
Remove outdated/misleading "help' target.

10 years agoReorder rm arguments.
Mike Taylor [Tue, 15 Apr 2014 16:17:49 +0000 (17:17 +0100)]
Reorder rm arguments.

10 years agoRemove duplicate
Mike Taylor [Tue, 15 Apr 2014 16:17:23 +0000 (17:17 +0100)]
Remove duplicate

10 years agoWhitespace.
Mike Taylor [Tue, 15 Apr 2014 16:16:36 +0000 (17:16 +0100)]
Whitespace.

10 years agoWhitespace.
Mike Taylor [Tue, 15 Apr 2014 16:16:21 +0000 (17:16 +0100)]
Whitespace.

10 years agoInvert dependency beteen X_URL and X_FILE macros.
Mike Taylor [Tue, 15 Apr 2014 16:15:09 +0000 (17:15 +0100)]
Invert dependency beteen X_URL and X_FILE macros.

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

10 years agoAdd commented-out code for iterating over teams and widgets.
Mike Taylor [Tue, 15 Apr 2014 15:56:48 +0000 (16:56 +0100)]
Add commented-out code for iterating over teams and widgets.

10 years agoaddWidget registers its parameter w, not the function widget!
Mike Taylor [Tue, 15 Apr 2014 15:54:41 +0000 (16:54 +0100)]
addWidget registers its parameter w, not the function widget!

10 years agoAdd team.widgetTypes function, returns sorted list of contained types.
Mike Taylor [Tue, 15 Apr 2014 15:54:22 +0000 (16:54 +0100)]
Add team.widgetTypes function, returns sorted list of contained types.

10 years agoSpace.
Mike Taylor [Tue, 15 Apr 2014 15:34:29 +0000 (16:34 +0100)]
Space.

10 years agoRegister widgets added to each team.
Mike Taylor [Tue, 15 Apr 2014 15:26:37 +0000 (16:26 +0100)]
Register widgets added to each team.

10 years agoTeam now has has m_widgets hash, mapping type to widget object.
Mike Taylor [Tue, 15 Apr 2014 15:26:20 +0000 (16:26 +0100)]
Team now has has m_widgets hash, mapping type to widget object.
New method team.registerWidget adds a widget to the register.
New method team.widget returns the widget of a specified type,
or a count if there is more than one such widget.

10 years agofinish tools/htdocs -> src migration
Wolfram Schneider [Tue, 15 Apr 2014 15:26:18 +0000 (15:26 +0000)]
finish tools/htdocs -> src migration

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

10 years agodo not depend on local cached JS files
Wolfram Schneider [Tue, 15 Apr 2014 15:13:01 +0000 (15:13 +0000)]
do not depend on local cached JS files

All external JS files will be loaded from the original site(s). This
should make it possible to run /jasmine-popup.html after a
git checkout, without running gmake (on windows).

To use the cached JS files for developing, use
jasmine-local-popup.html instead.

10 years agoRemove stray tab.
Mike Taylor [Tue, 15 Apr 2014 11:47:56 +0000 (12:47 +0100)]
Remove stray tab.

10 years agoAdded "mike-test" target for PhantomJS invocation.
Mike Taylor [Tue, 15 Apr 2014 10:55:16 +0000 (11:55 +0100)]
Added "mike-test" target for PhantomJS invocation.

10 years agoFor my local examples site, add aliases for /tools/htdocs/, /src/,
Mike Taylor [Tue, 15 Apr 2014 10:50:17 +0000 (11:50 +0100)]
For my local examples site, add aliases for /tools/htdocs/, /src/,
/jasmine/ and /test/ -- ALL needed by jasmine-popup.html

10 years agode-couple phantomjs regression test from debian apache setup
Wolfram Schneider [Tue, 15 Apr 2014 10:46:48 +0000 (10:46 +0000)]
de-couple phantomjs regression test from debian apache setup

This make it easier to run the regressiont test on a mac
if you already have a mkws apache setup running.

10 years agorefactor
Wolfram Schneider [Tue, 15 Apr 2014 08:42:12 +0000 (08:42 +0000)]
refactor

smaller describe blocks

10 years agorun with standard SP MKWS test account
Wolfram Schneider [Mon, 14 Apr 2014 17:54:01 +0000 (17:54 +0000)]
run with standard SP MKWS test account

10 years agodisable MOTD tests, which fails in all non-popup pages, MKWS-147
Wolfram Schneider [Mon, 14 Apr 2014 17:46:14 +0000 (17:46 +0000)]
disable MOTD tests, which fails in all non-popup pages, MKWS-147

I think that it does not fail in /jasmine-popup.html is a mistake

10 years agoRemove the old 2013-06-24--todo file: everything we discussed and decided back then...
Mike Taylor [Mon, 14 Apr 2014 14:53:33 +0000 (15:53 +0100)]
Remove the old 2013-06-24--todo file: everything we discussed and decided back then has either been done, or we've decided to do something different

10 years agoUpdate MKAdmin instructions.
Mike Taylor [Mon, 14 Apr 2014 14:50:18 +0000 (15:50 +0100)]
Update MKAdmin instructions.

10 years agoNew
Mike Taylor [Mon, 14 Apr 2014 14:47:20 +0000 (15:47 +0100)]
New

10 years agoObsoelete
Mike Taylor [Mon, 14 Apr 2014 13:29:23 +0000 (14:29 +0100)]
Obsoelete

10 years agorun more code inside a local run() block
Wolfram Schneider [Mon, 14 Apr 2014 09:37:50 +0000 (09:37 +0000)]
run more code inside a local run() block

10 years agosplit the lage facet test in smaller pieces
Wolfram Schneider [Mon, 14 Apr 2014 09:34:07 +0000 (09:34 +0000)]
split the lage facet test in smaller pieces

10 years agofix source click tests
Wolfram Schneider [Sun, 13 Apr 2014 11:32:15 +0000 (11:32 +0000)]
fix source click tests

10 years agowait for source facets after author limit search
Wolfram Schneider [Sun, 13 Apr 2014 11:06:20 +0000 (11:06 +0000)]
wait for source facets after author limit search

10 years agoexpect at least one hit while waiting for less hits for an limit source search
Wolfram Schneider [Sat, 12 Apr 2014 16:40:21 +0000 (16:40 +0000)]
expect at least one hit while waiting for less hits for an limit source search

10 years agoexpect at least one hit while waiting for less hits for an limit author search
Wolfram Schneider [Sat, 12 Apr 2014 16:36:40 +0000 (16:36 +0000)]
expect at least one hit while waiting for less hits for an limit author search

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Sat, 12 Apr 2014 16:33:45 +0000 (16:33 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoDon't decorate teamless widget nodes with mkwsTeam_AUTO.
Mike Taylor [Fri, 11 Apr 2014 10:57:47 +0000 (11:57 +0100)]
Don't decorate teamless widget nodes with mkwsTeam_AUTO.

10 years agohandleNodeWithTeam now passes "AUTO" to the callback if the node in
Mike Taylor [Fri, 11 Apr 2014 10:57:22 +0000 (11:57 +0100)]
handleNodeWithTeam now passes "AUTO" to the callback if the node in
question has no team.

10 years agofindnode now creates crazy-wacky complicated jQuery selectors to find
Mike Taylor [Fri, 11 Apr 2014 10:56:20 +0000 (11:56 +0100)]
findnode now creates crazy-wacky complicated jQuery selectors to find
nodes that either belong to the specified team, or in the case that
the team is "AUTO", no team at all. This makes it possible for us to
avoid decorating nodes with mkwsTeam_AUTO classes.

Down the line, we should be able to make this cleaner by having each
class know what widgets it contains, so we don't need to do this
findnode magic -- ideally so we don't need findnode at all.

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

10 years agoAdd style for mkwsSelected
Mike Taylor [Thu, 10 Apr 2014 12:24:29 +0000 (13:24 +0100)]
Add style for mkwsSelected

10 years agoCurrently selected page is marked by a <span class="mkwsSelected">
Mike Taylor [Thu, 10 Apr 2014 12:20:48 +0000 (13:20 +0100)]
Currently selected page is marked by a <span class="mkwsSelected">

10 years agoRemove unnecessary explicit bolding.
Mike Taylor [Thu, 10 Apr 2014 11:50:04 +0000 (12:50 +0100)]
Remove unnecessary explicit bolding.

10 years agoTweak
Mike Taylor [Thu, 10 Apr 2014 11:35:42 +0000 (12:35 +0100)]
Tweak

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

10 years agoFirst complete draft.
Mike Taylor [Wed, 9 Apr 2014 16:19:30 +0000 (17:19 +0100)]
First complete draft.

10 years agoreShow() invokes resetPage()
Mike Taylor [Wed, 9 Apr 2014 16:17:14 +0000 (17:17 +0100)]
reShow() invokes resetPage()

10 years agoNo need to invoke resetPage() before reShow(), which will do it for us.
Mike Taylor [Wed, 9 Apr 2014 16:16:51 +0000 (17:16 +0100)]
No need to invoke resetPage() before reShow(), which will do it for us.

10 years agoReformat
Mike Taylor [Wed, 9 Apr 2014 15:21:24 +0000 (16:21 +0100)]
Reformat

10 years agoRolling
Mike Taylor [Wed, 9 Apr 2014 15:20:20 +0000 (16:20 +0100)]
Rolling

10 years agoAdd parameters to all team methods.
Mike Taylor [Wed, 9 Apr 2014 14:28:07 +0000 (15:28 +0100)]
Add parameters to all team methods.

10 years agoRolling
Mike Taylor [Wed, 9 Apr 2014 14:02:48 +0000 (15:02 +0100)]
Rolling

10 years agoAppend
Mike Taylor [Wed, 9 Apr 2014 12:49:08 +0000 (13:49 +0100)]
Append

10 years agoComment
Mike Taylor [Wed, 9 Apr 2014 12:28:32 +0000 (13:28 +0100)]
Comment

10 years agoComment
Mike Taylor [Wed, 9 Apr 2014 12:28:27 +0000 (13:28 +0100)]
Comment

10 years agoFirst bits of the developer guide.
Mike Taylor [Wed, 9 Apr 2014 12:23:12 +0000 (13:23 +0100)]
First bits of the developer guide.

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

10 years agologroate config
Wolfram Schneider [Wed, 9 Apr 2014 10:52:31 +0000 (10:52 +0000)]
logroate config

10 years agoclean
Wolfram Schneider [Wed, 9 Apr 2014 10:03:46 +0000 (10:03 +0000)]
clean

10 years agoAdd the "Done" widget.
Mike Taylor [Tue, 8 Apr 2014 16:09:33 +0000 (17:09 +0100)]
Add the "Done" widget.
Shows how applications can handle bugs MKWS-48 and MKWS-49.

10 years agoonStat publishes a "complete" event when the number of active clients
Mike Taylor [Tue, 8 Apr 2014 16:08:57 +0000 (17:08 +0100)]
onStat publishes a "complete" event when the number of active clients
falls to zero. This enables us to make a "search is complete" widget,
which fixes bugs MKWS-48 and MKWS-49.

10 years agoAdd mkwsDone widget.
Mike Taylor [Tue, 8 Apr 2014 16:07:02 +0000 (17:07 +0100)]
Add mkwsDone widget.
Use Wolfram's smaller, better, faster library.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Tue, 8 Apr 2014 15:47:56 +0000 (15:47 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoFix facet style on .mkwsFacet rather than their container .mkwsTermlists
Mike Taylor [Tue, 8 Apr 2014 15:45:32 +0000 (16:45 +0100)]
Fix facet style on .mkwsFacet rather than their container .mkwsTermlists

10 years agouse fork/exec() instead system, MKWS-157
Wolfram Schneider [Tue, 8 Apr 2014 15:40:45 +0000 (15:40 +0000)]
use fork/exec() instead system, MKWS-157

simplify alarm() handling