metaproxy-moved-to-github.git
11 years agoConfigure from XML
Jakub Skoczen [Mon, 6 May 2013 13:48:48 +0000 (15:48 +0200)]
Configure from XML

11 years agoFactor out impl from test
Jakub Skoczen [Mon, 6 May 2013 13:27:42 +0000 (15:27 +0200)]
Factor out impl from test

11 years agoRewrite body too
Jakub Skoczen [Mon, 6 May 2013 10:45:46 +0000 (12:45 +0200)]
Rewrite body too

11 years agoRefactor
Jakub Skoczen [Mon, 6 May 2013 09:41:52 +0000 (11:41 +0200)]
Refactor

11 years agoReconstruct headers before matching
Jakub Skoczen [Fri, 3 May 2013 13:01:55 +0000 (15:01 +0200)]
Reconstruct headers before matching

11 years agoAdd response rewrite rule
Jakub Skoczen [Fri, 3 May 2013 12:04:08 +0000 (14:04 +0200)]
Add response rewrite rule

11 years agoHandle muliple req/resp patterns
Jakub Skoczen [Fri, 3 May 2013 10:40:30 +0000 (12:40 +0200)]
Handle muliple req/resp patterns

Tried in order, first martched first used.

11 years agoOnly remember match if not empty
Jakub Skoczen [Thu, 2 May 2013 16:30:30 +0000 (18:30 +0200)]
Only remember match if not empty

11 years agoUse C++ strings and handle non-capturing groups
Jakub Skoczen [Thu, 2 May 2013 14:24:34 +0000 (16:24 +0200)]
Use C++ strings and handle non-capturing groups

11 years agoResp/Req rewriting works
Jakub Skoczen [Thu, 2 May 2013 12:14:15 +0000 (14:14 +0200)]
Resp/Req rewriting works

The matching approach is a bit different now -- the region is searched
for next match and the replacement is performed in line.

11 years agoDrop boost::xpressive
Jakub Skoczen [Thu, 2 May 2013 09:50:39 +0000 (11:50 +0200)]
Drop boost::xpressive

and revert back to boost::regex which seems to parse
Perl-like capture groups just fine (unlike xpressive
which wnats Python style, sic)

11 years agoFunctional request header rewriting
Jakub Skoczen [Wed, 1 May 2013 15:15:34 +0000 (17:15 +0200)]
Functional request header rewriting

The regex gets scanned for named captures which are than indexed
and used in the request URL recipe (configurable).

11 years agoIgnore everything (with excetptions)
Jakub Skoczen [Wed, 1 May 2013 07:39:32 +0000 (09:39 +0200)]
Ignore everything (with excetptions)

11 years agoHumble beginings
Jakub Skoczen [Tue, 30 Apr 2013 15:11:07 +0000 (17:11 +0200)]
Humble beginings

11 years agoFix: support new configure API
Dennis Schafroth [Mon, 29 Apr 2013 16:50:48 +0000 (18:50 +0200)]
Fix: support new configure API

11 years agoUpdate m4 due to different msg WRT Boost system
Adam Dickmeiss [Mon, 29 Apr 2013 14:10:54 +0000 (16:10 +0200)]
Update m4 due to different msg WRT Boost system

11 years agoMetion libboost-system-dev
Adam Dickmeiss [Mon, 29 Apr 2013 13:56:45 +0000 (15:56 +0200)]
Metion libboost-system-dev

11 years agoDepend on Boost.System for Boost >= 1.41.0
Adam Dickmeiss [Mon, 29 Apr 2013 13:40:32 +0000 (15:40 +0200)]
Depend on Boost.System for Boost >= 1.41.0

11 years agoNew filter http_rewrite1
Adam Dickmeiss [Wed, 24 Apr 2013 12:07:26 +0000 (14:07 +0200)]
New filter http_rewrite1

Which serves as purpose on how to rewrite HTTP content with
Metaproxy.

11 years agohttp_file rnc: area is 0 or more
Adam Dickmeiss [Wed, 24 Apr 2013 12:07:23 +0000 (14:07 +0200)]
http_file rnc: area is 0 or more

11 years agoDebug package libmetaproxy4-dbg MP-435
Adam Dickmeiss [Mon, 22 Apr 2013 15:12:27 +0000 (17:12 +0200)]
Debug package libmetaproxy4-dbg MP-435

11 years agohttp_client documentation
Adam Dickmeiss [Thu, 18 Apr 2013 09:37:27 +0000 (11:37 +0200)]
http_client documentation

11 years agoImplemented http_client MP-432
Adam Dickmeiss [Thu, 18 Apr 2013 09:31:44 +0000 (11:31 +0200)]
Implemented http_client MP-432

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 17 Apr 2013 11:44:53 +0000 (13:44 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoFix spelling in sysconfig/metaproxy
Adam Dickmeiss [Wed, 17 Apr 2013 11:44:49 +0000 (13:44 +0200)]
Fix spelling in sysconfig/metaproxy

11 years agoVersion 1.3.55 v1.3.55
Adam Dickmeiss [Wed, 10 Apr 2013 07:48:46 +0000 (09:48 +0200)]
Version 1.3.55

11 years agoUpdate ZOOM documentation for authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:35:02 +0000 (11:35 +0200)]
Update ZOOM documentation for authenticationMode

11 years agoExample config using authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:34:41 +0000 (11:34 +0200)]
Example config using authenticationMode

11 years agozoom: Torus setting: authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:33:59 +0000 (11:33 +0200)]
zoom: Torus setting: authenticationMode

which may hold values "basic" and "url".

11 years agoTorus setting authentiation signals auth type
Adam Dickmeiss [Thu, 4 Apr 2013 12:54:04 +0000 (14:54 +0200)]
Torus setting authentiation signals auth type

user/password/url uses x-username, x-password for SRU.
user/password/basic or user/password uses HTTP Auth for SRU.

11 years agoIgnore local0.ent
Adam Dickmeiss [Wed, 27 Mar 2013 12:56:59 +0000 (13:56 +0100)]
Ignore local0.ent

11 years agoVersion 1.3.54 v1.3.54
Adam Dickmeiss [Wed, 27 Mar 2013 12:37:50 +0000 (13:37 +0100)]
Version 1.3.54

11 years agoDocumentation rebuilt if local.ent changes
Adam Dickmeiss [Wed, 27 Mar 2013 12:05:05 +0000 (13:05 +0100)]
Documentation rebuilt if local.ent changes

11 years agoSpell Solr as Solr
Adam Dickmeiss [Wed, 27 Mar 2013 10:33:12 +0000 (11:33 +0100)]
Spell Solr as Solr

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 27 Mar 2013 10:28:38 +0000 (11:28 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoChange case of Solr in msg
Adam Dickmeiss [Wed, 27 Mar 2013 10:26:14 +0000 (11:26 +0100)]
Change case of Solr in msg

11 years agoCheck for Libxslt support in YAZ
Adam Dickmeiss [Mon, 25 Mar 2013 08:31:34 +0000 (09:31 +0100)]
Check for Libxslt support in YAZ

and rely on definitions from yaz-config, rather than doing own
xslt/xml2 checks.

11 years agoRPM: simplify make install rule
Adam Dickmeiss [Tue, 19 Mar 2013 11:20:21 +0000 (12:20 +0100)]
RPM: simplify make install rule

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 13 Mar 2013 13:27:49 +0000 (14:27 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Tue, 12 Mar 2013 18:05:40 +0000 (19:05 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

11 years agoAllow yaz_log time-stamp format to be set MP-430
Adam Dickmeiss [Tue, 12 Mar 2013 18:04:30 +0000 (19:04 +0100)]
Allow yaz_log time-stamp format to be set MP-430

This done at a global level via option -m for megaproxy server.

11 years agoDoc: fix id of metaproxy-config ref
Adam Dickmeiss [Tue, 12 Mar 2013 17:59:10 +0000 (18:59 +0100)]
Doc: fix id of metaproxy-config ref

11 years agoDoc update for USEMARCON support
Adam Dickmeiss [Thu, 28 Feb 2013 15:11:00 +0000 (16:11 +0100)]
Doc update for USEMARCON support

11 years agoTrim retrievalinfo header
Adam Dickmeiss [Thu, 28 Feb 2013 15:01:25 +0000 (16:01 +0100)]
Trim retrievalinfo header

11 years agoMark Usemarcon as supported
Adam Dickmeiss [Thu, 28 Feb 2013 14:42:53 +0000 (15:42 +0100)]
Mark Usemarcon as supported

11 years agoExample using log category 'line'
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:44 +0000 (15:06 +0100)]
Example using log category 'line'

11 years agoDocument log category 'line'
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:39 +0000 (15:06 +0100)]
Document log category 'line'

11 years agomulti: make a few log msgs to DEBUG
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:11 +0000 (15:06 +0100)]
multi: make a few log msgs to DEBUG

11 years agomulti: do not alter scan package either
Adam Dickmeiss [Fri, 22 Feb 2013 11:43:02 +0000 (12:43 +0100)]
multi: do not alter scan package either

11 years agomulti: do not mess with request package
Adam Dickmeiss [Fri, 22 Feb 2013 10:41:30 +0000 (11:41 +0100)]
multi: do not mess with request package

For search, database-names were modified and the request package
was left with dangling pointers that caused a log filter to
fail (request package inspected after multi was invoked).

11 years agoSolr example
Adam Dickmeiss [Mon, 4 Feb 2013 12:57:16 +0000 (13:57 +0100)]
Solr example

11 years agoVersion 1.3.53 v1.3.53
Adam Dickmeiss [Thu, 31 Jan 2013 12:38:08 +0000 (13:38 +0100)]
Version 1.3.53

11 years agoRequire YAZ 4.2.50 or later
Adam Dickmeiss [Thu, 31 Jan 2013 11:43:23 +0000 (12:43 +0100)]
Require YAZ 4.2.50 or later

11 years agoOPACXML to OPAC conversion example
Adam Dickmeiss [Thu, 31 Jan 2013 10:33:24 +0000 (11:33 +0100)]
OPACXML to OPAC conversion example

11 years agorecord_transform: allow OPACXML to OPAC conversion
Adam Dickmeiss [Thu, 31 Jan 2013 10:32:36 +0000 (11:32 +0100)]
record_transform: allow OPACXML to OPAC conversion

11 years agoBump year
Adam Dickmeiss [Sun, 6 Jan 2013 15:36:30 +0000 (16:36 +0100)]
Bump year

11 years agozoom: document content-proxy
Adam Dickmeiss [Fri, 28 Dec 2012 12:29:43 +0000 (13:29 +0100)]
zoom: document content-proxy

11 years agozoom: document db parm content-{user,password}, torus_url
Adam Dickmeiss [Fri, 28 Dec 2012 12:24:56 +0000 (13:24 +0100)]
zoom: document db parm content-{user,password}, torus_url

Also <torus auth_url="..> which makes zoom operate in authenticated
mode via Torus lookup.

11 years agoAdd Ubuntu quantal
Adam Dickmeiss [Tue, 4 Dec 2012 11:57:33 +0000 (12:57 +0100)]
Add Ubuntu quantal

11 years agoVersion 1.3.52 v1.3.52
Adam Dickmeiss [Fri, 30 Nov 2012 17:52:49 +0000 (18:52 +0100)]
Version 1.3.52

11 years agozoom: fix http:// check
Adam Dickmeiss [Fri, 30 Nov 2012 17:50:03 +0000 (17:50 +0000)]
zoom: fix http:// check

12 years agoVersion 1.3.51 v1.3.51
Adam Dickmeiss [Thu, 15 Nov 2012 12:12:23 +0000 (13:12 +0100)]
Version 1.3.51

12 years agoRemove yaz_log msg
Adam Dickmeiss [Wed, 14 Nov 2012 11:36:30 +0000 (12:36 +0100)]
Remove yaz_log msg

12 years agozoom: only append http:// for SRU if not already given
Adam Dickmeiss [Wed, 14 Nov 2012 11:35:20 +0000 (12:35 +0100)]
zoom: only append  for SRU if not already given

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Mon, 12 Nov 2012 15:01:59 +0000 (16:01 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

12 years agofrontend_net: allow max size to be given
Adam Dickmeiss [Mon, 12 Nov 2012 15:00:58 +0000 (16:00 +0100)]
frontend_net: allow max size to be given

Controlled by attribute 'max_recv_bytes' of element 'port'.

12 years agoDepend on libyazpp5
Adam Dickmeiss [Mon, 12 Nov 2012 14:59:03 +0000 (15:59 +0100)]
Depend on libyazpp5

Because it provides a new ABI

12 years agoUse yazpp5 DLL
Adam Dickmeiss [Mon, 12 Nov 2012 13:47:40 +0000 (14:47 +0100)]
Use yazpp5 DLL

12 years agoVersion 1.3.50 v1.3.50
Adam Dickmeiss [Mon, 29 Oct 2012 13:27:04 +0000 (14:27 +0100)]
Version 1.3.50

12 years agoNo CVS ID in local.ent
Adam Dickmeiss [Mon, 29 Oct 2012 13:30:47 +0000 (14:30 +0100)]
No CVS ID in local.ent

12 years agoAvoid boost::is_any_off to avoid warning
Adam Dickmeiss [Mon, 29 Oct 2012 13:19:50 +0000 (14:19 +0100)]
Avoid boost::is_any_off to avoid warning

Actually a big fat warning only issued with Visual Studio.

12 years agoSpecify Boost libpath for Windows
Adam Dickmeiss [Mon, 29 Oct 2012 12:28:24 +0000 (13:28 +0100)]
Specify Boost libpath for Windows

This is because some boost libs depend on other boost libraries
that we don't specify in linker invocation.

12 years agoScope classes, tweak for TIME_UTC
Adam Dickmeiss [Mon, 29 Oct 2012 12:02:20 +0000 (13:02 +0100)]
Scope classes, tweak for TIME_UTC

Scope classes due to VC 9 being different from GCC.
Use TIME_UTC_ on Boost 1.50 and later.

12 years agoOnly use kill on POSIX systems
Adam Dickmeiss [Mon, 29 Oct 2012 12:01:17 +0000 (13:01 +0100)]
Only use kill on POSIX systems

12 years agowin makefile: use Boost 1.51
Adam Dickmeiss [Mon, 29 Oct 2012 10:38:02 +0000 (11:38 +0100)]
win makefile: use Boost 1.51

12 years agosession_shared: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:06:42 +0000 (12:06 +0100)]
session_shared: specify module for addinfo in diagnostics

12 years agocql_rpn: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:05:51 +0000 (12:05 +0100)]
cql_rpn: specify module for addinfo in diagnostics

12 years agoz3950_client: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:04:31 +0000 (12:04 +0100)]
z3950_client: specify module for addinfo in diagnostics

12 years agozoom: specify module for addinfo in diagnostics
Adam Dickmeiss [Mon, 29 Oct 2012 11:03:21 +0000 (12:03 +0100)]
zoom: specify module for addinfo in diagnostics

12 years agozoom: tweak logging for Torus fetch
Adam Dickmeiss [Mon, 29 Oct 2012 11:01:49 +0000 (12:01 +0100)]
zoom: tweak logging for Torus fetch

12 years agoAdd CentOS 6
Adam Dickmeiss [Fri, 26 Oct 2012 12:45:29 +0000 (14:45 +0200)]
Add CentOS 6

12 years agosru_z3950: using yaz_decode_init_diag
Adam Dickmeiss [Fri, 26 Oct 2012 12:32:35 +0000 (14:32 +0200)]
sru_z3950: using yaz_decode_init_diag

12 years agomp_util::get_init_diagnostics based on yaz_decode_init_diag
Adam Dickmeiss [Fri, 26 Oct 2012 12:32:20 +0000 (14:32 +0200)]
mp_util::get_init_diagnostics based on yaz_decode_init_diag

12 years agoRequire YAZ 4.2.44
Adam Dickmeiss [Fri, 26 Oct 2012 12:27:27 +0000 (14:27 +0200)]
Require YAZ 4.2.44

12 years agofilter_session_shared: relay init diagnostics
Adam Dickmeiss [Fri, 26 Oct 2012 12:22:20 +0000 (14:22 +0200)]
filter_session_shared: relay init diagnostics

Diagnostics generated by filter_session_shared, are augmented
with addinfo with some details.

12 years agosru_z3950: map Z39.50 init diags to SRU response
Adam Dickmeiss [Wed, 24 Oct 2012 20:46:30 +0000 (22:46 +0200)]
sru_z3950: map Z39.50 init diags to SRU response

12 years agoActually add the man page.
Adam Dickmeiss [Sat, 20 Oct 2012 09:40:55 +0000 (11:40 +0200)]
Actually add the man page.

12 years agoAdd metaproxy-config man page
Adam Dickmeiss [Sat, 20 Oct 2012 09:19:13 +0000 (11:19 +0200)]
Add metaproxy-config man page

12 years agoAdd set -e to prefm script
Adam Dickmeiss [Fri, 19 Oct 2012 13:00:27 +0000 (15:00 +0200)]
Add set -e to prefm script

12 years agoUse dpkg-buildflags in build process
Adam Dickmeiss [Fri, 19 Oct 2012 12:57:58 +0000 (14:57 +0200)]
Use dpkg-buildflags in build process

This is to use hardening options for the libraries and programs.
Refer to http://wiki.debian.org/Hardening for more information.

12 years agoFix email addresses in debian/changelog
Adam Dickmeiss [Fri, 19 Oct 2012 12:57:29 +0000 (14:57 +0200)]
Fix email addresses in debian/changelog

12 years agoVersion 1.3.49 v1.3.49
Adam Dickmeiss [Thu, 18 Oct 2012 13:54:00 +0000 (15:54 +0200)]
Version 1.3.49

12 years agofrontend_net: simplify, use mp::xml::get_route
Adam Dickmeiss [Thu, 18 Oct 2012 08:56:10 +0000 (10:56 +0200)]
frontend_net: simplify, use mp::xml::get_route

12 years agozoom: new config element passthru
Adam Dickmeiss [Wed, 10 Oct 2012 11:51:01 +0000 (13:51 +0200)]
zoom: new config element passthru

This defines an element that is passed verbatim to the backend -
in pz2 mode.

12 years agoauth_simple: get_user a static function
Adam Dickmeiss [Tue, 9 Oct 2012 13:50:27 +0000 (15:50 +0200)]
auth_simple: get_user a static function

rather than member function. Fixes compilation errors on some
platforms.

12 years agoauth_simple: allow both idPass and open auth
Adam Dickmeiss [Tue, 9 Oct 2012 13:37:20 +0000 (15:37 +0200)]
auth_simple: allow both idPass and open auth

Also fix SEGV that could occur for open auth.

12 years agoVersion 1.3.48 v1.3.48
Adam Dickmeiss [Mon, 8 Oct 2012 16:13:30 +0000 (18:13 +0200)]
Version 1.3.48

12 years agoz3950_client: fix string handling for init diagnostics
Adam Dickmeiss [Mon, 8 Oct 2012 13:45:43 +0000 (15:45 +0200)]
z3950_client: fix string handling for init diagnostics

in the case where addinfo was absent.

12 years agoquery_rewrite: no charset for error queries
Adam Dickmeiss [Mon, 8 Oct 2012 13:35:27 +0000 (15:35 +0200)]
query_rewrite: no charset for error queries

Avoid performing charset for query conversion errors. The
resulting Type-1 query is invalid in this case.

12 years agoVersion 1.3.47 v1.3.47
Adam Dickmeiss [Thu, 4 Oct 2012 09:59:48 +0000 (11:59 +0200)]
Version 1.3.47