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.
Adam Dickmeiss [Wed, 26 Oct 2011 18:30:29 +0000 (20:30 +0200)]
Verion 1.3.13
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.
Adam Dickmeiss [Wed, 26 Oct 2011 12:01:44 +0000 (14:01 +0200)]
Version 1.3.12
Adam Dickmeiss [Wed, 26 Oct 2011 10:44:16 +0000 (12:44 +0200)]
Slim down the Origin class
Adam Dickmeiss [Wed, 26 Oct 2011 10:21:29 +0000 (12:21 +0200)]
Remove two unused Package methods
Adam Dickmeiss [Wed, 26 Oct 2011 08:31:24 +0000 (10:31 +0200)]
Relay x-args to non-CF backends
Adam Dickmeiss [Tue, 25 Oct 2011 09:24:19 +0000 (11:24 +0200)]
Router FleXML checks route attribute in filters
Fixes bug 876.
Adam Dickmeiss [Tue, 25 Oct 2011 08:59:12 +0000 (10:59 +0200)]
Fix error message WRT start route
Adam Dickmeiss [Tue, 25 Oct 2011 08:58:53 +0000 (10:58 +0200)]
Unused variable
Adam Dickmeiss [Tue, 25 Oct 2011 08:58:37 +0000 (10:58 +0200)]
Reformat
Adam Dickmeiss [Tue, 25 Oct 2011 08:34:25 +0000 (10:34 +0200)]
Add missing line; removed by accident in prev commit
Adam Dickmeiss [Tue, 25 Oct 2011 08:31:02 +0000 (10:31 +0200)]
Remove a few useless comments
Adam Dickmeiss [Tue, 25 Oct 2011 08:29:37 +0000 (10:29 +0200)]
Include sstream for ostringstream
Adam Dickmeiss [Mon, 24 Oct 2011 12:50:28 +0000 (14:50 +0200)]
zoom: accept and relay db args x-name to CF targets
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.
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.
Adam Dickmeiss [Mon, 17 Oct 2011 11:50:01 +0000 (13:50 +0200)]
zoom: add various links within documentation
Adam Dickmeiss [Mon, 17 Oct 2011 11:36:42 +0000 (13:36 +0200)]
zoom: document all settings
Adam Dickmeiss [Mon, 17 Oct 2011 09:26:42 +0000 (11:26 +0200)]
Documentation: nxml mode
Adam Dickmeiss [Mon, 17 Oct 2011 09:06:01 +0000 (11:06 +0200)]
Reformat
Adam Dickmeiss [Mon, 17 Oct 2011 08:48:21 +0000 (10:48 +0200)]
Documentation: nxml mode
Adam Dickmeiss [Mon, 10 Oct 2011 14:10:31 +0000 (16:10 +0200)]
zoom: handle torus url not given (is optional)
Adam Dickmeiss [Mon, 10 Oct 2011 14:09:38 +0000 (16:09 +0200)]
zoom: fix 0 ptr ref; occurred for bad URLs
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
Adam Dickmeiss [Tue, 6 Sep 2011 20:00:17 +0000 (22:00 +0200)]
zoom: prepare for using ZOOM_query_sortby2
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">
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
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
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