metaproxy-moved-to-github.git
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.

12 years agoFix make distcheck
Adam Dickmeiss [Tue, 15 Nov 2011 09:54:20 +0000 (10:54 +0100)]
Fix make distcheck

12 years agoVersion 1.3.15 v1.3.15
Adam Dickmeiss [Sat, 12 Nov 2011 13:55:10 +0000 (13:55 +0000)]
Version 1.3.15

12 years agozoom: avoid relaying db arg "realm"
Adam Dickmeiss [Fri, 11 Nov 2011 19:43:10 +0000 (20:43 +0100)]
zoom: avoid relaying db arg "realm"

12 years agoVersion 1.3.14 v1.3.14
Adam Dickmeiss [Fri, 11 Nov 2011 13:53:49 +0000 (14:53 +0100)]
Version 1.3.14

12 years agoconfig-zoom: using new realm attribute
Adam Dickmeiss [Fri, 11 Nov 2011 11:19:23 +0000 (12:19 +0100)]
config-zoom: using new realm attribute

12 years agozoom: allow Torus realm to be set via database args
Adam Dickmeiss [Fri, 11 Nov 2011 11:17:16 +0000 (12:17 +0100)]
zoom: allow Torus realm to be set via database args

Database argument realm=x, will subsitute %realm in Torus url
with the realm given. If not set, it will use new realm attribute
for torus element in configuration. Implements bug #4826.

12 years agoUpdate doc/common and m4
Adam Dickmeiss [Thu, 10 Nov 2011 11:46:07 +0000 (12:46 +0100)]
Update doc/common and m4

12 years agoResolve
Mike Taylor [Mon, 31 Oct 2011 17:08:38 +0000 (17:08 +0000)]
Resolve

12 years agoChange inkscape option for PDF export
Adam Dickmeiss [Wed, 26 Oct 2011 19:59:49 +0000 (21:59 +0200)]
Change inkscape option for PDF export

Option --export-bbox-page is no longer available. Using
--export-area-page instead.

12 years agoVerion 1.3.13 v1.3.13
Adam Dickmeiss [Wed, 26 Oct 2011 18:30:29 +0000 (20:30 +0200)]
Verion 1.3.13

12 years agoPartial revert f1593e3 : add Origin assignment method
Adam Dickmeiss [Wed, 26 Oct 2011 18:27:07 +0000 (20:27 +0200)]
Partial revert f1593e3 : add Origin assignment method

If not, we can't assign origin to package.

12 years agoVersion 1.3.12 v1.3.12
Adam Dickmeiss [Wed, 26 Oct 2011 12:01:44 +0000 (14:01 +0200)]
Version 1.3.12

12 years agoSlim down the Origin class
Adam Dickmeiss [Wed, 26 Oct 2011 10:44:16 +0000 (12:44 +0200)]
Slim down the Origin class

12 years agoRemove two unused Package methods
Adam Dickmeiss [Wed, 26 Oct 2011 10:21:29 +0000 (12:21 +0200)]
Remove two unused Package methods

12 years agoRelay x-args to non-CF backends
Adam Dickmeiss [Wed, 26 Oct 2011 08:31:24 +0000 (10:31 +0200)]
Relay x-args to non-CF backends

12 years agoRouter FleXML checks route attribute in filters
Adam Dickmeiss [Tue, 25 Oct 2011 09:24:19 +0000 (11:24 +0200)]
Router FleXML checks route attribute in filters

Fixes bug 876.

12 years agoFix error message WRT start route
Adam Dickmeiss [Tue, 25 Oct 2011 08:59:12 +0000 (10:59 +0200)]
Fix error message WRT start route

12 years agoUnused variable
Adam Dickmeiss [Tue, 25 Oct 2011 08:58:53 +0000 (10:58 +0200)]
Unused variable

12 years agoReformat
Adam Dickmeiss [Tue, 25 Oct 2011 08:58:37 +0000 (10:58 +0200)]
Reformat

12 years agoAdd missing line; removed by accident in prev commit
Adam Dickmeiss [Tue, 25 Oct 2011 08:34:25 +0000 (10:34 +0200)]
Add missing line; removed by accident in prev commit

12 years agoRemove a few useless comments
Adam Dickmeiss [Tue, 25 Oct 2011 08:31:02 +0000 (10:31 +0200)]
Remove a few useless comments

12 years agoInclude sstream for ostringstream
Adam Dickmeiss [Tue, 25 Oct 2011 08:29:37 +0000 (10:29 +0200)]
Include sstream for ostringstream

12 years agozoom: accept and relay db args x-name to CF targets
Adam Dickmeiss [Mon, 24 Oct 2011 12:50:28 +0000 (14:50 +0200)]
zoom: accept and relay db args x-name to CF targets

12 years agoNew log method for package class
Adam Dickmeiss [Mon, 24 Oct 2011 12:28:11 +0000 (14:28 +0200)]
New log method for package class

This is to facilitate some kind of consistency for log messages. The
zoom filter uses it. For example x-session-id stuff is included.

12 years agoCustom session ID may be specified for SRU filter
Adam Dickmeiss [Mon, 24 Oct 2011 11:18:54 +0000 (13:18 +0200)]
Custom session ID may be specified for SRU filter

The ID is specified by using x-session-id argument for the SRU URL.
It is attached to the origin instance and passed down the chain.

12 years agozoom: add various links within documentation
Adam Dickmeiss [Mon, 17 Oct 2011 11:50:01 +0000 (13:50 +0200)]
zoom: add various links within documentation

12 years agozoom: document all settings
Adam Dickmeiss [Mon, 17 Oct 2011 11:36:42 +0000 (13:36 +0200)]
zoom: document all settings

12 years agoDocumentation: nxml mode
Adam Dickmeiss [Mon, 17 Oct 2011 09:26:42 +0000 (11:26 +0200)]
Documentation: nxml mode

12 years agoReformat
Adam Dickmeiss [Mon, 17 Oct 2011 09:06:01 +0000 (11:06 +0200)]
Reformat

12 years agoDocumentation: nxml mode
Adam Dickmeiss [Mon, 17 Oct 2011 08:48:21 +0000 (10:48 +0200)]
Documentation: nxml mode

12 years agozoom: handle torus url not given (is optional)
Adam Dickmeiss [Mon, 10 Oct 2011 14:10:31 +0000 (16:10 +0200)]
zoom: handle torus url not given (is optional)

12 years agozoom: fix 0 ptr ref; occurred for bad URLs
Adam Dickmeiss [Mon, 10 Oct 2011 14:09:38 +0000 (16:09 +0200)]
zoom: fix 0 ptr ref; occurred for bad URLs

12 years agoDocumentation updates, mostly about software versions
Adam Dickmeiss [Wed, 28 Sep 2011 13:15:31 +0000 (15:15 +0200)]
Documentation updates, mostly about software versions

12 years agoMention libbost-regex-dev
Adam Dickmeiss [Wed, 28 Sep 2011 11:10:26 +0000 (13:10 +0200)]
Mention libbost-regex-dev

12 years agoVersion 1.3.11 v1.3.11
Adam Dickmeiss [Fri, 9 Sep 2011 09:07:48 +0000 (11:07 +0200)]
Version 1.3.11

12 years agoFix bug #4612: session_shared returns diagnostic 2
Adam Dickmeiss [Fri, 9 Sep 2011 09:00:20 +0000 (11:00 +0200)]
Fix bug #4612: session_shared returns diagnostic 2

The problem was that a session was marked "in use" in cases where there
were no network activity on target (caching , research).. MP would update
its timestamp of last use when it was not really used.. MP now only marks
last use timestamp on network activity. The expire loop now waits
session_ttl / 3 seconds - was 30 before - to ensure that configurations
with low session ttl's will expire properly.

12 years agoVersion 1.3.10 v1.3.10
Adam Dickmeiss [Fri, 9 Sep 2011 07:58:30 +0000 (09:58 +0200)]
Version 1.3.10

12 years agozoom: new target profile setting: sortmap_field
Adam Dickmeiss [Wed, 7 Sep 2011 12:38:24 +0000 (14:38 +0200)]
zoom: new target profile setting: sortmap_field

If sortmap_field is given the field is mapped to the value for the
sortmap. Values not matching sortmap_field are passed verbatim.

12 years agozoom: new target profile setting: sortStrategy
Adam Dickmeiss [Wed, 7 Sep 2011 11:56:46 +0000 (13:56 +0200)]
zoom: new target profile setting: sortStrategy

This value passed to ZOOM_query_sortby2.

12 years agoconfigure: add check for YAZ version
Adam Dickmeiss [Wed, 7 Sep 2011 11:52:23 +0000 (13:52 +0200)]
configure: add check for YAZ version

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Mike Taylor [Wed, 7 Sep 2011 11:18:56 +0000 (12:18 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

12 years agozoom: prepare for using ZOOM_query_sortby2
Adam Dickmeiss [Tue, 6 Sep 2011 20:00:17 +0000 (22:00 +0200)]
zoom: prepare for using ZOOM_query_sortby2

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Mike Taylor [Fri, 26 Aug 2011 14:09:33 +0000 (15:09 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

12 years agoVersion 1.3.9 v1.3.9
Adam Dickmeiss [Thu, 25 Aug 2011 18:57:22 +0000 (20:57 +0200)]
Version 1.3.9

12 years agozoom: urlRecipe creates <pz:metadata type="generated-url">
Adam Dickmeiss [Thu, 25 Aug 2011 18:52:59 +0000 (20:52 +0200)]
zoom: urlRecipe creates <pz:metadata type="generated-url">

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Mike Taylor [Thu, 25 Aug 2011 15:06:17 +0000 (16:06 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

12 years agozoom: cp param uses auth:
Adam Dickmeiss [Thu, 25 Aug 2011 14:59:38 +0000 (16:59 +0200)]
zoom: cp param uses auth:

12 years agozoom: log RPN
Adam Dickmeiss [Thu, 25 Aug 2011 14:58:49 +0000 (16:58 +0200)]
zoom: log RPN

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Mike Taylor [Tue, 23 Aug 2011 12:08:21 +0000 (13:08 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

12 years agoMove away jstor-pz2.xsl
Adam Dickmeiss [Tue, 23 Aug 2011 11:39:21 +0000 (13:39 +0200)]
Move away jstor-pz2.xsl

12 years agoVersion 1.3.8 v1.3.8
Adam Dickmeiss [Mon, 22 Aug 2011 13:14:41 +0000 (15:14 +0200)]
Version 1.3.8

12 years agoAdd jstor-pz2.xsl for testing v1.3.7
Adam Dickmeiss [Mon, 22 Aug 2011 12:54:04 +0000 (14:54 +0200)]
Add jstor-pz2.xsl for testing

12 years agozoom: Set option schema in SRU mode
Adam Dickmeiss [Mon, 22 Aug 2011 12:19:24 +0000 (14:19 +0200)]
zoom: Set option schema in SRU mode

12 years agoVersion 1.3.6 v1.3.6
Adam Dickmeiss [Mon, 22 Aug 2011 10:44:11 +0000 (12:44 +0200)]
Version 1.3.6

12 years agoSummarize changes
Adam Dickmeiss [Mon, 22 Aug 2011 10:43:59 +0000 (12:43 +0200)]
Summarize changes

12 years agozoom: new target profile element literalTransform
Adam Dickmeiss [Mon, 22 Aug 2011 10:37:14 +0000 (12:37 +0200)]
zoom: new target profile element literalTransform

This element holds XSLT, encoded as string, for target. Only if present
and non-zero length it is considered present. This takes precedence over
transform.