Mike Taylor [Thu, 30 Mar 2006 13:10:59 +0000 (13:10 +0000)]
Add query_rewrite.xml
Adam Dickmeiss [Thu, 30 Mar 2006 12:52:33 +0000 (12:52 +0000)]
Update for yazpp
Mike Taylor [Thu, 30 Mar 2006 11:43:59 +0000 (11:43 +0000)]
Typo in comment.
Mike Taylor [Thu, 30 Mar 2006 11:37:04 +0000 (11:37 +0000)]
More explicit.
Mike Taylor [Thu, 30 Mar 2006 11:21:18 +0000 (11:21 +0000)]
Support for <filter type="query_rewrite">, as used in config5.xml
Mike Taylor [Thu, 30 Mar 2006 11:20:48 +0000 (11:20 +0000)]
Rmeove comment.
Mike Taylor [Thu, 30 Mar 2006 11:19:44 +0000 (11:19 +0000)]
Include test-config5
Mike Taylor [Thu, 30 Mar 2006 11:16:17 +0000 (11:16 +0000)]
Support for <filter type="http_file">, as used in config4.xml
Mike Taylor [Thu, 30 Mar 2006 11:15:48 +0000 (11:15 +0000)]
Include test-config4
Adam Dickmeiss [Thu, 30 Mar 2006 07:47:14 +0000 (07:47 +0000)]
List more dependencies
Adam Dickmeiss [Wed, 29 Mar 2006 13:44:45 +0000 (13:44 +0000)]
Upgrade to yazpp
Adam Dickmeiss [Tue, 28 Mar 2006 16:56:33 +0000 (16:56 +0000)]
Require autoconf 2.59 or later. More m4 quoting
Adam Dickmeiss [Mon, 27 Mar 2006 14:34:45 +0000 (14:34 +0000)]
Other simpara
Adam Dickmeiss [Mon, 27 Mar 2006 14:18:23 +0000 (14:18 +0000)]
Reindent book
Adam Dickmeiss [Mon, 27 Mar 2006 13:44:07 +0000 (13:44 +0000)]
Indent change
Adam Dickmeiss [Mon, 27 Mar 2006 13:41:40 +0000 (13:41 +0000)]
Man page for each module.
Adam Dickmeiss [Mon, 27 Mar 2006 12:53:05 +0000 (12:53 +0000)]
Query rewrite filter renamed from query-rewrite to query_rewrite (all
other filters use _ to separate names).
Adam Dickmeiss [Mon, 27 Mar 2006 12:52:20 +0000 (12:52 +0000)]
Added this.
Adam Dickmeiss [Thu, 16 Mar 2006 13:20:04 +0000 (13:20 +0000)]
Two man pages added. More to come.
Adam Dickmeiss [Thu, 16 Mar 2006 12:03:38 +0000 (12:03 +0000)]
Configure and build docbook doc as part of make.
The documentation has been split in two: metaproxy.xml(.in) +
book.xml. It's rather painful to edit .in files too often. The
documentation now refers to Metaproxy rather than yp2.
Adam Dickmeiss [Thu, 16 Mar 2006 10:45:28 +0000 (10:45 +0000)]
Update win32 build for metaproxy name
Adam Dickmeiss [Thu, 16 Mar 2006 10:40:58 +0000 (10:40 +0000)]
Rename from yp2 to metaproxy. The namespace for all definitions
is using metaproxy_1, but we use namespace alias 'mp' in .cpp files
to keep things easier to read (or using namespace).
Adam Dickmeiss [Thu, 16 Mar 2006 09:38:43 +0000 (09:38 +0000)]
Add filter_query_rewrite in win32 build
Adam Dickmeiss [Thu, 16 Mar 2006 09:38:33 +0000 (09:38 +0000)]
Omit include of boost/regex.hpp
Adam Dickmeiss [Wed, 15 Mar 2006 14:59:10 +0000 (14:59 +0000)]
Implemented RPN query rewrite using XSLT. This filter uses yaz_xml2query,
yaz_query2xml utilities from YAZ (2.1.14 or later).
Adam Dickmeiss [Wed, 15 Mar 2006 14:55:17 +0000 (14:55 +0000)]
*** empty log message ***
Mike Taylor [Mon, 13 Feb 2006 16:00:31 +0000 (16:00 +0000)]
New
Mike Taylor [Thu, 2 Feb 2006 18:22:47 +0000 (18:22 +0000)]
New
Mike Taylor [Thu, 2 Feb 2006 18:21:39 +0000 (18:21 +0000)]
None of these text-files are needed any longer, as they have been
merged, consolidated and upgraded into DocBook source.
Mike Taylor [Thu, 2 Feb 2006 18:20:41 +0000 (18:20 +0000)]
Enforce at least one <route> within <routes>.
(Doesn't seem to work, though.)
Adam Dickmeiss [Thu, 2 Feb 2006 13:08:22 +0000 (13:08 +0000)]
Remove this test. Rewrite will is gonna be different
Adam Dickmeiss [Thu, 2 Feb 2006 11:35:39 +0000 (11:35 +0000)]
Bump to version 0.0.3
Adam Dickmeiss [Thu, 2 Feb 2006 11:34:15 +0000 (11:34 +0000)]
Updated to current source. Builds bin\yp2.exe program now.
Adam Dickmeiss [Thu, 2 Feb 2006 11:33:46 +0000 (11:33 +0000)]
Changed from 'class' to 'struct' in a few forward declarations
due to MS VS warnings. In HTTP file filter, avoid using stat.
Adam Dickmeiss [Thu, 2 Feb 2006 11:32:22 +0000 (11:32 +0000)]
Add LOC target
Adam Dickmeiss [Thu, 2 Feb 2006 10:26:06 +0000 (10:26 +0000)]
Sort yp2 objs
Adam Dickmeiss [Thu, 2 Feb 2006 10:25:36 +0000 (10:25 +0000)]
Sort libyp2_la_SOURCES
Adam Dickmeiss [Thu, 2 Feb 2006 10:25:13 +0000 (10:25 +0000)]
Avoid debug std::cout
Mike Taylor [Tue, 31 Jan 2006 17:40:34 +0000 (17:40 +0000)]
Add XML config, all APDU captions and multi box.
Substantially complete.
Adam Dickmeiss [Wed, 25 Jan 2006 11:28:23 +0000 (11:28 +0000)]
Working configuable HTTP File filter.. This will allows us to refer to
.js/.xsl files for SRU implementations and documentation..
Adam Dickmeiss [Wed, 25 Jan 2006 11:27:19 +0000 (11:27 +0000)]
Added yp2::PlainFile class which reads Unix-style plain text files.
Mike Taylor [Mon, 23 Jan 2006 08:23:37 +0000 (08:23 +0000)]
Add unit-test to configuration.
Mike Taylor [Mon, 23 Jan 2006 08:14:32 +0000 (08:14 +0000)]
Lose "finally" action attribute-value, replace by its own "when" attribute.
Mike Taylor [Mon, 23 Jan 2006 08:13:11 +0000 (08:13 +0000)]
Replace <stop/> element with stop='1' attribute.
Mike Taylor [Mon, 23 Jan 2006 08:12:36 +0000 (08:12 +0000)]
Add <stop/> directive.
Mike Taylor [Mon, 23 Jan 2006 08:12:24 +0000 (08:12 +0000)]
New "finally" clause.
Marc Cromme [Sun, 22 Jan 2006 00:05:51 +0000 (00:05 +0000)]
added XML config file parsing, still need to read and parse XML attributes
also no action taken yet after XML parsing
Marc Cromme [Fri, 20 Jan 2006 22:38:12 +0000 (22:38 +0000)]
added regex core functionality for filter_query_rewrite
added check in configure.ac for libboost_regex
still missing configuration of filter_query_rewrite, a list of regular expressions, and in fact packing the altered query back in the GDU, so only half-ways
Marc Cromme [Thu, 19 Jan 2006 23:13:39 +0000 (23:13 +0000)]
excluded ex_*.cpp files such that helper classes inside these are not included in docs
Adam Dickmeiss [Thu, 19 Jan 2006 21:43:51 +0000 (21:43 +0000)]
Implemented first bits of http_file filter which serves plain
files via HTTP. Needs to add XML config parsing + mime type reading.
Marc Cromme [Thu, 19 Jan 2006 12:18:09 +0000 (12:18 +0000)]
added first version of query-rewrite filter, only empty shell. functionality missing
Adam Dickmeiss [Thu, 19 Jan 2006 09:41:01 +0000 (09:41 +0000)]
Added support for dynamic load support for RouterFlexXML. The filter path
can be specified as CDATA in element dlpath in XML config, i.e.
<yp2 xmlns="http://indexdata.dk/yp2/config/1">
<dlpath>../src/.libs</dlpath>
<start route="start"/>
..
Adam Dickmeiss [Thu, 19 Jan 2006 09:35:43 +0000 (09:35 +0000)]
Rewrite the round_robin algorithm for multi target retrieval. The
previous algorithm speed was O(s+n) where s = offset of first record
presented, n = number of records fetched. The new is O(m+n) where m =
number of result sets.
Adam Dickmeiss [Thu, 19 Jan 2006 09:32:08 +0000 (09:32 +0000)]
Catch exceptions a little better for yp2 program
Adam Dickmeiss [Wed, 18 Jan 2006 16:28:43 +0000 (16:28 +0000)]
Bumped version to 0.0.2
Adam Dickmeiss [Wed, 18 Jan 2006 16:28:18 +0000 (16:28 +0000)]
Added indexdata.dk/gils and marc as virtual targets
Adam Dickmeiss [Wed, 18 Jan 2006 16:21:48 +0000 (16:21 +0000)]
Consider border conditions for scan
Mike Taylor [Wed, 18 Jan 2006 15:06:48 +0000 (15:06 +0000)]
Add multi-search with target authorisation.
Mike Taylor [Wed, 18 Jan 2006 15:05:57 +0000 (15:05 +0000)]
discardUnauthorisedDBs -> discardUnauthorisedTargets
Mike Taylor [Wed, 18 Jan 2006 15:04:06 +0000 (15:04 +0000)]
Add <discardUnauthorisedDBs/> in target authorization clause.
Mike Taylor [Wed, 18 Jan 2006 15:03:02 +0000 (15:03 +0000)]
discardUnauthorisedDBs now works correctly.
(Workaround for bug in get_vhost_otherinfo())
Mike Taylor [Wed, 18 Jan 2006 14:38:48 +0000 (14:38 +0000)]
Recognise and honour <discardUnauthorisedDBs> element.
Adam Dickmeiss [Wed, 18 Jan 2006 14:36:15 +0000 (14:36 +0000)]
Merger scan returns diagnostics
Mike Taylor [Wed, 18 Jan 2006 14:12:50 +0000 (14:12 +0000)]
New optional empty element <discardUnauthorisedDBs> in auth_simple.
Adam Dickmeiss [Wed, 18 Jan 2006 14:10:47 +0000 (14:10 +0000)]
First merging scan
Mike Taylor [Wed, 18 Jan 2006 13:56:12 +0000 (13:56 +0000)]
The special database name "*" is now recognised for scan as well as search.
The special target name "*" is also now recognised.
robstyles [Wed, 18 Jan 2006 13:52:19 +0000 (13:52 +0000)]
setup foo, bar and baz
Mike Taylor [Wed, 18 Jan 2006 13:38:57 +0000 (13:38 +0000)]
Add post-virtDb target authorisation step.
Mike Taylor [Wed, 18 Jan 2006 13:32:59 +0000 (13:32 +0000)]
Implement target authorisation.
Mike Taylor [Wed, 18 Jan 2006 13:32:46 +0000 (13:32 +0000)]
Another private method ... <sigh>
Mike Taylor [Wed, 18 Jan 2006 13:32:19 +0000 (13:32 +0000)]
Use more relevant targets.
Mike Taylor [Wed, 18 Jan 2006 11:41:08 +0000 (11:41 +0000)]
Filter status includes booleans indicating presence of registers.
Mike Taylor [Wed, 18 Jan 2006 11:22:03 +0000 (11:22 +0000)]
Implement config_targetRegister()
Mike Taylor [Wed, 18 Jan 2006 11:12:15 +0000 (11:12 +0000)]
Recognise <targetRegister> as well as <userRegister>
die() utility function to throw exceptions.
Mike Taylor [Wed, 18 Jan 2006 11:11:33 +0000 (11:11 +0000)]
New private methods.
<rant>It's insane that I have to put these into a header file. They
are defined and used only in "filter_auth_simple.cpp", and make no
difference whatsoever to the physical layout of the object -- why
should I tell the world about them?</rant>
Adam Dickmeiss [Wed, 18 Jan 2006 10:57:27 +0000 (10:57 +0000)]
Added utility yp2::util::set_vhost_otherinfo to put vhost
stuff in other-information unit.
Mike Taylor [Wed, 18 Jan 2006 10:50:13 +0000 (10:50 +0000)]
Recognise special database name "*" in user-register file, indicating
that the user is allowed access to all databases (but will still be
subject to any target-authorisation tests to follow).
Mike Taylor [Wed, 18 Jan 2006 10:49:00 +0000 (10:49 +0000)]
The "mike" user now has access to all databases, due to special "*"
robstyles [Wed, 18 Jan 2006 10:35:04 +0000 (10:35 +0000)]
added foo bar and baz alias and authorisation
Adam Dickmeiss [Wed, 18 Jan 2006 10:30:58 +0000 (10:30 +0000)]
Change RouterFleXML so that filters element gets optional
Adam Dickmeiss [Wed, 18 Jan 2006 10:30:28 +0000 (10:30 +0000)]
Pass init implementation + authentication stuff through filter virt_db.
Mike Taylor [Wed, 18 Jan 2006 10:29:50 +0000 (10:29 +0000)]
<filename> element within Auth-Simple filter is now called <userRegister>.
Also allow <targetRegister> in this place.
Mike Taylor [Wed, 18 Jan 2006 10:29:08 +0000 (10:29 +0000)]
<filename> element within Auth-Simple filter is now called <userRegister>.
Mike Taylor [Wed, 18 Jan 2006 10:28:39 +0000 (10:28 +0000)]
New
Mike Taylor [Wed, 18 Jan 2006 10:10:40 +0000 (10:10 +0000)]
Whitespace fix.
Adam Dickmeiss [Wed, 18 Jan 2006 09:20:30 +0000 (09:20 +0000)]
Allow multi filter to do re-routing based on virtual target, i.e.
<target route="myroute">vtarget</target>
Adam Dickmeiss [Tue, 17 Jan 2006 18:55:55 +0000 (18:55 +0000)]
Filter multi lets scan through if only one target/db is selected
Mike Taylor [Tue, 17 Jan 2006 17:58:46 +0000 (17:58 +0000)]
Remove debugging output (compiled user-register file)
Mike Taylor [Tue, 17 Jan 2006 17:57:43 +0000 (17:57 +0000)]
Specifics on filters.
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:40 +0000 (17:55 +0000)]
Added piggyback support for filters backend_test + multi.
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:18 +0000 (17:55 +0000)]
Remove std::out msg
Mike Taylor [Tue, 17 Jan 2006 17:30:49 +0000 (17:30 +0000)]
Comment on extended services authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:24:14 +0000 (17:24 +0000)]
Support for scan authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:13:31 +0000 (17:13 +0000)]
Per-database authorisation done at search time.
(Scan just lets you get on with it.)
Mike Taylor [Tue, 17 Jan 2006 17:11:45 +0000 (17:11 +0000)]
Add private methods.
Adam Dickmeiss [Tue, 17 Jan 2006 16:56:48 +0000 (16:56 +0000)]
In create_presentResponse, set status to failure for errors
Adam Dickmeiss [Tue, 17 Jan 2006 16:45:49 +0000 (16:45 +0000)]
Filter backend_test does retrieval. Supports fancy USMARC records
as well as piggyback.
Adam Dickmeiss [Tue, 17 Jan 2006 16:43:22 +0000 (16:43 +0000)]
Implemented utilities get_init_diagnostics and get_default_diag
Adam Dickmeiss [Tue, 17 Jan 2006 16:42:28 +0000 (16:42 +0000)]
Return other diagnostic if multiple vhosts is given
Mike Taylor [Tue, 17 Jan 2006 16:09:41 +0000 (16:09 +0000)]
Add authorisation information (list of accessible databases) to
existing authentication information (username and password).