mkws-moved-to-github.git
10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Mon, 7 Jul 2014 12:10:23 +0000 (12:10 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agomake sort by check optional
Wolfram Schneider [Mon, 7 Jul 2014 11:55:43 +0000 (11:55 +0000)]
make sort by check optional

10 years agotypo
Wolfram Schneider [Mon, 7 Jul 2014 11:38:01 +0000 (11:38 +0000)]
typo

10 years agoless debugging
Wolfram Schneider [Mon, 7 Jul 2014 11:30:09 +0000 (11:30 +0000)]
less debugging

10 years agoimprove help
Wolfram Schneider [Mon, 7 Jul 2014 11:30:02 +0000 (11:30 +0000)]
improve help

10 years agoremove facets links one after each other, not a the same time
Wolfram Schneider [Mon, 7 Jul 2014 11:23:27 +0000 (11:23 +0000)]
remove facets links one after each other, not a the same time

Sometimes the facets links disappears, but the new search results
does not appears. But it is very unlikely that a user clicks
both links a the same time, so don't do that in a jasmine test.

10 years agoless debugging
Wolfram Schneider [Mon, 7 Jul 2014 11:09:44 +0000 (11:09 +0000)]
less debugging

10 years agobetter readable CSS path for records/targets link
Wolfram Schneider [Mon, 7 Jul 2014 11:07:48 +0000 (11:07 +0000)]
better readable CSS path for records/targets link

10 years agoTidy up other SP authentication message.
Mike Taylor [Mon, 7 Jul 2014 11:05:56 +0000 (12:05 +0100)]
Tidy up other SP authentication message.

10 years agoBetter diagnostics when SP authentication fails.
Mike Taylor [Mon, 7 Jul 2014 11:05:11 +0000 (12:05 +0100)]
Better diagnostics when SP authentication fails.

10 years agoWe don't need the .gitignore any longer, as no compiled files are left in the src...
Mike Taylor [Mon, 7 Jul 2014 11:02:42 +0000 (12:02 +0100)]
We don't need the .gitignore any longer, as no compiled files are left in the src directory

10 years agoworking sort check, MKWS-140
Wolfram Schneider [Mon, 7 Jul 2014 10:59:38 +0000 (10:59 +0000)]
working sort check, MKWS-140

10 years agoProxyPreserveHost On
Mike Taylor [Mon, 7 Jul 2014 10:59:23 +0000 (11:59 +0100)]
ProxyPreserveHost On

10 years agocheck that we got exactly 20 records after select change
Wolfram Schneider [Mon, 7 Jul 2014 10:31:00 +0000 (10:31 +0000)]
check that we got exactly 20 records after select change

10 years agotrigger change event after changing per page value
Wolfram Schneider [Mon, 7 Jul 2014 10:24:27 +0000 (10:24 +0000)]
trigger change event after changing per page value

10 years agoFor now, hardwire to use sansa.
Mike Taylor [Mon, 7 Jul 2014 10:18:25 +0000 (11:18 +0100)]
For now, hardwire to use sansa.
Will reset after SP configuration debugging.

10 years agoClearer commenting on SP proxying options.
Mike Taylor [Mon, 7 Jul 2014 10:17:53 +0000 (11:17 +0100)]
Clearer commenting on SP proxying options.

10 years agowait for DOM change after removing facet limit links
Wolfram Schneider [Mon, 7 Jul 2014 09:36:54 +0000 (09:36 +0000)]
wait for DOM change after removing facet limit links

10 years agoindent
Wolfram Schneider [Mon, 7 Jul 2014 09:36:39 +0000 (09:36 +0000)]
indent

10 years agoJasmine test should check that sorting works, MKWS-140
Wolfram Schneider [Mon, 7 Jul 2014 08:55:17 +0000 (08:55 +0000)]
Jasmine test should check that sorting works, MKWS-140

10 years agoRemove configuration for sp-mkws.indexdata.com, now in its own Apache2
Mike Taylor [Mon, 7 Jul 2014 08:50:32 +0000 (09:50 +0100)]
Remove configuration for sp-mkws.indexdata.com, now in its own Apache2
configuration fragment sp-mkws-live, as this is a separate service
that could be on a different host.

10 years agoNew file sp-mkws-live, extracted from mkws-live.
Mike Taylor [Mon, 7 Jul 2014 08:49:43 +0000 (09:49 +0100)]
New file sp-mkws-live, extracted from mkws-live.
This is a separate service that could be on a different host.

10 years agoSet pazpar2_url and service_proxy_auth both to point at sp-mkws.
Mike Taylor [Mon, 7 Jul 2014 08:48:46 +0000 (09:48 +0100)]
Set pazpar2_url and service_proxy_auth both to point at sp-mkws.

10 years agoUse mkws.$.toJSON rather than regular-ass $.toJSON
Mike Taylor [Fri, 4 Jul 2014 14:38:11 +0000 (15:38 +0100)]
Use mkws.$.toJSON rather than regular-ass $.toJSON

10 years agodefault target runs "make install" (not "make all") in doc subdirectory.
Mike Taylor [Fri, 4 Jul 2014 14:13:29 +0000 (15:13 +0100)]
default target runs "make install" (not "make all") in doc subdirectory.

10 years agoUse chmod ugo-w for installed files, rather than just -w, which
Mike Taylor [Fri, 4 Jul 2014 14:12:52 +0000 (15:12 +0100)]
Use chmod ugo-w for installed files, rather than just -w, which
sometimes fails oddly on caliban:

caliban$ whoami
mike
caliban$ cd /home/indexdata/mkws/tools/htdocs
caliban$ ls -l mkws-doc.css
-r--rw-r-- 1 mike users 1242 Apr 17 11:34 mkws-doc.css
caliban$ chmod -w mkws-doc.css
chmod: mkws-doc.css: new permissions are r--rw-r--, not r--r--r--
caliban$ ls -l mkws-doc.css
-r--rw-r-- 1 mike users 1242 Apr 17 11:34 mkws-doc.css
caliban$

10 years agodowngrade jasmine-reporters, MKWS-236
Wolfram Schneider [Fri, 4 Jul 2014 10:39:54 +0000 (12:39 +0200)]
downgrade jasmine-reporters, MKWS-236

10 years agoalways use .tmp extension for temporary files generated by make.
Wolfram Schneider [Fri, 4 Jul 2014 09:57:36 +0000 (11:57 +0200)]
always use .tmp extension for temporary files generated by make.

We used a mix of .tmp and .new, which is kinda confusing.

10 years agogeneration of mkws.js must be atomar
Wolfram Schneider [Fri, 4 Jul 2014 09:55:16 +0000 (11:55 +0200)]
generation of mkws.js must be atomar

10 years agoIndentation
Mike Taylor [Thu, 3 Jul 2014 16:34:19 +0000 (17:34 +0100)]
Indentation

10 years agoUse sp-mkws for service-proxy authentication.
Mike Taylor [Thu, 3 Jul 2014 16:33:28 +0000 (17:33 +0100)]
Use sp-mkws for service-proxy authentication.

10 years ago"make" now does "make all"
Mike Taylor [Thu, 3 Jul 2014 16:30:09 +0000 (17:30 +0100)]
"make" now does "make all"

10 years agoNew stanza for sp-mkws.indexdata.com
Mike Taylor [Thu, 3 Jul 2014 16:28:47 +0000 (17:28 +0100)]
New stanza for sp-mkws.indexdata.com

10 years agoTypo
Mike Taylor [Thu, 3 Jul 2014 16:23:53 +0000 (17:23 +0100)]
Typo

10 years agoAdd stub index.html to sp-htdocs
Mike Taylor [Thu, 3 Jul 2014 16:23:50 +0000 (17:23 +0100)]
Add stub index.html to sp-htdocs

10 years agoNot sure why this was still around
Mike Taylor [Thu, 3 Jul 2014 16:19:51 +0000 (17:19 +0100)]
Not sure why this was still around

10 years agoAdd SSL proxying support for sp-mkws.indexdata.com
Mike Taylor [Thu, 3 Jul 2014 16:15:50 +0000 (17:15 +0100)]
Add SSL proxying support for sp-mkws.indexdata.com

10 years agoSSL version of MKWS Apache2 config now has mkws-git as a ServerAlias
Mike Taylor [Thu, 3 Jul 2014 16:15:26 +0000 (17:15 +0100)]
SSL version of MKWS Apache2 config now has mkws-git as a ServerAlias
rather then the old, misleadingly named mkws-dev (which isn't
supported at the back-end).

10 years agoRemove trailing whitespace.
Mike Taylor [Thu, 3 Jul 2014 16:13:25 +0000 (17:13 +0100)]
Remove trailing whitespace.

10 years agoRemove arbitrary distclean rule.
Mike Taylor [Thu, 3 Jul 2014 11:16:10 +0000 (12:16 +0100)]
Remove arbitrary distclean rule.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Thu, 3 Jul 2014 10:47:35 +0000 (10:47 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoenable to set path of jasmine HTML page
Wolfram Schneider [Thu, 3 Jul 2014 10:44:57 +0000 (10:44 +0000)]
enable to set path of jasmine HTML page

e.g.:
APACHE_PORT=5050 DEBUG=0 make -s phantomjs PHANTOMJS_PATH=jasmine-pp2.html

10 years agoAdd ServerAlias for sp-mkws.indexdata.com
Mike Taylor [Thu, 3 Jul 2014 10:35:32 +0000 (10:35 +0000)]
Add ServerAlias for sp-mkws.indexdata.com

10 years agomore cleanup
Wolfram Schneider [Thu, 3 Jul 2014 10:12:28 +0000 (10:12 +0000)]
more cleanup

10 years agocleanup
Wolfram Schneider [Thu, 3 Jul 2014 10:11:39 +0000 (10:11 +0000)]
cleanup

10 years agoimport mkws test settings, used by jasmine-pp2.html
Wolfram Schneider [Thu, 3 Jul 2014 10:10:41 +0000 (10:10 +0000)]
import mkws test settings, used by jasmine-pp2.html

10 years agoAdd commented-out non-proxied version of the SP auth URL.
Mike Taylor [Wed, 2 Jul 2014 16:23:37 +0000 (17:23 +0100)]
Add commented-out non-proxied version of the SP auth URL.

This DOES NOT work: the error message in the JavaScript console is:

XMLHttpRequest cannot load http://sp-mkc-sansa.indexdata.com:8080/service-proxy/?command=auth&action=check,login&username=orex&password=orexmkc. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://x.example.indexdata.com' is therefore not allowed access.

I think this must be because of the mod_perl magic on
mkws.indexdata.com, which I'd all but forgotten about. From
mkws/tools/apache2/mkws-live:

    PerlOptions +Parent
    PerlSwitches -I/home/indexdata/mkws/tools/mod_perl
    <Location /service-proxy>
        PerlOutputFilterHandler MyApache2::SetACAO
    </Location>

10 years agoExplicit SP auth URL.
Mike Taylor [Wed, 2 Jul 2014 16:11:08 +0000 (17:11 +0100)]
Explicit SP auth URL.

10 years agoWhitespace
Mike Taylor [Wed, 2 Jul 2014 16:08:55 +0000 (17:08 +0100)]
Whitespace

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 2 Jul 2014 15:00:11 +0000 (16:00 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoComment on other SP URLs that go direct to sansa or arya
Mike Taylor [Wed, 2 Jul 2014 14:37:45 +0000 (15:37 +0100)]
Comment on other SP URLs that go direct to sansa or arya

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Wed, 2 Jul 2014 13:02:54 +0000 (13:02 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoneed to use mkws.$, not jQuery, part of mkws-226
Wolfram Schneider [Wed, 2 Jul 2014 13:00:33 +0000 (13:00 +0000)]
need to use mkws.$, not jQuery, part of mkws-226

this will fix the issue with the $.pazpar2() extention

10 years agoMajor rewrite of library configuration text.
Mike Taylor [Wed, 2 Jul 2014 11:49:38 +0000 (12:49 +0100)]
Major rewrite of library configuration text.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 2 Jul 2014 10:46:07 +0000 (11:46 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoenable to run the tests on a different port.
Wolfram Schneider [Wed, 2 Jul 2014 09:14:37 +0000 (11:14 +0200)]
enable to run the tests on a different port.

APACHE_PORT=5000 make check

thats helpfull if the port is already blocked by some other users.

10 years agousing VPATH was a sweet idea, but it is to error-prone. Using direct path instead.
Wolfram Schneider [Wed, 2 Jul 2014 09:03:53 +0000 (09:03 +0000)]
using VPATH was a sweet idea, but it is to error-prone. Using direct path instead.

10 years agoMerge remote branch 'origin/MKWS-229'
Wolfram Schneider [Wed, 2 Jul 2014 08:55:07 +0000 (08:55 +0000)]
Merge remote branch 'origin/MKWS-229'

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Wed, 2 Jul 2014 08:49:06 +0000 (08:49 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agomake check should run the phantomjs tests as well, MKWS-233
Wolfram Schneider [Wed, 2 Jul 2014 08:48:55 +0000 (08:48 +0000)]
make check should run the phantomjs tests as well, MKWS-233

10 years agocleanup stale code
Wolfram Schneider [Wed, 2 Jul 2014 08:47:26 +0000 (08:47 +0000)]
cleanup stale code

10 years agoFormatting
Mike Taylor [Tue, 1 Jul 2014 17:47:41 +0000 (18:47 +0100)]
Formatting

10 years agoNew section (empty)
Mike Taylor [Tue, 1 Jul 2014 17:44:15 +0000 (18:44 +0100)]
New section (empty)

10 years agoBetter description of setting SP auth URL.
Mike Taylor [Tue, 1 Jul 2014 17:29:24 +0000 (18:29 +0100)]
Better description of setting SP auth URL.

10 years agoUpdate information on target selection within the library.
Mike Taylor [Tue, 1 Jul 2014 15:47:52 +0000 (16:47 +0100)]
Update information on target selection within the library.

10 years agouse Orex library, no autosearch
Mike Taylor [Fri, 27 Jun 2014 17:06:14 +0000 (18:06 +0100)]
use Orex library, no autosearch

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws into MKWS-229
Wolfram Schneider [Fri, 27 Jun 2014 15:04:54 +0000 (17:04 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws into MKWS-229

10 years agoAdd new /service-proxy-orexauth rewrite-rule.
Mike Taylor [Fri, 27 Jun 2014 14:52:13 +0000 (15:52 +0100)]
Add new /service-proxy-orexauth rewrite-rule.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws into MKWS-229
Wolfram Schneider [Fri, 27 Jun 2014 14:47:12 +0000 (16:47 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws into MKWS-229

10 years agofix pathes for new mkws.js build process
Wolfram Schneider [Fri, 27 Jun 2014 14:46:55 +0000 (16:46 +0200)]
fix pathes for new mkws.js build process

10 years agore-organize mkws.js build process, MKWS-229
Wolfram Schneider [Fri, 27 Jun 2014 14:32:52 +0000 (16:32 +0200)]
re-organize mkws.js build process, MKWS-229

10 years agodon't depend on /usr/bin/perl, use your default perl interpreter
Wolfram Schneider [Fri, 27 Jun 2014 14:31:19 +0000 (16:31 +0200)]
don't depend on /usr/bin/perl, use your default perl interpreter

10 years agofix package usage
Wolfram Schneider [Fri, 27 Jun 2014 14:31:06 +0000 (16:31 +0200)]
fix package usage

10 years agofinish debugging
Wolfram Schneider [Fri, 27 Jun 2014 14:28:34 +0000 (16:28 +0200)]
finish debugging

10 years agokeep directoy ./src/releases in git
Wolfram Schneider [Fri, 27 Jun 2014 14:09:37 +0000 (16:09 +0200)]
keep directoy ./src/releases in git

10 years agoremove comments
Wolfram Schneider [Fri, 27 Jun 2014 11:56:56 +0000 (13:56 +0200)]
remove comments

10 years agomake the package BSD::Resource optional
Wolfram Schneider [Fri, 27 Jun 2014 11:54:52 +0000 (13:54 +0200)]
make the package BSD::Resource optional

You should install the package on a server, but it does
not hurt if it is missing.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Mike Taylor [Fri, 27 Jun 2014 10:19:54 +0000 (10:19 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoAdd aliases for /tools/htdocs/, /src/, /jasmine/ and /test/ to Apache2 configuration...
Mike Taylor [Fri, 27 Jun 2014 10:19:41 +0000 (10:19 +0000)]
Add aliases for /tools/htdocs/, /src/, /jasmine/ and /test/ to Apache2 configuration for example.indexdata.com. Allows example.indexdata.com/jasmine-popup.html to run successfully

10 years agoperl warnings
Wolfram Schneider [Fri, 27 Jun 2014 09:43:09 +0000 (11:43 +0200)]
perl warnings

10 years agoset CPU limit, in case the alarm handler will be ignored, MKWS-157
Wolfram Schneider [Fri, 27 Jun 2014 09:36:17 +0000 (11:36 +0200)]
set CPU limit, in case the alarm handler will be ignored, MKWS-157

10 years agoupdate debian package list
Wolfram Schneider [Fri, 27 Jun 2014 09:33:01 +0000 (11:33 +0200)]
update debian package list

10 years agoChange use of maybe-defined "mkws_jQuery" to avoid assigning to an undefined variable.
Mike Taylor [Fri, 27 Jun 2014 09:05:30 +0000 (10:05 +0100)]
Change use of maybe-defined "mkws_jQuery" to avoid assigning to an undefined variable.
Fixes the "make phantomjs" Jenkins error:
Strict mode forbids implicit creation of global property 'mkws_jQuery'

Note: not yet tested as part of installation (which we need so we can
check that Seb's widgets embedded in the blog still work). I am
pushing so that I can onto the live site and verify that. If there's a
problem there, I'll revert and try again.

10 years agoIgnore "logs/mkws-jasmine.pid", generated by tests.
Mike Taylor [Fri, 27 Jun 2014 09:00:33 +0000 (10:00 +0100)]
Ignore "logs/mkws-jasmine.pid", generated by tests.

10 years agoNeed a proper test for undefined.
Jason Skomorowski [Tue, 24 Jun 2014 16:17:20 +0000 (12:17 -0400)]
Need a proper test for undefined.

10 years agoFix jQuery fix, $ gets clobbered by make even in single quotes.
Jason Skomorowski [Tue, 24 Jun 2014 16:10:36 +0000 (12:10 -0400)]
Fix jQuery fix, $ gets clobbered by make even in single quotes.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Jason Skomorowski [Tue, 24 Jun 2014 15:36:32 +0000 (11:36 -0400)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoIsolate our version of jQuery in mkws-complete.js
Jason Skomorowski [Tue, 24 Jun 2014 15:35:14 +0000 (11:35 -0400)]
Isolate our version of jQuery in mkws-complete.js

10 years agoAdd missing trailing semicolon after HTML entity.
Mike Taylor [Tue, 24 Jun 2014 10:16:16 +0000 (12:16 +0200)]
Add missing trailing semicolon after HTML entity.

10 years agoAll "targets" settings now use pz:id= instead of pz:id~ (pattern matching)
Mike Taylor [Tue, 24 Jun 2014 10:15:45 +0000 (12:15 +0200)]
All "targets" settings now use pz:id= instead of pz:id~ (pattern matching)

All "targets" settings now have (incorrect, but working) trailing
slashes. Why is this? The Service-proxy has code that mangles ZURLs
for the use of the CF (adding rich-database-name parameters), and its
lax regular expression wrongly interprets the trailing ":3552" as a
port number. So it "fixes" this ZURL by appending a slash, and then
uses the fixed version of the URL as its unique ID. The result is that
even though the ZURL in the Torus record is
        lui.indexdata.com:8080/solr4/select?fq=database:3552
the ID that it uses is
        lui.indexdata.com:8080/solr4/select?fq=database:3552/
And indeed if I change the MKWS code to use this ID instead of the
correct one, it can be made to work.

These should soon be replaced by much less fragile UDB-based target
filtering.

10 years agoChange pz:id URLs to Harvester's new format.
Mike Taylor [Tue, 24 Jun 2014 07:25:46 +0000 (09:25 +0200)]
Change pz:id URLs to Harvester's new format.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 13 Jun 2014 13:17:48 +0000 (13:17 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agotest the machine "sansa"
Wolfram Schneider [Fri, 13 Jun 2014 13:17:38 +0000 (13:17 +0000)]
test the machine "sansa"

10 years agodisplay in the title list is a little thin for a lot of these resources, MKWS-205
Wolfram Schneider [Fri, 13 Jun 2014 13:00:59 +0000 (13:00 +0000)]
display in the title list is a little thin for a lot of these resources, MKWS-205

Additional values to title* are: date, location, and medium

10 years agoSet window.name on creation of new tab.
Mike Taylor [Thu, 12 Jun 2014 16:33:18 +0000 (17:33 +0100)]
Set window.name on creation of new tab.
Enables pz2.js to create tab-specific cookies.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 12 Jun 2014 12:02:42 +0000 (13:02 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoAttempt to inhibit the display of the sole facet's title.
Mike Taylor [Thu, 12 Jun 2014 12:02:37 +0000 (13:02 +0100)]
Attempt to inhibit the display of the sole facet's title.
(Not yet working -- don't know why not.)

10 years agoshorter text
Wolfram Schneider [Thu, 12 Jun 2014 09:42:09 +0000 (09:42 +0000)]
shorter text

10 years agoAdd styles for mkwsFacet and contained items.
Mike Taylor [Wed, 11 Jun 2014 15:32:14 +0000 (16:32 +0100)]
Add styles for mkwsFacet and contained items.
Not sure how these ever got missed out.

10 years agocheck number of targets (again)
Wolfram Schneider [Wed, 11 Jun 2014 15:11:52 +0000 (15:11 +0000)]
check number of targets (again)