pazpar2-moved-to-github.git
16 years agobetter error recording and output of example XML config file added
Marc Cromme [Thu, 30 Aug 2007 08:45:08 +0000 (08:45 +0000)]
better error recording and output of example XML config file added

16 years agoEliminated exits. Pointer type change, to remove warning
Sebastian Hammer [Tue, 28 Aug 2007 21:11:21 +0000 (21:11 +0000)]
Eliminated exits. Pointer type change, to remove warning

16 years agoThis should address Bug 1433, OpenURL links appearing where they should not.
Sebastian Hammer [Tue, 28 Aug 2007 16:47:30 +0000 (16:47 +0000)]
This should address Bug 1433, OpenURL links appearing where they should not.
marc21.xsl normalization stylesheet was generating metadata element whether
an OpenURL resolver was known or not. This caused display stylesheet to
generate the element. Could have been fixed either place.

16 years agoCreate a symlink rather than a file in /etc/apache2/conf.d
Adam Dickmeiss [Wed, 22 Aug 2007 13:25:55 +0000 (13:25 +0000)]
Create a symlink rather than a file in /etc/apache2/conf.d

16 years agoOfficial version 1.0.2. PAZPAR2.1.0.2
Adam Dickmeiss [Wed, 22 Aug 2007 09:54:57 +0000 (09:54 +0000)]
Official version 1.0.2.

16 years agoChanged session_setting_oneval to return 'const string' rather than
Adam Dickmeiss [Fri, 17 Aug 2007 12:39:11 +0000 (12:39 +0000)]
Changed session_setting_oneval to return 'const string' rather than
string. Settings returned are strictly read-only.

16 years agoFixed bug #1355: CCL-queries messed up by binary chars.
Adam Dickmeiss [Fri, 17 Aug 2007 12:25:26 +0000 (12:25 +0000)]
Fixed bug #1355: CCL-queries messed up by binary chars.
Apparently the yaz_iconv_open was passed an empty string - returned
from absent queryencoding setting. We now check for empty string..
I don't like empty string and NULL value to be messed. Function
session_setting_oneval should return NULL for absent value. Empty
string for empty string.

16 years agoAdded test for bug #1355.
Adam Dickmeiss [Fri, 17 Aug 2007 12:11:50 +0000 (12:11 +0000)]
Added test for bug #1355.

16 years agoAdded open-url-resolver setting to the default set of targets.
Jakub Skoczen [Fri, 17 Aug 2007 11:29:36 +0000 (11:29 +0000)]
Added open-url-resolver setting to the default set of targets.

16 years agoAdded open-url element to the service.
Jakub Skoczen [Thu, 16 Aug 2007 12:42:44 +0000 (12:42 +0000)]
Added open-url element to the service.

16 years agoAdding open-url lik generation to the normalization stylesheets.
Jakub Skoczen [Thu, 16 Aug 2007 12:40:01 +0000 (12:40 +0000)]
Adding open-url lik generation to the normalization stylesheets.

16 years agoFixed bug #1358: md-title-remainder may or may not be present in test.
Adam Dickmeiss [Thu, 16 Aug 2007 11:30:45 +0000 (11:30 +0000)]
Fixed bug #1358: md-title-remainder may or may not be present in test.
The xmlNodeListGetString in some cases returns NULL and other cases
return "" for what seems to be same input.

16 years agoadded docbook-xsl to build dependencies
Marc Cromme [Thu, 16 Aug 2007 07:56:18 +0000 (07:56 +0000)]
added docbook-xsl to build dependencies

16 years agoCreated new field, 'subject-long' containing detailed subject headings.. it appears
Sebastian Hammer [Thu, 16 Aug 2007 03:12:42 +0000 (03:12 +0000)]
Created new field, 'subject-long' containing detailed subject headings.. it appears
the fully detailed subject headings don't work well as search access points, at
least in the LoC.

16 years agoTuning subject display
Sebastian Hammer [Thu, 16 Aug 2007 02:56:33 +0000 (02:56 +0000)]
Tuning subject display

16 years agoAdded subject subfields -- to differentiate different subcategories.
Sebastian Hammer [Thu, 16 Aug 2007 02:44:19 +0000 (02:44 +0000)]
Added subject subfields -- to differentiate different subcategories.

16 years agoChanges in the pz2.js to make back button work.
Jakub Skoczen [Tue, 14 Aug 2007 14:23:32 +0000 (14:23 +0000)]
Changes in the pz2.js to make back button work.

16 years agoTesting some settings as well
Adam Dickmeiss [Tue, 14 Aug 2007 14:06:21 +0000 (14:06 +0000)]
Testing some settings as well

16 years agoFixed bug #1021: Handling of individual proxies for targets.
Adam Dickmeiss [Tue, 14 Aug 2007 14:03:02 +0000 (14:03 +0000)]
Fixed bug #1021: Handling of individual proxies for targets.

16 years agoBlock on first show following invalid search
Adam Dickmeiss [Tue, 14 Aug 2007 13:14:48 +0000 (13:14 +0000)]
Block on first show following invalid search

16 years agoImplemented what could be a fix for bug #1356: Pazpar2 crashes for some
Adam Dickmeiss [Mon, 13 Aug 2007 13:27:04 +0000 (13:27 +0000)]
Implemented what could be a fix for bug #1356: Pazpar2 crashes for some
invalid URL. The problem is not URL related but rather that a show following
a faulty search (here filter fail) will read a _lot_ of uninitalized memory.

16 years agoIgnore valgrind output.
Adam Dickmeiss [Mon, 13 Aug 2007 12:51:11 +0000 (12:51 +0000)]
Ignore valgrind output.

16 years agoAllow the use of valgrind
Adam Dickmeiss [Mon, 13 Aug 2007 12:51:00 +0000 (12:51 +0000)]
Allow the use of valgrind

16 years agoFixed bug #1359: Pazpar2 reading uninitialized memory when sorting.
Adam Dickmeiss [Mon, 13 Aug 2007 12:42:45 +0000 (12:42 +0000)]
Fixed bug #1359: Pazpar2 reading uninitialized memory when sorting.
The offset is -1 when relevance is in effect. We just use value
0 instead.

16 years agoDebian package bug #1348 fixed.
Adam Dickmeiss [Mon, 13 Aug 2007 12:13:31 +0000 (12:13 +0000)]
Debian package bug #1348 fixed.

16 years agoFixed bug #1348: Conversion into OPAC. The MARC conversion module
Adam Dickmeiss [Mon, 13 Aug 2007 12:12:30 +0000 (12:12 +0000)]
Fixed bug #1348: Conversion into OPAC. The MARC conversion module
was using Libxml2 to produce the bibliographicRecord and caused an
XML header to be included in a bad place.

16 years agoid logo part of pazpar2-jsdemo package
Adam Dickmeiss [Mon, 13 Aug 2007 08:38:07 +0000 (08:38 +0000)]
id logo part of pazpar2-jsdemo package

16 years agoAdded URL-recipe to dist file. Not sure if this is the right thing
Sebastian Hammer [Mon, 13 Aug 2007 03:43:40 +0000 (03:43 +0000)]
Added URL-recipe to dist file. Not sure if this is the right thing
to do, but auth module in standard masterkey relies on it, and it
doesn't hurt aanyone if it isn't used.

16 years agoInclude test marc21.xsl in distribution (tar.gz).
Adam Dickmeiss [Sun, 12 Aug 2007 10:36:33 +0000 (10:36 +0000)]
Include test marc21.xsl in distribution (tar.gz).

16 years agoUpdated doc to reflect changes in settings system
Sebastian Hammer [Wed, 1 Aug 2007 11:48:26 +0000 (11:48 +0000)]
Updated doc to reflect changes in settings system

16 years agoIncluded description of settings exposed to records.
Sebastian Hammer [Tue, 31 Jul 2007 22:35:40 +0000 (22:35 +0000)]
Included description of settings exposed to records.

16 years agoEnabled passing settings values to normalization stylesheet.
Sebastian Hammer [Mon, 30 Jul 2007 23:16:33 +0000 (23:16 +0000)]
Enabled passing settings values to normalization stylesheet.

16 years agoMade local copy of marc21.xsl. This was done to support tests and behavior
Sebastian Hammer [Mon, 30 Jul 2007 23:06:01 +0000 (23:06 +0000)]
Made local copy of marc21.xsl. This was done to support tests and behavior
that is not desirable in demo/production systems.

16 years agoAdded support for settings-derived data elements in post-normalization record
Sebastian Hammer [Mon, 30 Jul 2007 11:52:08 +0000 (11:52 +0000)]
Added support for settings-derived data elements in post-normalization record

16 years agoadded target debian;
Marc Cromme [Fri, 27 Jul 2007 09:07:49 +0000 (09:07 +0000)]
added target debian;

16 years agoAdded IE/FF compatibility functions.
Jakub Skoczen [Thu, 26 Jul 2007 13:47:52 +0000 (13:47 +0000)]
Added IE/FF compatibility functions.

DOMDocument:
    newXmlDoc
    parseXmlFromString

DOMElement:
    removeFromDoc
    emptyChildren
    appendTransformResult
    appendTextNode
    setTextContent
    getTextContent

16 years agoFixed bug #1319: Pazpar2 goes to infinite loop.. Seems resolver related.
Adam Dickmeiss [Wed, 25 Jul 2007 13:27:06 +0000 (13:27 +0000)]
Fixed bug #1319: Pazpar2 goes to infinite loop.. Seems resolver related.
Routine connect_resolver_host had a brain-damaged loop structure.

16 years agoRemoved sleep/test code which was commited by mistake
Adam Dickmeiss [Wed, 25 Jul 2007 13:20:46 +0000 (13:20 +0000)]
Removed sleep/test code which was commited by mistake

16 years agoZ39.50 session/connect timeout in parameters
Adam Dickmeiss [Wed, 25 Jul 2007 11:41:32 +0000 (11:41 +0000)]
Z39.50 session/connect timeout in parameters

16 years agoRemoved unused code
Adam Dickmeiss [Wed, 25 Jul 2007 11:00:26 +0000 (11:00 +0000)]
Removed unused code

16 years agoAdded clickable facets to the jsdemo.
Jakub Skoczen [Tue, 24 Jul 2007 08:15:12 +0000 (08:15 +0000)]
Added clickable facets to the jsdemo.

16 years agoNew internal Deb package: osrting by year
Adam Dickmeiss [Mon, 23 Jul 2007 12:28:46 +0000 (12:28 +0000)]
New internal Deb package: osrting by year

16 years agoAdded note about sorting by year.
Adam Dickmeiss [Mon, 23 Jul 2007 12:27:44 +0000 (12:27 +0000)]
Added note about sorting by year.

16 years agoImplemented numeric sorting (sort by year). Bug #820.
Adam Dickmeiss [Mon, 23 Jul 2007 12:23:30 +0000 (12:23 +0000)]
Implemented numeric sorting (sort by year). Bug #820.

16 years agoAdded test for sorting of title.
Adam Dickmeiss [Mon, 23 Jul 2007 11:54:00 +0000 (11:54 +0000)]
Added test for sorting of title.

16 years agoRemoved masterkey.cfg
Adam Dickmeiss [Thu, 19 Jul 2007 17:48:18 +0000 (17:48 +0000)]
Removed masterkey.cfg

16 years agoMaking demo look nicer.
Jakub Skoczen [Wed, 18 Jul 2007 16:44:15 +0000 (16:44 +0000)]
Making demo look nicer.

16 years agoAdded OAI/DC conversion.
Adam Dickmeiss [Wed, 18 Jul 2007 14:19:03 +0000 (14:19 +0000)]
Added OAI/DC conversion.

16 years agoAdded this stylesheet. Just includes marc21.xsl.
Adam Dickmeiss [Wed, 18 Jul 2007 14:11:42 +0000 (14:11 +0000)]
Added this stylesheet. Just includes marc21.xsl.

16 years agoDefault pazpar2 invocation url path is /pazpar2/search.pz2..
Adam Dickmeiss [Wed, 18 Jul 2007 13:40:56 +0000 (13:40 +0000)]
Default pazpar2 invocation url path is /pazpar2/search.pz2..

16 years agoTest use of pz:xslt=auto
Adam Dickmeiss [Wed, 18 Jul 2007 13:39:11 +0000 (13:39 +0000)]
Test use of pz:xslt=auto

16 years agoA value of pz:xslt = auto makes pazpar2 load stylesheet with name:
Adam Dickmeiss [Wed, 18 Jul 2007 13:37:30 +0000 (13:37 +0000)]
A value of pz:xslt = auto makes pazpar2 load stylesheet with name:
value of as pz:requestsyntax followed by '.xsl'.

16 years agoThe record ID (recid) that Pazpar2 generates is now the merge key and not
Adam Dickmeiss [Mon, 16 Jul 2007 17:01:46 +0000 (17:01 +0000)]
The record ID (recid) that Pazpar2 generates is now the merge key and not
a dynamically generated integer. It allows us to repeat the search and
still be able to get hold of the record again. A little more persistent.

16 years agoMerge the electronic url
Adam Dickmeiss [Mon, 16 Jul 2007 16:43:45 +0000 (16:43 +0000)]
Merge the electronic url

16 years agoAdded metadata: medium, electronic-{url,text,note}
Adam Dickmeiss [Mon, 16 Jul 2007 15:21:29 +0000 (15:21 +0000)]
Added metadata: medium, electronic-{url,text,note}

16 years agoSimplify make dist hook. Omit etc/masterkey content from distribution.
Adam Dickmeiss [Mon, 16 Jul 2007 12:31:09 +0000 (12:31 +0000)]
Simplify make dist hook. Omit etc/masterkey content from distribution.

16 years agoAdded a lot more metadata for MARC21. This changes the ranking result
Adam Dickmeiss [Mon, 16 Jul 2007 09:39:55 +0000 (09:39 +0000)]
Added a lot more metadata for MARC21. This changes the ranking result
a bit. Added test for 'record' command with- and without offset.

16 years agoRephrase
Adam Dickmeiss [Mon, 16 Jul 2007 09:10:05 +0000 (09:10 +0000)]
Rephrase

16 years agoOne more record dump to be tweaked to use log file
Adam Dickmeiss [Mon, 16 Jul 2007 09:09:56 +0000 (09:09 +0000)]
One more record dump to be tweaked to use log file

16 years agoOption -d dumps records to the current log file instead of stderr.
Adam Dickmeiss [Mon, 16 Jul 2007 09:00:22 +0000 (09:00 +0000)]
Option -d dumps records to the current log file instead of stderr.

16 years agoDescribe option -h
Adam Dickmeiss [Mon, 16 Jul 2007 08:58:12 +0000 (08:58 +0000)]
Describe option -h

16 years agoA little more details on how record&offset=.. fails
Adam Dickmeiss [Fri, 13 Jul 2007 13:16:57 +0000 (13:16 +0000)]
A little more details on how record&offset=.. fails

16 years agoIf member 'handle' is specified as a param, then handle will be passed to
Anders S. Mortensen [Fri, 13 Jul 2007 10:30:36 +0000 (10:30 +0000)]
If member 'handle' is specified as a param, then handle will be passed to
callback.

16 years agoPazpar2 uses the MARC/iconv handle when genearted OPACXML. This is to
Adam Dickmeiss [Fri, 13 Jul 2007 09:25:41 +0000 (09:25 +0000)]
Pazpar2 uses the MARC/iconv handle when genearted OPACXML. This is to
ensure we encode the MARC portion according to charset rules.

16 years agorecord handler can be called with optional 3rd argument which is expected to
Anders S. Mortensen [Thu, 12 Jul 2007 11:49:20 +0000 (11:49 +0000)]
record handler can be called with optional 3rd argument which is expected to
be a hash table. If member callback exists, this will be called upon
response.

16 years agoRemoved 'Destroying orphan connection' warning.
Adam Dickmeiss [Thu, 12 Jul 2007 08:01:06 +0000 (08:01 +0000)]
Removed 'Destroying orphan connection' warning.

16 years agoFixed bug #1283: Keep un-merged metadata elements.
Adam Dickmeiss [Wed, 11 Jul 2007 19:41:40 +0000 (19:41 +0000)]
Fixed bug #1283: Keep un-merged metadata elements.

16 years agoAdded (thanks to Giannis)
Anders S. Mortensen [Wed, 11 Jul 2007 10:32:27 +0000 (10:32 +0000)]
Added (thanks to Giannis)

16 years agopazpar2.cfg.dist listens on port 9004. The Debian config pazpar2.cfg
Adam Dickmeiss [Tue, 10 Jul 2007 15:00:13 +0000 (15:00 +0000)]
pazpar2.cfg.dist listens on port 9004. The Debian config pazpar2.cfg
listens on port 8004.

16 years agoUse pz:elements. Change reference to marc21.xsl.
Adam Dickmeiss [Tue, 10 Jul 2007 13:43:07 +0000 (13:43 +0000)]
Use pz:elements. Change reference to marc21.xsl.

16 years agoFix location of pazpar2.cfg (bug introduced in previous commit)
Adam Dickmeiss [Tue, 10 Jul 2007 12:05:14 +0000 (12:05 +0000)]
Fix location of pazpar2.cfg (bug introduced in previous commit)

16 years agoDebian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with
Adam Dickmeiss [Tue, 10 Jul 2007 10:40:49 +0000 (10:40 +0000)]
Debian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with
cfg.patch applied.

16 years agoSpecify pz:elements because it is implemented
Adam Dickmeiss [Tue, 10 Jul 2007 10:20:56 +0000 (10:20 +0000)]
Specify pz:elements because it is implemented

16 years agoRemoved syntax and esn from being hard-coded, because Pazpar2 now uses
Adam Dickmeiss [Tue, 10 Jul 2007 10:17:17 +0000 (10:17 +0000)]
Removed syntax and esn from being hard-coded, because Pazpar2 now uses
pz:requestsyntax and pz:elements by default.

16 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:44:00 +0000 (09:44 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

16 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:40:06 +0000 (09:40 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

16 years agoDo not generate pazpar2.pid by default, i.e. only generate PID file when
Adam Dickmeiss [Tue, 10 Jul 2007 09:19:32 +0000 (09:19 +0000)]
Do not generate pazpar2.pid by default, i.e. only generate PID file when
-p is given.

16 years agoUpstream
Adam Dickmeiss [Tue, 10 Jul 2007 09:19:01 +0000 (09:19 +0000)]
Upstream

16 years agoMinor rephrase
Adam Dickmeiss [Tue, 10 Jul 2007 09:18:49 +0000 (09:18 +0000)]
Minor rephrase

16 years agoFixes for compilation on cygwin.
Adam Dickmeiss [Mon, 9 Jul 2007 20:00:41 +0000 (20:00 +0000)]
Fixes for compilation on cygwin.

16 years agoBump version to 1.0.2
Adam Dickmeiss [Mon, 9 Jul 2007 20:00:29 +0000 (20:00 +0000)]
Bump version to 1.0.2

16 years agoAdded include of sys/time.h
Adam Dickmeiss [Mon, 9 Jul 2007 19:30:35 +0000 (19:30 +0000)]
Added include of sys/time.h

16 years agoSpell fix
Adam Dickmeiss [Fri, 6 Jul 2007 20:15:06 +0000 (20:15 +0000)]
Spell fix

16 years agoFixed command=bytarget example. Added description of offset parameter for
Adam Dickmeiss [Fri, 6 Jul 2007 20:13:22 +0000 (20:13 +0000)]
Fixed command=bytarget example. Added description of offset parameter for
command=record. Added SEE ALSO section.

16 years agoAdded SEE ALSO section
Adam Dickmeiss [Fri, 6 Jul 2007 20:12:40 +0000 (20:12 +0000)]
Added SEE ALSO section

16 years agoAdded content for EXAMPLES and FILES sections
Adam Dickmeiss [Fri, 6 Jul 2007 20:12:22 +0000 (20:12 +0000)]
Added content for EXAMPLES and FILES sections

16 years agoDeal with OPAC records . These are converted to XML but character
Adam Dickmeiss [Fri, 6 Jul 2007 14:31:06 +0000 (14:31 +0000)]
Deal with OPAC records . These are converted to XML but character
set is taken into account yet.

16 years agoChanged from slow to default pseudo-db
Sebastian Hammer [Thu, 5 Jul 2007 19:39:50 +0000 (19:39 +0000)]
Changed from slow to default pseudo-db

16 years agoSummarize changes
Adam Dickmeiss [Thu, 5 Jul 2007 18:48:12 +0000 (18:48 +0000)]
Summarize changes

16 years agoMinor. But previous revsion (1.13) is not related to getline. Instead
Adam Dickmeiss [Thu, 5 Jul 2007 18:46:03 +0000 (18:46 +0000)]
Minor. But previous revsion (1.13) is not related to getline. Instead
it includes changes so that the Z39.50 Pazpar2 client code honors
pz:elements setting. Is used for piggyback search, present and raw present
if syntax is omitted.

16 years agoReindent according to c-mode. Added GPL header
Adam Dickmeiss [Thu, 5 Jul 2007 18:40:24 +0000 (18:40 +0000)]
Reindent according to c-mode. Added GPL header

16 years agoUse portable fgets instead of getline.
Adam Dickmeiss [Thu, 5 Jul 2007 18:37:43 +0000 (18:37 +0000)]
Use portable fgets instead of getline.

16 years agopzHttpRequest: added synchronous load() methd.
Jakub Skoczen [Wed, 4 Jul 2007 12:33:51 +0000 (12:33 +0000)]
pzHttpRequest: added synchronous load() methd.

16 years agoLoose the query parsing so that Pazpar2 only returns error if _all_
Adam Dickmeiss [Wed, 4 Jul 2007 12:07:49 +0000 (12:07 +0000)]
Loose the query parsing so that Pazpar2 only returns error if _all_
query conversions fail (rather than _any_). This means targets that do
not support some fields are ignored in a search.

16 years agoTowards 1.0.1 PAZPAR2.1.0.1
Adam Dickmeiss [Tue, 3 Jul 2007 19:51:39 +0000 (19:51 +0000)]
Towards 1.0.1

16 years agoTowards 1.0.1.
Adam Dickmeiss [Tue, 3 Jul 2007 19:51:29 +0000 (19:51 +0000)]
Towards 1.0.1.

16 years agoAdded logrotate file.
Adam Dickmeiss [Tue, 3 Jul 2007 19:47:11 +0000 (19:47 +0000)]
Added logrotate file.

16 years agoList filter as search parameter
Adam Dickmeiss [Tue, 3 Jul 2007 13:02:32 +0000 (13:02 +0000)]
List filter as search parameter

16 years agopz:apdulog example
Adam Dickmeiss [Tue, 3 Jul 2007 11:41:22 +0000 (11:41 +0000)]
pz:apdulog example

16 years agoAdded new setting pz:apdulog which controls whether APDUs should be
Adam Dickmeiss [Tue, 3 Jul 2007 11:21:48 +0000 (11:21 +0000)]
Added new setting pz:apdulog which controls whether APDUs should be
logged for some target(s).
Fixed bug #1252: Using record&offset=.. may hang for a long time.
The problem was that a target did return a record initially but
it failed for later present requests . So it was disconnected at the
time the record&offset= was used.