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

10 years agoAll change, back to a derivative of auto-paratext.html
Mike Taylor [Thu, 13 Feb 2014 14:40:13 +0000 (14:40 +0000)]
All change, back to a derivative of auto-paratext.html

10 years agoAdd support for auto-running widgets that take their query from a
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"

10 years agoremove "id_button" and "id_popup" from the popup config to get it working with new...
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

10 years agoMike's playground changes again ...
Mike Taylor [Thu, 13 Feb 2014 12:51:11 +0000 (12:51 +0000)]
Mike's playground changes again ...

10 years agoRemove "x." prefixes from hostnames.
Mike Taylor [Thu, 13 Feb 2014 12:50:53 +0000 (12:50 +0000)]
Remove "x." prefixes from hostnames.

10 years agoNo longer needed
Mike Taylor [Thu, 13 Feb 2014 12:38:15 +0000 (12:38 +0000)]
No longer needed

10 years agoRemove short-term debugging output
Mike Taylor [Thu, 13 Feb 2014 11:50:35 +0000 (11:50 +0000)]
Remove short-term debugging output

10 years agoUse #mkwsPopup -- there is only one, by design.
Mike Taylor [Thu, 13 Feb 2014 11:48:57 +0000 (11:48 +0000)]
Use #mkwsPopup -- there is only one, by design.

10 years agoClear up class/id confusion for mkwsPopup
Mike Taylor [Thu, 13 Feb 2014 11:47:52 +0000 (11:47 +0000)]
Clear up class/id confusion for mkwsPopup

10 years agoRemove extraneous content.
Mike Taylor [Thu, 13 Feb 2014 11:32:00 +0000 (11:32 +0000)]
Remove extraneous content.
Add mkws-jquery.js

10 years agoNew file, mike.html -- local version of popup.html
Mike Taylor [Thu, 13 Feb 2014 11:26:48 +0000 (11:26 +0000)]
New file, mike.html -- local version of popup.html

10 years agoRename
Mike Taylor [Thu, 13 Feb 2014 11:25:17 +0000 (11:25 +0000)]
Rename

10 years agoAdd logging for popup.
Mike Taylor [Thu, 13 Feb 2014 10:56:06 +0000 (10:56 +0000)]
Add logging for popup.

10 years agoNew file auto-paratext.html, demo for Seb
Mike Taylor [Thu, 13 Feb 2014 08:46:00 +0000 (08:46 +0000)]
New file auto-paratext.html, demo for Seb

10 years agoInitialise debug_level to 1 so that the jQuery popup can use it.
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.

10 years agoAll styles are now applicable by class as well as by ID.
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.)

10 years agoRemove no-longer-needed debugging output.
Mike Taylor [Wed, 12 Feb 2014 18:01:14 +0000 (18:01 +0000)]
Remove no-longer-needed debugging output.

10 years agoFix redundant local overrides of jQuery plugin default configuration values with...
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.

10 years agoTweak dictionary-lookup example to work correctly without using IDs.
Mike Taylor [Wed, 12 Feb 2014 17:52:59 +0000 (17:52 +0000)]
Tweak dictionary-lookup example to work correctly without using IDs.

10 years agomkws-jquery.js's default selectors for id_button and id_popup now use
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.

10 years agoMany more tests are now done using class selectors instead of IDs.
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.

10 years agoMove IDs from generated HTML.
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.

10 years agoRemove extraneous comment.
Mike Taylor [Wed, 12 Feb 2014 17:18:34 +0000 (17:18 +0000)]
Remove extraneous comment.
I seem to be doing this a lot.

10 years agoAdd boolean target_filtered() function.
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.

10 years agoInclude mkws-jquery.js
Mike Taylor [Wed, 12 Feb 2014 15:47:19 +0000 (15:47 +0000)]
Include mkws-jquery.js

10 years agoInclude mkws-jquery.js
Mike Taylor [Wed, 12 Feb 2014 15:47:14 +0000 (15:47 +0000)]
Include mkws-jquery.js

10 years agoMove jQuery plugin out of mkws.js into its own file mkws-jquery.js: see MKWS-120
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

10 years agomkwsDet_* and mkwsRecdiv_* IDs include teamName.
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.

10 years agoDon't bother calculating result summary if there's no mkwsRecords
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.

10 years agoRemove wildly inaccurate comment.
Mike Taylor [Wed, 12 Feb 2014 12:41:08 +0000 (12:41 +0000)]
Remove wildly inaccurate comment.

10 years agoAddress mkwsPrev and mkwsNext by class.
Mike Taylor [Wed, 12 Feb 2014 12:09:50 +0000 (12:09 +0000)]
Address mkwsPrev and mkwsNext by class.

10 years agoReplace mkwsPrev/mkwsNext IDs with classes. See MKWS-115.
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.)

10 years agoFix test-suite's debug() function to use mkws.debug()
Mike Taylor [Tue, 11 Feb 2014 17:24:00 +0000 (17:24 +0000)]
Fix test-suite's debug() function to use mkws.debug()

10 years agoAdd a TODO comment.
Mike Taylor [Tue, 11 Feb 2014 17:13:27 +0000 (17:13 +0000)]
Add a TODO comment.

10 years agoRemove misleading comment.
Mike Taylor [Tue, 11 Feb 2014 17:07:40 +0000 (17:07 +0000)]
Remove misleading comment.

10 years agoRemove the misleadingly named domReady() function, and put its code
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.

10 years agoThe third debug() function in mkws.js, inside the jQuery plugin, is
Mike Taylor [Tue, 11 Feb 2014 16:31:56 +0000 (16:31 +0000)]
The third debug() function in mkws.js, inside the jQuery plugin, is
now also reduced to a one-line delegation to mkws.debug(). Nice to be
down to a single logging function.

10 years agoGet rid of log() function within global top-level code.
Mike Taylor [Tue, 11 Feb 2014 16:25:49 +0000 (16:25 +0000)]
Get rid of log() function within global top-level code.
Now uses debug(), a local alias for mkws.debug().

10 years agoRename mkws.debug_function() to mkws.debug()
Mike Taylor [Tue, 11 Feb 2014 16:24:05 +0000 (16:24 +0000)]
Rename mkws.debug_function() to mkws.debug()

10 years agoMove mkws.debug_function() lexically outside the team.
Mike Taylor [Tue, 11 Feb 2014 16:23:26 +0000 (16:23 +0000)]
Move mkws.debug_function() lexically outside the team.

10 years agoRemove outdated comments.
Mike Taylor [Tue, 11 Feb 2014 16:18:19 +0000 (16:18 +0000)]
Remove outdated comments.

10 years agoSeparate out team-specific parts of mkws.debug_function() into inner
Mike Taylor [Tue, 11 Feb 2014 16:18:00 +0000 (16:18 +0000)]
Separate out team-specific parts of mkws.debug_function() into inner
function debug() (which is now an actual wrapper function rather than
a mere alias).

10 years agoRemove extraneous declaration.
Mike Taylor [Tue, 11 Feb 2014 15:24:33 +0000 (15:24 +0000)]
Remove extraneous declaration.

10 years agoRewrite comment for global mkws object.
Mike Taylor [Tue, 11 Feb 2014 13:36:15 +0000 (13:36 +0000)]
Rewrite comment for global mkws object.

10 years agoMove and rewrite comment on member functions.
Mike Taylor [Tue, 11 Feb 2014 13:35:28 +0000 (13:35 +0000)]
Move and rewrite comment on member functions.

10 years agoRemove obsolete comment.
Mike Taylor [Tue, 11 Feb 2014 12:41:55 +0000 (12:41 +0000)]
Remove obsolete comment.

10 years agopagerPrev() and pagerNext() made team-aware.
Mike Taylor [Tue, 11 Feb 2014 12:40:00 +0000 (12:40 +0000)]
pagerPrev() and pagerNext() made team-aware.

10 years agoNavigation to individual pages made team-aware.
Mike Taylor [Tue, 11 Feb 2014 12:07:22 +0000 (12:07 +0000)]
Navigation to individual pages made team-aware.

10 years agoRemove immediately-overridden initial value of m_perpage.
Mike Taylor [Tue, 11 Feb 2014 11:52:04 +0000 (11:52 +0000)]
Remove immediately-overridden initial value of m_perpage.

10 years agomkws_html_perpage() preserves current value of m_perpage() rather than
Mike Taylor [Tue, 11 Feb 2014 11:39:10 +0000 (11:39 +0000)]
mkws_html_perpage() preserves current value of m_perpage() rather than
resetting to mkws_config.perpage_default.

10 years agoRename m_recPerPage to m_perpage.
Mike Taylor [Tue, 11 Feb 2014 11:35:36 +0000 (11:35 +0000)]
Rename m_recPerPage to m_perpage.

10 years agoRemove immediately-overridden initial value of m_sort.
Mike Taylor [Tue, 11 Feb 2014 11:31:45 +0000 (11:31 +0000)]
Remove immediately-overridden initial value of m_sort.

10 years agoSorting and records-per-page selection now team-aware.
Mike Taylor [Tue, 11 Feb 2014 11:31:17 +0000 (11:31 +0000)]
Sorting and records-per-page selection now team-aware.
Better logging.

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

10 years agofront end proxy for http://example-dev.indexdata.com/
Wolfram Schneider [Tue, 11 Feb 2014 10:02:58 +0000 (10:02 +0000)]
front end proxy for example-dev.indexdata.com/

10 years agoThis is for the example-dev.indexdata.com, running on dart
Wolfram Schneider [Tue, 11 Feb 2014 09:59:24 +0000 (09:59 +0000)]
This is for the example-dev.indexdata.com, running on dart

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

10 years agomove apache example config from tools/apache2 to examples/apache2
Wolfram Schneider [Tue, 11 Feb 2014 09:53:14 +0000 (09:53 +0000)]
move apache example config from tools/apache2 to examples/apache2

10 years agoHTTPS config for example-dev.indexdata.com, MKWS-102
Wolfram Schneider [Tue, 11 Feb 2014 09:46:36 +0000 (09:46 +0000)]
HTTPS config for example-dev.indexdata.com, MKWS-102

10 years agoUse protocol-relative URLs, MKWS-102
Wolfram Schneider [Tue, 11 Feb 2014 09:42:39 +0000 (09:42 +0000)]
Use protocol-relative URLs, MKWS-102

for links from http[s]://mkws.indexdata.com to http[s]://example.indexdata.com/

10 years agoHTTPS config for example.indexdata.com, MKWS-102
Wolfram Schneider [Tue, 11 Feb 2014 09:35:42 +0000 (09:35 +0000)]
HTTPS config for example.indexdata.com, MKWS-102

10 years agoRemove use of local SP
Mike Taylor [Mon, 10 Feb 2014 20:39:16 +0000 (20:39 +0000)]
Remove use of local SP

10 years agoFacet-related elements are identified by class rather than ID.
Wolfram Schneider [Mon, 10 Feb 2014 18:00:50 +0000 (18:00 +0000)]
Facet-related elements are identified by class rather than ID.

I was wondering why the tests often failed and didn't ignored the wikipedia
targets. This complete 17f6e251e4cceb61561611ebbf3c2f34ac3142d7

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

10 years agoTowards team-aware sorting.
Mike Taylor [Mon, 10 Feb 2014 17:02:00 +0000 (17:02 +0000)]
Towards team-aware sorting.

10 years agospaces
Wolfram Schneider [Fri, 7 Feb 2014 22:06:12 +0000 (23:06 +0100)]
spaces

to make cut&paste of an URL easier

10 years agoPager is now team-aware, hurrah!
Mike Taylor [Fri, 7 Feb 2014 17:28:57 +0000 (17:28 +0000)]
Pager is now team-aware, hurrah!

10 years agodrawPager() now simply returns a string.
Mike Taylor [Fri, 7 Feb 2014 17:24:45 +0000 (17:24 +0000)]
drawPager() now simply returns a string.

10 years agoPage element selection is done by jQuery.
Mike Taylor [Fri, 7 Feb 2014 17:23:57 +0000 (17:23 +0000)]
Page element selection is done by jQuery.

10 years agoSimplify pager-text generation.
Mike Taylor [Fri, 7 Feb 2014 17:23:10 +0000 (17:23 +0000)]
Simplify pager-text generation.
(It's still pretty darned opaque, though.)

10 years agoRemove meaningless comment.
Mike Taylor [Fri, 7 Feb 2014 17:20:09 +0000 (17:20 +0000)]
Remove meaningless comment.

10 years agoBetter division of labour for drawPager()
Mike Taylor [Fri, 7 Feb 2014 17:19:56 +0000 (17:19 +0000)]
Better division of labour for drawPager()

10 years agoRemove old, no-longer-needed logging.
Mike Taylor [Fri, 7 Feb 2014 16:03:55 +0000 (16:03 +0000)]
Remove old, no-longer-needed logging.

10 years agoMove mkws.switchView() outside of the team object, have it invoke the
Mike Taylor [Fri, 7 Feb 2014 15:57:38 +0000 (15:57 +0000)]
Move mkws.switchView() outside of the team object, have it invoke the
same-named member function of the appropriate team.

10 years agoAdd logging from showDetails()
Mike Taylor [Fri, 7 Feb 2014 15:47:17 +0000 (15:47 +0000)]
Add logging from showDetails()

10 years agoMove some code around -- no effect.
Mike Taylor [Fri, 7 Feb 2014 15:47:09 +0000 (15:47 +0000)]
Move some code around -- no effect.

10 years agoVertical ws
Mike Taylor [Fri, 7 Feb 2014 15:42:50 +0000 (15:42 +0000)]
Vertical ws

10 years agoRemove now-redundant "for teamName" from logging invocations.
Mike Taylor [Fri, 7 Feb 2014 15:41:52 +0000 (15:41 +0000)]
Remove now-redundant "for teamName" from logging invocations.

10 years agoSwap order of that.delimitTarget() and that.delimitQuery() to match
Mike Taylor [Fri, 7 Feb 2014 15:39:26 +0000 (15:39 +0000)]
Swap order of that.delimitTarget() and that.delimitQuery() to match
how we do things elsewhere.

10 years agoFix misleading logging from delimitQuery()
Mike Taylor [Fri, 7 Feb 2014 15:38:52 +0000 (15:38 +0000)]
Fix misleading logging from delimitQuery()

10 years agomkws.delimitTarget() and delimitQuery() now accept a team-name and
Mike Taylor [Fri, 7 Feb 2014 15:38:36 +0000 (15:38 +0000)]
mkws.delimitTarget() and delimitQuery() now accept a team-name and
delegate to the appropriate team's member-functions of the
same name.

10 years agoFacet-related elements are identified by class rather than ID.
Mike Taylor [Fri, 7 Feb 2014 15:23:51 +0000 (15:23 +0000)]
Facet-related elements are identified by class rather than ID.