metaproxy-moved-to-github.git
12 years agozoom: Only base database as additional info
Adam Dickmeiss [Tue, 28 Feb 2012 16:06:11 +0000 (17:06 +0100)]
zoom: Only base database as additional info

When 'Database does not exist' is returned.

12 years agoMerge branch 'hide_errors'
Adam Dickmeiss [Tue, 28 Feb 2012 15:06:20 +0000 (16:06 +0100)]
Merge branch 'hide_errors'

12 years agomulti: document hideerrors
Adam Dickmeiss [Tue, 28 Feb 2012 15:06:01 +0000 (16:06 +0100)]
multi: document hideerrors

12 years agomulti: adjust schema for hideerrors
Adam Dickmeiss [Tue, 28 Feb 2012 15:02:57 +0000 (16:02 +0100)]
multi: adjust schema for hideerrors

12 years agomulti: hideerrors functional
Adam Dickmeiss [Tue, 28 Feb 2012 14:36:13 +0000 (15:36 +0100)]
multi: hideerrors functional

12 years agozoom: urlRecipe by default disabled
Adam Dickmeiss [Tue, 28 Feb 2012 14:37:51 +0000 (15:37 +0100)]
zoom: urlRecipe by default disabled

12 years agoMerge branch 'master' into hide_errors
Adam Dickmeiss [Tue, 28 Feb 2012 13:43:48 +0000 (14:43 +0100)]
Merge branch 'master' into hide_errors

12 years agozoom: insert generated-url before common XSLT
Adam Dickmeiss [Tue, 28 Feb 2012 13:03:21 +0000 (14:03 +0100)]
zoom: insert generated-url before common XSLT

12 years agozoom: content-proxy no longer part of generated-url
Adam Dickmeiss [Tue, 28 Feb 2012 12:54:16 +0000 (13:54 +0100)]
zoom: content-proxy no longer part of generated-url

12 years agomulti: initial work on hide_errors tweak
Adam Dickmeiss [Tue, 28 Feb 2012 12:23:25 +0000 (13:23 +0100)]
multi: initial work on hide_errors tweak

12 years agozoom: mention record_xsl
Adam Dickmeiss [Tue, 28 Feb 2012 11:50:17 +0000 (12:50 +0100)]
zoom: mention record_xsl

12 years agozoom: tweak element set rules
Adam Dickmeiss [Tue, 28 Feb 2012 11:31:48 +0000 (12:31 +0100)]
zoom: tweak element set rules

If element is not pz2/raw, use explain_xsp if present; if explain_xsp
is not present don't do any pz2 retrievals (old behavior).

12 years agozoom: extra XSLT with cproxyhost param
Adam Dickmeiss [Tue, 28 Feb 2012 11:23:47 +0000 (12:23 +0100)]
zoom: extra XSLT with cproxyhost param

The extra XSLT enabled by if record_xsl attribute is specified
for zooom configuration. This will make a final transform
(after pz2 transform) and will be passed parameter cproxyhost
if content proxy is enabled; not passed otherwise.

12 years agozoom: document timeout setting.
Adam Dickmeiss [Fri, 24 Feb 2012 12:13:09 +0000 (13:13 +0100)]
zoom: document timeout setting.

12 years agozoom: timeout is configurable
Adam Dickmeiss [Fri, 24 Feb 2012 12:07:37 +0000 (13:07 +0100)]
zoom: timeout is configurable

Set as value of attribute 'timeout' in element 'zoom' of configuration.

12 years agozoom: fix spelling for a few errors
Adam Dickmeiss [Fri, 24 Feb 2012 11:42:47 +0000 (12:42 +0100)]
zoom: fix spelling for a few errors

12 years agozoom: tune CCL to Z39.50 diagnostics mapping
Adam Dickmeiss [Fri, 24 Feb 2012 11:36:53 +0000 (12:36 +0100)]
zoom: tune CCL to Z39.50 diagnostics mapping

Throw Bib-1: 108 "Malformed query" for syntax errors and related ones;
throw Bib-1: 3 "Unsupported search" for everything else. Details from
the CCL parser is provided as additional-info.

12 years agoVersion 1.3.24 v1.3.24
Adam Dickmeiss [Thu, 23 Feb 2012 11:21:56 +0000 (11:21 +0000)]
Version 1.3.24

12 years agoUpdate NEWS
Adam Dickmeiss [Thu, 23 Feb 2012 11:18:52 +0000 (12:18 +0100)]
Update NEWS

12 years agoSwap elements resultset and session in example config
Adam Dickmeiss [Thu, 23 Feb 2012 10:51:16 +0000 (11:51 +0100)]
Swap elements resultset and session in example config

To make our schema checking happy.

12 years agoAvoid re-using backends for Explain searches
Adam Dickmeiss [Thu, 23 Feb 2012 10:41:44 +0000 (11:41 +0100)]
Avoid re-using backends for Explain searches

This fixes a bug where re-used IR-Explain---1 searches would
result in an empty response.

12 years agoReduce resultset ttl in config-zoom.xml example
Adam Dickmeiss [Thu, 23 Feb 2012 10:39:44 +0000 (11:39 +0100)]
Reduce resultset ttl in config-zoom.xml example

12 years agoSlightly different sample URL
Adam Dickmeiss [Mon, 20 Feb 2012 14:56:19 +0000 (15:56 +0100)]
Slightly different sample URL

12 years agoSkip missing ccl_map values
Adam Dickmeiss [Mon, 20 Feb 2012 14:55:17 +0000 (15:55 +0100)]
Skip missing ccl_map values

12 years agoUpdate doc/common
Adam Dickmeiss [Fri, 17 Feb 2012 14:31:25 +0000 (15:31 +0100)]
Update doc/common

12 years agoVersion 1.3.23 v1.3.23
Adam Dickmeiss [Fri, 10 Feb 2012 17:44:19 +0000 (17:44 +0000)]
Version 1.3.23

12 years agoUpdate NEWS
Adam Dickmeiss [Fri, 10 Feb 2012 14:41:17 +0000 (15:41 +0100)]
Update NEWS

12 years agoDescribe new configuration for zoom WRT ZeeRex.
Adam Dickmeiss [Fri, 10 Feb 2012 14:35:35 +0000 (15:35 +0100)]
Describe new configuration for zoom WRT ZeeRex.

12 years agozoom: warn if %query is not defined and Explain is used
Adam Dickmeiss [Fri, 10 Feb 2012 14:35:03 +0000 (15:35 +0100)]
zoom: warn if %query is not defined and Explain is used

12 years agoUpdate zoom schema: new explain_xsl attribute
Adam Dickmeiss [Fri, 10 Feb 2012 14:26:24 +0000 (15:26 +0100)]
Update zoom schema: new explain_xsl attribute

12 years agozoom: present and search operational for ZeeRex.
Adam Dickmeiss [Fri, 10 Feb 2012 14:22:48 +0000 (15:22 +0100)]
zoom: present and search operational for ZeeRex.

Note that recordSchema is not set at the moment. serverInfo host+port
is not changed either. Could be set in explain XSL.

12 years agozoom: further work on ZeeRex service
Adam Dickmeiss [Wed, 8 Feb 2012 19:19:11 +0000 (20:19 +0100)]
zoom: further work on ZeeRex service

12 years agoDocument session_shared configuration
Adam Dickmeiss [Wed, 8 Feb 2012 19:17:23 +0000 (20:17 +0100)]
Document session_shared configuration

12 years agosession_shared: restart (error recovery) configurable
Adam Dickmeiss [Wed, 8 Feb 2012 19:15:29 +0000 (20:15 +0100)]
session_shared: restart (error recovery) configurable

Whether a search is restarted on errors or not, is configurable by
attribute restart in element resultset in configuration.

12 years agozoom: work on ZeeRex service
Adam Dickmeiss [Mon, 6 Feb 2012 14:59:11 +0000 (15:59 +0100)]
zoom: work on ZeeRex service

12 years agosession_shared: only relay init for first request
Adam Dickmeiss [Mon, 6 Feb 2012 10:23:42 +0000 (11:23 +0100)]
session_shared: only relay init for first request

session_shared, for each backend class, now only relays first init
request (rather than all). The module only needs to save init
response info once. This avoids the need to check for session max.

12 years agoVersion 1.3.22 v1.3.22
Adam Dickmeiss [Thu, 2 Feb 2012 13:13:00 +0000 (14:13 +0100)]
Version 1.3.22

12 years agoDocument changes
Adam Dickmeiss [Thu, 2 Feb 2012 12:52:42 +0000 (13:52 +0100)]
Document changes

12 years agoDocument session_shared's session max
Adam Dickmeiss [Thu, 2 Feb 2012 12:40:13 +0000 (13:40 +0100)]
Document session_shared's session max

12 years agoDocument correct default result-set ttl
Adam Dickmeiss [Thu, 2 Feb 2012 12:36:25 +0000 (13:36 +0100)]
Document correct default result-set ttl

12 years agoUpdate session_shared schema for max sessions
Adam Dickmeiss [Thu, 2 Feb 2012 12:31:40 +0000 (13:31 +0100)]
Update session_shared schema for max sessions

Also, make the attributes optional.

12 years agosession_shared: allow max sessions to be given
Adam Dickmeiss [Thu, 2 Feb 2012 12:29:56 +0000 (13:29 +0100)]
session_shared: allow max sessions to be given

If attribute "max" for element session is given a more aggresive
result set re-use will be enabled in order to avoid creating a new
session. If this fails and all sessions are in use a temporary
system error diagnostic is returned with appropriate addinfo.

12 years agosession_shared: only reuse sets with matching db
Adam Dickmeiss [Thu, 2 Feb 2012 10:24:51 +0000 (11:24 +0100)]
session_shared: only reuse sets with matching db

At least for backends with no named result sets.

12 years agosession_shared: Simplify ttl conditional
Adam Dickmeiss [Wed, 1 Feb 2012 11:58:40 +0000 (12:58 +0100)]
session_shared: Simplify ttl conditional

A result set ttl of 0 will make immediate reuse of a set.

12 years agozoom: reset result sets (major leak)
Adam Dickmeiss [Wed, 1 Feb 2012 11:35:19 +0000 (12:35 +0100)]
zoom: reset result sets (major leak)

12 years agoRemove yaz_log message
Adam Dickmeiss [Wed, 1 Feb 2012 11:23:45 +0000 (12:23 +0100)]
Remove yaz_log message

12 years agoFix two WRBUF leaks (memory)
Adam Dickmeiss [Wed, 1 Feb 2012 09:29:19 +0000 (10:29 +0100)]
Fix two WRBUF leaks (memory)

12 years agomulti: combines diagnostics from all backends
Adam Dickmeiss [Wed, 18 Jan 2012 14:47:03 +0000 (15:47 +0100)]
multi: combines diagnostics from all backends

All diagnostics from backends are combined into multiple
non-surrogate diagnostics; rather than just one diagnostic from
first backend.

12 years agoFix diagnostic fix up
Adam Dickmeiss [Wed, 18 Jan 2012 14:31:30 +0000 (15:31 +0100)]
Fix diagnostic fix up

The diagnostic fix up where (backend host) is added would not
be added for v3addinfo.

12 years agoHappy new year
Adam Dickmeiss [Wed, 11 Jan 2012 11:20:24 +0000 (12:20 +0100)]
Happy new year

12 years agoVersion 1.3.21 v1.3.21
Adam Dickmeiss [Tue, 27 Dec 2011 13:47:14 +0000 (14:47 +0100)]
Version 1.3.21

12 years agoChanges
Adam Dickmeiss [Tue, 27 Dec 2011 13:45:47 +0000 (14:45 +0100)]
Changes

12 years agozoom: pass realm to cproxy parameter file
Adam Dickmeiss [Tue, 27 Dec 2011 13:41:51 +0000 (14:41 +0100)]
zoom: pass realm to cproxy parameter file

12 years agoVersion 1.3.20-2 for testing filter include
Adam Dickmeiss [Tue, 27 Dec 2011 12:43:11 +0000 (13:43 +0100)]
Version 1.3.20-2 for testing filter include

12 years agoAllow filter collection element inside route
Adam Dickmeiss [Tue, 27 Dec 2011 12:39:28 +0000 (13:39 +0100)]
Allow filter collection element inside route

This makes it possible to include multiple filters at once.

12 years agozoom: nocproxy also disables urlRecipe
Adam Dickmeiss [Thu, 22 Dec 2011 13:17:15 +0000 (14:17 +0100)]
zoom: nocproxy also disables urlRecipe

12 years agoVersion 1.3.20 v1.3.20
Adam Dickmeiss [Wed, 21 Dec 2011 13:58:03 +0000 (14:58 +0100)]
Version 1.3.20

12 years agoChanges
Adam Dickmeiss [Wed, 21 Dec 2011 13:56:34 +0000 (14:56 +0100)]
Changes

12 years agozoom: return diagnostic if CQL sortby conv fails
Adam Dickmeiss [Wed, 21 Dec 2011 10:18:42 +0000 (11:18 +0100)]
zoom: return diagnostic if CQL sortby conv fails

Diagnostic Bib-1 214 "Illegal sort relation" is returned.
Gets translated to SRU diagnostic 90:  "Unsupported direction
value".

12 years agoDocument db parameters nocproxy, proxy
Adam Dickmeiss [Mon, 19 Dec 2011 15:00:15 +0000 (16:00 +0100)]
Document db parameters nocproxy, proxy

12 years agozoom: honor database argument nocproxy
Adam Dickmeiss [Mon, 19 Dec 2011 11:33:49 +0000 (12:33 +0100)]
zoom: honor database argument nocproxy

This disables creating a content connector session (for non-CF
targets, usually) and also relays nocproxy as database argument
to a CF target.

12 years agoVersion 1.3.19 v1.3.19
Adam Dickmeiss [Fri, 16 Dec 2011 13:27:50 +0000 (14:27 +0100)]
Version 1.3.19

12 years agoChanges
Adam Dickmeiss [Fri, 16 Dec 2011 13:26:32 +0000 (14:26 +0100)]
Changes

12 years agohttp_file: unmatched HTTP requests are passed through
Adam Dickmeiss [Fri, 16 Dec 2011 12:00:59 +0000 (13:00 +0100)]
http_file: unmatched HTTP requests are passed through

The previous behavior was to return 404: not found. But that's
no good if we have filters after the http_file filter.

12 years agohttp_file: URI decode paths; strip #, ?.
Adam Dickmeiss [Fri, 16 Dec 2011 11:45:37 +0000 (12:45 +0100)]
http_file: URI decode paths; strip #, ?.

12 years agoutil: Fix leak in uri_encode. Add uri_decode
Adam Dickmeiss [Fri, 16 Dec 2011 11:44:45 +0000 (12:44 +0100)]
util: Fix leak in uri_encode. Add uri_decode

12 years agozoom: allow list of proxies for proxy parameter
Adam Dickmeiss [Tue, 13 Dec 2011 15:03:15 +0000 (16:03 +0100)]
zoom: allow list of proxies for proxy parameter

Such a hack that goto seems proper.

12 years agoVersion 1.3.18 v1.3.18
Adam Dickmeiss [Thu, 8 Dec 2011 11:37:20 +0000 (12:37 +0100)]
Version 1.3.18

12 years agoFix zoom schema: content_url is optional
Adam Dickmeiss [Thu, 8 Dec 2011 11:23:49 +0000 (12:23 +0100)]
Fix zoom schema: content_url is optional

12 years agoNews update
Adam Dickmeiss [Thu, 8 Dec 2011 10:24:12 +0000 (11:24 +0100)]
News update

12 years agozoom: separate Torus URL for content things
Adam Dickmeiss [Thu, 8 Dec 2011 10:01:21 +0000 (11:01 +0100)]
zoom: separate Torus URL for content things

A new attribute, content_url, is allowed in the torus element of
the zoom module configuration.

12 years agozoom: honor content-proxy
Adam Dickmeiss [Thu, 8 Dec 2011 09:28:44 +0000 (10:28 +0100)]
zoom: honor content-proxy

12 years agozoom: extend addinfo with native diagnostics
Adam Dickmeiss [Wed, 7 Dec 2011 14:08:53 +0000 (15:08 +0100)]
zoom: extend addinfo with native diagnostics

Diagnostics as received by ZOOM C are put into addinfo -
including ZOOM, HTTP, SRU and Bib-1 diagnostics. This indicates
both a backend diagnostic and the original form. Seems like
a big improvement to what we have had so far.

12 years agozoom: log diagnostics and records as they pass
Adam Dickmeiss [Wed, 7 Dec 2011 13:11:49 +0000 (14:11 +0100)]
zoom: log diagnostics and records as they pass

12 years agozoom: db arg content-{user,password} dealt with
Adam Dickmeiss [Wed, 7 Dec 2011 11:30:22 +0000 (12:30 +0100)]
zoom: db arg content-{user,password} dealt with

12 years agoSpell fixes for urlRecipe description
Adam Dickmeiss [Wed, 7 Dec 2011 10:25:32 +0000 (11:25 +0100)]
Spell fixes for urlRecipe description

12 years agozoom: urlRecipe's default value is ${md-electronic-url}.
Adam Dickmeiss [Wed, 7 Dec 2011 10:18:25 +0000 (11:18 +0100)]
zoom: urlRecipe's default value is ${md-electronic-url}.

12 years agoSRUVersion -> sruVersion
Adam Dickmeiss [Tue, 6 Dec 2011 13:42:21 +0000 (14:42 +0100)]
SRUVersion -> sruVersion

SRUVersion is still accepted in code but not in schema.

12 years agoCreate content file only if connect succeeds
Adam Dickmeiss [Tue, 6 Dec 2011 10:54:09 +0000 (11:54 +0100)]
Create content file only if connect succeeds

Also do not put "cfproxy" setting in the file. It is not used by
proxy.pl anyway; "proxy", however, is used.

12 years agoAdd include of shared_ptr.hpp
Adam Dickmeiss [Tue, 6 Dec 2011 09:12:32 +0000 (10:12 +0100)]
Add include of shared_ptr.hpp

12 years agoDocument x-session-id, x-log-enable
Adam Dickmeiss [Mon, 5 Dec 2011 15:10:24 +0000 (16:10 +0100)]
Document x-session-id, x-log-enable

12 years agoRequire YAZ 4.2.22 or later
Adam Dickmeiss [Mon, 5 Dec 2011 11:34:59 +0000 (12:34 +0100)]
Require YAZ 4.2.22 or later

12 years agosru_z3950: Only call package.log_reset if log also enabled
Adam Dickmeiss [Mon, 5 Dec 2011 11:27:19 +0000 (12:27 +0100)]
sru_z3950: Only call package.log_reset if log also enabled

This is to ensure the log is not reset by this filter unless
also enabled by it.

12 years agoPackageLogger control by SRU opt x-log-anable
Adam Dickmeiss [Mon, 5 Dec 2011 10:46:11 +0000 (11:46 +0100)]
PackageLogger control by SRU opt x-log-anable

The log also includes APDUs from ZOOM - requires new YAZ utility
ZOOM_connection_save_apdu_wrbuf.

12 years agoFirst go at Package logger
Adam Dickmeiss [Sat, 3 Dec 2011 00:18:17 +0000 (01:18 +0100)]
First go at Package logger

SRU to Z39.50 filter captures log from package and makes a
extra response data with log content inside element 'log'.

12 years agozoom: log CQL query and when parsing fails
Adam Dickmeiss [Fri, 2 Dec 2011 17:57:10 +0000 (18:57 +0100)]
zoom: log CQL query and when parsing fails

12 years agozoom: new TARGET profile setting: SRUVersion
Adam Dickmeiss [Mon, 28 Nov 2011 21:19:57 +0000 (22:19 +0100)]
zoom: new TARGET profile setting: SRUVersion

When set, ZOOM Cs sru_version will be set to its value.

12 years agobuildconf removes autom4te.cache
Adam Dickmeiss [Fri, 25 Nov 2011 13:33:34 +0000 (14:33 +0100)]
buildconf removes autom4te.cache

This is to ensure that software version is not cached but taken
from IDMETA as it should.

12 years agozoom doc: note on URL encoding of db parameters
Adam Dickmeiss [Fri, 25 Nov 2011 12:36:57 +0000 (13:36 +0100)]
zoom doc: note on URL encoding of db parameters

Add a few links to Torus settings from description of database
parameters.

12 years agozoom doc: describe database parameters
Adam Dickmeiss [Fri, 25 Nov 2011 07:45:21 +0000 (08:45 +0100)]
zoom doc: describe database parameters

12 years agoRemove Ubuntu karmic from build
Adam Dickmeiss [Wed, 23 Nov 2011 20:33:19 +0000 (21:33 +0100)]
Remove Ubuntu karmic from build

12 years agoVersion 1.3.17 v1.3.17
Adam Dickmeiss [Thu, 17 Nov 2011 12:38:25 +0000 (13:38 +0100)]
Version 1.3.17

12 years agozoom: log Torus record.
Adam Dickmeiss [Thu, 17 Nov 2011 12:36:02 +0000 (13:36 +0100)]
zoom: log Torus record.

12 years agoVersion 1.3.16 v1.3.16
Adam Dickmeiss [Thu, 17 Nov 2011 09:27:40 +0000 (10:27 +0100)]
Version 1.3.16

12 years agoFix Debian conflicts line for libyaz4
Adam Dickmeiss [Thu, 17 Nov 2011 09:26:51 +0000 (10:26 +0100)]
Fix Debian conflicts line for libyaz4

12 years agoChange target profile parameter CfSubDb to CfSubDB
Adam Dickmeiss [Thu, 17 Nov 2011 09:15:11 +0000 (10:15 +0100)]
Change target profile parameter CfSubDb to CfSubDB

12 years agoAvoid YAZ 4.2.18 which is broken WRT SRU
Adam Dickmeiss [Wed, 16 Nov 2011 10:27:29 +0000 (11:27 +0100)]
Avoid YAZ 4.2.18 which is broken WRT SRU

12 years agoRPM: get version from IDMETA
Adam Dickmeiss [Tue, 15 Nov 2011 09:57:19 +0000 (10:57 +0100)]
RPM: get version from IDMETA

So we don't need to update the spec file for each release anymore.

12 years agoIDMETA part of dist
Adam Dickmeiss [Tue, 15 Nov 2011 09:56:35 +0000 (10:56 +0100)]
IDMETA part of dist

12 years agoRead version from IDMETA rather than configure.ac.
Adam Dickmeiss [Tue, 15 Nov 2011 09:55:11 +0000 (10:55 +0100)]
Read version from IDMETA rather than configure.ac.

In other words, configure.ac gets its version from IDMETA.