metaproxy-moved-to-github.git
9 years agoUse YAZ backtrace facility MP-582
Adam Dickmeiss [Tue, 2 Dec 2014 12:12:46 +0000 (13:12 +0100)]
Use YAZ backtrace facility MP-582

9 years agoFix libmetaproxy-dev depends on libgnutls-dev - MP-580
Adam Dickmeiss [Thu, 27 Nov 2014 11:27:00 +0000 (12:27 +0100)]
Fix libmetaproxy-dev depends on libgnutls-dev - MP-580

libgnutls-dev is unavailable on jessie.

10 years agoUpdate template filter to avoid Pimpl MP-579
Adam Dickmeiss [Thu, 30 Oct 2014 12:13:52 +0000 (13:13 +0100)]
Update template filter to avoid Pimpl MP-579

10 years agocgi: POSTed content - part of MP-562
Adam Dickmeiss [Wed, 29 Oct 2014 13:23:34 +0000 (14:23 +0100)]
cgi: POSTed content - part of MP-562

10 years agoFix filter cgi does not relay session close MP-577
Adam Dickmeiss [Tue, 28 Oct 2014 11:54:30 +0000 (12:54 +0100)]
Fix filter cgi does not relay session close MP-577

10 years agoVersion 1.7.0 v1.7.0
Adam Dickmeiss [Tue, 28 Oct 2014 08:55:11 +0000 (08:55 +0000)]
Version 1.7.0

10 years agoAdd Ubuntu utopic 14.10
Adam Dickmeiss [Tue, 28 Oct 2014 08:49:27 +0000 (08:49 +0000)]
Add Ubuntu utopic 14.10

10 years agoDocument bind_host for {http,z3950}_client
Adam Dickmeiss [Mon, 27 Oct 2014 13:52:19 +0000 (14:52 +0100)]
Document bind_host for {http,z3950}_client

10 years agoRequire YAZ 5.5.0
Adam Dickmeiss [Mon, 27 Oct 2014 13:37:49 +0000 (14:37 +0100)]
Require YAZ 5.5.0

10 years agoWorking outgoing IP for {http,z3950}_client MP-575
Adam Dickmeiss [Fri, 24 Oct 2014 19:44:53 +0000 (21:44 +0200)]
Working outgoing IP for {http,z3950}_client MP-575

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Tue, 21 Oct 2014 08:24:09 +0000 (08:24 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

Conflicts:
NEWS

10 years agoVersion 1.6.0 v1.6.0
Adam Dickmeiss [Tue, 21 Oct 2014 07:35:43 +0000 (07:35 +0000)]
Version 1.6.0

10 years agoVersion 1.6.0
Adam Dickmeiss [Tue, 21 Oct 2014 07:19:01 +0000 (07:19 +0000)]
Version 1.6.0

10 years agoMerge branch 'mp-564'
Adam Dickmeiss [Tue, 21 Oct 2014 07:07:32 +0000 (09:07 +0200)]
Merge branch 'mp-564'

10 years agoCharacter set nogotiation for z3950_client MP-574
Adam Dickmeiss [Tue, 14 Oct 2014 10:56:24 +0000 (12:56 +0200)]
Character set nogotiation for z3950_client MP-574

10 years agoVersion 1.5.11 v1.5.11
Adam Dickmeiss [Mon, 20 Oct 2014 12:57:58 +0000 (12:57 +0000)]
Version 1.5.11

10 years agohttp_file: add include of sys/stat.h fixes MP-576
Adam Dickmeiss [Mon, 20 Oct 2014 08:35:20 +0000 (10:35 +0200)]
http_file: add include of sys/stat.h fixes MP-576

10 years agoDOCUMENT_ROOT, GATEWAY_INTERFACE MP-564
Adam Dickmeiss [Wed, 15 Oct 2014 08:07:13 +0000 (10:07 +0200)]
DOCUMENT_ROOT, GATEWAY_INTERFACE MP-564

10 years agocgi.sh shows all envs
Adam Dickmeiss [Tue, 14 Oct 2014 18:38:05 +0000 (20:38 +0200)]
cgi.sh shows all envs

10 years agoA lot of more environment variables are set for CGI MP-564
Adam Dickmeiss [Tue, 14 Oct 2014 18:37:17 +0000 (20:37 +0200)]
A lot of more environment variables are set for CGI MP-564

10 years agoWork on CGI filter; setting SCRIPT_NAME MP-564
Adam Dickmeiss [Tue, 14 Oct 2014 14:44:47 +0000 (16:44 +0200)]
Work on CGI filter; setting SCRIPT_NAME MP-564

10 years agofix documentation about SRU client support MP-572
Adam Dickmeiss [Tue, 30 Sep 2014 13:59:42 +0000 (15:59 +0200)]
fix documentation about SRU client support MP-572

10 years agoInitialize Libxml2 - for threaded operation MP-571
Adam Dickmeiss [Tue, 9 Sep 2014 09:30:22 +0000 (11:30 +0200)]
Initialize Libxml2 - for threaded operation MP-571

10 years agoVersion 1.5.10 v1.5.10
Adam Dickmeiss [Tue, 26 Aug 2014 14:02:34 +0000 (14:02 +0000)]
Version 1.5.10

10 years agoDescribe retry db parameter in zoom man page
Adam Dickmeiss [Tue, 26 Aug 2014 14:03:26 +0000 (16:03 +0200)]
Describe retry db parameter in zoom man page

10 years agoRemove trailing-whitespace
Adam Dickmeiss [Tue, 26 Aug 2014 11:29:53 +0000 (13:29 +0200)]
Remove trailing-whitespace

10 years agoOn SIGTERM shut down connection+listening sockets MP-568
Adam Dickmeiss [Tue, 26 Aug 2014 11:28:18 +0000 (13:28 +0200)]
On SIGTERM shut down connection+listening sockets MP-568

10 years agoDo not build for Ubuntu raring, quantal (obsolete)
Adam Dickmeiss [Mon, 18 Aug 2014 11:39:41 +0000 (13:39 +0200)]
Do not build for Ubuntu raring, quantal (obsolete)

10 years agoDocumentation manref.xml depends on local.ent MP-566
Adam Dickmeiss [Fri, 15 Aug 2014 09:40:55 +0000 (11:40 +0200)]
Documentation manref.xml depends on local.ent MP-566

10 years agoVersion 1.5.9 v1.5.9
Adam Dickmeiss [Thu, 14 Aug 2014 13:02:31 +0000 (15:02 +0200)]
Version 1.5.9

10 years agozoom: make retry on failure configurable MP-565
Adam Dickmeiss [Thu, 14 Aug 2014 12:54:01 +0000 (14:54 +0200)]
zoom: make retry on failure configurable MP-565

The default and existing behavior is that backend failures (any
diagnostic) makes the module re-search once. The behavior may
be changed by db parameter 'retry'. If given value '0' disables
retry and '1' enables it. If not given, the Torus record may
specify with element retryOnFailure (value '0'/'1').

10 years agofilter http_file: mimetypers optional
Adam Dickmeiss [Thu, 14 Aug 2014 12:52:21 +0000 (14:52 +0200)]
filter http_file: mimetypers optional

10 years agocgi: reads stdin part of MP-564
Adam Dickmeiss [Tue, 12 Aug 2014 13:54:24 +0000 (15:54 +0200)]
cgi: reads stdin part of MP-564

10 years agoVersion 1.5.8 v1.5.8
Heikki Levanto [Fri, 1 Aug 2014 12:13:15 +0000 (12:13 +0000)]
Version 1.5.8

10 years agoMP-559: Fix race condition with SIGTERM.
Heikki Levanto [Wed, 30 Jul 2014 12:33:35 +0000 (14:33 +0200)]
MP-559: Fix race condition with SIGTERM.

10 years agoVersion 1.5.7 v1.5.7
Adam Dickmeiss [Tue, 15 Jul 2014 09:40:40 +0000 (11:40 +0200)]
Version 1.5.7

10 years agohttp_file: passthru option MP-557
Adam Dickmeiss [Tue, 15 Jul 2014 09:38:44 +0000 (11:38 +0200)]
http_file: passthru option MP-557

New facility for http_file to passthru - even if an area is matched. The
default behavior (passthru=false) is to return 404: Not found. With
passthru=false, next filter is consulted.

10 years agoDo not build for Ubuntu oneiric
Adam Dickmeiss [Mon, 14 Jul 2014 12:47:16 +0000 (14:47 +0200)]
Do not build for Ubuntu oneiric

10 years agoVersion 1.5.6 v1.5.6
Adam Dickmeiss [Mon, 14 Jul 2014 11:28:30 +0000 (13:28 +0200)]
Version 1.5.6

10 years agodebian/changelog now auto generated
Adam Dickmeiss [Mon, 14 Jul 2014 11:14:32 +0000 (13:14 +0200)]
debian/changelog now auto generated

10 years agoRequire YAZ 5.3.0 due to use of yaz_srw_get_pdu_e
Adam Dickmeiss [Fri, 11 Jul 2014 14:19:34 +0000 (16:19 +0200)]
Require YAZ 5.3.0 due to use of yaz_srw_get_pdu_e

10 years agoFix ref to freed memory in log filter 1line - MP-556
Adam Dickmeiss [Thu, 10 Jul 2014 14:04:05 +0000 (16:04 +0200)]
Fix ref to freed memory in log filter 1line - MP-556

10 years agoechoedSearchRetrieveRequest support MP-555
Adam Dickmeiss [Wed, 9 Jul 2014 14:49:56 +0000 (16:49 +0200)]
echoedSearchRetrieveRequest support MP-555

Requires yaz_srw_get_pdu_e from YAZ.

10 years agodelete-trailing-whitespace
Adam Dickmeiss [Tue, 8 Jul 2014 12:18:50 +0000 (14:18 +0200)]
delete-trailing-whitespace

10 years agoExplain declares marcxml
Adam Dickmeiss [Tue, 8 Jul 2014 08:09:15 +0000 (10:09 +0200)]
Explain declares marcxml

10 years agoSRU xsl in /etc/sru.xsl
Adam Dickmeiss [Tue, 8 Jul 2014 08:09:05 +0000 (10:09 +0200)]
SRU xsl in /etc/sru.xsl

10 years agoUpd contact, author in explain sample
Adam Dickmeiss [Tue, 8 Jul 2014 08:02:46 +0000 (10:02 +0200)]
Upd contact, author in explain sample

10 years agoDo not build for Ubuntu Lucid anymore
Adam Dickmeiss [Mon, 30 Jun 2014 14:21:34 +0000 (16:21 +0200)]
Do not build for Ubuntu Lucid anymore

10 years agoVersion 1.5.5 v1.5.5
Adam Dickmeiss [Fri, 6 Jun 2014 09:48:05 +0000 (11:48 +0200)]
Version 1.5.5

10 years agoDocument zoom auth_hostname
Adam Dickmeiss [Fri, 6 Jun 2014 09:26:31 +0000 (11:26 +0200)]
Document zoom auth_hostname

10 years agozoom: allow hostname to be given for ipauth MP-552
Adam Dickmeiss [Thu, 5 Jun 2014 09:40:01 +0000 (11:40 +0200)]
zoom: allow hostname to be given for ipauth MP-552

The Torus setting for that is called auth_hostname.

10 years agoVersion 1.5.4 v1.5.4
Adam Dickmeiss [Wed, 4 Jun 2014 10:31:46 +0000 (12:31 +0200)]
Version 1.5.4

10 years agozoom: IP auth use field "ipRanges" rather than "ip" MP-551
Adam Dickmeiss [Wed, 4 Jun 2014 10:31:09 +0000 (12:31 +0200)]
zoom: IP auth use field "ipRanges" rather than "ip" MP-551

10 years agoVersion 1.5.3 v1.5.3
Adam Dickmeiss [Tue, 3 Jun 2014 17:12:57 +0000 (19:12 +0200)]
Version 1.5.3

10 years agosession_shared: close in ~BackendInstance MP-549
Adam Dickmeiss [Tue, 3 Jun 2014 13:38:19 +0000 (15:38 +0200)]
session_shared: close in ~BackendInstance MP-549

10 years agosession_shared: mutex lock in BackendClass::release_backend MP-550
Adam Dickmeiss [Mon, 2 Jun 2014 09:19:58 +0000 (11:19 +0200)]
session_shared: mutex lock in BackendClass::release_backend MP-550

10 years agoVersion 1.5.2 v1.5.2
Adam Dickmeiss [Thu, 22 May 2014 08:47:45 +0000 (10:47 +0200)]
Version 1.5.2

10 years agozoom: Do not include ZOOM C's fake surrogate diag recs MP-547
Adam Dickmeiss [Wed, 21 May 2014 11:56:43 +0000 (13:56 +0200)]
zoom: Do not include ZOOM C's fake surrogate diag recs MP-547

10 years agozoom: fix invalid present response in some cases MP-546
Adam Dickmeiss [Wed, 21 May 2014 11:56:25 +0000 (13:56 +0200)]
zoom: fix invalid present response in some cases MP-546

10 years agoRelay Torus HTTP error
Adam Dickmeiss [Tue, 20 May 2014 09:42:24 +0000 (11:42 +0200)]
Relay Torus HTTP error

10 years agoVersion 1.5.1 v1.5.1
Adam Dickmeiss [Mon, 28 Apr 2014 16:42:26 +0000 (18:42 +0200)]
Version 1.5.1

10 years agoCheck for proper limits before using RecordCache functions MP-544
Adam Dickmeiss [Mon, 28 Apr 2014 12:56:02 +0000 (14:56 +0200)]
Check for proper limits before using RecordCache functions MP-544

10 years agoVersion 1.5.0 v1.5.0
Adam Dickmeiss [Thu, 24 Apr 2014 10:30:06 +0000 (12:30 +0200)]
Version 1.5.0

10 years agoRequire YAZ 5.1.0, yazpp 1.6.0
Adam Dickmeiss [Thu, 24 Apr 2014 08:35:34 +0000 (10:35 +0200)]
Require YAZ 5.1.0, yazpp 1.6.0

10 years agoBuild packages for Ubuntu Trusty Tahr 14.04 LTS
Adam Dickmeiss [Tue, 22 Apr 2014 15:24:56 +0000 (17:24 +0200)]
Build packages for Ubuntu Trusty Tahr 14.04 LTS

10 years agoDocument z3950_client's client_ip configuration
Adam Dickmeiss [Wed, 16 Apr 2014 13:19:37 +0000 (15:19 +0200)]
Document z3950_client's client_ip configuration

10 years agoFix 'some man pages missing' MP-542
Adam Dickmeiss [Wed, 16 Apr 2014 13:17:49 +0000 (15:17 +0200)]
Fix 'some man pages missing' MP-542

10 years agosort: Fix crash/invalid memory reference MP-541
Adam Dickmeiss [Tue, 15 Apr 2014 14:18:47 +0000 (16:18 +0200)]
sort: Fix crash/invalid memory reference MP-541

10 years agozoom: use thread-safe RPN to CQL/Solr conversion MP-497
Adam Dickmeiss [Fri, 11 Apr 2014 20:09:03 +0000 (22:09 +0200)]
zoom: use thread-safe RPN to CQL/Solr conversion MP-497

10 years agoBase wrbuf.c_str_null on wrbuf_cstr_null
Adam Dickmeiss [Fri, 11 Apr 2014 09:04:39 +0000 (11:04 +0200)]
Base wrbuf.c_str_null on wrbuf_cstr_null

10 years agoAdd wrbuf.c_str() and wrbuf.c_str_null()
Adam Dickmeiss [Fri, 11 Apr 2014 08:49:03 +0000 (10:49 +0200)]
Add wrbuf.c_str() and wrbuf.c_str_null()

10 years agorpn_cql: allow conversion from RPN to CQL MP-537
Adam Dickmeiss [Wed, 9 Apr 2014 13:24:57 +0000 (15:24 +0200)]
rpn_cql: allow conversion from RPN to CQL MP-537

This is achived by existing filter rpn_cql and using reverse="true"
for conversion element.

10 years agosru_z3950: facet should be stored in additionalSearchInfo MP-533
Adam Dickmeiss [Wed, 2 Apr 2014 18:32:43 +0000 (20:32 +0200)]
sru_z3950: facet should be stored in additionalSearchInfo MP-533

10 years agoVersion 1.4.8 v1.4.8
Adam Dickmeiss [Wed, 2 Apr 2014 10:02:45 +0000 (12:02 +0200)]
Version 1.4.8

10 years agoUpd NEWS
Adam Dickmeiss [Wed, 2 Apr 2014 10:02:08 +0000 (12:02 +0200)]
Upd NEWS

10 years agoMerge branch 'mp-532'
Adam Dickmeiss [Wed, 2 Apr 2014 09:48:51 +0000 (09:48 +0000)]
Merge branch 'mp-532'

10 years agosru_z3950: fix facet response (memory corruption) MP-532
Adam Dickmeiss [Wed, 2 Apr 2014 09:46:35 +0000 (09:46 +0000)]
sru_z3950: fix facet response (memory corruption) MP-532

10 years agolog: fix crash idPass user is omitted MP-530
Adam Dickmeiss [Mon, 31 Mar 2014 17:35:05 +0000 (19:35 +0200)]
log: fix crash idPass user is omitted MP-530

10 years agoVersion 1.4.7 v1.4.7
Adam Dickmeiss [Tue, 25 Mar 2014 09:00:44 +0000 (10:00 +0100)]
Version 1.4.7

10 years agoquery_rewrite: pass-thru non Type-1 queries MP-527
Adam Dickmeiss [Tue, 25 Mar 2014 08:46:43 +0000 (09:46 +0100)]
query_rewrite: pass-thru non Type-1 queries MP-527

10 years agoSIGTERM: kill all child processes immediately MP-525
Adam Dickmeiss [Mon, 24 Mar 2014 13:18:28 +0000 (14:18 +0100)]
SIGTERM: kill all child processes immediately MP-525

10 years agoVersion 1.4.6 v1.4.6
Adam Dickmeiss [Fri, 21 Mar 2014 15:40:15 +0000 (16:40 +0100)]
Version 1.4.6

10 years agoEnsure Metaproxy is using YAZ 5.0.21 or later
Adam Dickmeiss [Fri, 21 Mar 2014 15:38:31 +0000 (16:38 +0100)]
Ensure Metaproxy is using YAZ 5.0.21 or later

This is because YAZ 5.0.21 offers a new function
zget_AttributeList_use_string

10 years agohttp_file: only supports HTTP GET MP-523
Adam Dickmeiss [Fri, 21 Mar 2014 13:36:21 +0000 (14:36 +0100)]
http_file: only supports HTTP GET MP-523

10 years agosession_shared: shut down expire thread
Adam Dickmeiss [Thu, 20 Mar 2014 18:23:00 +0000 (19:23 +0100)]
session_shared: shut down expire thread

This ensures that expire thread is not running after destruction
and does bad memory references, etc.

10 years agofrontend_net: fix segfault on startup MP-524
Adam Dickmeiss [Wed, 19 Mar 2014 16:48:57 +0000 (17:48 +0100)]
frontend_net: fix segfault on startup MP-524

Would happen if MP was listening on multiple ports and one
of the ports was already in use (and MP would exit).

10 years agofrontend_net: fix memory leak
Adam Dickmeiss [Tue, 18 Mar 2014 14:01:07 +0000 (15:01 +0100)]
frontend_net: fix memory leak

This leak would occur if all sessions were in use and the input
queue was cleared when a client would close connection (socket).

10 years agoNMAKE: upd version
Adam Dickmeiss [Mon, 17 Mar 2014 11:29:28 +0000 (12:29 +0100)]
NMAKE: upd version

10 years agofrontend_net: fix compilation on Windows (SIGUSR1 does not exist)
Adam Dickmeiss [Mon, 17 Mar 2014 11:28:59 +0000 (12:28 +0100)]
frontend_net: fix compilation on Windows (SIGUSR1 does not exist)

10 years agoVersion 1.4.5 v1.4.5
Adam Dickmeiss [Fri, 14 Mar 2014 11:48:00 +0000 (12:48 +0100)]
Version 1.4.5

10 years agoChange include of thread.hpp
Adam Dickmeiss [Fri, 14 Mar 2014 11:46:07 +0000 (12:46 +0100)]
Change include of thread.hpp

Seems like we're hit by this bug
https://svn.boost.org/trac/boost/ticket/7979
on Debian jessie

10 years agoUse local skiplist MP-520
Heikki Levanto [Fri, 14 Mar 2014 09:46:27 +0000 (10:46 +0100)]
Use local skiplist  MP-520

10 years agohttp_client: x-forwarded-for controls X-Forwarded-For presence
Adam Dickmeiss [Thu, 6 Mar 2014 09:36:06 +0000 (10:36 +0100)]
http_client: x-forwarded-for controls X-Forwarded-For presence

If x-forwarded-for setting (boolean) is enabled, http_client will
generate an X-Forwarded-For header entry which includes existing
X-Forwarded-For (if any) and current peer address (immediate client
of Metaproxy). By default x-forwarded-for disabled and X-Forwarded-For
will not be generated.

10 years agoz3950_client: client_ip controls client-IP presence
Adam Dickmeiss [Thu, 6 Mar 2014 09:35:54 +0000 (10:35 +0100)]
z3950_client: client_ip controls client-IP presence

If client_ip setting (boolean) is enabled, z3950_client will
generate a client_ip OID as part of init request which includes
previous client_ip (if any) and current peer address (immediate
client of Metaproxy). By default client_ip is disabled and client_ip
will not be generated.

10 years agoHTTP X-Forwarded-For/Z39.50 Client-IP support
Adam Dickmeiss [Wed, 5 Mar 2014 17:22:23 +0000 (18:22 +0100)]
HTTP X-Forwarded-For/Z39.50 Client-IP support

virt_db, multi: relays Z39.50 client-IP.
sru_z3950: converts X-Forwarded-For header to Z39.50 client-IP.
zoom: uses Client-IP or origin address (prefer Client-IP).
frontend_net: Strips tcp: from peer address (so that it is no longer
printed and stripped in zoom filter).
z3950_client: builds client-IP list - combining immediate peer address
as returned by COMSTACK and existing client-IP list (if avaiable).
The Origin only printes first X-Forwarded address.

10 years agoVersion 1.4.4 v1.4.4
Adam Dickmeiss [Tue, 18 Feb 2014 08:20:59 +0000 (09:20 +0100)]
Version 1.4.4

10 years agoLog when SIG{TERM,USR1} is received ASAP MP-513
Adam Dickmeiss [Mon, 17 Feb 2014 09:46:39 +0000 (10:46 +0100)]
Log when SIG{TERM,USR1} is received ASAP MP-513

Do it in frontend_net event loop rather than in place for metaproxy
main, which only exits when all sessions are terminated for SIGUSR1
at graceful stop.

10 years agoAvoid yaz_log calls in signal handlers MP-513
Adam Dickmeiss [Fri, 14 Feb 2014 19:01:34 +0000 (20:01 +0100)]
Avoid yaz_log calls in signal handlers MP-513

10 years agometaproxy-config: quote some RHS values (that might include blanks)
Adam Dickmeiss [Fri, 7 Feb 2014 12:14:50 +0000 (13:14 +0100)]
metaproxy-config: quote some RHS values (that might include blanks)

10 years agoFix leak in sru_z3950 filter - when explain is returned MP-511
Adam Dickmeiss [Mon, 3 Feb 2014 12:39:26 +0000 (13:39 +0100)]
Fix leak in sru_z3950 filter - when explain is returned MP-511