mkws-moved-to-github.git
10 years agodisable logging with console object, will fail in IE8
Wolfram Schneider [Thu, 23 Jan 2014 13:51:09 +0000 (13:51 +0000)]
disable logging with console object, will fail in IE8

see f90cc5c1eed67a2c29f20025e9b3ed7113fe8468

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 23 Jan 2014 12:28:33 +0000 (12:28 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoMAJOR re-indenting. Almost every line changed.
Mike Taylor [Thu, 23 Jan 2014 12:22:31 +0000 (12:22 +0000)]
MAJOR re-indenting. Almost every line changed.
Do not try to merge changes made to pre-reindented code!

10 years agoRename my_paz to m_paz, matching the usual pattern for member variables.
Mike Taylor [Thu, 23 Jan 2014 11:05:31 +0000 (11:05 +0000)]
Rename my_paz to m_paz, matching the usual pattern for member variables.

10 years agoshow only 10 hits for testings
Wolfram Schneider [Thu, 23 Jan 2014 11:02:56 +0000 (11:02 +0000)]
show only 10 hits for testings

10 years agoRemove test for no-longer-stored global copy of my_paz
Mike Taylor [Thu, 23 Jan 2014 10:59:16 +0000 (10:59 +0000)]
Remove test for no-longer-stored global copy of my_paz

10 years agomy_paz remains local to each widget team, and is not copied up into
Mike Taylor [Thu, 23 Jan 2014 10:59:01 +0000 (10:59 +0000)]
my_paz remains local to each widget team, and is not copied up into
global mkws.

10 years agoEliminate test for temporary state mkws.usesessions
Mike Taylor [Thu, 23 Jan 2014 10:55:45 +0000 (10:55 +0000)]
Eliminate test for temporary state mkws.usesessions

10 years agoEliminate temporary state mkws.usesessions
Mike Taylor [Thu, 23 Jan 2014 10:55:28 +0000 (10:55 +0000)]
Eliminate temporary state mkws.usesessions

10 years agodebug_time becomes a private member.
Mike Taylor [Thu, 23 Jan 2014 10:47:58 +0000 (10:47 +0000)]
debug_time becomes a private member.

10 years agoMove mkws.locale_lang assignment outside of team function.
Mike Taylor [Thu, 23 Jan 2014 10:47:03 +0000 (10:47 +0000)]
Move mkws.locale_lang assignment outside of team function.

10 years agonew document root config
Wolfram Schneider [Thu, 23 Jan 2014 10:46:47 +0000 (10:46 +0000)]
new document root config

10 years agoUpdate date in Copyright notice.
Mike Taylor [Thu, 23 Jan 2014 10:46:05 +0000 (10:46 +0000)]
Update date in Copyright notice.

10 years agomove spclient-dev.indexdata.com from mkws-dev to mkws-test
Wolfram Schneider [Thu, 23 Jan 2014 10:45:07 +0000 (10:45 +0000)]
move spclient-dev.indexdata.com from mkws-dev to mkws-test

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 23 Jan 2014 10:43:28 +0000 (10:43 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoworking mkws-test.indexdata.com config
Wolfram Schneider [Thu, 23 Jan 2014 10:43:25 +0000 (10:43 +0000)]
working mkws-test.indexdata.com config

10 years agoMove some mkws.* variables to per-team state.
Mike Taylor [Thu, 23 Jan 2014 10:43:19 +0000 (10:43 +0000)]
Move some mkws.* variables to per-team state.

10 years agocopy of mkws-dev
Wolfram Schneider [Thu, 23 Jan 2014 10:40:56 +0000 (10:40 +0000)]
copy of mkws-dev

10 years agoadd new demo site mkws-test.indexdata.com
Wolfram Schneider [Thu, 23 Jan 2014 10:33:57 +0000 (10:33 +0000)]
add new demo site mkws-test.indexdata.com

10 years agoour apache proxy config files end with -px
Wolfram Schneider [Thu, 23 Jan 2014 10:32:01 +0000 (10:32 +0000)]
our apache proxy config files end with -px

10 years agoRemove default to Danish
Mike Taylor [Thu, 23 Jan 2014 10:18:24 +0000 (10:18 +0000)]
Remove default to Danish

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Thu, 23 Jan 2014 10:16:03 +0000 (10:16 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agotest with protocol independend link, MKWS-103
Wolfram Schneider [Wed, 22 Jan 2014 16:54:14 +0000 (16:54 +0000)]
test with protocol independend link, MKWS-103

10 years agotest with protocol independend link, MKWS-103
Wolfram Schneider [Wed, 22 Jan 2014 16:44:22 +0000 (16:44 +0000)]
test with protocol independend link, MKWS-103

10 years agoadjust protocol independend link for pazpar2 object, MKWS-103
Wolfram Schneider [Wed, 22 Jan 2014 16:40:17 +0000 (16:40 +0000)]
adjust protocol independend link for pazpar2 object, MKWS-103

It turns out that pz2.js does not support protocol independend link.
As a workaround, we will add the protocoll if needed after checking
the config in MKWS.

e.g.: "//mkws/sp" -> "https://mkws/sp"

10 years agoauth_domain guessing with protocol independend links, MKWS-103
Wolfram Schneider [Wed, 22 Jan 2014 16:25:03 +0000 (16:25 +0000)]
auth_domain guessing with protocol independend links, MKWS-103

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 22 Jan 2014 15:54:06 +0000 (15:54 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 22 Jan 2014 15:53:24 +0000 (15:53 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agosupport HTTPS URLs for auth_domain guessing, part of MKWS-102
Wolfram Schneider [Wed, 22 Jan 2014 15:51:59 +0000 (15:51 +0000)]
support HTTPS URLs for auth_domain guessing, part of MKWS-102

10 years agoupdate
Wolfram Schneider [Wed, 22 Jan 2014 15:30:01 +0000 (15:30 +0000)]
update

10 years agorun with default SP on http://mkws.indexdata.com/service-proxy
Wolfram Schneider [Wed, 22 Jan 2014 15:25:43 +0000 (15:25 +0000)]
run with default SP on mkws.indexdata.com/service-proxy

for local SP testing, please use the new file jasmine-local-popup.html

10 years agocopy of jasmine-popup.html, for local running SP
Wolfram Schneider [Wed, 22 Jan 2014 15:24:45 +0000 (15:24 +0000)]
copy of jasmine-popup.html, for local running SP

10 years agoRename function to clarify intent.
Mike Taylor [Wed, 22 Jan 2014 14:30:40 +0000 (14:30 +0000)]
Rename function to clarify intent.

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 13:57:25 +0000 (13:57 +0000)]
use relative links, or protocol independend links, MKWS-98

10 years agodocument public demo pages, and jasmine pages
Wolfram Schneider [Wed, 22 Jan 2014 13:50:12 +0000 (13:50 +0000)]
document public demo pages, and jasmine pages

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 13:35:17 +0000 (13:35 +0000)]
use relative links, or protocol independend links, MKWS-98

10 years agoHTTPS tests
Wolfram Schneider [Wed, 22 Jan 2014 13:32:52 +0000 (13:32 +0000)]
HTTPS tests

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 13:32:30 +0000 (13:32 +0000)]
use relative links, or protocol independend links, MKWS-98

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 13:29:05 +0000 (13:29 +0000)]
use relative links, or protocol independend links, MKWS-98

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 13:13:38 +0000 (13:13 +0000)]
use relative links, or protocol independend links, MKWS-98

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

10 years agoHTTPS tests
Wolfram Schneider [Wed, 22 Jan 2014 13:00:25 +0000 (13:00 +0000)]
HTTPS tests

10 years agocheck the jasmine config for valid values
Wolfram Schneider [Wed, 22 Jan 2014 12:56:24 +0000 (12:56 +0000)]
check the jasmine config for valid values

10 years agoallow set set jasmine_config object before jasmine libs are loaded
Wolfram Schneider [Wed, 22 Jan 2014 12:44:03 +0000 (12:44 +0000)]
allow set set jasmine_config object before jasmine libs are loaded

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 12:32:45 +0000 (12:32 +0000)]
use relative links, or protocol independend links, MKWS-98

10 years agoallow HTTPS based MKWS URLs, MKWS-102
Wolfram Schneider [Wed, 22 Jan 2014 12:26:54 +0000 (12:26 +0000)]
allow HTTPS based MKWS URLs, MKWS-102

10 years agosupport HTTPS URL check
Wolfram Schneider [Wed, 22 Jan 2014 12:25:11 +0000 (12:25 +0000)]
support HTTPS URL check

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 12:10:51 +0000 (12:10 +0000)]
use relative links, or protocol independend links, MKWS-98

10 years agoHTTPS config for mkws.indexdata.com, MKWS-102
Wolfram Schneider [Wed, 22 Jan 2014 11:38:06 +0000 (11:38 +0000)]
HTTPS config for mkws.indexdata.com, MKWS-102

10 years agoHTTPS config for mkws-dev, MKWS-102
Wolfram Schneider [Wed, 22 Jan 2014 11:32:00 +0000 (11:32 +0000)]
HTTPS config for mkws-dev, MKWS-102

10 years agouse relative links, or protocol independend links, MKWS-98
Wolfram Schneider [Wed, 22 Jan 2014 11:25:50 +0000 (11:25 +0000)]
use relative links, or protocol independend links, MKWS-98

MKWS fails when included on an HTTPS site because it
uses http:// rather than simply // and this causes an
error about mixed secure/insecure content

10 years agoadd a simple debug() function to jquery.pazpar2() plugin, MKWS-101
Wolfram Schneider [Wed, 22 Jan 2014 11:11:19 +0000 (11:11 +0000)]
add a simple debug() function to jquery.pazpar2() plugin, MKWS-101

The jquery.pazpar2() plugin will be called usually before the DOM ready
event, so the mkws.debug_function does not exists yet.

10 years agoAdd Records/Targets translation for German and Danish.
Mike Taylor [Mon, 20 Jan 2014 12:16:07 +0000 (12:16 +0000)]
Add Records/Targets translation for German and Danish.

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

10 years agomore flexible jasmine tests, MKWS-100
Wolfram Schneider [Fri, 17 Jan 2014 17:40:54 +0000 (17:40 +0000)]
more flexible jasmine tests, MKWS-100

You can configure the jasmine test by declaring the variable

   var jasmine_config = {
        search_query: "freebsd",
        max_time: 16, // in seconds
        expected_hits: 80, // at least expected hit counter
        second: 1000, // miliseconds to seconds
        show_record_url: true // check for valid URL in records
   };

in the HTML page, similar to mkws_config = { ... }

The most common properties are: search_query, expected_hits and show_record_url

10 years agoAdd (unused) sessions hash
Mike Taylor [Thu, 16 Jan 2014 16:52:27 +0000 (16:52 +0000)]
Add (unused) sessions hash

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Wed, 15 Jan 2014 12:03:44 +0000 (12:03 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agoRemove the no-longer-needed hidden <div id="mkwsPager"></div>
Mike Taylor [Tue, 14 Jan 2014 13:58:34 +0000 (13:58 +0000)]
Remove the no-longer-needed hidden <div id="mkwsPager"></div>
Proves that MKWS-51 ("perpage_default should work without select
menu") has been fixed somewhere along the line.

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

10 years agomove the default config values for "mkws" into the function()
Wolfram Schneider [Tue, 14 Jan 2014 13:47:19 +0000 (13:47 +0000)]
move the default config values for "mkws" into the function()

10 years agoIgnore file pz2.js, copied in from ../../../pazpar2/js
Mike Taylor [Tue, 14 Jan 2014 13:23:24 +0000 (13:23 +0000)]
Ignore file pz2.js, copied in from ../../../pazpar2/js

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Tue, 14 Jan 2014 13:13:54 +0000 (13:13 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agouse a special UserAgent for curl requests:
Wolfram Schneider [Tue, 14 Jan 2014 10:31:14 +0000 (10:31 +0000)]
use a special UserAgent for curl requests:

  nagios service-proxy v0.9

10 years agojquery.isNumeric() requires a jquery 1.7, backport the isNumeric() check to support...
Wolfram Schneider [Tue, 14 Jan 2014 10:16:49 +0000 (10:16 +0000)]
jquery.isNumeric() requires a jquery 1.7, backport the isNumeric() check to support jquery 1.4

10 years agonagios test if the the service proxy is up and running, MKWS-81
Wolfram Schneider [Mon, 13 Jan 2014 17:52:59 +0000 (17:52 +0000)]
nagios test if the the service proxy is up and running, MKWS-81

10 years agofix sort title config
Wolfram Schneider [Mon, 13 Jan 2014 17:32:05 +0000 (17:32 +0000)]
fix sort title config

10 years agotest show_sort/show_perpage
Wolfram Schneider [Mon, 13 Jan 2014 17:21:43 +0000 (17:21 +0000)]
test show_sort/show_perpage

10 years agoperpage_default should work without select menu, MKWS-51
Wolfram Schneider [Mon, 13 Jan 2014 17:17:11 +0000 (17:17 +0000)]
perpage_default should work without select menu, MKWS-51

10 years agoset mkws_config = { .. }
Wolfram Schneider [Mon, 13 Jan 2014 16:53:11 +0000 (16:53 +0000)]
set  mkws_config = { .. }

which make the difference between the jquery.pazpar2() plugin the mkws config
object more obviously

10 years agoindent
Wolfram Schneider [Mon, 13 Jan 2014 15:30:30 +0000 (15:30 +0000)]
indent

10 years agodo not click on author with numbers, e.g.: Bower, James M. Beeman, David, 1938-,...
Wolfram Schneider [Mon, 13 Jan 2014 15:29:44 +0000 (15:29 +0000)]
do not click on author with numbers, e.g.: Bower, James M. Beeman, David, 1938-, part of MKWS-97

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Mon, 13 Jan 2014 15:05:46 +0000 (15:05 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agocleanup internal references
Wolfram Schneider [Mon, 13 Jan 2014 14:59:00 +0000 (14:59 +0000)]
cleanup internal references

10 years agoif we limit a search to a source, the hit counter could be the same
Wolfram Schneider [Mon, 13 Jan 2014 14:49:18 +0000 (14:49 +0000)]
if we limit a search to a source, the hit counter could be the same
as for all targets, MKWS-97

10 years agoadd a README for jasmine tests
Wolfram Schneider [Fri, 10 Jan 2014 18:05:35 +0000 (18:05 +0000)]
add a README for jasmine tests

10 years agowait only 5 seconds for limited source search
Wolfram Schneider [Fri, 10 Jan 2014 17:59:09 +0000 (17:59 +0000)]
wait only 5 seconds for limited source search

Note: it may happens that limited source search returns the same number of hits
as before. Thats not really an error, but unfortunate

10 years agocheck ../examples/htdocs/index.html
Wolfram Schneider [Fri, 10 Jan 2014 17:35:29 +0000 (17:35 +0000)]
check ../examples/htdocs/index.html

10 years agomove the SP related test to a new directory ./spec-sp
Wolfram Schneider [Fri, 10 Jan 2014 17:30:26 +0000 (17:30 +0000)]
move the SP related test to a new directory ./spec-sp

10 years agocleanup
Wolfram Schneider [Fri, 10 Jan 2014 17:25:05 +0000 (17:25 +0000)]
cleanup

10 years agofile no longer needed
Wolfram Schneider [Fri, 10 Jan 2014 17:24:27 +0000 (17:24 +0000)]
file no longer needed

mkws-index-jsdom.spec.js does most of the tests already

10 years agocleanup, less tests
Wolfram Schneider [Fri, 10 Jan 2014 17:16:40 +0000 (17:16 +0000)]
cleanup, less tests

10 years agonot used anymore
Wolfram Schneider [Fri, 10 Jan 2014 17:13:46 +0000 (17:13 +0000)]
not used anymore

10 years agoless verbose output for installing npm modules
Wolfram Schneider [Fri, 10 Jan 2014 17:11:37 +0000 (17:11 +0000)]
less verbose output for installing npm modules

10 years agoremove trailing slash from /service-proxy-auth/
Wolfram Schneider [Fri, 10 Jan 2014 17:06:36 +0000 (17:06 +0000)]
remove trailing slash from /service-proxy-auth/

there is no need for the slash

10 years agoswitch to user mkws, MKWS-96
Wolfram Schneider [Fri, 10 Jan 2014 17:02:54 +0000 (17:02 +0000)]
switch to user mkws, MKWS-96

10 years agoswitch to user "mkws"
Wolfram Schneider [Fri, 10 Jan 2014 16:57:33 +0000 (16:57 +0000)]
switch to user "mkws"

10 years agono links outside of the document root, MKWS-94
Wolfram Schneider [Fri, 10 Jan 2014 16:50:37 +0000 (16:50 +0000)]
no links outside of the document root, MKWS-94

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 10 Jan 2014 16:18:36 +0000 (16:18 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws

10 years agoservice proxy moved from CPH to US
Wolfram Schneider [Fri, 10 Jan 2014 16:00:50 +0000 (16:00 +0000)]
service proxy moved from CPH to US

http://mkc.indexdata.com:9009/service-proxy/

running on amphion/armada

10 years agoAdd Arabic translations to mike2.html sandbox.
Mike Taylor [Fri, 10 Jan 2014 15:03:19 +0000 (15:03 +0000)]
Add Arabic translations to mike2.html sandbox.

10 years agoAdd alias enabling the use of Jasmine tests.
Mike Taylor [Fri, 10 Jan 2014 14:59:27 +0000 (14:59 +0000)]
Add alias enabling the use of Jasmine tests.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Mike Taylor [Fri, 10 Jan 2014 14:31:12 +0000 (14:31 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws

10 years agodocument tools/htdocs/NEWS
Wolfram Schneider [Thu, 9 Jan 2014 13:27:59 +0000 (13:27 +0000)]
document tools/htdocs/NEWS

10 years agoupdate devel tool list
Wolfram Schneider [Thu, 9 Jan 2014 13:26:30 +0000 (13:26 +0000)]
update devel tool list

10 years agorun all JS files locally
Wolfram Schneider [Wed, 8 Jan 2014 17:23:54 +0000 (17:23 +0000)]
run all JS files locally

10 years agorun all JS files locally
Wolfram Schneider [Wed, 8 Jan 2014 17:20:05 +0000 (17:20 +0000)]
run all JS files locally

10 years agomake a local copy of pz2.js for testing
Wolfram Schneider [Wed, 8 Jan 2014 17:16:18 +0000 (17:16 +0000)]
make a local copy of pz2.js for testing

10 years agosimplify tests
Wolfram Schneider [Wed, 8 Jan 2014 13:19:14 +0000 (13:19 +0000)]
simplify tests

10 years agorun 'setup' before calling check-js
Wolfram Schneider [Wed, 8 Jan 2014 13:16:54 +0000 (13:16 +0000)]
run 'setup' before calling check-js

10 years ago`make all' should not call the tests
Wolfram Schneider [Wed, 8 Jan 2014 13:14:56 +0000 (13:14 +0000)]
`make all' should not call the tests