metaproxy-moved-to-github.git
18 years agoAdd LOC target
Adam Dickmeiss [Thu, 2 Feb 2006 11:32:22 +0000 (11:32 +0000)]
Add LOC target

18 years agoSort yp2 objs
Adam Dickmeiss [Thu, 2 Feb 2006 10:26:06 +0000 (10:26 +0000)]
Sort yp2 objs

18 years agoSort libyp2_la_SOURCES
Adam Dickmeiss [Thu, 2 Feb 2006 10:25:36 +0000 (10:25 +0000)]
Sort libyp2_la_SOURCES

18 years agoAvoid debug std::cout
Adam Dickmeiss [Thu, 2 Feb 2006 10:25:13 +0000 (10:25 +0000)]
Avoid debug std::cout

18 years agoAdd XML config, all APDU captions and multi box.
Mike Taylor [Tue, 31 Jan 2006 17:40:34 +0000 (17:40 +0000)]
Add XML config, all APDU captions and multi box.
Substantially complete.

18 years agoWorking configuable HTTP File filter.. This will allows us to refer to
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..

18 years agoAdded yp2::PlainFile class which reads Unix-style plain text files.
Adam Dickmeiss [Wed, 25 Jan 2006 11:27:19 +0000 (11:27 +0000)]
Added yp2::PlainFile class which reads Unix-style plain text files.

18 years agoAdd unit-test to configuration.
Mike Taylor [Mon, 23 Jan 2006 08:23:37 +0000 (08:23 +0000)]
Add unit-test to configuration.

18 years agoLose "finally" action attribute-value, replace by its own "when" attribute.
Mike Taylor [Mon, 23 Jan 2006 08:14:32 +0000 (08:14 +0000)]
Lose "finally" action attribute-value, replace by its own "when" attribute.

18 years agoReplace <stop/> element with stop='1' attribute.
Mike Taylor [Mon, 23 Jan 2006 08:13:11 +0000 (08:13 +0000)]
Replace <stop/> element with stop='1' attribute.

18 years agoAdd <stop/> directive.
Mike Taylor [Mon, 23 Jan 2006 08:12:36 +0000 (08:12 +0000)]
Add <stop/> directive.

18 years agoNew "finally" clause.
Mike Taylor [Mon, 23 Jan 2006 08:12:24 +0000 (08:12 +0000)]
New "finally" clause.

18 years agoadded XML config file parsing, still need to read and parse XML attributes
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

18 years agoadded regex core functionality for filter_query_rewrite
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

18 years agoexcluded ex_*.cpp files such that helper classes inside these are not included in...
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

18 years agoImplemented first bits of http_file filter which serves plain
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.

18 years agoadded first version of query-rewrite filter, only empty shell. functionality missing
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

18 years agoAdded support for dynamic load support for RouterFlexXML. The filter path
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"/>
  ..

18 years agoRewrite the round_robin algorithm for multi target retrieval. The
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.

18 years agoCatch exceptions a little better for yp2 program
Adam Dickmeiss [Thu, 19 Jan 2006 09:32:08 +0000 (09:32 +0000)]
Catch exceptions a little better for yp2 program

18 years agoBumped version to 0.0.2 YP2.0.0.2
Adam Dickmeiss [Wed, 18 Jan 2006 16:28:43 +0000 (16:28 +0000)]
Bumped version to 0.0.2

18 years agoAdded indexdata.dk/gils and marc as virtual targets
Adam Dickmeiss [Wed, 18 Jan 2006 16:28:18 +0000 (16:28 +0000)]
Added indexdata.dk/gils and marc as virtual targets

18 years agoConsider border conditions for scan
Adam Dickmeiss [Wed, 18 Jan 2006 16:21:48 +0000 (16:21 +0000)]
Consider border conditions for scan

18 years agoAdd multi-search with target authorisation.
Mike Taylor [Wed, 18 Jan 2006 15:06:48 +0000 (15:06 +0000)]
Add multi-search with target authorisation.

18 years agodiscardUnauthorisedDBs -> discardUnauthorisedTargets
Mike Taylor [Wed, 18 Jan 2006 15:05:57 +0000 (15:05 +0000)]
discardUnauthorisedDBs -> discardUnauthorisedTargets

18 years agoAdd <discardUnauthorisedDBs/> in target authorization clause.
Mike Taylor [Wed, 18 Jan 2006 15:04:06 +0000 (15:04 +0000)]
Add <discardUnauthorisedDBs/> in target authorization clause.

18 years agodiscardUnauthorisedDBs now works correctly.
Mike Taylor [Wed, 18 Jan 2006 15:03:02 +0000 (15:03 +0000)]
discardUnauthorisedDBs now works correctly.
(Workaround for bug in get_vhost_otherinfo())

18 years agoRecognise and honour <discardUnauthorisedDBs> element.
Mike Taylor [Wed, 18 Jan 2006 14:38:48 +0000 (14:38 +0000)]
Recognise and honour <discardUnauthorisedDBs> element.

18 years agoMerger scan returns diagnostics
Adam Dickmeiss [Wed, 18 Jan 2006 14:36:15 +0000 (14:36 +0000)]
Merger scan returns diagnostics

18 years agoNew optional empty element <discardUnauthorisedDBs> in auth_simple.
Mike Taylor [Wed, 18 Jan 2006 14:12:50 +0000 (14:12 +0000)]
New optional empty element <discardUnauthorisedDBs> in auth_simple.

18 years agoFirst merging scan
Adam Dickmeiss [Wed, 18 Jan 2006 14:10:47 +0000 (14:10 +0000)]
First merging scan

18 years agoThe special database name "*" is now recognised for scan as well as search.
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.

18 years agosetup foo, bar and baz
robstyles [Wed, 18 Jan 2006 13:52:19 +0000 (13:52 +0000)]
setup foo, bar and baz

18 years agoAdd post-virtDb target authorisation step.
Mike Taylor [Wed, 18 Jan 2006 13:38:57 +0000 (13:38 +0000)]
Add post-virtDb target authorisation step.

18 years agoImplement target authorisation.
Mike Taylor [Wed, 18 Jan 2006 13:32:59 +0000 (13:32 +0000)]
Implement target authorisation.

18 years agoAnother private method ... <sigh>
Mike Taylor [Wed, 18 Jan 2006 13:32:46 +0000 (13:32 +0000)]
Another private method ...  <sigh>

18 years agoUse more relevant targets.
Mike Taylor [Wed, 18 Jan 2006 13:32:19 +0000 (13:32 +0000)]
Use more relevant targets.

18 years agoFilter status includes booleans indicating presence of registers.
Mike Taylor [Wed, 18 Jan 2006 11:41:08 +0000 (11:41 +0000)]
Filter status includes booleans indicating presence of registers.

18 years agoImplement config_targetRegister()
Mike Taylor [Wed, 18 Jan 2006 11:22:03 +0000 (11:22 +0000)]
Implement config_targetRegister()

18 years agoRecognise <targetRegister> as well as <userRegister>
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.

18 years agoNew private methods.
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>

18 years agoAdded utility yp2::util::set_vhost_otherinfo to put vhost
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.

18 years agoRecognise special database name "*" in user-register file, indicating
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).

18 years agoThe "mike" user now has access to all databases, due to special "*"
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 "*"

18 years agoadded foo bar and baz alias and authorisation
robstyles [Wed, 18 Jan 2006 10:35:04 +0000 (10:35 +0000)]
added foo bar and baz alias and authorisation

18 years agoChange RouterFleXML so that filters element gets optional
Adam Dickmeiss [Wed, 18 Jan 2006 10:30:58 +0000 (10:30 +0000)]
Change RouterFleXML so that filters element gets optional

18 years agoPass init implementation + authentication stuff through filter virt_db.
Adam Dickmeiss [Wed, 18 Jan 2006 10:30:28 +0000 (10:30 +0000)]
Pass init implementation + authentication stuff through filter virt_db.

18 years ago<filename> element within Auth-Simple filter is now called <userRegister>.
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.

18 years ago<filename> element within Auth-Simple filter is now called <userRegister>.
Mike Taylor [Wed, 18 Jan 2006 10:29:08 +0000 (10:29 +0000)]
<filename> element within Auth-Simple filter is now called <userRegister>.

18 years agoNew
Mike Taylor [Wed, 18 Jan 2006 10:28:39 +0000 (10:28 +0000)]
New

18 years agoWhitespace fix.
Mike Taylor [Wed, 18 Jan 2006 10:10:40 +0000 (10:10 +0000)]
Whitespace fix.

18 years agoAllow multi filter to do re-routing based on virtual target, i.e.
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>

18 years agoFilter multi lets scan through if only one target/db is selected
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

18 years agoRemove debugging output (compiled user-register file)
Mike Taylor [Tue, 17 Jan 2006 17:58:46 +0000 (17:58 +0000)]
Remove debugging output (compiled user-register file)

18 years agoSpecifics on filters.
Mike Taylor [Tue, 17 Jan 2006 17:57:43 +0000 (17:57 +0000)]
Specifics on filters.

18 years agoAdded piggyback support for filters backend_test + multi.
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:40 +0000 (17:55 +0000)]
Added piggyback support for filters backend_test + multi.

18 years agoRemove std::out msg
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:18 +0000 (17:55 +0000)]
Remove std::out msg

18 years agoComment on extended services authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:30:49 +0000 (17:30 +0000)]
Comment on extended services authorisation.

18 years agoSupport for scan authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:24:14 +0000 (17:24 +0000)]
Support for scan authorisation.

18 years agoPer-database authorisation done at search time.
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.)

18 years agoAdd private methods.
Mike Taylor [Tue, 17 Jan 2006 17:11:45 +0000 (17:11 +0000)]
Add private methods.

18 years agoIn create_presentResponse, set status to failure for errors
Adam Dickmeiss [Tue, 17 Jan 2006 16:56:48 +0000 (16:56 +0000)]
In create_presentResponse, set status to failure for errors

18 years agoFilter backend_test does retrieval. Supports fancy USMARC records
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.

18 years agoImplemented utilities get_init_diagnostics and get_default_diag
Adam Dickmeiss [Tue, 17 Jan 2006 16:43:22 +0000 (16:43 +0000)]
Implemented utilities get_init_diagnostics and  get_default_diag

18 years agoReturn other diagnostic if multiple vhosts is given
Adam Dickmeiss [Tue, 17 Jan 2006 16:42:28 +0000 (16:42 +0000)]
Return other diagnostic if multiple vhosts is given

18 years agoAdd authorisation information (list of accessible databases) to
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).

18 years agoJust store mutex as normal member in Rep
Adam Dickmeiss [Tue, 17 Jan 2006 15:08:02 +0000 (15:08 +0000)]
Just store mutex as normal member in Rep

18 years agoNew, boxes and arrows all added but no captions yet.
Mike Taylor [Tue, 17 Jan 2006 14:35:25 +0000 (14:35 +0000)]
New, boxes and arrows all added but no captions yet.

18 years agoNew
Mike Taylor [Tue, 17 Jan 2006 14:13:00 +0000 (14:13 +0000)]
New

18 years agoFilter virt_db did not pass route correctly
Adam Dickmeiss [Tue, 17 Jan 2006 13:54:54 +0000 (13:54 +0000)]
Filter virt_db did not pass route correctly

18 years agoSlightly better diagnostics
Adam Dickmeiss [Tue, 17 Jan 2006 13:54:36 +0000 (13:54 +0000)]
Slightly better diagnostics

18 years ago<filters> element is now optional.
Mike Taylor [Tue, 17 Jan 2006 13:46:52 +0000 (13:46 +0000)]
<filters> element is now optional.

18 years agoRemove empty <filters> section.
Mike Taylor [Tue, 17 Jan 2006 13:46:42 +0000 (13:46 +0000)]
Remove empty <filters> section.

18 years agoAdded yp2::util split_zurl and get_vhost_otherinfo.
Adam Dickmeiss [Tue, 17 Jan 2006 13:34:51 +0000 (13:34 +0000)]
Added yp2::util split_zurl and get_vhost_otherinfo.
For virt_db close the connection, if backend does it.. rather than
sending a search/scan response for a dead session.

18 years agoAlternative route to backend_test
Adam Dickmeiss [Tue, 17 Jan 2006 13:31:09 +0000 (13:31 +0000)]
Alternative route to backend_test

18 years agoNew, almost empty
Mike Taylor [Tue, 17 Jan 2006 11:10:30 +0000 (11:10 +0000)]
New, almost empty

18 years agoNew
Mike Taylor [Tue, 17 Jan 2006 10:43:14 +0000 (10:43 +0000)]
New

18 years agoAdditional files described.
Mike Taylor [Tue, 17 Jan 2006 10:35:12 +0000 (10:35 +0000)]
Additional files described.

18 years agoTest the zurg config.
Mike Taylor [Tue, 17 Jan 2006 10:28:38 +0000 (10:28 +0000)]
Test the zurg config.

18 years ago*** empty log message ***
robstyles [Tue, 17 Jan 2006 10:10:36 +0000 (10:10 +0000)]
*** empty log message ***

18 years agoTest commit.
robstyles [Tue, 17 Jan 2006 09:35:02 +0000 (09:35 +0000)]
Test commit.

18 years agoMore information.
Mike Taylor [Tue, 17 Jan 2006 09:26:44 +0000 (09:26 +0000)]
More information.

18 years agoUpdate config for new virt_db filter
Adam Dickmeiss [Mon, 16 Jan 2006 17:03:26 +0000 (17:03 +0000)]
Update config for new virt_db filter

18 years agoUse proper resultSetId
Adam Dickmeiss [Mon, 16 Jan 2006 17:03:09 +0000 (17:03 +0000)]
Use proper resultSetId

18 years agoFix test
Adam Dickmeiss [Mon, 16 Jan 2006 17:02:55 +0000 (17:02 +0000)]
Fix test

18 years agoAdd "auth_simple" filter.
Mike Taylor [Mon, 16 Jan 2006 16:53:37 +0000 (16:53 +0000)]
Add "auth_simple" filter.
Remove extraneous close-tag.

18 years agoAllow <filename> element's content to be any string (was NCName)
Mike Taylor [Mon, 16 Jan 2006 16:42:15 +0000 (16:42 +0000)]
Allow <filename> element's content to be any string (was NCName)

18 years agoComplete.
Mike Taylor [Mon, 16 Jan 2006 16:32:33 +0000 (16:32 +0000)]
Complete.

18 years agoUse newly added auth file.
Mike Taylor [Mon, 16 Jan 2006 16:30:06 +0000 (16:30 +0000)]
Use newly added auth file.

18 years agoNew
Mike Taylor [Mon, 16 Jan 2006 16:29:49 +0000 (16:29 +0000)]
New

18 years agoFilter virt_db returns first unsvailable database as addinfo
Adam Dickmeiss [Mon, 16 Jan 2006 16:05:50 +0000 (16:05 +0000)]
Filter virt_db returns first unsvailable database as addinfo

18 years agoFilter virt_db allows multiple databases.. Each of these is
Adam Dickmeiss [Mon, 16 Jan 2006 15:51:56 +0000 (15:51 +0000)]
Filter virt_db allows multiple databases.. Each of these is
mapped to a target. Fiter multi is able to multi search these.

18 years agoAllow <filename> within <filter> (needed with type="auth_simple")
Mike Taylor [Mon, 16 Jan 2006 15:49:27 +0000 (15:49 +0000)]
Allow <filename> within <filter> (needed with type="auth_simple")

18 years agoAdd <filename>/etc/passwd</filename> to <filter type="auth_simple">
Mike Taylor [Mon, 16 Jan 2006 15:48:57 +0000 (15:48 +0000)]
Add <filename>/etc/passwd</filename> to <filter type="auth_simple">

18 years agoPlenty of new material.
Mike Taylor [Mon, 16 Jan 2006 15:22:56 +0000 (15:22 +0000)]
Plenty of new material.
Lots of classes not yet documented.

18 years agoFormatting.
Mike Taylor [Mon, 16 Jan 2006 14:33:41 +0000 (14:33 +0000)]
Formatting.

18 years agoNew -- very, very incomplete.
Mike Taylor [Mon, 16 Jan 2006 14:33:29 +0000 (14:33 +0000)]
New -- very, very incomplete.

18 years agonew
Mike Taylor [Mon, 16 Jan 2006 13:55:22 +0000 (13:55 +0000)]
new

18 years agoComment on empty element.
Mike Taylor [Mon, 16 Jan 2006 12:29:03 +0000 (12:29 +0000)]
Comment on empty element.

18 years agoExplicit enumeration "type" attribute of <filter>
Mike Taylor [Mon, 16 Jan 2006 12:24:14 +0000 (12:24 +0000)]
Explicit enumeration "type" attribute of <filter>
Comments on not-yet-described "session_shared" and "template" filters.