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.
Jakub Skoczen [Thu, 2 May 2013 16:30:30 +0000 (18:30 +0200)]
Only remember match if not empty
Jakub Skoczen [Thu, 2 May 2013 14:24:34 +0000 (16:24 +0200)]
Use C++ strings and handle non-capturing groups
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.
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)
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).
Jakub Skoczen [Wed, 1 May 2013 07:39:32 +0000 (09:39 +0200)]
Ignore everything (with excetptions)
Jakub Skoczen [Tue, 30 Apr 2013 15:11:07 +0000 (17:11 +0200)]
Humble beginings
Dennis Schafroth [Mon, 29 Apr 2013 16:50:48 +0000 (18:50 +0200)]
Fix: support new configure API
Adam Dickmeiss [Mon, 29 Apr 2013 14:10:54 +0000 (16:10 +0200)]
Update m4 due to different msg WRT Boost system
Adam Dickmeiss [Mon, 29 Apr 2013 13:56:45 +0000 (15:56 +0200)]
Metion libboost-system-dev
Adam Dickmeiss [Mon, 29 Apr 2013 13:40:32 +0000 (15:40 +0200)]
Depend on Boost.System for Boost >= 1.41.0
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.
Adam Dickmeiss [Wed, 24 Apr 2013 12:07:23 +0000 (14:07 +0200)]
http_file rnc: area is 0 or more
Adam Dickmeiss [Mon, 22 Apr 2013 15:12:27 +0000 (17:12 +0200)]
Debug package libmetaproxy4-dbg MP-435
Adam Dickmeiss [Thu, 18 Apr 2013 09:37:27 +0000 (11:37 +0200)]
http_client documentation
Adam Dickmeiss [Thu, 18 Apr 2013 09:31:44 +0000 (11:31 +0200)]
Implemented http_client MP-432
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
Adam Dickmeiss [Wed, 17 Apr 2013 11:44:49 +0000 (13:44 +0200)]
Fix spelling in sysconfig/metaproxy
Adam Dickmeiss [Wed, 10 Apr 2013 07:48:46 +0000 (09:48 +0200)]
Version 1.3.55
Adam Dickmeiss [Fri, 5 Apr 2013 09:35:02 +0000 (11:35 +0200)]
Update ZOOM documentation for authenticationMode
Adam Dickmeiss [Fri, 5 Apr 2013 09:34:41 +0000 (11:34 +0200)]
Example config using 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".
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.
Adam Dickmeiss [Wed, 27 Mar 2013 12:56:59 +0000 (13:56 +0100)]
Ignore local0.ent
Adam Dickmeiss [Wed, 27 Mar 2013 12:37:50 +0000 (13:37 +0100)]
Version 1.3.54
Adam Dickmeiss [Wed, 27 Mar 2013 12:05:05 +0000 (13:05 +0100)]
Documentation rebuilt if local.ent changes
Adam Dickmeiss [Wed, 27 Mar 2013 10:33:12 +0000 (11:33 +0100)]
Spell Solr as Solr
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
Adam Dickmeiss [Wed, 27 Mar 2013 10:26:14 +0000 (11:26 +0100)]
Change case of Solr in msg
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.
Adam Dickmeiss [Tue, 19 Mar 2013 11:20:21 +0000 (12:20 +0100)]
RPM: simplify make install rule
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
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
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.
Adam Dickmeiss [Tue, 12 Mar 2013 17:59:10 +0000 (18:59 +0100)]
Doc: fix id of metaproxy-config ref
Adam Dickmeiss [Thu, 28 Feb 2013 15:11:00 +0000 (16:11 +0100)]
Doc update for USEMARCON support
Adam Dickmeiss [Thu, 28 Feb 2013 15:01:25 +0000 (16:01 +0100)]
Trim retrievalinfo header
Adam Dickmeiss [Thu, 28 Feb 2013 14:42:53 +0000 (15:42 +0100)]
Mark Usemarcon as supported
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:44 +0000 (15:06 +0100)]
Example using log category 'line'
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:39 +0000 (15:06 +0100)]
Document log category 'line'
Adam Dickmeiss [Fri, 22 Feb 2013 14:06:11 +0000 (15:06 +0100)]
multi: make a few log msgs to DEBUG
Adam Dickmeiss [Fri, 22 Feb 2013 11:43:02 +0000 (12:43 +0100)]
multi: do not alter scan package either
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).
Adam Dickmeiss [Mon, 4 Feb 2013 12:57:16 +0000 (13:57 +0100)]
Solr example
Adam Dickmeiss [Thu, 31 Jan 2013 12:38:08 +0000 (13:38 +0100)]
Version 1.3.53
Adam Dickmeiss [Thu, 31 Jan 2013 11:43:23 +0000 (12:43 +0100)]
Require YAZ 4.2.50 or later
Adam Dickmeiss [Thu, 31 Jan 2013 10:33:24 +0000 (11:33 +0100)]
OPACXML to OPAC conversion example
Adam Dickmeiss [Thu, 31 Jan 2013 10:32:36 +0000 (11:32 +0100)]
record_transform: allow OPACXML to OPAC conversion
Adam Dickmeiss [Sun, 6 Jan 2013 15:36:30 +0000 (16:36 +0100)]
Bump year
Adam Dickmeiss [Fri, 28 Dec 2012 12:29:43 +0000 (13:29 +0100)]
zoom: document content-proxy
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.
Adam Dickmeiss [Tue, 4 Dec 2012 11:57:33 +0000 (12:57 +0100)]
Add Ubuntu quantal
Adam Dickmeiss [Fri, 30 Nov 2012 17:52:49 +0000 (18:52 +0100)]
Version 1.3.52
Adam Dickmeiss [Fri, 30 Nov 2012 17:50:03 +0000 (17:50 +0000)]
zoom: fix http:// check
Adam Dickmeiss [Thu, 15 Nov 2012 12:12:23 +0000 (13:12 +0100)]
Version 1.3.51
Adam Dickmeiss [Wed, 14 Nov 2012 11:36:30 +0000 (12:36 +0100)]
Remove yaz_log msg
Adam Dickmeiss [Wed, 14 Nov 2012 11:35:20 +0000 (12:35 +0100)]
zoom: only append for SRU if not already given
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
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'.
Adam Dickmeiss [Mon, 12 Nov 2012 14:59:03 +0000 (15:59 +0100)]
Depend on libyazpp5
Because it provides a new ABI
Adam Dickmeiss [Mon, 12 Nov 2012 13:47:40 +0000 (14:47 +0100)]
Use yazpp5 DLL
Adam Dickmeiss [Mon, 29 Oct 2012 13:27:04 +0000 (14:27 +0100)]
Version 1.3.50
Adam Dickmeiss [Mon, 29 Oct 2012 13:30:47 +0000 (14:30 +0100)]
No CVS ID in local.ent
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.
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.
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.
Adam Dickmeiss [Mon, 29 Oct 2012 12:01:17 +0000 (13:01 +0100)]
Only use kill on POSIX systems
Adam Dickmeiss [Mon, 29 Oct 2012 10:38:02 +0000 (11:38 +0100)]
win makefile: use Boost 1.51
Adam Dickmeiss [Mon, 29 Oct 2012 11:06:42 +0000 (12:06 +0100)]
session_shared: 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
Adam Dickmeiss [Mon, 29 Oct 2012 11:04:31 +0000 (12:04 +0100)]
z3950_client: 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
Adam Dickmeiss [Mon, 29 Oct 2012 11:01:49 +0000 (12:01 +0100)]
zoom: tweak logging for Torus fetch
Adam Dickmeiss [Fri, 26 Oct 2012 12:45:29 +0000 (14:45 +0200)]
Add CentOS 6
Adam Dickmeiss [Fri, 26 Oct 2012 12:32:35 +0000 (14:32 +0200)]
sru_z3950: using 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
Adam Dickmeiss [Fri, 26 Oct 2012 12:27:27 +0000 (14:27 +0200)]
Require YAZ 4.2.44
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.
Adam Dickmeiss [Wed, 24 Oct 2012 20:46:30 +0000 (22:46 +0200)]
sru_z3950: map Z39.50 init diags to SRU response
Adam Dickmeiss [Sat, 20 Oct 2012 09:40:55 +0000 (11:40 +0200)]
Actually add the man page.
Adam Dickmeiss [Sat, 20 Oct 2012 09:19:13 +0000 (11:19 +0200)]
Add metaproxy-config man page
Adam Dickmeiss [Fri, 19 Oct 2012 13:00:27 +0000 (15:00 +0200)]
Add set -e to prefm script
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.
Adam Dickmeiss [Fri, 19 Oct 2012 12:57:29 +0000 (14:57 +0200)]
Fix email addresses in debian/changelog
Adam Dickmeiss [Thu, 18 Oct 2012 13:54:00 +0000 (15:54 +0200)]
Version 1.3.49
Adam Dickmeiss [Thu, 18 Oct 2012 08:56:10 +0000 (10:56 +0200)]
frontend_net: simplify, use mp::xml::get_route
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.
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.
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.
Adam Dickmeiss [Mon, 8 Oct 2012 16:13:30 +0000 (18:13 +0200)]
Version 1.3.48
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.
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.
Adam Dickmeiss [Thu, 4 Oct 2012 09:59:48 +0000 (11:59 +0200)]
Version 1.3.47
Adam Dickmeiss [Thu, 4 Oct 2012 08:14:15 +0000 (08:14 +0000)]
At graceful stop, kill children processes
Metaproxy already did this for normal stop (SIGTERM). This ensure
that children processes spawned by modules are removed upon
termination of graceful stop too.
Adam Dickmeiss [Thu, 4 Oct 2012 07:47:19 +0000 (07:47 +0000)]
Log when metaproxy is invoked in test mode (-t)
Adam Dickmeiss [Wed, 3 Oct 2012 10:47:32 +0000 (12:47 +0200)]
Set yaz_log prefix to PID
This is to make it easier to track what Metaproxy process is
logging, especially duing reload where multiple Metaproxy processing
are running.
Adam Dickmeiss [Tue, 2 Oct 2012 14:17:42 +0000 (16:17 +0200)]
multi: combine both NSDs and multiple NSDs into one
Adam Dickmeiss [Tue, 2 Oct 2012 14:16:30 +0000 (16:16 +0200)]
z3950_client: fixup multiple NSD's too
Like surrogate diagnostics, a (backend=target) is appended
for each diagnostic so that can be determined the origin of
error.
Adam Dickmeiss [Tue, 2 Oct 2012 12:54:50 +0000 (14:54 +0200)]
multi: hideerrors also in use for present response