mkws-moved-to-github.git
11 years agoNew file, index-local.html
Mike Taylor [Thu, 27 Jun 2013 14:40:28 +0000 (16:40 +0200)]
New file, index-local.html

This is identical to index.html, except that all static resources
(mkwsStyle.css and mkws.js) are drawn from the local host rather than
the live MKWS. This makes it easy to do purely local development.

11 years agoLose some <hr>s
Mike Taylor [Thu, 27 Jun 2013 14:37:02 +0000 (16:37 +0200)]
Lose some <hr>s

11 years agoclass="facet", not "termlist", as that confuses with id="termlist"
Mike Taylor [Thu, 27 Jun 2013 14:32:10 +0000 (16:32 +0200)]
class="facet", not "termlist", as that confuses with id="termlist"

11 years agoBetter structure for termlist HTML.
Mike Taylor [Thu, 27 Jun 2013 14:30:52 +0000 (16:30 +0200)]
Better structure for termlist HTML.
TERMLISTS heading renamed to Termlist

11 years agomy_onstat() generates more structured HTML.
Mike Taylor [Thu, 27 Jun 2013 14:01:07 +0000 (16:01 +0200)]
my_onstat() generates more structured HTML.

11 years agoMove text of Status div down into stylesheet.
Mike Taylor [Thu, 27 Jun 2013 14:00:37 +0000 (16:00 +0200)]
Move text of Status div down into stylesheet.

11 years agoReorder.
Mike Taylor [Thu, 27 Jun 2013 13:55:43 +0000 (15:55 +0200)]
Reorder.

11 years agoFloat the #mkwsLang div to the left.
Mike Taylor [Thu, 27 Jun 2013 12:41:09 +0000 (14:41 +0200)]
Float the #mkwsLang div to the left.

11 years agoReorder styles.
Mike Taylor [Thu, 27 Jun 2013 12:38:54 +0000 (14:38 +0200)]
Reorder styles.

11 years agoMake <hr> elements non-display. Bam, instantly cleaner!
Mike Taylor [Thu, 27 Jun 2013 12:38:38 +0000 (14:38 +0200)]
Make <hr> elements non-display. Bam, instantly cleaner!

11 years agoswitchView() supports argument 'none'
Mike Taylor [Thu, 27 Jun 2013 11:58:43 +0000 (13:58 +0200)]
switchView() supports argument 'none'

11 years agoDon't try to toggle blanket if it's not defined.
Mike Taylor [Thu, 27 Jun 2013 11:49:26 +0000 (13:49 +0200)]
Don't try to toggle blanket if it's not defined.

11 years agoAdd code to control display of #mkwsBlanket, if defined.
Mike Taylor [Thu, 27 Jun 2013 11:42:56 +0000 (13:42 +0200)]
Add code to control display of #mkwsBlanket, if defined.

11 years agoSwitch to records view when a search is submitted.
Mike Taylor [Thu, 27 Jun 2013 11:34:28 +0000 (13:34 +0200)]
Switch to records view when a search is submitted.

11 years agoSimplify configuration
Mike Taylor [Thu, 27 Jun 2013 11:13:44 +0000 (13:13 +0200)]
Simplify configuration

11 years agoSimplify, make less verbose.
Mike Taylor [Thu, 27 Jun 2013 11:12:13 +0000 (13:12 +0200)]
Simplify, make less verbose.

11 years agoGet original from input headers, not output.
Mike Taylor [Thu, 27 Jun 2013 11:08:46 +0000 (13:08 +0200)]
Get original from input headers, not output.
Add logging.

11 years agoTweak path
Mike Taylor [Thu, 27 Jun 2013 11:07:35 +0000 (11:07 +0000)]
Tweak path

11 years agoInvoke new mod_perl output-filter SetACAO instead of configuring the
Mike Taylor [Thu, 27 Jun 2013 11:02:13 +0000 (13:02 +0200)]
Invoke new mod_perl output-filter SetACAO instead of configuring the
Access-Control-Allow-Origin header directly in the Apache2
configuration file. This allows us to emit the name of the origin
right back at it, which makes it possible to send credentials.

11 years agoNew file, mod_perl output filter SetACOA.pm
Mike Taylor [Thu, 27 Jun 2013 11:00:56 +0000 (13:00 +0200)]
New file, mod_perl output filter SetACOA.pm

11 years agoStill not working when Access-Control-Allow-Origin is "*",
Mike Taylor [Thu, 27 Jun 2013 08:54:36 +0000 (10:54 +0200)]
Still not working when Access-Control-Allow-Origin is "*",
seems to need explicit "http://somesite.indexdata.com".

11 years agoGot to be.
Mike Taylor [Thu, 27 Jun 2013 08:47:54 +0000 (10:47 +0200)]
Got to be.

11 years agoOh, come ON.
Mike Taylor [Thu, 27 Jun 2013 08:43:07 +0000 (10:43 +0200)]
Oh, come ON.

11 years agoComment out first ACAO header.
Mike Taylor [Thu, 27 Jun 2013 08:40:51 +0000 (10:40 +0200)]
Comment out first ACAO header.

11 years agoReverse headers.
Mike Taylor [Thu, 27 Jun 2013 08:40:12 +0000 (10:40 +0200)]
Reverse headers.

11 years agoTry header add
Mike Taylor [Thu, 27 Jun 2013 08:38:51 +0000 (10:38 +0200)]
Try header add

11 years agoRevert
Mike Taylor [Thu, 27 Jun 2013 08:38:00 +0000 (10:38 +0200)]
Revert

11 years agoAnother attempt to broaden Access-Control-Allow-Origin to "*"
Mike Taylor [Thu, 27 Jun 2013 08:34:56 +0000 (10:34 +0200)]
Another attempt to broaden Access-Control-Allow-Origin to "*"

11 years agoUse demo/demo instead of guest/guest
Mike Taylor [Wed, 26 Jun 2013 15:34:57 +0000 (17:34 +0200)]
Use demo/demo instead of guest/guest

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 26 Jun 2013 15:33:40 +0000 (17:33 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

11 years agoSP is proxied to donut, so Jakub can play with it.
Mike Taylor [Wed, 26 Jun 2013 15:33:15 +0000 (17:33 +0200)]
SP is proxied to donut, so Jakub can play with it.

11 years agoRefine stylesheet so it affects nothing outside of MKWS components
Mike Taylor [Wed, 26 Jun 2013 15:18:21 +0000 (15:18 +0000)]
Refine stylesheet so it affects nothing outside of MKWS components

11 years agoRevert. Bugger.
Mike Taylor [Wed, 26 Jun 2013 15:02:00 +0000 (17:02 +0200)]
Revert. Bugger.

11 years agoQuotes?
Mike Taylor [Wed, 26 Jun 2013 15:00:55 +0000 (17:00 +0200)]
Quotes?

11 years agoAllow ANY Access-Control-Allow-Origin, because inexplicable there is
Mike Taylor [Wed, 26 Jun 2013 14:59:51 +0000 (16:59 +0200)]
Allow ANY Access-Control-Allow-Origin, because inexplicable there is
no way to specify multiple individual origins. What the hell?

11 years agoAllow ACAO from mike.indexdata.com
Mike Taylor [Wed, 26 Jun 2013 14:56:41 +0000 (16:56 +0200)]
Allow ACAO from mike.indexdata.com

11 years agojQuery plugin version get JS and CSS from MKWS site.
Mike Taylor [Wed, 26 Jun 2013 14:43:47 +0000 (16:43 +0200)]
jQuery plugin version get JS and CSS from MKWS site.
Script all on one line.

11 years agoNo longer refer to obsolete index-simple.html
Mike Taylor [Wed, 26 Jun 2013 14:43:22 +0000 (16:43 +0200)]
No longer refer to obsolete index-simple.html

11 years agoRemove index-simple.html, as it is now identical to index.html
Mike Taylor [Wed, 26 Jun 2013 14:41:30 +0000 (16:41 +0200)]
Remove index-simple.html, as it is now identical to index.html

11 years agoRemove footer <div> and Index Data boilerplate.
Mike Taylor [Wed, 26 Jun 2013 14:41:05 +0000 (16:41 +0200)]
Remove footer <div> and Index Data boilerplate.

11 years agoRemove unnecessary HTML header.
Mike Taylor [Wed, 26 Jun 2013 14:39:44 +0000 (16:39 +0200)]
Remove unnecessary HTML header.

11 years agoFix links to get mkws-complete.js and mkwsStyle.css from MKWS.
Mike Taylor [Wed, 26 Jun 2013 14:39:25 +0000 (16:39 +0200)]
Fix links to get mkws-complete.js and mkwsStyle.css from MKWS.

11 years agoRemove no-longer-needed MKWS options block.
Mike Taylor [Wed, 26 Jun 2013 14:39:04 +0000 (16:39 +0200)]
Remove no-longer-needed MKWS options block.

11 years agoDefault SP and SP-auth addresses are on mkws.
Mike Taylor [Wed, 26 Jun 2013 14:35:38 +0000 (16:35 +0200)]
Default SP and SP-auth addresses are on mkws.

11 years agoFormatting.
Mike Taylor [Wed, 26 Jun 2013 14:18:08 +0000 (16:18 +0200)]
Formatting.

11 years agoUpdated top-level MKWS index.html
Mike Taylor [Wed, 26 Jun 2013 14:17:15 +0000 (16:17 +0200)]
Updated top-level MKWS index.html

11 years agoRemove unneeded SP rewrite.
Mike Taylor [Wed, 26 Jun 2013 13:48:04 +0000 (15:48 +0200)]
Remove unneeded SP rewrite.

11 years agoUse service-proxy-auth
Mike Taylor [Wed, 26 Jun 2013 13:45:50 +0000 (15:45 +0200)]
Use service-proxy-auth

11 years agoComment out all the beautiful special-cookie-handling code.
Mike Taylor [Wed, 26 Jun 2013 13:41:23 +0000 (15:41 +0200)]
Comment out all the beautiful special-cookie-handling code.

11 years agoSimplified SP auth URL that hides credentials.
Mike Taylor [Wed, 26 Jun 2013 13:12:01 +0000 (15:12 +0200)]
Simplified SP auth URL that hides credentials.

11 years agoRemove extraneous debugging output.
Mike Taylor [Wed, 26 Jun 2013 13:04:20 +0000 (15:04 +0200)]
Remove extraneous debugging output.

11 years agoDon't bother copying X-Cake to Cookie if it's empty.
Mike Taylor [Wed, 26 Jun 2013 13:03:54 +0000 (15:03 +0200)]
Don't bother copying X-Cake to Cookie if it's empty.

11 years agoX-Set-Cake instead of cookie.
Mike Taylor [Wed, 26 Jun 2013 12:57:37 +0000 (14:57 +0200)]
X-Set-Cake instead of cookie.
Jakub thinks this is a good idea.

11 years agoSet X-Set-Cookie only when there is a cookie.
Mike Taylor [Wed, 26 Jun 2013 12:55:17 +0000 (14:55 +0200)]
Set X-Set-Cookie only when there is a cookie.

11 years agoGet mkws.js from MKWS host.
Mike Taylor [Wed, 26 Jun 2013 12:48:54 +0000 (14:48 +0200)]
Get mkws.js from MKWS host.

11 years agoGet stylesheet from MKWS host.
Mike Taylor [Wed, 26 Jun 2013 12:48:16 +0000 (14:48 +0200)]
Get stylesheet from MKWS host.
use_service_proxy is true by default.

11 years agoSimplify somesite configuration.
Mike Taylor [Wed, 26 Jun 2013 12:46:20 +0000 (14:46 +0200)]
Simplify somesite configuration.
Reduce it to minimal form, reorder, move to top.

11 years agoRename
Mike Taylor [Wed, 26 Jun 2013 12:45:42 +0000 (14:45 +0200)]
Rename

11 years agoRename
Mike Taylor [Wed, 26 Jun 2013 12:45:28 +0000 (14:45 +0200)]
Rename

11 years agoRename
Mike Taylor [Wed, 26 Jun 2013 12:45:06 +0000 (14:45 +0200)]
Rename

11 years agoTypo
Mike Taylor [Wed, 26 Jun 2013 12:40:52 +0000 (14:40 +0200)]
Typo

11 years agoFilter on both input and output.
Mike Taylor [Wed, 26 Jun 2013 12:40:13 +0000 (14:40 +0200)]
Filter on both input and output.
Only apply filter within <Location>

11 years agoAdd code to copy cookies back through from client.
Mike Taylor [Wed, 26 Jun 2013 12:36:33 +0000 (14:36 +0200)]
Add code to copy cookies back through from client.

11 years agoCopy data
Mike Taylor [Wed, 26 Jun 2013 12:25:27 +0000 (14:25 +0200)]
Copy data

11 years agoGet rid of tmp file.
Mike Taylor [Wed, 26 Jun 2013 12:06:04 +0000 (14:06 +0200)]
Get rid of tmp file.

11 years agoAlways use PerlOutputFilterHandler, not just on /service-proxy/
Mike Taylor [Wed, 26 Jun 2013 12:03:47 +0000 (14:03 +0200)]
Always use PerlOutputFilterHandler, not just on /service-proxy/

11 years agoAdd warning.
Mike Taylor [Wed, 26 Jun 2013 12:01:52 +0000 (14:01 +0200)]
Add warning.

11 years agoRevert
Mike Taylor [Wed, 26 Jun 2013 12:00:35 +0000 (14:00 +0200)]
Revert

11 years agoevert
Mike Taylor [Wed, 26 Jun 2013 11:59:17 +0000 (13:59 +0200)]
evert

11 years agoName specific method for PerlOutputFilterHandler
Mike Taylor [Wed, 26 Jun 2013 11:57:29 +0000 (13:57 +0200)]
Name specific method for PerlOutputFilterHandler

11 years agoRename handler() to copy_cookie()
Mike Taylor [Wed, 26 Jun 2013 11:57:03 +0000 (13:57 +0200)]
Rename handler() to copy_cookie()

11 years agoHorrible horrible
Mike Taylor [Wed, 26 Jun 2013 11:44:19 +0000 (13:44 +0200)]
Horrible horrible

11 years agoAdd debugging
Mike Taylor [Wed, 26 Jun 2013 11:40:54 +0000 (13:40 +0200)]
Add debugging

11 years agoReformat Perl code.
Mike Taylor [Wed, 26 Jun 2013 11:39:31 +0000 (13:39 +0200)]
Reformat Perl code.

11 years agoNew
Mike Taylor [Wed, 26 Jun 2013 11:38:33 +0000 (11:38 +0000)]
New

11 years agomod_perl setup
Mike Taylor [Wed, 26 Jun 2013 11:38:10 +0000 (11:38 +0000)]
mod_perl setup

11 years agoI hate myself.
Mike Taylor [Wed, 26 Jun 2013 09:20:32 +0000 (11:20 +0200)]
I hate myself.

11 years agoNext try.
Mike Taylor [Wed, 26 Jun 2013 09:01:09 +0000 (11:01 +0200)]
Next try.

11 years agoThis won't work.
Mike Taylor [Wed, 26 Jun 2013 08:48:26 +0000 (10:48 +0200)]
This won't work.

11 years agoJakub's vile hack.
Mike Taylor [Wed, 26 Jun 2013 08:44:48 +0000 (10:44 +0200)]
Jakub's vile hack.

11 years agoTesting
Mike Taylor [Tue, 25 Jun 2013 15:42:00 +0000 (17:42 +0200)]
Testing

11 years agoRemove commented-out lines.
Mike Taylor [Tue, 25 Jun 2013 15:19:15 +0000 (17:19 +0200)]
Remove commented-out lines.

11 years agoRemove Access-Control-Allow-Headers nonsense.
Mike Taylor [Tue, 25 Jun 2013 15:16:11 +0000 (17:16 +0200)]
Remove Access-Control-Allow-Headers nonsense.
Comment out unneeded complexities of Somesite config.

11 years agoUgh
Mike Taylor [Tue, 25 Jun 2013 15:09:42 +0000 (17:09 +0200)]
Ugh

11 years ago8sigh*
Mike Taylor [Tue, 25 Jun 2013 15:08:17 +0000 (17:08 +0200)]
8sigh*

11 years agoRemove now-unnecessary ProxyPassReverseCookiePath.
Mike Taylor [Tue, 25 Jun 2013 14:50:27 +0000 (16:50 +0200)]
Remove now-unnecessary ProxyPassReverseCookiePath.
(Well, *I* think it's unnecessary)

11 years agoTry to use pz2 API instead of jQuery for initial auth call.
Mike Taylor [Tue, 25 Jun 2013 14:40:46 +0000 (16:40 +0200)]
Try to use pz2 API instead of jQuery for initial auth call.

11 years agoTake that, evil guy
Mike Taylor [Tue, 25 Jun 2013 14:32:37 +0000 (14:32 +0000)]
Take that, evil guy

11 years agoCookie domain -- workaround for apache bug
Jakub Skoczen [Tue, 25 Jun 2013 14:27:02 +0000 (16:27 +0200)]
Cookie domain -- workaround for apache bug

11 years agoThis'll work.
Mike Taylor [Tue, 25 Jun 2013 14:24:15 +0000 (16:24 +0200)]
This'll work.

11 years agoTHis time for sure.
Mike Taylor [Tue, 25 Jun 2013 14:23:09 +0000 (16:23 +0200)]
THis time for sure.

11 years agoNo way
Mike Taylor [Tue, 25 Jun 2013 14:21:37 +0000 (16:21 +0200)]
No way

11 years agofingers crossed
Mike Taylor [Tue, 25 Jun 2013 14:19:33 +0000 (16:19 +0200)]
fingers crossed

11 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Tue, 25 Jun 2013 14:17:04 +0000 (14:17 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

11 years agoimport mkws-complete.js - to make it work immediately after a git checkout
Wolfram Schneider [Tue, 25 Jun 2013 14:16:21 +0000 (14:16 +0000)]
import mkws-complete.js - to make it work immediately after a git checkout

11 years agolink to jquery and small page
Wolfram Schneider [Tue, 25 Jun 2013 14:16:00 +0000 (14:16 +0000)]
link to jquery and small page

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Jakub Skoczen [Tue, 25 Jun 2013 14:14:10 +0000 (16:14 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

11 years agoExtend cookie applicability
Jakub Skoczen [Tue, 25 Jun 2013 14:13:44 +0000 (16:13 +0200)]
Extend cookie applicability

11 years agoDepend on ../../../libjs-pz2/pz2api.1.js
Mike Taylor [Tue, 25 Jun 2013 14:11:29 +0000 (16:11 +0200)]
Depend on ../../../libjs-pz2/pz2api.1.js

11 years agouse typeof to check if a parameter is set
Wolfram Schneider [Tue, 25 Jun 2013 14:00:22 +0000 (14:00 +0000)]
use typeof to check if a parameter is set