Wolfram Schneider [Tue, 17 Dec 2013 12:37:33 +0000 (12:37 +0000)]
copy of wolfram.html - but with mkws-complete.js running
Wolfram Schneider [Tue, 17 Dec 2013 12:33:44 +0000 (12:33 +0000)]
rebuild mkws-complete.js if the Makefile changed
Wolfram Schneider [Tue, 17 Dec 2013 12:32:16 +0000 (12:32 +0000)]
put indexdata copyright on top of mkws-complete.js
Wolfram Schneider [Tue, 17 Dec 2013 12:30:05 +0000 (12:30 +0000)]
use make variables whenever possible for external JS libs
keep jquery.js locally
Wolfram Schneider [Tue, 17 Dec 2013 12:18:19 +0000 (12:18 +0000)]
include jquery.json-2.4.js lib
Wolfram Schneider [Tue, 17 Dec 2013 12:04:30 +0000 (12:04 +0000)]
use generic jquery function $.toJSON(obj) instead JSON.stringify(obj), MKWS-77
this fixes the endless loop in IE8 on windowsxp
Note: if $.toJSON(obj) fails, then it will also sent other browsers
like Firefox in and endless loop.
Wolfram Schneider [Tue, 17 Dec 2013 12:03:57 +0000 (12:03 +0000)]
include jquery.json-2.4.js plugin to mkws-complete.js
Wolfram Schneider [Tue, 17 Dec 2013 10:55:24 +0000 (10:55 +0000)]
Fix commit which broke our tests suite.
commit
1cb6ac748b3e920577baacfdd39d0373ea6767e1
Author: Mike Taylor <mike@indexdata.com>
Date: Mon Dec 16 15:57:57 2013 +0000
Eliminate temporary variable.
Wolfram Schneider [Tue, 17 Dec 2013 10:48:39 +0000 (10:48 +0000)]
mkws_config.pazpar2_url check no longer needed
Mike Taylor [Mon, 16 Dec 2013 17:19:48 +0000 (17:19 +0000)]
Add detailed description of authentication configuration.
Mike Taylor [Mon, 16 Dec 2013 17:19:21 +0000 (17:19 +0000)]
Remove now-unnecessary service_proxy_auth_domain setting.
Mike Taylor [Mon, 16 Dec 2013 16:19:37 +0000 (16:19 +0000)]
mkws_config.service_proxy_auth_domain no longer need be specified: it
is extracted automatically from mkws_config.pazpar2_url if not given.
Mike Taylor [Mon, 16 Dec 2013 16:03:42 +0000 (16:03 +0000)]
Use four separate <script> includes instead of mkws-complete.js
Mike Taylor [Mon, 16 Dec 2013 16:00:34 +0000 (16:00 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Mon, 16 Dec 2013 16:00:30 +0000 (16:00 +0000)]
Move inline default value of pazpar2_url up into config_default.
Mike Taylor [Mon, 16 Dec 2013 15:57:57 +0000 (15:57 +0000)]
Eliminate temporary variable.
Mike Taylor [Mon, 16 Dec 2013 15:45:22 +0000 (15:45 +0000)]
Remove superfluous pazpar2_url setting (re-specified the value that is
already default).
Mike Taylor [Mon, 16 Dec 2013 15:44:47 +0000 (15:44 +0000)]
Remove superfluous pazpar2_url setting (re-specified the value that is
already default).
Mike Taylor [Mon, 16 Dec 2013 15:32:56 +0000 (15:32 +0000)]
Add comment to resync with localauth.html
Wolfram Schneider [Fri, 13 Dec 2013 16:43:18 +0000 (16:43 +0000)]
fix title
Wolfram Schneider [Fri, 13 Dec 2013 16:38:51 +0000 (16:38 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 13 Dec 2013 16:37:54 +0000 (16:37 +0000)]
trailing comma lets IE8 fail, MKWS-77
Mike Taylor [Fri, 13 Dec 2013 15:45:22 +0000 (15:45 +0000)]
Add comment about Apache2 configuration
Mike Taylor [Fri, 13 Dec 2013 15:44:05 +0000 (15:44 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Mike Taylor [Fri, 13 Dec 2013 15:43:50 +0000 (15:43 +0000)]
Add commented-out logging directives
Wolfram Schneider [Fri, 13 Dec 2013 15:24:42 +0000 (15:24 +0000)]
match the end of 'Active clients' message
Wolfram Schneider [Fri, 13 Dec 2013 15:15:40 +0000 (15:15 +0000)]
wording
Wolfram Schneider [Fri, 13 Dec 2013 15:14:49 +0000 (15:14 +0000)]
fix xpath again
Wolfram Schneider [Fri, 13 Dec 2013 15:06:31 +0000 (15:06 +0000)]
fix xpath for show record click
Wolfram Schneider [Fri, 13 Dec 2013 15:06:15 +0000 (15:06 +0000)]
better log messages
Mike Taylor [Fri, 13 Dec 2013 14:37:09 +0000 (14:37 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Fri, 13 Dec 2013 14:31:17 +0000 (14:31 +0000)]
Add rewrite rule to make local authentication work.
Mike Taylor [Fri, 13 Dec 2013 14:30:44 +0000 (14:30 +0000)]
Comment.
Wolfram Schneider [Fri, 13 Dec 2013 14:17:05 +0000 (14:17 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Mike Taylor [Fri, 13 Dec 2013 12:41:55 +0000 (12:41 +0000)]
lcoalauth.html doesn't depend on Mike's local servers.
Mike Taylor [Fri, 13 Dec 2013 12:41:38 +0000 (12:41 +0000)]
Mike's playground app becomes a copy of the development localauth.
Mike Taylor [Fri, 13 Dec 2013 12:31:39 +0000 (12:31 +0000)]
Add links to local-authentication demo and corresponding Apache2 fragment.
Mike Taylor [Fri, 13 Dec 2013 12:26:50 +0000 (12:26 +0000)]
Typo
Mike Taylor [Fri, 13 Dec 2013 12:15:40 +0000 (12:15 +0000)]
Simpler JavaScript code to hide.
Mike Taylor [Fri, 13 Dec 2013 12:15:16 +0000 (12:15 +0000)]
Change page title
Mike Taylor [Fri, 13 Dec 2013 12:14:11 +0000 (12:14 +0000)]
Removed robots.txt -- no reason to disallow crawlers
Mike Taylor [Fri, 13 Dec 2013 12:09:18 +0000 (12:09 +0000)]
Add an introduction div.
Mike Taylor [Fri, 13 Dec 2013 12:09:07 +0000 (12:09 +0000)]
Add new seed content, from Wikipedia's page on "computer"
Mike Taylor [Fri, 13 Dec 2013 12:00:09 +0000 (12:00 +0000)]
Fix indentation of table.
Mike Taylor [Fri, 13 Dec 2013 11:59:50 +0000 (11:59 +0000)]
Removing confusing redundant copy of an outdated version of the main
MKWS page. This was previous used as a seed content of the
dictionary-lookup demo.
Mike Taylor [Fri, 13 Dec 2013 11:41:29 +0000 (11:41 +0000)]
Add commented-out rewrite-logging.
Mike Taylor [Thu, 12 Dec 2013 17:32:58 +0000 (17:32 +0000)]
Ignore generated links jasmine and test
Mike Taylor [Thu, 12 Dec 2013 17:32:36 +0000 (17:32 +0000)]
Resolve: it seems Wolfram and I both independently added an examples/htdocs/Makefile at the same time
Mike Taylor [Thu, 12 Dec 2013 17:30:10 +0000 (17:30 +0000)]
Invoke examples/htdocs/Makefile for "all" and "clean" targets.
Mike Taylor [Thu, 12 Dec 2013 17:29:08 +0000 (17:29 +0000)]
Add "all" rule
Mike Taylor [Thu, 12 Dec 2013 17:27:59 +0000 (17:27 +0000)]
Ignore generated apache-config.txt
Mike Taylor [Thu, 12 Dec 2013 17:27:43 +0000 (17:27 +0000)]
New file, examples/Makefile.
Exists only to make readable Apache2 config example.
Mike Taylor [Thu, 12 Dec 2013 17:22:53 +0000 (17:22 +0000)]
Move small mkws-tools-mike across from examples area to tools area
Mike Taylor [Thu, 12 Dec 2013 17:21:20 +0000 (17:21 +0000)]
New example file using local authentication (MKWS-38)
Mike Taylor [Thu, 12 Dec 2013 17:20:52 +0000 (17:20 +0000)]
Move aside
Wolfram Schneider [Thu, 12 Dec 2013 17:12:11 +0000 (17:12 +0000)]
the "Source" delimiter message may come after "author"
Mike Taylor [Thu, 12 Dec 2013 16:59:48 +0000 (16:59 +0000)]
Reorder to better match ../../tools/apache2/mkws-mike
The real question of course is why do both of these files exist?
Mike Taylor [Thu, 12 Dec 2013 16:55:44 +0000 (16:55 +0000)]
New file, initially consists of a stanza extracted from mkws-examples-mike
Mike Taylor [Thu, 12 Dec 2013 16:55:19 +0000 (16:55 +0000)]
Remove x.mkws.indexdata.com stanza into its own file, mkws-tools-mike
Mike Taylor [Thu, 12 Dec 2013 16:54:36 +0000 (16:54 +0000)]
"Customer" Apache2 configuration used RewriteRule instead of ProxyPass
to handle /service-proxy-auth/
Acts as an example of MKWS-38 ("More secure authentication for MKWS")
Mike Taylor [Thu, 12 Dec 2013 16:49:23 +0000 (16:49 +0000)]
Use ${MAKE} -C instead of explicit cd in subshell.
Wolfram Schneider [Thu, 12 Dec 2013 16:25:08 +0000 (16:25 +0000)]
Handlebars doesn't like being hot-included from its home. It wants you to download it locally.
Wolfram Schneider [Thu, 12 Dec 2013 16:04:22 +0000 (16:04 +0000)]
improve readablity: cat one file per line
Wolfram Schneider [Thu, 12 Dec 2013 15:36:59 +0000 (15:36 +0000)]
rename mkws.service_proxy_auth to mkws.authenticated
The mkws.authenticated property is used in the test framework
to check if the service proxy authentification was successfully.
This fix
7eb3ec5aa9b558216fc06205a4085d875f554a7c
Wolfram Schneider [Thu, 12 Dec 2013 15:22:29 +0000 (15:22 +0000)]
set mkws.usesessions later after the config object was checked.
This is a side effect of
d7fa203c58fd4eb63c6fc1eeeb3ffa94ef32dbb4
Wolfram Schneider [Thu, 12 Dec 2013 15:09:25 +0000 (15:09 +0000)]
one variable less
Wolfram Schneider [Thu, 12 Dec 2013 15:08:52 +0000 (15:08 +0000)]
spaces
Wolfram Schneider [Thu, 12 Dec 2013 15:00:37 +0000 (15:00 +0000)]
Revert "Eliminate superfluous temporary assignments."
This reverts commit
bba27d39caf95d9f0c4684f1f4d49ac8747ca03c.
Actually, these are not superfluous. The variables are used in
the jasmine framework to check if the config values make sense
before calling new pz2( {}) with an json object.
Wolfram Schneider [Thu, 12 Dec 2013 14:54:15 +0000 (14:54 +0000)]
add Makefile to create symlinks for jasmine
this allow us to run the test from the local file system
or from a web site
Mike Taylor [Wed, 11 Dec 2013 17:21:56 +0000 (17:21 +0000)]
Add documentation of template system.
Fixes bug MKWS-68.
Wolfram Schneider [Tue, 10 Dec 2013 14:29:54 +0000 (14:29 +0000)]
include JS framework handlebars.runtime-v1.1.2.js
Wolfram Schneider [Tue, 10 Dec 2013 14:27:31 +0000 (14:27 +0000)]
Wolfram Schneider [Tue, 10 Dec 2013 13:18:13 +0000 (13:18 +0000)]
force exit once tests complete
this should solve the problem that jasmine-node waits for a
pz2 request response and fails due an alert() error message
Wolfram Schneider [Tue, 10 Dec 2013 09:55:44 +0000 (09:55 +0000)]
log the pz2.js GIT id in the header of mkws-complete.js as well
Wolfram Schneider [Tue, 10 Dec 2013 09:46:10 +0000 (09:46 +0000)]
minor reformat
Wolfram Schneider [Tue, 10 Dec 2013 09:44:51 +0000 (09:44 +0000)]
move helper targets to the bottom
Wolfram Schneider [Tue, 10 Dec 2013 09:41:51 +0000 (09:41 +0000)]
reformat warning for better readability
Wolfram Schneider [Tue, 10 Dec 2013 09:36:55 +0000 (09:36 +0000)]
pz2 JS lib moved back to pazpar2 git repo
Mike Taylor [Mon, 9 Dec 2013 23:47:27 +0000 (23:47 +0000)]
Fix column widths
Mike Taylor [Mon, 9 Dec 2013 23:46:57 +0000 (23:46 +0000)]
Add minimal styling for table.
Mike Taylor [Mon, 9 Dec 2013 23:46:03 +0000 (23:46 +0000)]
uh ...
Mike Taylor [Mon, 9 Dec 2013 23:43:11 +0000 (23:43 +0000)]
Simplify.
Mike Taylor [Mon, 9 Dec 2013 23:41:36 +0000 (23:41 +0000)]
Add link to auto.html
Mike Taylor [Mon, 9 Dec 2013 23:40:35 +0000 (23:40 +0000)]
Update to use generated widget.
Simplify MKWS invocation.
Mike Taylor [Mon, 9 Dec 2013 22:56:28 +0000 (22:56 +0000)]
Use a widget generated by MKAdmin.
Mike Taylor [Mon, 9 Dec 2013 22:04:02 +0000 (22:04 +0000)]
Use explicit leading "pz:id="
Mike Taylor [Mon, 9 Dec 2013 22:03:46 +0000 (22:03 +0000)]
Replace #mkwsRecords with one generated by MKAdmin widget-generator.
Mike Taylor [Mon, 9 Dec 2013 22:02:29 +0000 (22:02 +0000)]
Oops, use debug() rather than log().
Mike Taylor [Mon, 9 Dec 2013 22:00:55 +0000 (22:00 +0000)]
"pz:id=" prefix only prepended to filter string if it doesn't have ANY
setting+op up front. Allows more flexibility in the use of ~ operation
and non-pz:id settings.
Mike Taylor [Mon, 9 Dec 2013 21:20:29 +0000 (21:20 +0000)]
Add /pazpar2/ alias.
Add x.example.indexdata.com stanza.
Mike Taylor [Mon, 9 Dec 2013 21:20:08 +0000 (21:20 +0000)]
Add /pazpar2/ alias.
Mike Taylor [Mon, 9 Dec 2013 21:19:29 +0000 (21:19 +0000)]
Add new alias for /pazpar2/
Mike Taylor [Mon, 9 Dec 2013 19:53:01 +0000 (19:53 +0000)]
Change all references to libjs-pz2/pz2api.1.js to pazpar2/js/pz2.js
Mike Taylor [Mon, 9 Dec 2013 19:52:47 +0000 (19:52 +0000)]
Add alias for /pazpar2/
Mike Taylor [Mon, 9 Dec 2013 12:22:26 +0000 (12:22 +0000)]
Refer throughout to pz2.js rather than libpz2.js, since the latter has
been killed (shortly after being given birth).
Mike Taylor [Mon, 9 Dec 2013 10:52:00 +0000 (10:52 +0000)]
Remove optional "pz:id=" from start of target string.
Mike Taylor [Mon, 9 Dec 2013 10:48:56 +0000 (10:48 +0000)]
Remove now-unnecessary <div id="mkwsTermlists"/>
Mike Taylor [Mon, 9 Dec 2013 10:48:31 +0000 (10:48 +0000)]
Correct syntax for targets.
Thanks to Jakub!
Mike Taylor [Fri, 6 Dec 2013 18:11:37 +0000 (18:11 +0000)]
Specify TWO targets in auto-search (MIT OpenCourseWare and PLOS)
Mike Taylor [Fri, 6 Dec 2013 18:07:38 +0000 (18:07 +0000)]
Leading "pz:id=" is optional in triggerSearch()
This means clever applications can pass in a complete filter string.