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

10 years agoSwap order of that.limitTarget() and limitQuery()
Mike Taylor [Fri, 7 Feb 2014 15:11:15 +0000 (15:11 +0000)]
Swap order of that.limitTarget() and limitQuery()

10 years agoReverse order of showDetails() arguments to match limitTarget() and
Mike Taylor [Fri, 7 Feb 2014 15:10:46 +0000 (15:10 +0000)]
Reverse order of showDetails() arguments to match limitTarget() and
limitQuery()

10 years agomkws.limitQuery() now accepts a team-name and delegates to the
Mike Taylor [Fri, 7 Feb 2014 15:05:31 +0000 (15:05 +0000)]
mkws.limitQuery() now accepts a team-name and delegates to the
appropriate team's member-function of the same name.

10 years agoredraw_navi() made team-aware.
Mike Taylor [Fri, 7 Feb 2014 15:02:06 +0000 (15:02 +0000)]
redraw_navi() made team-aware.
Facet divs made team-specific.
mkws.limitTarget() now accepts a team-name and delegates to the
appropriate team's member-function of the same name.

10 years agodebug() function's output begins with team name.
Mike Taylor [Fri, 7 Feb 2014 14:54:16 +0000 (14:54 +0000)]
debug() function's output begins with team name.

10 years agoconfig option disable_facet_authors_search, MKWS-114
Wolfram Schneider [Fri, 7 Feb 2014 13:26:43 +0000 (13:26 +0000)]
config option disable_facet_authors_search, MKWS-114

it is better to have an config option than to assume that
it will never work with raw pazpar2

10 years agoignore non-functional limit search for authors if running raw pp2, MKWS-114
Wolfram Schneider [Fri, 7 Feb 2014 13:15:59 +0000 (13:15 +0000)]
ignore non-functional limit search for authors if running raw pp2, MKWS-114

10 years agoserver alias a.mkws-dev.indexdata.com
Wolfram Schneider [Thu, 6 Feb 2014 17:27:48 +0000 (17:27 +0000)]
server alias  a.mkws-dev.indexdata.com

10 years agotranslate navi bar, MKWS-112
Wolfram Schneider [Thu, 6 Feb 2014 17:06:11 +0000 (17:06 +0000)]
translate navi bar, MKWS-112

10 years agoupdate devel tools
Wolfram Schneider [Thu, 6 Feb 2014 16:27:26 +0000 (16:27 +0000)]
update devel tools

10 years agoupdate to GPLv3
Wolfram Schneider [Thu, 6 Feb 2014 16:25:02 +0000 (16:25 +0000)]
update to GPLv3

copied from https://www.gnu.org/copyleft/gpl.txt

10 years agoupdate modules list
Wolfram Schneider [Thu, 6 Feb 2014 16:22:33 +0000 (16:22 +0000)]
update modules list

10 years agorun phantomjs from root level dir
Wolfram Schneider [Thu, 6 Feb 2014 16:15:58 +0000 (16:15 +0000)]
run phantomjs from root level dir

10 years agonuke ./spec-sp - phantomjs does a much better job
Wolfram Schneider [Thu, 6 Feb 2014 16:14:19 +0000 (16:14 +0000)]
nuke ./spec-sp - phantomjs does a much better job

10 years agogrammar
Wolfram Schneider [Thu, 6 Feb 2014 16:08:14 +0000 (16:08 +0000)]
grammar

10 years agodisplay 10 hits by default, looks better on a small screen
Wolfram Schneider [Thu, 6 Feb 2014 16:02:33 +0000 (16:02 +0000)]
display 10 hits by default, looks better on a small screen

10 years agoswitch search term from "openssh" to "netbsd"
Wolfram Schneider [Thu, 6 Feb 2014 16:00:45 +0000 (16:00 +0000)]
switch search term from "openssh" to "netbsd"

to get more than 10 hits, and display navigation bar

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Thu, 6 Feb 2014 15:56:33 +0000 (16:56 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

Conflicts:
test/Makefile

10 years agobomb.pl - wrapper to stop a process after N seconds, MKWS-110
Wolfram Schneider [Thu, 6 Feb 2014 15:54:20 +0000 (16:54 +0100)]
bomb.pl - wrapper to stop a process after N seconds, MKWS-110

10 years agodocumentation
Wolfram Schneider [Thu, 6 Feb 2014 15:45:50 +0000 (16:45 +0100)]
documentation

argument checking

10 years agoRemove no-longer-needed logging.
Mike Taylor [Thu, 6 Feb 2014 14:10:02 +0000 (14:10 +0000)]
Remove no-longer-needed logging.
Remove unnecessary blanking of new search box.
(That was causing a problem for second and subsequent teams.)
Initial hiding of termlists made term-aware.

10 years agoUse pp2's facet names ("xtargets", "subject", "author") instead of
Mike Taylor [Thu, 6 Feb 2014 12:26:14 +0000 (12:26 +0000)]
Use pp2's facet names ("xtargets", "subject", "author") instead of
unnecessary MKWS-specific variants ("sources", "subjects",
"authors").
The pp2 object is now initialised to fetch only the facets that we're
actually going to use, rather than blinding fetching all three
whether they're used or not.
No "onterm" callback function is provided when no facets at all are
required, so that PP2 is never asked for them. This is going
to be a significant optimisation when using multiple Fresco
widgets.
my_onterm() now raises an alert on the "can't happen" condition that
we are invoked when no facets were requested. This defensive
clause can be removed later.

10 years agoUpdated list of facets.
Mike Taylor [Thu, 6 Feb 2014 12:21:10 +0000 (12:21 +0000)]
Updated list of facets.

10 years agoUpdated default list of facets.
Mike Taylor [Thu, 6 Feb 2014 12:20:26 +0000 (12:20 +0000)]
Updated default list of facets.

10 years agoRemove redundant configuration options.
Mike Taylor [Thu, 6 Feb 2014 12:19:15 +0000 (12:19 +0000)]
Remove redundant configuration options.

10 years agoSimplify my_onterm logic.
Mike Taylor [Thu, 6 Feb 2014 11:36:37 +0000 (11:36 +0000)]
Simplify my_onterm logic.

10 years agoMove MOTDs to the bottom.
Mike Taylor [Wed, 5 Feb 2014 17:42:07 +0000 (17:42 +0000)]
Move MOTDs to the bottom.
Fix team-name for second.

10 years agoCorrect documentation for MOTD
Mike Taylor [Wed, 5 Feb 2014 17:20:06 +0000 (17:20 +0000)]
Correct documentation for MOTD

10 years agoAdd MOTDs
Mike Taylor [Wed, 5 Feb 2014 16:40:11 +0000 (16:40 +0000)]
Add MOTDs

10 years agoFix test-suite to use class mkwsResults instead of ID.
Mike Taylor [Wed, 5 Feb 2014 16:18:57 +0000 (16:18 +0000)]
Fix test-suite to use class mkwsResults instead of ID.

10 years agomy_onterm() made team-aware
Mike Taylor [Wed, 5 Feb 2014 16:18:06 +0000 (16:18 +0000)]
my_onterm() made team-aware

10 years agoSimplify team-creation logic
Mike Taylor [Wed, 5 Feb 2014 16:13:44 +0000 (16:13 +0000)]
Simplify team-creation logic

10 years agoadded LICENSE, shameless copied from pazpar2 repo
Wolfram Schneider [Wed, 5 Feb 2014 13:33:36 +0000 (13:33 +0000)]
added LICENSE, shameless copied from pazpar2 repo

10 years agoLicence: GPL
Wolfram Schneider [Wed, 5 Feb 2014 13:29:11 +0000 (13:29 +0000)]
Licence: GPL

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Wed, 5 Feb 2014 13:22:43 +0000 (13:22 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agouse a variable for jasmine-node program
Wolfram Schneider [Wed, 5 Feb 2014 13:22:21 +0000 (13:22 +0000)]
use a variable for jasmine-node program

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 5 Feb 2014 12:53:49 +0000 (12:53 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoFix the two teams' columns as 50% each.
Mike Taylor [Wed, 5 Feb 2014 12:53:45 +0000 (12:53 +0000)]
Fix the two teams' columns as 50% each.

10 years agoAlign both teams at the top of their table cell.
Mike Taylor [Wed, 5 Feb 2014 12:51:50 +0000 (12:51 +0000)]
Align both teams at the top of their table cell.

10 years agomkwsLang as well as mkwsSwitch is hidden on narrow screens.
Mike Taylor [Wed, 5 Feb 2014 12:51:09 +0000 (12:51 +0000)]
mkwsLang as well as mkwsSwitch is hidden on narrow screens.
Remove extraneous logging.

10 years agomkws.resize_page() works on all teams.
Mike Taylor [Wed, 5 Feb 2014 12:50:01 +0000 (12:50 +0000)]
mkws.resize_page() works on all teams.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Wed, 5 Feb 2014 12:43:42 +0000 (13:43 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoadd GPL license
Wolfram Schneider [Wed, 5 Feb 2014 12:35:18 +0000 (13:35 +0100)]
add GPL license

10 years agoGenerated HTML within mkwsResults uses correct teamname, not just "AUTO"
Mike Taylor [Wed, 5 Feb 2014 12:23:23 +0000 (12:23 +0000)]
Generated HTML within mkwsResults uses correct teamname, not just "AUTO"

10 years agoMove non-member function mkws.resize_page outside the team object.
Mike Taylor [Wed, 5 Feb 2014 12:20:15 +0000 (12:20 +0000)]
Move non-member function mkws.resize_page outside the team object.

10 years agoThe mkws_resize_page() member function becomes global mkws.resize_page()
Mike Taylor [Wed, 5 Feb 2014 12:16:32 +0000 (12:16 +0000)]
The mkws_resize_page() member function becomes global mkws.resize_page()

10 years agoTwo complete sets of widgets.
Mike Taylor [Wed, 5 Feb 2014 11:33:40 +0000 (11:33 +0000)]
Two complete sets of widgets.

10 years agoadd repository section
Wolfram Schneider [Wed, 5 Feb 2014 11:08:49 +0000 (12:08 +0100)]
add repository section

will reduce the warning noice

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 5 Feb 2014 00:28:53 +0000 (00:28 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agomkwsStat Styles work on classes as well as ids.
Mike Taylor [Wed, 5 Feb 2014 00:27:45 +0000 (00:27 +0000)]
mkwsStat Styles work on classes as well as ids.

10 years agoUse class rather than id for mkwsStat.
Mike Taylor [Wed, 5 Feb 2014 00:26:00 +0000 (00:26 +0000)]
Use class rather than id for mkwsStat.

10 years agomkwsStat is addressed by class rather than id.
Mike Taylor [Wed, 5 Feb 2014 00:25:35 +0000 (00:25 +0000)]
mkwsStat is addressed by class rather than id.

10 years agoFix CSS to style mkwsLang according to class as well as id.
Mike Taylor [Wed, 5 Feb 2014 00:10:38 +0000 (00:10 +0000)]
Fix CSS to style mkwsLang according to class as well as id.

10 years agoLanguage menu is now set up by classes.
Mike Taylor [Wed, 5 Feb 2014 00:08:41 +0000 (00:08 +0000)]
Language menu is now set up by classes.
(A bit vacuous, this, since there can't be more than one of them at
the moment. But down the line it would be nice to fix that.)

10 years agoUse boolean true instead of numeric 1.
Mike Taylor [Wed, 5 Feb 2014 00:01:10 +0000 (00:01 +0000)]
Use boolean true instead of numeric 1.

10 years agoRename hash more informatively.
Mike Taylor [Wed, 5 Feb 2014 00:00:19 +0000 (00:00 +0000)]
Rename hash more informatively.

10 years agoUse class rather than id for mkwsLang.
Mike Taylor [Tue, 4 Feb 2014 23:57:17 +0000 (23:57 +0000)]
Use class rather than id for mkwsLang.

10 years agoUse class rather than id for mkwsTargets.
Mike Taylor [Tue, 4 Feb 2014 23:54:57 +0000 (23:54 +0000)]
Use class rather than id for mkwsTargets.

10 years agoRemove some outdated comments.
Mike Taylor [Tue, 4 Feb 2014 23:54:40 +0000 (23:54 +0000)]
Remove some outdated comments.

10 years agoRemove all direct calls to console.log()
Mike Taylor [Tue, 4 Feb 2014 23:48:29 +0000 (23:48 +0000)]
Remove all direct calls to console.log()
All calls are now wrapped in mkws.debug_function(), the jQuery
plugin's debug() inner function or the main log() inner
function, so that old versions of IE don't barf on it.
(We might argue that three debug-logging functions in mkws.js alone is
two too many. I won't disagree.)