metaproxy-moved-to-github.git
10 years agoVersion 1.4.1 v1.4.1
Adam Dickmeiss [Thu, 31 Oct 2013 10:07:40 +0000 (11:07 +0100)]
Version 1.4.1

10 years agoFix dependency for libmetaproxy5-devel MP-496
Adam Dickmeiss [Thu, 31 Oct 2013 10:02:25 +0000 (11:02 +0100)]
Fix dependency for libmetaproxy5-devel MP-496

10 years agosession_shared: remove log msg about backend classes
Adam Dickmeiss [Wed, 23 Oct 2013 12:48:45 +0000 (14:48 +0200)]
session_shared: remove log msg about backend classes

10 years agoVersion 1.4.0 v1.4.0
Adam Dickmeiss [Fri, 4 Oct 2013 12:23:19 +0000 (14:23 +0200)]
Version 1.4.0

10 years agoFix SEGV for decoding invalid SRU requests
Adam Dickmeiss [Wed, 2 Oct 2013 13:45:19 +0000 (15:45 +0200)]
Fix SEGV for decoding invalid SRU requests

Incorrect reference to union (was explain response rather than
search response).

10 years agoIgnore debian/dirs produced by building
Adam Dickmeiss [Wed, 2 Oct 2013 11:26:04 +0000 (13:26 +0200)]
Ignore debian/dirs produced by building

10 years agoRPM: fix require to libyaz5
Adam Dickmeiss [Wed, 2 Oct 2013 11:07:48 +0000 (13:07 +0200)]
RPM: fix require to libyaz5

10 years agouse yaz5, yazpp6 DLLs
Adam Dickmeiss [Wed, 2 Oct 2013 10:18:28 +0000 (12:18 +0200)]
use yaz5, yazpp6 DLLs

10 years agoUse libyazpp6, libyaz5 and provide libmetaproxy5
Adam Dickmeiss [Wed, 2 Oct 2013 09:21:53 +0000 (11:21 +0200)]
Use libyazpp6, libyaz5 and provide libmetaproxy5

10 years agoUpgrade to debhelper version 7
Adam Dickmeiss [Wed, 2 Oct 2013 08:41:32 +0000 (10:41 +0200)]
Upgrade to debhelper version 7

10 years agoDepend on YAZ 4.2.69 (z_get_HTTP_Response_server)
Adam Dickmeiss [Tue, 1 Oct 2013 08:01:31 +0000 (10:01 +0200)]
Depend on YAZ 4.2.69 (z_get_HTTP_Response_server)

10 years agoHTTP response with Metaproxy name and URL MP-493
Adam Dickmeiss [Tue, 24 Sep 2013 08:28:26 +0000 (10:28 +0200)]
HTTP response with Metaproxy name and URL MP-493

10 years agosession_shared: match additionalSearchInfo (includes facets)
Adam Dickmeiss [Fri, 20 Sep 2013 12:01:22 +0000 (14:01 +0200)]
session_shared: match additionalSearchInfo (includes facets)

10 years agosession_shared: relay facets for response
Adam Dickmeiss [Fri, 20 Sep 2013 09:14:39 +0000 (11:14 +0200)]
session_shared: relay facets for response

That is: everything in additionalSearchInfo.

10 years agosession_shared: relay facets for requests
Adam Dickmeiss [Thu, 19 Sep 2013 19:22:36 +0000 (21:22 +0200)]
session_shared: relay facets for requests

10 years agozoom: build Z_Facet structures by hand.
Adam Dickmeiss [Wed, 18 Sep 2013 13:21:45 +0000 (15:21 +0200)]
zoom: build Z_Facet structures by hand.

10 years agozoom: reset result set ptr to avoid option reading from it
Adam Dickmeiss [Wed, 18 Sep 2013 13:20:06 +0000 (15:20 +0200)]
zoom: reset result set ptr to avoid option reading from it

10 years agoRequire YAZ 4.2.67 due to yaz_facet_list_to_wrbuf
Adam Dickmeiss [Wed, 18 Sep 2013 12:48:39 +0000 (14:48 +0200)]
Require YAZ 4.2.67 due to yaz_facet_list_to_wrbuf

10 years agozoom: relay facets MP-490
Adam Dickmeiss [Wed, 18 Sep 2013 12:45:56 +0000 (14:45 +0200)]
zoom: relay facets MP-490

10 years agosru_z3950: relays facetList in otherInfo, additional info
Adam Dickmeiss [Thu, 12 Sep 2013 13:28:21 +0000 (15:28 +0200)]
sru_z3950: relays facetList in otherInfo, additional info

10 years agoVersion 1.3.62 v1.3.62
Adam Dickmeiss [Wed, 11 Sep 2013 10:58:02 +0000 (12:58 +0200)]
Version 1.3.62

10 years agoAvoid reference to attribute value (not being there)
Adam Dickmeiss [Wed, 11 Sep 2013 10:42:02 +0000 (12:42 +0200)]
Avoid reference to attribute value (not being there)

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 11 Sep 2013 09:23:56 +0000 (11:23 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

10 years agoOdr_oct updates - YAZ 4 and 5.
Adam Dickmeiss [Wed, 11 Sep 2013 09:23:23 +0000 (11:23 +0200)]
Odr_oct updates - YAZ 4 and 5.

10 years agoLocal boost::smatch , MP-482
Adam Dickmeiss [Tue, 10 Sep 2013 18:52:03 +0000 (20:52 +0200)]
Local boost::smatch , MP-482

10 years agoCareful check of </script> termination
Adam Dickmeiss [Tue, 10 Sep 2013 12:18:54 +0000 (14:18 +0200)]
Careful check of </script> termination

10 years agoTry to reduce splitting of text nodes
Adam Dickmeiss [Tue, 10 Sep 2013 11:58:43 +0000 (13:58 +0200)]
Try to reduce splitting of text nodes

10 years agoNo-nest mode for script content in HTML parser MP-486
Adam Dickmeiss [Tue, 10 Sep 2013 11:43:27 +0000 (13:43 +0200)]
No-nest mode for script content in HTML parser MP-486

This is not to be confused with quoted-literal which says that
only things in quotes should be rewritten.

10 years agoRemove old header match code
Adam Dickmeiss [Tue, 10 Sep 2013 10:32:39 +0000 (12:32 +0200)]
Remove old header match code

10 years agobounce: don't use strdup for fixed length content
Adam Dickmeiss [Thu, 5 Sep 2013 12:50:07 +0000 (14:50 +0200)]
bounce: don't use strdup for fixed length content

Error occurred in echo mode.

10 years agosession_shared: expire backend class when no instances left
Adam Dickmeiss [Thu, 5 Sep 2013 09:29:41 +0000 (11:29 +0200)]
session_shared: expire backend class when no instances left

10 years agocql_rpn: use path for cql2rpn file MP-481
Adam Dickmeiss [Thu, 5 Sep 2013 08:42:33 +0000 (10:42 +0200)]
cql_rpn: use path for cql2rpn file MP-481

10 years agovirt_db: Fix leak of naked ptr
Adam Dickmeiss [Wed, 4 Sep 2013 13:39:20 +0000 (15:39 +0200)]
virt_db: Fix leak of naked ptr

10 years agoHandle SRU queryType (YAZ 5)
Adam Dickmeiss [Tue, 3 Sep 2013 13:51:53 +0000 (15:51 +0200)]
Handle SRU queryType (YAZ 5)

10 years agoVersion 1.3.61 v1.3.61
Adam Dickmeiss [Thu, 29 Aug 2013 14:36:17 +0000 (16:36 +0200)]
Version 1.3.61

10 years agoIgnore libmetaproxy4.dbg
Adam Dickmeiss [Fri, 23 Aug 2013 12:34:03 +0000 (14:34 +0200)]
Ignore libmetaproxy4.dbg

10 years agoAdd ports.d/routes.d to RPM dir
Adam Dickmeiss [Thu, 22 Aug 2013 11:58:28 +0000 (11:58 +0000)]
Add ports.d/routes.d to RPM dir

10 years agoPackage metaproxy introduces ports.d/routes.d include
Adam Dickmeiss [Thu, 22 Aug 2013 10:53:09 +0000 (12:53 +0200)]
Package metaproxy introduces ports.d/routes.d include

This allows custom ports and routes to be added by 3rd party.

10 years agoVersion 1.3.60-2indexdata
Adam Dickmeiss [Wed, 21 Aug 2013 11:58:11 +0000 (13:58 +0200)]
Version 1.3.60-2indexdata

10 years agoVersion 1.3.60 v1.3.60
Adam Dickmeiss [Wed, 21 Aug 2013 11:21:36 +0000 (13:21 +0200)]
Version 1.3.60

10 years agoDepend on boost.m4 for MP-475
Adam Dickmeiss [Wed, 21 Aug 2013 11:07:12 +0000 (13:07 +0200)]
Depend on boost.m4 for MP-475

10 years agoUpdate NEWS
Adam Dickmeiss [Wed, 21 Aug 2013 11:03:15 +0000 (13:03 +0200)]
Update NEWS

10 years agoHTML: clean up char checks. Add ptr to HTML parse spec
Adam Dickmeiss [Mon, 19 Aug 2013 12:09:55 +0000 (14:09 +0200)]
HTML: clean up char checks. Add ptr to HTML parse spec

10 years agoHTML parser stops eating tag when <-char is met
Adam Dickmeiss [Mon, 19 Aug 2013 11:40:04 +0000 (13:40 +0200)]
HTML parser stops eating tag when <-char is met

10 years agorewrite: do not even compare content types, if we don't have any
Heikki Levanto [Fri, 2 Aug 2013 12:21:54 +0000 (14:21 +0200)]
rewrite: do not even compare content types, if we don't have any

the regex_match caused a segfault if we had no content-type in the
headers.

10 years agoMore logging when deciding not to rewrite
Heikki Levanto [Tue, 23 Jul 2013 08:56:29 +0000 (10:56 +0200)]
More logging when deciding not to rewrite

10 years agowithin header=... matches only the header value
Heikki Levanto [Mon, 22 Jul 2013 09:40:49 +0000 (11:40 +0200)]
within header=... matches only the header value

Used to match the whole header line, but we need to use
^$ anchoring for host-relative regexps, and they need to
anchor at the ends of the value. MP-470.

10 years agoAdd schema for http_rewrite filter
Adam Dickmeiss [Fri, 19 Jul 2013 12:26:04 +0000 (14:26 +0200)]
Add schema for http_rewrite filter

10 years agoRuleset functional MP-469
Adam Dickmeiss [Thu, 18 Jul 2013 09:14:26 +0000 (11:14 +0200)]
Ruleset functional MP-469

10 years agoStarted work on ,-separated rule set
Adam Dickmeiss [Wed, 17 Jul 2013 13:21:59 +0000 (15:21 +0200)]
Started work on ,-separated rule set

10 years agoVersion 1.3.59 v1.3.59
Adam Dickmeiss [Fri, 12 Jul 2013 08:59:20 +0000 (10:59 +0200)]
Version 1.3.59

10 years agoUpdate NEWS
Adam Dickmeiss [Fri, 12 Jul 2013 08:51:26 +0000 (10:51 +0200)]
Update NEWS

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Fri, 12 Jul 2013 08:44:24 +0000 (10:44 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

10 years agoAdd echo option to the bounce filter
Heikki Levanto [Thu, 11 Jul 2013 11:37:58 +0000 (13:37 +0200)]
Add echo option to the bounce filter

10 years agosession_shared: resolve result-set references MP-292
Adam Dickmeiss [Thu, 11 Jul 2013 11:11:47 +0000 (13:11 +0200)]
session_shared: resolve result-set references MP-292

The reference is substitued with the query for old set if database
match and query type is Type-1. If not the reference will issue a
diagnostic.

10 years agoRequire YAZ 4.2.62 due to new utilities in use
Adam Dickmeiss [Thu, 11 Jul 2013 08:30:39 +0000 (10:30 +0200)]
Require YAZ 4.2.62 due to new utilities in use

10 years agohttp_client: better diagnostics MP-455
Adam Dickmeiss [Tue, 9 Jul 2013 13:05:54 +0000 (15:05 +0200)]
http_client: better diagnostics MP-455

10 years agoNew utility create_HTTP_Response_details
Adam Dickmeiss [Tue, 9 Jul 2013 13:05:37 +0000 (15:05 +0200)]
New utility create_HTTP_Response_details

10 years agoAdd HTMLParserEvent virtual destructor
Adam Dickmeiss [Tue, 9 Jul 2013 11:38:00 +0000 (11:38 +0000)]
Add HTMLParserEvent virtual destructor

10 years agosession_shared: negotiate init sz parameters MP-465
Adam Dickmeiss [Tue, 9 Jul 2013 11:08:16 +0000 (13:08 +0200)]
session_shared: negotiate init sz parameters MP-465

By default, session_shared will honor the paramters given by client.
An alternative, but not implemented, algorithm would be to only
re-use sessions with same sz parameters. This however, could reduce
re-use of sessions a lot. Hence this, simple algorithm instead. The
negotiation to a maximum sz values can be enabled by using
  <init maximum-record-size="sz1" preferred-message-size="sz2"/>
in configuration. This will make session_shared send those values
to backends and use returned init values in negotaition to
client before session_shared.

10 years agoMore appropriate HTML comment handling
Adam Dickmeiss [Mon, 8 Jul 2013 13:23:49 +0000 (15:23 +0200)]
More appropriate HTML comment handling

10 years agoUse yaz_xml_include_glob MP-459
Adam Dickmeiss [Mon, 8 Jul 2013 12:22:35 +0000 (14:22 +0200)]
Use yaz_xml_include_glob MP-459

10 years agoAvoid assign empty string for content regex
Adam Dickmeiss [Mon, 8 Jul 2013 09:15:18 +0000 (09:15 +0000)]
Avoid assign empty string for content regex

10 years agoheader and attr are regex. Case insensitive compare
Adam Dickmeiss [Mon, 8 Jul 2013 08:20:48 +0000 (10:20 +0200)]
header and attr are regex. Case insensitive compare

10 years agoUsing regex for comparing tags
Adam Dickmeiss [Fri, 5 Jul 2013 13:43:52 +0000 (15:43 +0200)]
Using regex for comparing tags

10 years agoDeal with &quot; inside embedded JS
Adam Dickmeiss [Fri, 5 Jul 2013 12:36:04 +0000 (14:36 +0200)]
Deal with &quot; inside embedded JS

10 years agoHonor within type="quoted-literal"
Adam Dickmeiss [Fri, 5 Jul 2013 11:43:06 +0000 (13:43 +0200)]
Honor within type="quoted-literal"

10 years agoRefactor content parse to Content::parse
Adam Dickmeiss [Fri, 5 Jul 2013 10:32:14 +0000 (12:32 +0200)]
Refactor content parse to Content::parse

10 years agoSimplify test_patterns function
Adam Dickmeiss [Fri, 5 Jul 2013 09:20:25 +0000 (11:20 +0200)]
Simplify test_patterns function

10 years agoDon't go beyond end of string for quoted literals
Adam Dickmeiss [Thu, 4 Jul 2013 14:43:27 +0000 (16:43 +0200)]
Don't go beyond end of string for quoted literals

10 years agoTest for JS comments
Adam Dickmeiss [Thu, 4 Jul 2013 14:42:48 +0000 (16:42 +0200)]
Test for JS comments

10 years agohttp_rewrite: quoted literals
Adam Dickmeiss [Thu, 4 Jul 2013 14:16:54 +0000 (16:16 +0200)]
http_rewrite: quoted literals

10 years agoSimplify http rewrite test a bit
Adam Dickmeiss [Wed, 3 Jul 2013 12:12:16 +0000 (14:12 +0200)]
Simplify http rewrite test a bit

10 years agohttp_rewrite: content areas
Adam Dickmeiss [Wed, 3 Jul 2013 12:03:09 +0000 (14:03 +0200)]
http_rewrite: content areas

One for type=html and one for type=headers.

10 years agoHTML parser: elements starts with [A-Za-z]
Adam Dickmeiss [Tue, 2 Jul 2013 13:41:06 +0000 (15:41 +0200)]
HTML parser: elements starts with [A-Za-z]

10 years agoSkip start anchor for text sections entirely
Adam Dickmeiss [Tue, 2 Jul 2013 12:27:42 +0000 (14:27 +0200)]
Skip start anchor for text sections entirely

10 years agohttp_rewrite: fix start anchor (^) match
Adam Dickmeiss [Tue, 2 Jul 2013 11:24:34 +0000 (13:24 +0200)]
http_rewrite: fix start anchor (^) match

10 years agohttp_client: disables HTTP redirect by default
Adam Dickmeiss [Tue, 2 Jul 2013 09:03:08 +0000 (11:03 +0200)]
http_client: disables HTTP redirect by default

It can be configured with max-redirects in configuration.

10 years agofilter_http_rewrite: don't crash if "Host" header is missing
Adam Dickmeiss [Mon, 1 Jul 2013 14:20:54 +0000 (16:20 +0200)]
filter_http_rewrite: don't crash if "Host" header is missing

10 years agoTesting for all Replace rules in use
Adam Dickmeiss [Mon, 1 Jul 2013 13:46:43 +0000 (15:46 +0200)]
Testing for all Replace rules in use

10 years agoUse all Replaces from/to in each buffer
Adam Dickmeiss [Mon, 1 Jul 2013 13:46:01 +0000 (15:46 +0200)]
Use all Replaces from/to in each buffer

10 years agoboost::smatch part of Replace object too
Adam Dickmeiss [Mon, 1 Jul 2013 13:23:23 +0000 (15:23 +0200)]
boost::smatch part of Replace object too

10 years agoRefactor: compiled regex part of Replace object
Adam Dickmeiss [Mon, 1 Jul 2013 13:12:44 +0000 (15:12 +0200)]
Refactor: compiled regex part of Replace object

10 years agoRemove trailing whitespace
Adam Dickmeiss [Mon, 1 Jul 2013 12:05:04 +0000 (14:05 +0200)]
Remove trailing whitespace

10 years agoOption attribute values for HTML parser
Adam Dickmeiss [Mon, 1 Jul 2013 12:04:31 +0000 (14:04 +0200)]
Option attribute values for HTML parser

10 years agoHTMLParser more forgiving with bad attributes
Adam Dickmeiss [Thu, 27 Jun 2013 14:40:50 +0000 (16:40 +0200)]
HTMLParser more forgiving with bad attributes

The idea is not to fix, but at least passthru as text.

10 years agoHTMLParserEvent, attributes takes quoting sep
Adam Dickmeiss [Thu, 27 Jun 2013 12:33:01 +0000 (14:33 +0200)]
HTMLParserEvent, attributes takes quoting sep

as argument, so that quoting (if any) is preserved.

10 years agoEvent.text for whitespace in <x/ > tags
Adam Dickmeiss [Thu, 27 Jun 2013 12:23:02 +0000 (14:23 +0200)]
Event.text for whitespace in <x/ > tags

10 years agoSet vars in replacement also if empty
Adam Dickmeiss [Thu, 27 Jun 2013 11:32:08 +0000 (13:32 +0200)]
Set vars in replacement also if empty

10 years agoReformat a bit
Adam Dickmeiss [Thu, 27 Jun 2013 11:31:46 +0000 (13:31 +0200)]
Reformat a bit

10 years agoStack up attr="#text" things
Adam Dickmeiss [Thu, 27 Jun 2013 10:28:25 +0000 (12:28 +0200)]
Stack up attr="#text" things

10 years agoOnly do CDATA for attr="#text", verbose flag
Adam Dickmeiss [Thu, 27 Jun 2013 09:50:23 +0000 (11:50 +0200)]
Only do CDATA for attr="#text", verbose flag

10 years agoMore tests for html_parser
Adam Dickmeiss [Thu, 27 Jun 2013 09:50:04 +0000 (11:50 +0200)]
More tests for html_parser

10 years agoHTMLParser, verbose setting
Adam Dickmeiss [Thu, 27 Jun 2013 09:49:45 +0000 (11:49 +0200)]
HTMLParser, verbose setting

10 years agoRevise HTML parser; keep spelling
Adam Dickmeiss [Wed, 26 Jun 2013 14:58:10 +0000 (16:58 +0200)]
Revise HTML parser; keep spelling

Fixes for DTD/PIs handling. 0-copy for tags and attributes (no
limit). No debug output, unless verbose is set for HTMLParser.

10 years agoNo dupe function (leaks)
Adam Dickmeiss [Wed, 26 Jun 2013 12:33:01 +0000 (14:33 +0200)]
No dupe function (leaks)

10 years agoReformat
Adam Dickmeiss [Wed, 26 Jun 2013 12:29:58 +0000 (14:29 +0200)]
Reformat

10 years agoReformat of HTMLparser source
Adam Dickmeiss [Wed, 26 Jun 2013 12:28:38 +0000 (14:28 +0200)]
Reformat of HTMLparser source

10 years agohttp_rewrite using HTML parser
Adam Dickmeiss [Wed, 26 Jun 2013 12:19:55 +0000 (14:19 +0200)]
http_rewrite using HTML parser

10 years agoDeciding rules for within
Adam Dickmeiss [Tue, 25 Jun 2013 14:47:02 +0000 (16:47 +0200)]
Deciding rules for within

Not really tested yet.