Adam Dickmeiss [Wed, 28 Sep 2011 13:15:31 +0000 (15:15 +0200)]
Documentation updates, mostly about software versions
Adam Dickmeiss [Wed, 28 Sep 2011 11:10:26 +0000 (13:10 +0200)]
Mention libbost-regex-dev
Adam Dickmeiss [Fri, 9 Sep 2011 09:07:48 +0000 (11:07 +0200)]
Version 1.3.11
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.
Adam Dickmeiss [Fri, 9 Sep 2011 07:58:30 +0000 (09:58 +0200)]
Version 1.3.10
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.
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.
Adam Dickmeiss [Wed, 7 Sep 2011 11:52:23 +0000 (13:52 +0200)]
configure: add check for YAZ version
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
Adam Dickmeiss [Tue, 6 Sep 2011 20:00:17 +0000 (22:00 +0200)]
zoom: prepare for using ZOOM_query_sortby2
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
Adam Dickmeiss [Thu, 25 Aug 2011 18:57:22 +0000 (20:57 +0200)]
Version 1.3.9
Adam Dickmeiss [Thu, 25 Aug 2011 18:52:59 +0000 (20:52 +0200)]
zoom: urlRecipe creates <pz:metadata type="generated-url">
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
Adam Dickmeiss [Thu, 25 Aug 2011 14:59:38 +0000 (16:59 +0200)]
zoom: cp param uses auth:
Adam Dickmeiss [Thu, 25 Aug 2011 14:58:49 +0000 (16:58 +0200)]
zoom: log RPN
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
Adam Dickmeiss [Tue, 23 Aug 2011 11:39:21 +0000 (13:39 +0200)]
Move away jstor-pz2.xsl
Adam Dickmeiss [Mon, 22 Aug 2011 13:14:41 +0000 (15:14 +0200)]
Version 1.3.8
Adam Dickmeiss [Mon, 22 Aug 2011 12:54:04 +0000 (14:54 +0200)]
Add jstor-pz2.xsl for testing
Adam Dickmeiss [Mon, 22 Aug 2011 12:19:24 +0000 (14:19 +0200)]
zoom: Set option schema in SRU mode
Adam Dickmeiss [Mon, 22 Aug 2011 10:44:11 +0000 (12:44 +0200)]
Version 1.3.6
Adam Dickmeiss [Mon, 22 Aug 2011 10:43:59 +0000 (12:43 +0200)]
Summarize changes
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.
Adam Dickmeiss [Wed, 17 Aug 2011 10:23:09 +0000 (12:23 +0200)]
Update m4 for boost unit test check mods
Adam Dickmeiss [Tue, 16 Aug 2011 13:33:51 +0000 (15:33 +0200)]
Update m4
Adam Dickmeiss [Tue, 16 Aug 2011 11:53:56 +0000 (13:53 +0200)]
Don't rely on trang anymore for Git checkout builds
Configuration in etc will only be properly validated if trang is
available. From now on only relax NC files are bundled with the
source dist.
Adam Dickmeiss [Mon, 15 Aug 2011 13:55:04 +0000 (15:55 +0200)]
zoom: set ZOOM options WRT retrieval before search
This is to ensure that records that we get back by piggyback have the
greatest chance of being "identical" and cached properly for following
present.
Adam Dickmeiss [Mon, 15 Aug 2011 13:49:22 +0000 (15:49 +0200)]
session_shared: relay preferredRecordSyntax for search
Adam Dickmeiss [Mon, 15 Aug 2011 13:48:16 +0000 (15:48 +0200)]
sru_z3950: set preferredRecordSyntax to XML for search
Adam Dickmeiss [Fri, 12 Aug 2011 09:07:59 +0000 (11:07 +0200)]
Version 1.3.5
Depend on yazpp 1.2.7 and YAZ 4.2.8.
Adam Dickmeiss [Fri, 12 Aug 2011 08:57:13 +0000 (10:57 +0200)]
zoom doc: describe log, proxy
Adam Dickmeiss [Wed, 10 Aug 2011 13:41:22 +0000 (15:41 +0200)]
For Torus record fetch, proxy may be given
This change requires yaz_url_create functions from YAZ.
Adam Dickmeiss [Thu, 4 Aug 2011 13:22:57 +0000 (15:22 +0200)]
z3950_client: mark non-surrogate diagnostics from backend
The additional information in this case is appended with
"(backend=%s)" where %s is the backend target.
Adam Dickmeiss [Thu, 4 Aug 2011 08:57:41 +0000 (10:57 +0200)]
zoom: throw diagnostic for records for some udb
Mike Taylor [Wed, 3 Aug 2011 15:50:51 +0000 (16:50 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 3 Aug 2011 11:30:05 +0000 (13:30 +0200)]
z3950_client: create close response if cs_connect fails
Solves bug 2922.
Adam Dickmeiss [Tue, 2 Aug 2011 08:11:10 +0000 (10:11 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/metaproxy
Adam Dickmeiss [Tue, 2 Aug 2011 08:10:41 +0000 (10:10 +0200)]
zoom: no need to pass cfauth for cproxy
Adam Dickmeiss [Tue, 2 Aug 2011 08:10:18 +0000 (10:10 +0200)]
zoom: using fopen rather than open
Adam Dickmeiss [Tue, 2 Aug 2011 08:07:37 +0000 (10:07 +0200)]
Int casts (Odr_int stuff)
Adam Dickmeiss [Tue, 2 Aug 2011 07:43:55 +0000 (09:43 +0200)]
zoom: always set piggyback option
Adam Dickmeiss [Tue, 2 Aug 2011 07:40:26 +0000 (09:40 +0200)]
Avoid useless variable suffixlen
Adam Dickmeiss [Mon, 1 Aug 2011 20:24:43 +0000 (22:24 +0200)]
Version 1.3.4
Adam Dickmeiss [Mon, 1 Aug 2011 20:22:57 +0000 (22:22 +0200)]
zoom: honor piggyback setting
Makes some SRU targets behave that insist on maximumRecords > 0,
but also increases performance.
Adam Dickmeiss [Mon, 1 Aug 2011 13:31:33 +0000 (15:31 +0200)]
Version 1.3.3
Adam Dickmeiss [Mon, 1 Aug 2011 13:28:38 +0000 (15:28 +0200)]
Update dlpath for libdir/metaproxy4 in config metaproxy.xml
Was incorrect in version 1.3.2.
Adam Dickmeiss [Mon, 1 Aug 2011 12:39:42 +0000 (14:39 +0200)]
Update debian git ignore
Adam Dickmeiss [Mon, 1 Aug 2011 12:30:02 +0000 (14:30 +0200)]
Version 1.3.2
Adam Dickmeiss [Mon, 1 Aug 2011 11:39:09 +0000 (11:39 +0000)]
config-zoom: content proxy connector added
Adam Dickmeiss [Mon, 1 Aug 2011 11:05:13 +0000 (13:05 +0200)]
Use rand rather than mkstemp for session
Problem is that the generated URL is not case sensitive so we need
a temporary file name without case mix.
Adam Dickmeiss [Mon, 1 Aug 2011 10:33:19 +0000 (12:33 +0200)]
zoom-config.xml: enable apdu log and adjust contentProxy
Adam Dickmeiss [Mon, 1 Aug 2011 10:31:53 +0000 (12:31 +0200)]
zoom: contentProxy attr @tmp_file fully specified
A suffix for tmp_file for contentProxy may be given.
Adam Dickmeiss [Mon, 1 Aug 2011 10:02:06 +0000 (12:02 +0200)]
Pkg metaproxy depends on libmetaproxy4, same version
While technically not required, it's convenient that metaproxy
program uses same version of libmetaproxy4.
Adam Dickmeiss [Mon, 1 Aug 2011 09:25:07 +0000 (11:25 +0200)]
libmetaproxy4: modules in libdir/metaproxy4
Not libdir/metaproxy, because it clashes with libmetaproxy3.
Adam Dickmeiss [Fri, 29 Jul 2011 14:19:07 +0000 (16:19 +0200)]
zoom: add facililty to dump APDUs.
Triggered by <log apdu="true"/> in the zoom filter configuation.
Adam Dickmeiss [Fri, 29 Jul 2011 14:02:25 +0000 (16:02 +0200)]
zoom fix: convert backend SRU diagnostics.
The zoom filter speaks Z39.50 and thus SRU diagnostics must be converted
to Z39.50 diagnostics.
Adam Dickmeiss [Thu, 28 Jul 2011 12:54:59 +0000 (14:54 +0200)]
Version 1.3.1
Adam Dickmeiss [Thu, 28 Jul 2011 12:50:37 +0000 (14:50 +0200)]
Define wrbuf_vp_puts for YAZ < 4.2.6
This function is declared for YAZ 4.2.6 and later.
Adam Dickmeiss [Thu, 28 Jul 2011 11:56:54 +0000 (13:56 +0200)]
zoom: improve diagnostics WRT record conversions
Adam Dickmeiss [Thu, 28 Jul 2011 09:20:30 +0000 (11:20 +0200)]
zoom: relay database param 'user' if 'password' is unset
For non-Z39.50 resources also split authentication (user/password) into
user + password options for ZOOM.
Adam Dickmeiss [Wed, 27 Jul 2011 14:56:17 +0000 (16:56 +0200)]
zoom: allow cproxysession as database arg.
Adam Dickmeiss [Wed, 27 Jul 2011 14:20:45 +0000 (16:20 +0200)]
First go at sort.
For SRU targets the CQL sortby is used against target. For Z39.50
it is converted to Zebra's type-7 embedded sorting. Leaves two
areas: built in sorting - by the zoom module; and Z39.50 standard
sorting. Note that CF should eventually honor type-7 embedded
sorting.
Adam Dickmeiss [Wed, 27 Jul 2011 09:35:58 +0000 (11:35 +0200)]
Version 1.3.0
Adam Dickmeiss [Tue, 26 Jul 2011 14:39:47 +0000 (16:39 +0200)]
zoom: put contentConnector in temp file
Adam Dickmeiss [Tue, 26 Jul 2011 14:22:42 +0000 (16:22 +0200)]
Refactor database URL logic
And reduce by 20 lines or so.
Adam Dickmeiss [Tue, 26 Jul 2011 13:51:03 +0000 (15:51 +0200)]
zoom: generating content proxy parameters in file
Adam Dickmeiss [Tue, 26 Jul 2011 13:05:21 +0000 (15:05 +0200)]
zoom: create temp for contentProxy
The temporary file name is configable by tmp_file attribute of element
contentProxy of the zoom filter.
Adam Dickmeiss [Tue, 26 Jul 2011 11:41:38 +0000 (13:41 +0200)]
mp_xml::check_empty displays filter type on error
Adam Dickmeiss [Mon, 25 Jul 2011 14:44:02 +0000 (16:44 +0200)]
Merge branch 'master' into content_proxy
Adam Dickmeiss [Mon, 25 Jul 2011 14:40:35 +0000 (16:40 +0200)]
Start work on contentProxy support
New setting in Torus/record contentConnector specifies a connector
to be used for contentProxy. If this is defined (non-zero length)
then content proxy rewrite is performed on generated-url from urlRecipe.
The rewritten server is specified by attribute 'server' in element
contentProxy in zoom filter configureation.
Adam Dickmeiss [Mon, 25 Jul 2011 14:10:42 +0000 (14:10 +0000)]
Version 1.2.10
Adam Dickmeiss [Mon, 25 Jul 2011 12:46:11 +0000 (14:46 +0200)]
Fixes for Win makefile. Update to Boost 1.43
Unfortunately, Boost 1.46 and Boost 1.47 have linking problems.
Some .lib refers to libboost_thread*.lib while only boost_thread*lib
is available. Version 1.43 do not have this problem (.lib files still
have prefix "lib").
Adam Dickmeiss [Mon, 25 Jul 2011 11:05:42 +0000 (13:05 +0200)]
zoom: use yaz_filepath_resolve for XSLT files.
Might as well use this function when it is also used for filter
record_transform. Change the error handling a bit, for example
do not even attempt to XML parse a non-existing file.
Adam Dickmeiss [Mon, 25 Jul 2011 11:04:27 +0000 (13:04 +0200)]
metaproxy program: set file path to "." if empty
This to ensure that yaz_filepath_resolve will find file name
if configuration is in current directory (in which case path ends
up empty).
Adam Dickmeiss [Mon, 25 Jul 2011 09:05:59 +0000 (11:05 +0200)]
Adding '(backend)' to addinfo for backend diagnostics
Solves #4405.
Adam Dickmeiss [Thu, 21 Jul 2011 13:58:11 +0000 (15:58 +0200)]
zoom: using configure path for XSL load
Adam Dickmeiss [Thu, 21 Jul 2011 13:57:19 +0000 (15:57 +0200)]
record_transform: using configure path for XSL load
Adam Dickmeiss [Thu, 21 Jul 2011 12:54:43 +0000 (14:54 +0200)]
Add path to configure method of filter.
This changes the API.
Adam Dickmeiss [Thu, 21 Jul 2011 11:49:13 +0000 (13:49 +0200)]
Bump metaproxy library from 3 to 4
Adam Dickmeiss [Thu, 21 Jul 2011 11:06:22 +0000 (13:06 +0200)]
metaproxy daemon: option -t tests configuration
Mike Taylor [Wed, 20 Jul 2011 16:17:16 +0000 (17:17 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 20 Jul 2011 12:23:17 +0000 (14:23 +0200)]
jstor test - locally defined
Adam Dickmeiss [Tue, 19 Jul 2011 14:10:39 +0000 (16:10 +0200)]
zoom: for non-CF pass proxy from URI parameters
Always pass subdatabase from Torus (if given).
Pass cfProxy from Torus only if database parameters are given.
Adam Dickmeiss [Tue, 19 Jul 2011 10:35:45 +0000 (12:35 +0200)]
Parse file_include_path to filter parsing
Adam Dickmeiss [Tue, 19 Jul 2011 09:28:15 +0000 (11:28 +0200)]
Make config-zoom a smaller example
Adam Dickmeiss [Mon, 18 Jul 2011 12:22:43 +0000 (14:22 +0200)]
xmlutil test: display standard exception if thrown
Adam Dickmeiss [Mon, 18 Jul 2011 12:21:48 +0000 (14:21 +0200)]
url_recipe: avoid empty regex
On some Boost regex libraries an empty regex throws an exception
Mike Taylor [Tue, 5 Jul 2011 11:49:49 +0000 (12:49 +0100)]
Note the need for libboost-regex-dev
Adam Dickmeiss [Thu, 30 Jun 2011 17:34:43 +0000 (19:34 +0200)]
URL recipe in place
Adam Dickmeiss [Thu, 30 Jun 2011 15:40:29 +0000 (17:40 +0200)]
Beginnings of url recipe handling
Adam Dickmeiss [Thu, 30 Jun 2011 14:47:05 +0000 (16:47 +0200)]
Make config-zoom well-formed again
Mike Taylor [Thu, 30 Jun 2011 03:39:48 +0000 (22:39 -0500)]
Reinstate misspelled index names, but mark as deprecated.
Mike Taylor [Thu, 30 Jun 2011 03:38:44 +0000 (22:38 -0500)]
Fix typos in two CQL index names.
Adam Dickmeiss [Wed, 29 Jun 2011 16:14:09 +0000 (18:14 +0200)]
metaproxy man: add productnumber
Adam Dickmeiss [Wed, 29 Jun 2011 14:42:08 +0000 (16:42 +0200)]
Debian control: split long lines
Adam Dickmeiss [Wed, 29 Jun 2011 14:23:19 +0000 (16:23 +0200)]
Debian: build depends on libboost-regex-dev
Adam Dickmeiss [Wed, 29 Jun 2011 14:13:26 +0000 (16:13 +0200)]
configure checks for Boost regex
Adam Dickmeiss [Wed, 29 Jun 2011 14:12:37 +0000 (16:12 +0200)]
Update m4
Adam Dickmeiss [Mon, 27 Jun 2011 22:23:07 +0000 (00:23 +0200)]
metaproxy init.d stop: stop by PID only
In some cases the name of the metaproxy will be lt-metaproxy . This is
if metaproxy is using shared libraries and is not installed. Omitting
name option from start-stop-daemon will make it stop based on the PID
file only.