pazpar2-moved-to-github.git
15 years agoRemove support for option -t.
Adam Dickmeiss [Thu, 10 Sep 2009 09:19:37 +0000 (11:19 +0200)]
Remove support for option -t.

Option -t allows a settings file to be given on the command line.
This patch removes that facility. It is a rarely used facility.

15 years agoRephrase v1.2.0
Adam Dickmeiss [Thu, 10 Sep 2009 08:45:01 +0000 (10:45 +0200)]
Rephrase

15 years agoVersion 1.2.0
Adam Dickmeiss [Thu, 10 Sep 2009 08:40:35 +0000 (10:40 +0200)]
Version 1.2.0

15 years agoDescribe include facility
Adam Dickmeiss [Thu, 10 Sep 2009 08:38:17 +0000 (10:38 +0200)]
Describe include facility

15 years agoMention multiple services/servers.
Adam Dickmeiss [Thu, 10 Sep 2009 08:19:03 +0000 (10:19 +0200)]
Mention multiple services/servers.

15 years agoDont wait for record command if active clients==0.
Adam Dickmeiss [Wed, 9 Sep 2009 14:15:10 +0000 (16:15 +0200)]
Dont wait for record command if active clients==0.

15 years agoWindows port fixes
Adam Dickmeiss [Wed, 9 Sep 2009 13:23:04 +0000 (15:23 +0200)]
Windows port fixes

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 9 Sep 2009 12:38:41 +0000 (14:38 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

15 years agoExtend config include for glob-patterns.
Adam Dickmeiss [Wed, 9 Sep 2009 12:35:25 +0000 (14:35 +0200)]
Extend config include for glob-patterns.

The Pazpar2 configuration may now have an 'include' everywhere, except
in settings files. The attribute 'src' of 'include' is now a glob
pattern. The pattern, if relative, is prepended with the path of the main
configuration file as before, for example <include src="conf.d/*.xml"/>.

15 years agoExtend config include for glob-patterns.
Adam Dickmeiss [Wed, 9 Sep 2009 12:27:33 +0000 (14:27 +0200)]
Extend config include for glob-patterns.

The Pazpar2 configuration may now have an 'include' everywhere, except
in settings files. The attribute 'src' of 'include' is now a glob pattern.
The pattern, if relative, is prepended with the path of the main
configuration file as before, for example <include src="conf.d/*.xml"/>

15 years agoAdd check for glob.h
Adam Dickmeiss [Wed, 9 Sep 2009 12:05:05 +0000 (14:05 +0200)]
Add check for glob.h

15 years agoFix handling of bad config
Adam Dickmeiss [Wed, 9 Sep 2009 12:03:57 +0000 (14:03 +0200)]
Fix handling of bad config

15 years agoRef count pp2_charset_t
Adam Dickmeiss [Wed, 9 Sep 2009 12:02:43 +0000 (14:02 +0200)]
Ref count pp2_charset_t

15 years agoTest uses include of a service.
Adam Dickmeiss [Tue, 8 Sep 2009 14:27:13 +0000 (16:27 +0200)]
Test uses include of a service.

15 years agoBeginnings of generic include.
Adam Dickmeiss [Tue, 8 Sep 2009 14:26:24 +0000 (16:26 +0200)]
Beginnings of generic include.

15 years agoDont ignore old programs
Adam Dickmeiss [Tue, 8 Sep 2009 12:26:19 +0000 (14:26 +0200)]
Dont ignore old programs

15 years agoAvoid extern when a header just does it
Adam Dickmeiss [Tue, 8 Sep 2009 12:23:35 +0000 (14:23 +0200)]
Avoid extern when a header just does it

15 years agoconst some arguments. Remove http_command.h
Adam Dickmeiss [Tue, 8 Sep 2009 12:19:47 +0000 (14:19 +0200)]
const some arguments. Remove http_command.h

15 years agoAnnocate static vars left
Adam Dickmeiss [Tue, 8 Sep 2009 12:06:59 +0000 (14:06 +0200)]
Annocate static vars left

15 years agoRefactor to avoid more static variables
Adam Dickmeiss [Tue, 8 Sep 2009 11:51:02 +0000 (13:51 +0200)]
Refactor to avoid more static variables

Move listener_socket to conf_server. It was static before and that
would have given problems with multiple servers (multiple listeners).
The WRBUF confdir is now part of conf_config and no longer static. Move
conf_config to pazpar2_config.c because it is no longer needed by other
modules.

15 years agoProxy per-server. Clean various fixed size bufs.
Adam Dickmeiss [Tue, 8 Sep 2009 09:09:50 +0000 (11:09 +0200)]
Proxy per-server. Clean various fixed size bufs.

15 years agoRemove targetprofiles from test
Adam Dickmeiss [Tue, 8 Sep 2009 08:54:30 +0000 (10:54 +0200)]
Remove targetprofiles from test

15 years agoTargetprofiles part of service.
Adam Dickmeiss [Tue, 8 Sep 2009 07:48:50 +0000 (09:48 +0200)]
Targetprofiles part of service.

The 'targetprofiles' element, if present, must be defined inside
'service' rather than in 'pazpar2' (global).

15 years agoRemove unused settings in test
Adam Dickmeiss [Tue, 8 Sep 2009 07:48:37 +0000 (09:48 +0200)]
Remove unused settings in test

15 years agoRemove unused global parameter: chunk
Adam Dickmeiss [Tue, 8 Sep 2009 07:29:07 +0000 (09:29 +0200)]
Remove unused global parameter: chunk

15 years agoRemove more semi-unused globals
Adam Dickmeiss [Tue, 8 Sep 2009 07:23:53 +0000 (09:23 +0200)]
Remove more semi-unused globals

15 years agoRemoved unused local
Adam Dickmeiss [Tue, 8 Sep 2009 07:03:56 +0000 (09:03 +0200)]
Removed unused local

15 years agoTest server with multiple services
Adam Dickmeiss [Tue, 8 Sep 2009 07:01:44 +0000 (09:01 +0200)]
Test server with multiple services

15 years agoRefactor / reduce globals.
Adam Dickmeiss [Mon, 7 Sep 2009 13:58:14 +0000 (15:58 +0200)]
Refactor / reduce globals.

15 years agoDatabases per-service.
Adam Dickmeiss [Mon, 7 Sep 2009 12:07:14 +0000 (14:07 +0200)]
Databases per-service.

A service may now have a 'settings' element which defines settings
for this service alone. The database(s) are now managed per-service
- including memory (NMEM).

15 years agoMultiple services.
Adam Dickmeiss [Mon, 7 Sep 2009 09:01:29 +0000 (11:01 +0200)]
Multiple services.

The 'service' element may be repeated inside 'server'. A service may
be identified by an attribute 'id'. There can be exactly one or no
unnamed service (no attribute). For command init a service may
be selected by the use of parameter 'service'. No 'service' parameter
selects the unnamed service (backwards compatible).

15 years agoReformat
Adam Dickmeiss [Mon, 7 Sep 2009 08:07:50 +0000 (10:07 +0200)]
Reformat

15 years agoRefactor NMEM usage for conf_{service,config}.
Adam Dickmeiss [Mon, 7 Sep 2009 08:04:26 +0000 (10:04 +0200)]
Refactor NMEM usage for conf_{service,config}.

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 4 Sep 2009 13:32:38 +0000 (15:32 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

15 years agoRefactor service, settings
Adam Dickmeiss [Fri, 4 Sep 2009 13:23:15 +0000 (15:23 +0200)]
Refactor service, settings

15 years agoMerge branch 'master' of ssh://git/home/git/pub/pazpar2
Sebastian Hammer [Wed, 2 Sep 2009 11:45:06 +0000 (11:45 +0000)]
Merge branch 'master' of ssh://git/home/git/pub/pazpar2

15 years agoAdding comment
Sebastian Hammer [Wed, 2 Sep 2009 11:44:39 +0000 (11:44 +0000)]
Adding comment

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 2 Sep 2009 11:38:55 +0000 (13:38 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

15 years agoAdd 'make debian' target
Adam Dickmeiss [Wed, 2 Sep 2009 11:38:51 +0000 (13:38 +0200)]
Add 'make debian' target

15 years agoPolling 'record' based on new 'activeclients' in pazpar2
Niels Erik Nielsen [Wed, 2 Sep 2009 01:56:20 +0000 (21:56 -0400)]
Polling 'record' based on new 'activeclients' in pazpar2

15 years agoExtend record response with more info.
Adam Dickmeiss [Mon, 31 Aug 2009 12:39:35 +0000 (14:39 +0200)]
Extend record response with more info.

The record command now has activeclients (as in show), nextrecid
(if such record exist), prevrecid (if such record exist). This allows
navigation on single records and check for whether the system is idle
(activeclients == 0). Bug #3012.

15 years agoFix quoting for upload.sh
Adam Dickmeiss [Fri, 28 Aug 2009 12:46:06 +0000 (14:46 +0200)]
Fix quoting for upload.sh

15 years agoupload script v1.1.1
Adam Dickmeiss [Fri, 28 Aug 2009 12:42:18 +0000 (14:42 +0200)]
upload script

15 years agoRemove DETAILS_AT_TOP Dox config
Adam Dickmeiss [Fri, 28 Aug 2009 12:41:48 +0000 (14:41 +0200)]
Remove DETAILS_AT_TOP Dox config

15 years agoVersion 1.1.1
Adam Dickmeiss [Fri, 28 Aug 2009 12:39:02 +0000 (14:39 +0200)]
Version 1.1.1

15 years agoOmit tkl rules for documentation
Adam Dickmeiss [Fri, 28 Aug 2009 12:37:30 +0000 (14:37 +0200)]
Omit tkl rules for documentation

15 years agoTie resultset to session instead of connection
Adam Dickmeiss [Thu, 27 Aug 2009 19:35:44 +0000 (21:35 +0200)]
Tie resultset to session instead of connection

One result set is created per session (last search) rather than for
each connection which happen to be shared (bug #3009).

15 years agoAdded mention of 'relevance' sortfield
Sebastian Hammer [Fri, 21 Aug 2009 19:47:32 +0000 (19:47 +0000)]
Added mention of 'relevance' sortfield

15 years agoShould now be functionally equivalent to marc21.xsl
Sebastian Hammer [Thu, 20 Aug 2009 22:51:41 +0000 (22:51 +0000)]
Should now be functionally equivalent to marc21.xsl

15 years agoMore still!!!
Sebastian Hammer [Thu, 20 Aug 2009 22:34:48 +0000 (22:34 +0000)]
More still!!!

15 years agoMore fields
Sebastian Hammer [Thu, 20 Aug 2009 22:25:23 +0000 (22:25 +0000)]
More fields

15 years agoBeginning of hopefully more efficient marc21 stylesheet
Sebastian Hammer [Thu, 20 Aug 2009 22:16:01 +0000 (22:16 +0000)]
Beginning of hopefully more efficient marc21 stylesheet

15 years agomaxrecs
Sebastian Hammer [Thu, 20 Aug 2009 21:01:19 +0000 (21:01 +0000)]
maxrecs

15 years agoHere's a version that does DC
Sebastian Hammer [Thu, 20 Aug 2009 20:59:04 +0000 (20:59 +0000)]
Here's a version that does DC

15 years agoUpdate release date v1.1.0
Adam Dickmeiss [Wed, 19 Aug 2009 11:30:32 +0000 (13:30 +0200)]
Update release date

15 years agoRemove NSI file
Adam Dickmeiss [Wed, 19 Aug 2009 11:29:14 +0000 (13:29 +0200)]
Remove NSI file

15 years agoDebian version 1.1.0-1.
Adam Dickmeiss [Tue, 18 Aug 2009 09:22:41 +0000 (11:22 +0200)]
Debian version 1.1.0-1.

15 years agoNews update.
Adam Dickmeiss [Tue, 18 Aug 2009 09:19:33 +0000 (11:19 +0200)]
News update.

15 years agoFor bad timeout value, use yaz_log and halt Pazpar2
Adam Dickmeiss [Fri, 14 Aug 2009 12:35:28 +0000 (14:35 +0200)]
For bad timeout value, use yaz_log and halt Pazpar2

Use yaz_log for errors so they can be spotted in the YAZ log file - like
almost all other errors. Do not continue Pazpar2 if bad option is given.

15 years agoNew command line option:
Wolfram Schneider [Wed, 5 Aug 2009 09:06:32 +0000 (09:06 +0000)]
New command line option:

    -T session_timeout
           Specifies a Pazpar2 HTTP session timeout. This overrides the
           default value of 60 seconds which is to low for some broken
           browser.

15 years agoUpdate to new ID URLs
Adam Dickmeiss [Fri, 10 Jul 2009 16:04:31 +0000 (18:04 +0200)]
Update to new ID URLs

15 years agoUse Docbook formatted GPL v2 from FSF
Adam Dickmeiss [Fri, 26 Jun 2009 18:55:45 +0000 (20:55 +0200)]
Use Docbook formatted GPL v2 from FSF

15 years agoAdded circulation information
Sebastian Hammer [Tue, 16 Jun 2009 18:17:28 +0000 (18:17 +0000)]
Added circulation information

15 years agoAdded stylesheet for parsing OPAC records and extracting circ information
Sebastian Hammer [Tue, 16 Jun 2009 18:16:03 +0000 (18:16 +0000)]
Added stylesheet for parsing OPAC records and extracting circ information

15 years agoRefactored
Sebastian Hammer [Tue, 16 Jun 2009 18:15:45 +0000 (18:15 +0000)]
Refactored

15 years agowait a second between stop and start in the restart command. This avoid
Wolfram Schneider [Thu, 28 May 2009 08:36:01 +0000 (08:36 +0000)]
wait a second between stop and start in the restart command. This avoid
the case when the OS does not give yet the port address free and bind failed:

08:27:51-28/05 pazpar2 [log] Pazpar2 1.1.0 started
08:27:51-28/05 pazpar2 [log] HTTP listener 9005
08:27:51-28/05 pazpar2 [fatal] bind [Address already in use]
08:27:51-28/05 pazpar2 [log] Received SIGTERM from child 14128

15 years agoAdded SRU target for Gutenberg, for testing.
Sebastian Hammer [Tue, 19 May 2009 17:14:06 +0000 (17:14 +0000)]
Added SRU target for Gutenberg, for testing.

15 years agoTurned off PDU log for LOC
Sebastian Hammer [Tue, 19 May 2009 15:25:24 +0000 (15:25 +0000)]
Turned off PDU log for LOC

15 years agoCosmetic
Sebastian Hammer [Tue, 19 May 2009 15:08:16 +0000 (15:08 +0000)]
Cosmetic

15 years agoAdded config for accessing LOC through SRU.
Sebastian Hammer [Tue, 19 May 2009 15:07:37 +0000 (15:07 +0000)]
Added config for accessing LOC through SRU.

15 years agoModified to ignore name of root element. This makes the stylesheet much more flexible.
Sebastian Hammer [Tue, 19 May 2009 15:06:50 +0000 (15:06 +0000)]
Modified to ignore name of root element. This makes the stylesheet much more flexible.

15 years agodon't try to kill a process which does not exists anymore - this avoid
Wolfram Schneider [Mon, 11 May 2009 20:25:37 +0000 (20:25 +0000)]
don't try to kill a process which does not exists anymore - this avoid
a silly error message

15 years agoAdded subject md element.
Jakub Skoczen [Tue, 5 May 2009 12:22:18 +0000 (14:22 +0200)]
Added subject md element.

15 years agoAdd doc-clean target
Adam Dickmeiss [Tue, 5 May 2009 11:12:04 +0000 (13:12 +0200)]
Add doc-clean target

15 years agoUpdate important news
Adam Dickmeiss [Tue, 5 May 2009 11:07:44 +0000 (13:07 +0200)]
Update important news

15 years agoPazpar2 command 'info' also shows Git SHA1 ID.
Adam Dickmeiss [Tue, 5 May 2009 11:00:43 +0000 (13:00 +0200)]
Pazpar2 command 'info' also shows Git SHA1 ID.

15 years agoPazpar2 -V also shows Git SHA1.
Adam Dickmeiss [Tue, 5 May 2009 11:00:09 +0000 (13:00 +0200)]
Pazpar2 -V also shows Git SHA1.

15 years agoGenerate PAZPAR2_VERSION_SHA1 (Git SHA1 ID).
Adam Dickmeiss [Tue, 5 May 2009 10:59:46 +0000 (12:59 +0200)]
Generate PAZPAR2_VERSION_SHA1 (Git SHA1 ID).

15 years agoFix template name (bad from previous commit)
Adam Dickmeiss [Tue, 5 May 2009 10:34:29 +0000 (12:34 +0200)]
Fix template name (bad from previous commit)

15 years agoMove openurl stuff to marc21-ourl.xsl. Hookin marc21.xsl.
Adam Dickmeiss [Tue, 5 May 2009 10:25:15 +0000 (12:25 +0200)]
Move openurl stuff to marc21-ourl.xsl. Hookin marc21.xsl.

The marc21.xsl now has a template record-hook which allows marc21.xsl to
be imported and record-hook to override stuff. The marc21-ourl.xsl
uses this facility and includes the pz2-ourl-marc21-xsl.

15 years agoNew mergekey facilities. Bug #2343 and bug #2800).
Adam Dickmeiss [Fri, 1 May 2009 13:04:23 +0000 (15:04 +0200)]
New mergekey facilities. Bug #2343 and bug #2800).

The mergekey (recid in display) is now generated by the following
rules: the contents of attribute mergekey and all metadata elements
with attribute mergekey=yes are combined in to one resulting mergekey.
If the resulting mergekey is empty a unique mergekey is generated
(which prevents merging). This allows a system with no merging
enabled. It also allows mergekeys to be customized "per-service".

15 years agoSimplifications WRT show raw (immediate).
Adam Dickmeiss [Fri, 1 May 2009 11:06:16 +0000 (13:06 +0200)]
Simplifications WRT show raw (immediate).

15 years agoNew record retrieval test that does not rely on caching.
Adam Dickmeiss [Fri, 1 May 2009 10:41:09 +0000 (12:41 +0200)]
New record retrieval test that does not rely on caching.

15 years agoCommand record may return cached records (bug #2799).
Adam Dickmeiss [Fri, 1 May 2009 10:37:12 +0000 (12:37 +0200)]
Command record may return cached records (bug #2799).

The 'record' command with argument 'offset' given but with no
'syntax' and 'esn' parameter now fetches records from last search.
This allows fast retrieval of marcxml and raw records. If, OTOH, esn
and syntax is given the record is assumed not to be cached and a new
present request is fired as before.

15 years agobuildconf.sh uses only Libtool flags when present
Adam Dickmeiss [Fri, 1 May 2009 09:02:30 +0000 (11:02 +0200)]
buildconf.sh uses only Libtool flags when present

15 years agoRemove redundant tests test_{relevance,reclists}.
Adam Dickmeiss [Fri, 1 May 2009 08:50:13 +0000 (10:50 +0200)]
Remove redundant tests test_{relevance,reclists}.

15 years agoUpdate expected result for regression test (bug #2723).
Adam Dickmeiss [Wed, 1 Apr 2009 21:13:05 +0000 (23:13 +0200)]
Update expected result for regression test (bug #2723).

15 years agoUpdate to upstream skeleton of init.d script.
Adam Dickmeiss [Wed, 1 Apr 2009 13:31:29 +0000 (15:31 +0200)]
Update to upstream skeleton of init.d script.

Make a new init.d script which is based on /etc/init.d/skeleton . This
changes a few things, most importantly there is no sleep anymore for
restart.. Instead --retry is used . This might very well fix bug #2285.

15 years agoResolved conflicts
Sebastian Hammer [Fri, 27 Mar 2009 12:34:52 +0000 (12:34 +0000)]
Resolved conflicts

Merge branch 'master' of ssh://git/home/git/pub/pazpar2

Conflicts:

etc/cf.xsl

15 years agoTUning
Sebastian Hammer [Fri, 27 Mar 2009 12:32:47 +0000 (12:32 +0000)]
TUning

15 years agoI hate failed merges
Wolfram Schneider [Wed, 25 Mar 2009 09:52:02 +0000 (09:52 +0000)]
I hate failed merges

15 years agoprint URL
Wolfram Schneider [Tue, 24 Mar 2009 22:56:10 +0000 (22:56 +0000)]
print URL

15 years agoAdd <progress /> tag to support a progress bar. The value is between 0 ... 1
Wolfram Schneider [Tue, 24 Mar 2009 22:49:33 +0000 (22:49 +0000)]
Add <progress /> tag to support a progress bar. The value is between 0 ... 1

15 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Jakub Skoczen [Tue, 24 Mar 2009 13:19:19 +0000 (14:19 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

15 years agoAdded native dc normaliztion stylesheet.
Jakub Skoczen [Tue, 24 Mar 2009 13:18:53 +0000 (14:18 +0100)]
Added native dc normaliztion stylesheet.

15 years agoFix NULL ptr reference for HTTP proxy.
Adam Dickmeiss [Thu, 19 Mar 2009 12:32:13 +0000 (13:32 +0100)]
Fix NULL ptr reference for HTTP proxy.

The ser->host might be 0 in case attribute 'host' is not given for element
'listen' in configuration. This commit avoids referencing it in sprintf.

15 years agoSet OBJDIR
Adam Dickmeiss [Fri, 6 Mar 2009 13:46:52 +0000 (14:46 +0100)]
Set OBJDIR

15 years agoPath fixes for Windows. Settings uses base conf directory.
Adam Dickmeiss [Thu, 5 Mar 2009 11:48:57 +0000 (12:48 +0100)]
Path fixes for Windows. Settings uses base conf directory.

15 years agoNSIS installer works for src + binaries.
Adam Dickmeiss [Thu, 5 Mar 2009 11:46:40 +0000 (12:46 +0100)]
NSIS installer works for src + binaries.

NSIS installer works for source and binaries.. Pazpar2 may be
started on console, but Windows service short-cuts do not yet work.

15 years agoLink with YAZ' ICU wrapper on Windows too
Adam Dickmeiss [Thu, 5 Mar 2009 11:45:53 +0000 (12:45 +0100)]
Link with YAZ' ICU wrapper on Windows too