pazpar2-moved-to-github.git
11 years agoRemove unused third-party JSON implementation
Jason Skomorowski [Tue, 24 Sep 2013 12:52:13 +0000 (08:52 -0400)]
Remove unused third-party JSON implementation

11 years agopz2.js briefly tracked elsewhere; add support for CORS and server-side sessions
Jason Skomorowski [Tue, 24 Sep 2013 12:47:42 +0000 (08:47 -0400)]
pz2.js briefly tracked elsewhere; add support for CORS and server-side sessions

11 years agoAdd VERSION to parpar2-js dist
Jason Skomorowski [Tue, 24 Sep 2013 12:29:55 +0000 (08:29 -0400)]
Add VERSION to parpar2-js dist

11 years agoVersion 1.6.35 v1.6.35
Adam Dickmeiss [Mon, 23 Sep 2013 09:31:07 +0000 (11:31 +0200)]
Version 1.6.35

11 years agoSupport pz:authentication_mode.
Adam Dickmeiss [Mon, 23 Sep 2013 09:27:39 +0000 (11:27 +0200)]
Support pz:authentication_mode.

11 years agoRequire YAZ 4.2.68
Adam Dickmeiss [Mon, 23 Sep 2013 08:38:15 +0000 (10:38 +0200)]
Require YAZ 4.2.68

11 years agoMake js-dist rule
Adam Dickmeiss [Thu, 19 Sep 2013 13:59:59 +0000 (15:59 +0200)]
Make js-dist rule

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Sun, 8 Sep 2013 06:49:39 +0000 (08:49 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoDisabling Solr tests
Adam Dickmeiss [Sun, 8 Sep 2013 06:49:25 +0000 (08:49 +0200)]
Disabling Solr tests

11 years agoTweak test_post.sh which fails on slow net
Adam Dickmeiss [Sun, 8 Sep 2013 06:41:10 +0000 (08:41 +0200)]
Tweak test_post.sh which fails on slow net

11 years agorpm: pazpar2 daemon runs as nobody PAZ-893
Adam Dickmeiss [Fri, 6 Sep 2013 09:02:26 +0000 (11:02 +0200)]
rpm: pazpar2 daemon runs as nobody PAZ-893

11 years agoBump to 2indexdata for Deb version
Adam Dickmeiss [Mon, 2 Sep 2013 11:39:31 +0000 (13:39 +0200)]
Bump to 2indexdata for Deb version

11 years agoRemove call to connection_connect
Adam Dickmeiss [Mon, 2 Sep 2013 11:34:28 +0000 (13:34 +0200)]
Remove call to connection_connect

It seems redundant (we make two calls in case of resolving
delay).

11 years agoRephrase logs about start-search
Adam Dickmeiss [Mon, 2 Sep 2013 10:47:54 +0000 (12:47 +0200)]
Rephrase logs about start-search

11 years agoRemove msg: session_start_search done
Adam Dickmeiss [Mon, 2 Sep 2013 10:41:44 +0000 (12:41 +0200)]
Remove msg: session_start_search done

11 years agoStrip #-suffix for ZOOM URLs PAZ-892
Adam Dickmeiss [Mon, 2 Sep 2013 10:39:51 +0000 (12:39 +0200)]
Strip #-suffix for ZOOM URLs PAZ-892

11 years agoVersion 1.6.34 v1.6.34
Adam Dickmeiss [Fri, 30 Aug 2013 11:45:48 +0000 (13:45 +0200)]
Version 1.6.34

11 years agoUpdate NEWS
Adam Dickmeiss [Fri, 30 Aug 2013 11:45:02 +0000 (13:45 +0200)]
Update NEWS

11 years agoFix problem show/bytarget hangs for filtered search PAZ-889
Adam Dickmeiss [Fri, 30 Aug 2013 11:35:56 +0000 (13:35 +0200)]
Fix problem show/bytarget hangs for filtered search PAZ-889

11 years agoAdd support for 'date' type
Dennis Schafroth [Fri, 23 Aug 2013 08:30:33 +0000 (10:30 +0200)]
Add support for 'date' type

11 years agoVersion 1.6.33 v1.6.33
Adam Dickmeiss [Tue, 13 Aug 2013 12:43:42 +0000 (14:43 +0200)]
Version 1.6.33

11 years agoProper nextrecid for this test
Adam Dickmeiss [Tue, 13 Aug 2013 12:36:47 +0000 (14:36 +0200)]
Proper nextrecid for this test

11 years agoEnsure sorted reclists even if now show is performed
Adam Dickmeiss [Tue, 13 Aug 2013 12:35:43 +0000 (14:35 +0200)]
Ensure sorted reclists even if now show is performed

This is part of PAZ-884

11 years agoAdd test for {prev,next}recid
Adam Dickmeiss [Tue, 13 Aug 2013 12:09:11 +0000 (14:09 +0200)]
Add test for {prev,next}recid

11 years agoFix {prev,next}recid PAZ-884
Adam Dickmeiss [Tue, 13 Aug 2013 12:07:18 +0000 (14:07 +0200)]
Fix {prev,next}recid PAZ-884

These were incorrect in versions 1.6.23 thru 1.6.32.

11 years agopz:authentication may carry user group password PAZ-885
Adam Dickmeiss [Tue, 13 Aug 2013 09:07:28 +0000 (11:07 +0200)]
pz:authentication may carry user group password PAZ-885

If pz:authentication has at least one blank in it, that forces
Pazpar2 to use idPass Z39.50 authentication. Two forms are allowed
 user password
 user group password
If no blanks are present, open authentication is in use.

11 years agoRemove unused variable
Adam Dickmeiss [Mon, 12 Aug 2013 10:54:21 +0000 (12:54 +0200)]
Remove unused variable

11 years agoRevert "Remove unused variable"
Adam Dickmeiss [Mon, 12 Aug 2013 10:53:47 +0000 (12:53 +0200)]
Revert "Remove unused variable"

This reverts commit 6a6070281460bf841290c92315bd2ce1b358d89c.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 12 Aug 2013 10:48:19 +0000 (12:48 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoAssigns 'other' io literal to all unhandled media types
Niels Erik G. Nielsen [Thu, 18 Jul 2013 18:27:45 +0000 (14:27 -0400)]
Assigns 'other' io literal to all unhandled media types

To avoid multiple 'Miscellaneous Media' in UI facet

11 years agoUse yaz_strcmp_null, requite YAZ 4.2.63
Adam Dickmeiss [Wed, 17 Jul 2013 12:41:09 +0000 (14:41 +0200)]
Use yaz_strcmp_null, requite YAZ 4.2.63

11 years agoMake a few internal funcs static
Adam Dickmeiss [Wed, 17 Jul 2013 11:10:46 +0000 (13:10 +0200)]
Make a few internal funcs static

11 years agoMove struct datbase def to settings.h from session.h
Adam Dickmeiss [Wed, 17 Jul 2013 11:09:05 +0000 (13:09 +0200)]
Move struct datbase def to settings.h from session.h

11 years agoRemove unused variable
Adam Dickmeiss [Wed, 17 Jul 2013 10:53:53 +0000 (12:53 +0200)]
Remove unused variable

11 years agoMerge remote-tracking branch 'jajm/ft/info/more_infos'
Adam Dickmeiss [Wed, 17 Jul 2013 10:49:57 +0000 (12:49 +0200)]
Merge remote-tracking branch 'jajm/ft/info/more_infos'

11 years agoOnly fire one non-timeout event for Z39.50/SRU clients
Adam Dickmeiss [Tue, 16 Jul 2013 13:02:30 +0000 (15:02 +0200)]
Only fire one non-timeout event for Z39.50/SRU clients

This gives faster response times for HTTP request to Pazpar2.

11 years agoMake use of threaded resolver
Adam Dickmeiss [Tue, 16 Jul 2013 12:41:58 +0000 (14:41 +0200)]
Make use of threaded resolver

This makes Pazpar2 much snappier when it's been sleeping for a while.
In particular, initial search command is reduced from several seconds
(on large sets), to < 1 sec.

11 years agoMake url part of connection rather than host PAZ-880
Adam Dickmeiss [Tue, 16 Jul 2013 12:40:53 +0000 (14:40 +0200)]
Make url part of connection rather than host PAZ-880

This makes better use of threaded resolver (if enabled).

11 years agoMake perform_getaddrinfo static
Adam Dickmeiss [Tue, 16 Jul 2013 12:40:37 +0000 (14:40 +0200)]
Make perform_getaddrinfo static

11 years agoresolver thread checks for dead session PAZ-879
Adam Dickmeiss [Mon, 15 Jul 2013 14:35:47 +0000 (16:35 +0200)]
resolver thread checks for dead session PAZ-879

11 years agoAdd more infos to the 'info' command
Julian Maurice [Fri, 12 Jul 2013 20:16:06 +0000 (20:16 +0000)]
Add more infos to the 'info' command

11 years agocf.xsl: relay item due (date)
Adam Dickmeiss [Fri, 12 Jul 2013 11:00:09 +0000 (13:00 +0200)]
cf.xsl: relay item due (date)

11 years agoLog socket ID with Response/Response
Adam Dickmeiss [Thu, 11 Jul 2013 12:06:33 +0000 (14:06 +0200)]
Log socket ID with Response/Response

This makes it easy to track socket/connection usage.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 14 Jun 2013 09:28:58 +0000 (11:28 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoVersion 1.6.32 v1.6.32
Adam Dickmeiss [Fri, 14 Jun 2013 09:18:03 +0000 (11:18 +0200)]
Version 1.6.32

11 years agoDoc reformat; remove trailing white space
Adam Dickmeiss [Fri, 14 Jun 2013 09:02:06 +0000 (11:02 +0200)]
Doc reformat; remove trailing white space

11 years agoMention snippets
Adam Dickmeiss [Fri, 14 Jun 2013 08:55:13 +0000 (10:55 +0200)]
Mention snippets

11 years agoMerge branch 'master' into paz-732
Adam Dickmeiss [Fri, 14 Jun 2013 08:47:07 +0000 (10:47 +0200)]
Merge branch 'master' into paz-732

11 years agoAdd big 'DO NOT EDIT, this file is obsolete' header comment to pz2.js, and make it...
Mike Taylor [Thu, 13 Jun 2013 14:35:45 +0000 (15:35 +0100)]
Add big 'DO NOT EDIT, this file is obsolete' header comment to pz2.js, and make it read-only

11 years agoNo longer build for Ubuntu natty
Adam Dickmeiss [Wed, 12 Jun 2013 13:42:52 +0000 (15:42 +0200)]
No longer build for Ubuntu natty

11 years agoRequire YAZ 4.2.58
Adam Dickmeiss [Tue, 11 Jun 2013 09:41:17 +0000 (11:41 +0200)]
Require YAZ 4.2.58

due new functions icu_iter_get_org_info and icu_chain_get_org_info.

11 years agoTests using snippets
Adam Dickmeiss [Tue, 11 Jun 2013 08:41:14 +0000 (10:41 +0200)]
Tests using snippets

11 years agoSnippets: multi words; less logging
Adam Dickmeiss [Tue, 11 Jun 2013 08:36:00 +0000 (10:36 +0200)]
Snippets: multi words; less logging

11 years agoUse YAZ' new icu_iter_get_org_info for snippets
Adam Dickmeiss [Wed, 5 Jun 2013 13:45:25 +0000 (15:45 +0200)]
Use YAZ' new icu_iter_get_org_info for snippets

11 years agoChange repr of service XML
Adam Dickmeiss [Wed, 29 May 2013 20:25:14 +0000 (22:25 +0200)]
Change repr of service XML

from XML nodes to serialized (string). This reduces memory overhead
for service structure considerably.

11 years agoUpdate NEWS
Adam Dickmeiss [Tue, 28 May 2013 12:55:21 +0000 (14:55 +0200)]
Update NEWS

11 years agoChange logging of HTTP response
Adam Dickmeiss [Tue, 28 May 2013 12:37:51 +0000 (14:37 +0200)]
Change logging of HTTP response

11 years agoTime HTTP requests
Adam Dickmeiss [Tue, 28 May 2013 12:08:05 +0000 (14:08 +0200)]
Time HTTP requests

11 years agoTweak log msg for http sessions use
Adam Dickmeiss [Tue, 28 May 2013 08:45:47 +0000 (10:45 +0200)]
Tweak log msg for http sessions use

11 years agoReformat
Adam Dickmeiss [Tue, 28 May 2013 08:45:21 +0000 (10:45 +0200)]
Reformat

11 years agosession/client counting utils to header
Adam Dickmeiss [Tue, 28 May 2013 08:18:54 +0000 (10:18 +0200)]
session/client counting utils to header

11 years agoFacility for test script to post-wait
Adam Dickmeiss [Mon, 27 May 2013 18:56:30 +0000 (20:56 +0200)]
Facility for test script to post-wait

If WAIT_PAZPAR2 is set, it defines number of minuters to wait
before shutting down pazpar2 daemon for test.

11 years agoRemove dead code WRT client total counting
Adam Dickmeiss [Mon, 27 May 2013 18:23:41 +0000 (20:23 +0200)]
Remove dead code WRT client total counting

11 years agoFix leak WRT client ref count
Adam Dickmeiss [Mon, 27 May 2013 18:23:16 +0000 (20:23 +0200)]
Fix leak WRT client ref count

11 years agoFix memory leak in service command
Adam Dickmeiss [Mon, 27 May 2013 18:22:12 +0000 (20:22 +0200)]
Fix memory leak in service command

11 years agoservice XML: avoid wrapping service element
Adam Dickmeiss [Mon, 27 May 2013 10:41:26 +0000 (12:41 +0200)]
service XML: avoid wrapping service element

and just return service XML as is (it already has a service element
as root).

11 years agoDocument service command
Adam Dickmeiss [Mon, 27 May 2013 10:32:31 +0000 (12:32 +0200)]
Document service command

11 years agoReturns service XML now
Adam Dickmeiss [Mon, 27 May 2013 08:05:23 +0000 (10:05 +0200)]
Returns service XML now

11 years agoFirst work on returning service XML
Adam Dickmeiss [Mon, 27 May 2013 07:37:57 +0000 (09:37 +0200)]
First work on returning service XML

11 years agoVersion 1.6.31 with more fixes v1.6.31
Adam Dickmeiss [Fri, 24 May 2013 08:04:54 +0000 (10:04 +0200)]
Version 1.6.31 with more fixes

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 24 May 2013 08:03:20 +0000 (10:03 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoVersion 1.6.31
Adam Dickmeiss [Fri, 24 May 2013 07:22:45 +0000 (09:22 +0200)]
Version 1.6.31

11 years agoNo longer in use
Adam Dickmeiss [Fri, 24 May 2013 07:20:40 +0000 (09:20 +0200)]
No longer in use

11 years agoUpdate NEWS
Adam Dickmeiss [Fri, 24 May 2013 06:49:04 +0000 (08:49 +0200)]
Update NEWS

11 years agoenglish typo
Wolfram Schneider [Thu, 23 May 2013 19:04:08 +0000 (19:04 +0000)]
english typo

11 years agoFix documentation of pz:sru setting: the value "soap", not "srw", is
Mike Taylor [Thu, 23 May 2013 15:49:46 +0000 (16:49 +0100)]
Fix documentation of pz:sru setting: the value "soap", not "srw", is
used to select the use of the SRW protocol, as determined from
get_sru_mode_from_string() in yaz/src/zoom-c.c

This resolves a long-standing conflict between the documentation for
pazpar2 and MKAdmin.

11 years agoDocument dynamic rank
Adam Dickmeiss [Thu, 23 May 2013 13:10:55 +0000 (15:10 +0200)]
Document dynamic rank

11 years agoTest for case insensitive local limit
Adam Dickmeiss [Thu, 23 May 2013 11:57:50 +0000 (13:57 +0200)]
Test for case insensitive local limit

11 years agolocal limit uses "mergekey" normalization PAZ-774
Adam Dickmeiss [Thu, 23 May 2013 11:54:43 +0000 (13:54 +0200)]
local limit uses "mergekey" normalization PAZ-774

This makes the local limits case insensitive by default. When
"mergekey" is not, the a_z (ASCII) normalization is used.

11 years agoRemove file not in use by tests
Adam Dickmeiss [Thu, 23 May 2013 11:50:36 +0000 (13:50 +0200)]
Remove file not in use by tests

11 years agoShow attributes in xml_context function
Adam Dickmeiss [Tue, 21 May 2013 14:13:41 +0000 (16:13 +0200)]
Show attributes in xml_context function

11 years agoTest using dynamic rank
Adam Dickmeiss [Tue, 21 May 2013 13:48:03 +0000 (15:48 +0200)]
Test using dynamic rank

11 years agoDynamic ranking PAZ-869
Adam Dickmeiss [Tue, 21 May 2013 13:47:27 +0000 (15:47 +0200)]
Dynamic ranking PAZ-869

11 years agoAdjustments to log msg of session_sort_unlocked
Adam Dickmeiss [Tue, 21 May 2013 12:24:25 +0000 (14:24 +0200)]
Adjustments to log msg of session_sort_unlocked

11 years agoMinor refactor of session_sort_unlocked
Adam Dickmeiss [Tue, 21 May 2013 12:20:50 +0000 (14:20 +0200)]
Minor refactor of session_sort_unlocked

11 years agoStable results (activeclients=0)
Adam Dickmeiss [Mon, 20 May 2013 18:58:16 +0000 (18:58 +0000)]
Stable results (activeclients=0)

11 years agoUse sockaddr_storage in accept call PAZ-872
Adam Dickmeiss [Sat, 18 May 2013 21:16:06 +0000 (23:16 +0200)]
Use sockaddr_storage in accept call PAZ-872

Due struct sockaddr is not big enough for IPV6 stuff.

11 years agoFix signed/unsigned checksum problem PAZ-871
Adam Dickmeiss [Fri, 17 May 2013 12:59:01 +0000 (14:59 +0200)]
Fix signed/unsigned checksum problem PAZ-871

11 years agomarcmap: fix for fopen fail
Adam Dickmeiss [Fri, 17 May 2013 12:44:38 +0000 (14:44 +0200)]
marcmap: fix for fopen fail

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 17 May 2013 12:43:17 +0000 (14:43 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agomarcmap: fix type for ch in use of getc
Adam Dickmeiss [Fri, 17 May 2013 12:40:40 +0000 (14:40 +0200)]
marcmap: fix type for ch in use of getc

getc returns EOF (usually -1) on EOF, so we must be sure to
use a type that can hold it.

11 years agoXML context for errors, no set element for service
Adam Dickmeiss [Fri, 17 May 2013 12:12:26 +0000 (14:12 +0200)]
XML context for errors, no set element for service

It's not implemented.

11 years agotests: poll for stable results
Adam Dickmeiss [Fri, 17 May 2013 09:38:02 +0000 (11:38 +0200)]
tests: poll for stable results

For results we wait for, repeat command until it matches against
a stable result.

11 years agoWait for separate session bytarget response
Adam Dickmeiss [Fri, 17 May 2013 09:37:21 +0000 (11:37 +0200)]
Wait for separate session bytarget response

11 years agoHTTP server: host=@ listens on IPV6 and IPV4 if possible
Adam Dickmeiss [Thu, 16 May 2013 14:00:27 +0000 (16:00 +0200)]
HTTP server: host=@ listens on IPV6 and IPV4 if possible

Also, allow ports to be given as names (not just integers).
Fix @-notation on systems that don't support IPV6 sockets.

11 years agoFix regression for mergekey creation
Adam Dickmeiss [Wed, 8 May 2013 21:21:15 +0000 (23:21 +0200)]
Fix regression for mergekey creation

Due to xmlNodeListGetString returning null on some platforms
and empty "" on others (probably depends on Libxml2 version).

11 years agoClear relevancy info when result set is clear'd
Adam Dickmeiss [Mon, 6 May 2013 14:00:04 +0000 (16:00 +0200)]
Clear relevancy info when result set is clear'd

11 years agoAllow mergekey to be given for command=search
Adam Dickmeiss [Mon, 6 May 2013 13:35:57 +0000 (15:35 +0200)]
Allow mergekey to be given for command=search

11 years agoCommit proper test result for dynamic mergekey
Adam Dickmeiss [Mon, 6 May 2013 13:12:51 +0000 (15:12 +0200)]
Commit proper test result for dynamic mergekey

11 years agoDynamic mergekey PAZ-868
Adam Dickmeiss [Mon, 6 May 2013 12:56:19 +0000 (14:56 +0200)]
Dynamic mergekey PAZ-868