mkws-moved-to-github.git
10 years agoFix authentication.
Mike Taylor [Tue, 23 Sep 2014 12:41:52 +0000 (14:41 +0200)]
Fix authentication.

10 years agoGet local-cached jQuery etc. from working path.
Mike Taylor [Tue, 23 Sep 2014 12:41:40 +0000 (14:41 +0200)]
Get local-cached jQuery etc. from working path.

10 years agoFix authentication.
Mike Taylor [Tue, 23 Sep 2014 12:38:04 +0000 (14:38 +0200)]
Fix authentication.

10 years agoFix authentication.
Mike Taylor [Tue, 23 Sep 2014 12:37:08 +0000 (14:37 +0200)]
Fix authentication.

10 years agoupdate to handlebars-v1.3.0.js
Wolfram Schneider [Tue, 23 Sep 2014 12:31:40 +0000 (12:31 +0000)]
update to handlebars-v1.3.0.js

see bb11e0f2dbc573dfa4d77b1de75ae5ce301fa051

10 years agodo not fail if yui-compressor is not installed
Wolfram Schneider [Tue, 23 Sep 2014 12:19:24 +0000 (12:19 +0000)]
do not fail if yui-compressor is not installed

e.g. on a devel MacOS machine. Instead, a dummy wrapper will
be used and display a warning.

10 years agoconfigurable yui-compressor program name
Wolfram Schneider [Tue, 23 Sep 2014 12:14:49 +0000 (12:14 +0000)]
configurable yui-compressor program name

10 years agodisplay a warning about the missing program
Wolfram Schneider [Tue, 23 Sep 2014 12:12:10 +0000 (12:12 +0000)]
display a warning about the missing program

10 years agonewline in help text
Wolfram Schneider [Tue, 23 Sep 2014 12:01:00 +0000 (12:01 +0000)]
newline in help text

10 years agouse handlebars program from node modules checkout
Wolfram Schneider [Tue, 23 Sep 2014 12:00:10 +0000 (12:00 +0000)]
use handlebars program from node modules checkout

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Jason Skomorowski [Tue, 23 Sep 2014 11:50:01 +0000 (07:50 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoAttempt to satisfy handlebars build dependency for integration test
Jason Skomorowski [Tue, 23 Sep 2014 11:49:41 +0000 (07:49 -0400)]
Attempt to satisfy handlebars build dependency for integration test

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Tue, 23 Sep 2014 09:39:53 +0000 (11:39 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoIgnore the version of Handlebars that we now download:
Mike Taylor [Tue, 23 Sep 2014 09:38:26 +0000 (11:38 +0200)]
Ignore the version of Handlebars that we now download:
handlebars-v1.3.0.js rather than handlebars-v1.1.2.js. If you still
have a downloaded copy of the latter in this directory, delete it by
hand.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Wolfram Schneider [Tue, 23 Sep 2014 09:34:34 +0000 (11:34 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoNew file, .gitignore, for generated mkws-templates.js
Mike Taylor [Tue, 23 Sep 2014 09:34:33 +0000 (11:34 +0200)]
New file, .gitignore, for generated mkws-templates.js

10 years agoyui-compressor - dummy wrapper for missing java tool yui-compressor
Wolfram Schneider [Tue, 23 Sep 2014 09:34:22 +0000 (11:34 +0200)]
yui-compressor - dummy wrapper for missing java tool yui-compressor

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Jason Skomorowski [Tue, 23 Sep 2014 09:31:48 +0000 (05:31 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoWrap mkws-widget-main.js to allow jQuery use.
Jason Skomorowski [Tue, 23 Sep 2014 09:20:29 +0000 (05:20 -0400)]
Wrap mkws-widget-main.js to allow jQuery use.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Tue, 23 Sep 2014 09:13:45 +0000 (09:13 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agofix service_proxy_auth
Wolfram Schneider [Tue, 23 Sep 2014 08:08:31 +0000 (08:08 +0000)]
fix service_proxy_auth

10 years agofix service_proxy_auth
Wolfram Schneider [Tue, 23 Sep 2014 08:03:54 +0000 (08:03 +0000)]
fix service_proxy_auth

10 years agofix service_proxy_auth
Wolfram Schneider [Tue, 23 Sep 2014 07:49:01 +0000 (07:49 +0000)]
fix service_proxy_auth

10 years agoMerge branch 'master' into templateallthemarkup
Jason Skomorowski [Tue, 23 Sep 2014 07:48:48 +0000 (03:48 -0400)]
Merge branch 'master' into templateallthemarkup

10 years agoComment on SRU URL to use.
Mike Taylor [Mon, 22 Sep 2014 14:47:40 +0000 (16:47 +0200)]
Comment on SRU URL to use.

10 years agoMerge branch 'master' into templateallthemarkup
Jason Skomorowski [Mon, 22 Sep 2014 14:43:37 +0000 (10:43 -0400)]
Merge branch 'master' into templateallthemarkup

10 years agoIn place of the deprecated service_proxy_auth setting of
Mike Taylor [Mon, 22 Sep 2014 14:43:12 +0000 (16:43 +0200)]
In place of the deprecated service_proxy_auth setting of
/service-proxy-testauth/, provide sp_auth_credentials

Also this test page previously explicitly set pazpar2_url, which is no
longer necessary, so I removed that propertly.

*** These changes should be made to all example pages that use a
    special /service-proxy-XYZauth/ URL. All of those are gone, and
    should be replaced with their credentials only.

10 years agoScaffolding.
Mike Taylor [Mon, 22 Sep 2014 14:29:20 +0000 (16:29 +0200)]
Scaffolding.

10 years agoMerge branch 'master' into templateallthemarkup
Jason Skomorowski [Mon, 22 Sep 2014 14:29:04 +0000 (10:29 -0400)]
Merge branch 'master' into templateallthemarkup

10 years agoTowards an SRU widget demo.
Mike Taylor [Mon, 22 Sep 2014 14:28:25 +0000 (16:28 +0200)]
Towards an SRU widget demo.

10 years agoRewrite /service-proxy/ to the there-is-no-SP page.
Mike Taylor [Mon, 22 Sep 2014 14:23:22 +0000 (16:23 +0200)]
Rewrite /service-proxy/ to the there-is-no-SP page.

10 years agoNew file no-service-proxy.html
Mike Taylor [Mon, 22 Sep 2014 14:21:11 +0000 (16:21 +0200)]
New file no-service-proxy.html

10 years agoMerge branch 'master' into templateallthemarkup
Jason Skomorowski [Mon, 22 Sep 2014 14:14:39 +0000 (10:14 -0400)]
Merge branch 'master' into templateallthemarkup

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Mon, 22 Sep 2014 14:11:33 +0000 (16:11 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:11:27 +0000 (16:11 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:11:05 +0000 (16:11 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:10:57 +0000 (16:10 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:10:40 +0000 (16:10 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:10:18 +0000 (16:10 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:09:49 +0000 (16:09 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:09:42 +0000 (16:09 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:09:35 +0000 (16:09 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:06:43 +0000 (16:06 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:06:38 +0000 (16:06 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:06:22 +0000 (16:06 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:04:23 +0000 (16:04 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP authentication and access.
Mike Taylor [Mon, 22 Sep 2014 14:03:50 +0000 (16:03 +0200)]
Use sp-mkws for SP authentication and access.

10 years agoUse sp-mkws for SP access.
Mike Taylor [Mon, 22 Sep 2014 14:03:36 +0000 (16:03 +0200)]
Use sp-mkws for SP access.

10 years agoUse sp-mkws for SP access.
Mike Taylor [Mon, 22 Sep 2014 14:02:32 +0000 (16:02 +0200)]
Use sp-mkws for SP access.

10 years agoRedirect /service-proxy-auth/ to sp-mkws.indexdata.com, not sp.indexdata.com
Mike Taylor [Mon, 22 Sep 2014 14:01:52 +0000 (16:01 +0200)]
Redirect /service-proxy-auth/ to sp-mkws.indexdata.com, not sp.indexdata.com

10 years agoRedirect /service-proxy-auth/ to sp-mkws.indexdata.com, not sp.indexdata.com
Mike Taylor [Mon, 22 Sep 2014 14:01:48 +0000 (16:01 +0200)]
Redirect /service-proxy-auth/ to sp-mkws.indexdata.com, not sp.indexdata.com

10 years agoRefer to sp-mkws.indexdata.com for all SP/PP2 access.
Mike Taylor [Mon, 22 Sep 2014 14:00:57 +0000 (16:00 +0200)]
Refer to sp-mkws.indexdata.com for all SP/PP2 access.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Mon, 22 Sep 2014 13:39:47 +0000 (13:39 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoswitch to sp-mkws.indexdata.com (was sp-mkc)
Wolfram Schneider [Mon, 22 Sep 2014 13:39:30 +0000 (13:39 +0000)]
switch to sp-mkws.indexdata.com (was sp-mkc)

10 years agoMerge branch 'master' into templateallthemarkup
Jason Skomorowski [Mon, 22 Sep 2014 13:36:28 +0000 (09:36 -0400)]
Merge branch 'master' into templateallthemarkup

10 years agoMerge branch 'master' into templateallthemarkup
Jason Skomorowski [Mon, 22 Sep 2014 13:32:46 +0000 (09:32 -0400)]
Merge branch 'master' into templateallthemarkup

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Mon, 22 Sep 2014 13:17:40 +0000 (15:17 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agouse new sp-mkws-backend as back-end Service Proxy.
Mike Taylor [Mon, 22 Sep 2014 13:17:02 +0000 (15:17 +0200)]
use new sp-mkws-backend as back-end Service Proxy.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
John Malconian [Mon, 22 Sep 2014 13:03:22 +0000 (13:03 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoadd statistics
John Malconian [Mon, 22 Sep 2014 13:03:04 +0000 (13:03 +0000)]
add statistics

10 years agoIgnore link "libexec", which seems to be created as a side-effect of "make check".
Mike Taylor [Mon, 22 Sep 2014 12:56:59 +0000 (14:56 +0200)]
Ignore link "libexec", which seems to be created as a side-effect of "make check".

10 years agoRemove %O from the Apache2 LogFormat.
Mike Taylor [Mon, 22 Sep 2014 12:56:30 +0000 (14:56 +0200)]
Remove %O from the Apache2 LogFormat.
That only works if mod_logio is enabled, which it isn't on Mike's MacBook.

10 years agoLess alarming warning if BSD::Resource module is unavailable.
Mike Taylor [Mon, 22 Sep 2014 12:55:57 +0000 (14:55 +0200)]
Less alarming warning if BSD::Resource module is unavailable.

10 years agoAdd extra line to "make help" output, for slow Internet connections:
Mike Taylor [Mon, 22 Sep 2014 12:55:34 +0000 (14:55 +0200)]
Add extra line to "make help" output, for slow Internet connections:
If 'make check' timeout is too short, extend with: make check PHANTOMJS_TIMEOUT=40

10 years agoAdd commented-out version of local SP URL.
Mike Taylor [Mon, 22 Sep 2014 09:55:14 +0000 (11:55 +0200)]
Add commented-out version of local SP URL.

10 years agoDelete empty mkws_config
Mike Taylor [Mon, 22 Sep 2014 09:46:42 +0000 (11:46 +0200)]
Delete empty mkws_config

10 years agoFix paths for Mike's rejigged filesystem.
Mike Taylor [Mon, 22 Sep 2014 09:34:17 +0000 (11:34 +0200)]
Fix paths for Mike's rejigged filesystem.

10 years agofix service_proxy_auth again
Wolfram Schneider [Tue, 16 Sep 2014 11:14:36 +0000 (11:14 +0000)]
fix service_proxy_auth again

10 years agosetup depends on all target
Wolfram Schneider [Tue, 16 Sep 2014 10:48:52 +0000 (10:48 +0000)]
setup depends on all target

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Tue, 16 Sep 2014 09:51:21 +0000 (09:51 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agokeep reverse proxy in sync with sp-mkws-live, MKWS-268
Wolfram Schneider [Tue, 16 Sep 2014 09:50:35 +0000 (09:50 +0000)]
keep reverse proxy in sync with sp-mkws-live, MKWS-268

10 years agosleep longer after stopping apache
Wolfram Schneider [Mon, 15 Sep 2014 08:43:46 +0000 (08:43 +0000)]
sleep longer after stopping apache

10 years agoservice_proxy_auth: "//sp-mkws.indexdata.com/service-proxy-testauth", MKWS-267
Wolfram Schneider [Mon, 15 Sep 2014 08:40:10 +0000 (08:40 +0000)]
service_proxy_auth: "//sp-mkws.indexdata.com/service-proxy-testauth", MKWS-267

10 years agoconfig.pazpar2_url can be undefined, part of MKWS-253
Wolfram Schneider [Wed, 10 Sep 2014 10:39:50 +0000 (10:39 +0000)]
config.pazpar2_url can be undefined, part of MKWS-253

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

10 years agoprotocol independent SP auth URL
Wolfram Schneider [Wed, 10 Sep 2014 10:21:05 +0000 (10:21 +0000)]
protocol independent SP auth URL

10 years agomkws.indexdata.com -> sp-mkws.indexdata.com, MKWS-266
Wolfram Schneider [Wed, 10 Sep 2014 10:20:23 +0000 (10:20 +0000)]
mkws.indexdata.com -> sp-mkws.indexdata.com, MKWS-266

10 years agofix description of pazpar2_url
Wolfram Schneider [Wed, 10 Sep 2014 08:31:39 +0000 (08:31 +0000)]
fix description of pazpar2_url

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

10 years agoupdate username/pw
Wolfram Schneider [Tue, 9 Sep 2014 15:00:02 +0000 (15:00 +0000)]
update username/pw

10 years agochange widget name to "Wimp"
Wolfram Schneider [Tue, 9 Sep 2014 14:51:28 +0000 (14:51 +0000)]
change widget name to "Wimp"

10 years agowidget that searches WIMP, based on reference UNIVERSE, MKWS-266
Wolfram Schneider [Tue, 9 Sep 2014 14:48:07 +0000 (14:48 +0000)]
widget that searches WIMP, based on reference UNIVERSE, MKWS-266

10 years agoUpdate default configuration to use sp-mkws.indexdata.com for Pazpar2
Mike Taylor [Tue, 9 Sep 2014 12:50:59 +0000 (13:50 +0100)]
Update default configuration to use sp-mkws.indexdata.com for Pazpar2
interactions, including Service Proxy authentication. By default we no
longer authenticate as mkws/mkws, but leave it for referer, hostname
or IP-based authentication to work their magic.

(For now, we always send username/password=XXX/XXX unless told to use
something different by the application. This is a workaround for bug
MKSP-125 and should be changed soon!)

See the manual for details of how to set up authentication:
http://mkws.indexdata.com/mkws-manual.html#authenticating-your-mwks-application-onto-the-library

--

Note that, while existing applications that already set the config item
service_proxy_auth will continue to honour it, those that just use the
default value (mkws/mkws) WILL NO LONGER WORK. This is a BACKWARDS
INCOMPATIBLE CHANGE.

There are two ways to fix this in an application. One is to modify the
application itself so that it sets mkws_config.sp_auth_credentials to
"username/password". The other is to add an end-user record to the
library "DEMO MKWS: the MasterKey Widget Set" which recognises the URL
of the application as a referring URL.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Tue, 9 Sep 2014 12:44:03 +0000 (13:44 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoComment out URL-related settings.
Mike Taylor [Tue, 9 Sep 2014 12:43:57 +0000 (13:43 +0100)]
Comment out URL-related settings.

10 years agomake push to update MKWS docs on the main website
Jason Skomorowski [Thu, 28 Aug 2014 20:40:01 +0000 (16:40 -0400)]
make push to update MKWS docs on the main website

10 years agorequire old jsdom package, "1.0.0-pre.3" does not work for us
Wolfram Schneider [Tue, 26 Aug 2014 14:09:47 +0000 (14:09 +0000)]
require old jsdom package, "1.0.0-pre.3" does not work for us

10 years agoGetter to allow query to be read from team.
Jason Skomorowski [Tue, 26 Aug 2014 00:17:10 +0000 (20:17 -0400)]
Getter to allow query to be read from team.

10 years agoDetails widget
Jason Skomorowski [Sat, 23 Aug 2014 00:36:05 +0000 (20:36 -0400)]
Details widget

10 years agoUse sp_auth_path instead of sp_path.
Mike Taylor [Fri, 22 Aug 2014 11:41:31 +0000 (12:41 +0100)]
Use sp_auth_path instead of sp_path.

10 years agosp_path config item renamed sp_auth_path.
Mike Taylor [Fri, 22 Aug 2014 11:41:14 +0000 (12:41 +0100)]
sp_path config item renamed sp_auth_path.

10 years agoRemove pazpar2_url setting, which is now generated in mkws-core.js
Mike Taylor [Fri, 22 Aug 2014 11:38:19 +0000 (12:38 +0100)]
Remove pazpar2_url setting, which is now generated in mkws-core.js

10 years agoDefault pazpar2_url is now undefined.
Mike Taylor [Fri, 22 Aug 2014 11:37:41 +0000 (12:37 +0100)]
Default pazpar2_url is now undefined.
That means mkws.pazpar2_url() generates it from pieces.
Add new piece pp2_path, with sensible default.

I am not super-happy about how protocol-independent links are
adjusted. It turns out that for some reason it's really important to
get the leading "http:" in front of the pazpar2_url, but NOT the
service_proxy_auth URL. As a result, we have the pazpar2_url()
function consulting document.location.protocol to generate its result
(while the sp_auth_url() function doesn't need to bother), AND we
still have the adjustment code in place but now it only fires when an
explicit pazpar_url configuration item is provided by the application.
It works, but there has to be a cleaner way.

10 years agoRemove comment.
Mike Taylor [Fri, 22 Aug 2014 11:27:15 +0000 (12:27 +0100)]
Remove comment.

10 years agomkws-core.js now also uses the mkws.pazpar2_url() API method.
Mike Taylor [Fri, 22 Aug 2014 10:18:46 +0000 (11:18 +0100)]
mkws-core.js now also uses the mkws.pazpar2_url() API method.

10 years agoChange mkws-widget-categories.js to access the pazpar2 URL via the new
Mike Taylor [Fri, 22 Aug 2014 09:54:35 +0000 (10:54 +0100)]
Change mkws-widget-categories.js to access the pazpar2 URL via the new
API function. But this makes me uneasy -- that seems like too low a
level for the widget to be operating at. I think it should be sending
its categories request via the team's existing m_paz object.

10 years agoAccess the PP2 URL via the new API function.
Mike Taylor [Fri, 22 Aug 2014 09:53:06 +0000 (10:53 +0100)]
Access the PP2 URL via the new API function.

10 years agoProvide access to mkws.config.pazpar2_url (for now) with new API
Mike Taylor [Fri, 22 Aug 2014 09:52:40 +0000 (10:52 +0100)]
Provide access to mkws.config.pazpar2_url (for now) with new API
function mkws.pazpar2_url. We will later go on to make this assemble
the URL from pieces.

10 years agoMerge branch 'master' into templateallthemarkup
Jason Skomorowski [Thu, 21 Aug 2014 20:04:18 +0000 (16:04 -0400)]
Merge branch 'master' into templateallthemarkup

10 years agoUpdate jasmine sample docs to use templates and new handlebars.
Jason Skomorowski [Thu, 21 Aug 2014 19:44:41 +0000 (15:44 -0400)]
Update jasmine sample docs to use templates and new handlebars.