Sebastian Hammer [Sun, 8 Apr 2007 20:52:09 +0000 (20:52 +0000)]
Moved CCL Map, record syntax, charset normalization, record syntax normalization, and
XSLT filters into the control of the settings code. Deleted dead structures and code.
Updated defaults.xml.
Marc Cromme [Wed, 4 Apr 2007 22:43:10 +0000 (22:43 +0000)]
added target url's on some more warning log messages
Marc Cromme [Wed, 4 Apr 2007 21:05:37 +0000 (21:05 +0000)]
added do_closeResponse handler function
added printout of target url for many warning and debug logs
Jakub Skoczen [Tue, 3 Apr 2007 14:27:21 +0000 (14:27 +0000)]
Annoying flickering of facets (after clicking) removed.
Sebastian Hammer [Tue, 3 Apr 2007 05:14:44 +0000 (05:14 +0000)]
Cleaning up. Removing dead material on retrieval/query profile, added new settings.
(note, some settings not yet implemented).
Sebastian Hammer [Tue, 3 Apr 2007 04:05:01 +0000 (04:05 +0000)]
removed some old #ifdeffed-out code
Sebastian Hammer [Tue, 3 Apr 2007 03:59:10 +0000 (03:59 +0000)]
Described new settings (actually only piggyback -- the others were already
in there)
Sebastian Hammer [Tue, 3 Apr 2007 03:55:11 +0000 (03:55 +0000)]
Record syntax, piggyback, and element set name controlled by settings system
Sebastian Hammer [Tue, 3 Apr 2007 03:42:53 +0000 (03:42 +0000)]
Renamed, to include more than just query-related defaults
Jakub Skoczen [Mon, 2 Apr 2007 15:50:27 +0000 (15:50 +0000)]
Internal query handling completely rewritten.
Jakub Skoczen [Mon, 2 Apr 2007 09:44:34 +0000 (09:44 +0000)]
Pager will now show only a fixed window of pages.
Marc Cromme [Mon, 2 Apr 2007 09:43:08 +0000 (09:43 +0000)]
Removed assignment of global_parameters.server->host by gethostname() in
src/config.c, if listen/@host is empty.
This had the very unpleasent side effect in src/http.c:980 in function
void http_init(const char *addr) that the if statement 'if (pp)' got triggered,
with the string 'flurry:9090' (in mine config) and therefore the only bind has
beem made to the loop-back device. As a consequence, pazpar2/masterkey could
only be accessed from localhost, which is kind of very useless.
What is really needed is that the global_parameters.server->host variable
is set to gethostname() in such a way that we are sure to go into the 'else'
of the above 'if (pp)', such that we still are listening to all existing
interfaces.
I tried to do this by assigning
global_parameters.server->host = gethostname() using a nmem_strdup(9, but
failed due to the fact that I have no access to the correct nmem memory
handler here. See src/http.c:1009 for details.
Still, I would like to have set
global_parameters.server->host = gethostname() somewhere to ensure the
'Via:' header is correct.
Jakub Skoczen [Mon, 2 Apr 2007 08:41:51 +0000 (08:41 +0000)]
navigation path: removed / and added +
Marc Cromme [Sat, 31 Mar 2007 20:55:19 +0000 (20:55 +0000)]
get hostname from system call 'gethostname()' if not set in
<listen port="" host=""/> in config file. The hostname is under all circumstances
needed to produce the correct HTTP headers 'Via:' and 'X-Pazpar2-Server-Host:'
Marc Cromme [Sat, 31 Mar 2007 20:27:15 +0000 (20:27 +0000)]
adjusting HTTP headers to be conformant with Upper-Case-Style
taking correct server->host parameter for 'Via:' and
'X-Pazpar2-Server-Host:' Header.
Marc Cromme [Sat, 31 Mar 2007 20:24:59 +0000 (20:24 +0000)]
pretty-printing Z39.50 proxy log line
Marc Cromme [Sat, 31 Mar 2007 20:06:18 +0000 (20:06 +0000)]
aligning log messages for nice look-and-feel
Marc Cromme [Sat, 31 Mar 2007 19:55:25 +0000 (19:55 +0000)]
removed warnings coming from missing casts (const char *) and (xmlChar *)
Jakub Skoczen [Fri, 30 Mar 2007 16:22:41 +0000 (16:22 +0000)]
Breadcrumb like navigation added.
Sebastian Hammer [Fri, 30 Mar 2007 02:48:23 +0000 (02:48 +0000)]
Updated template to link to example settings
Sebastian Hammer [Fri, 30 Mar 2007 02:45:07 +0000 (02:45 +0000)]
Functional settings system. At this point, they control the CCL map only
Sebastian Hammer [Fri, 30 Mar 2007 01:07:37 +0000 (01:07 +0000)]
Added documentation for the settings system. Still needs examples
Sebastian Hammer [Fri, 30 Mar 2007 00:13:45 +0000 (00:13 +0000)]
Towards documenting the settings system
Sebastian Hammer [Thu, 29 Mar 2007 15:23:17 +0000 (15:23 +0000)]
ifdeffed-out the Location-header rewrite in proxy_io(). It appears that
recent changes to the request headers has obviated the need for this --
needs more testing.
Sebastian Hammer [Thu, 29 Mar 2007 13:44:57 +0000 (13:44 +0000)]
Settings support..
Sebastian Hammer [Thu, 29 Mar 2007 13:44:38 +0000 (13:44 +0000)]
Added settings
Sebastian Hammer [Thu, 29 Mar 2007 13:44:19 +0000 (13:44 +0000)]
Settings system is code complete... now to actually USE the darn things for
something!!
Marc Cromme [Thu, 29 Mar 2007 11:02:04 +0000 (11:02 +0000)]
removed zillion of compiler warnings due to mising casts between
(const char *) and (xmlChar *) and the like.
Marc Cromme [Thu, 29 Mar 2007 09:16:34 +0000 (09:16 +0000)]
Changed the way the forwarded HTTP headers are computed. Now pazpar2 sends
the following ones:
- the original 'Host:' header from the web browser request
Host: flurry:9090
(notice: not tampering with this one any more, as it did break virtual
domain configuration in Apache!!)
- some pazpar2 specific version number, listening host
(from config file proxy/@myurl) and listening port (from config file
listen/@port)
pazpar2-version: 0.1
pazpar2-server-host: flurry.index
pazpar2-server-port: 9090
- the standard 'Via:' header
Via: 1.1 flurry.index:9090 (pazpar2/0.1)
- the standard 'X-forward-For' header, containing the true web browser
client address
X-Forwarded-For: 10.0.1.66
These changes should make pazpar2 HTTP complient, and allow the backend Apache
server to get the information it needs to be able to do IP based
authentification and such like stuff. Notice that the 'Host:' header is now
passed unchanged, otherwise virtual host setups do not work.
Jakub Skoczen [Thu, 29 Mar 2007 09:11:01 +0000 (09:11 +0000)]
Masterkey: showing total hits and the count of each record (in brackets)
Jakub Skoczen [Wed, 28 Mar 2007 15:20:53 +0000 (15:20 +0000)]
Advnced search view added.
Marc Cromme [Wed, 28 Mar 2007 12:05:18 +0000 (12:05 +0000)]
getting the paraz2 server host and port info from the HTTP request, and mirroring back to the web client in the headers
pazpar2-server-host
pazpar2-server-port
Notice these change according to the connection the client did made, so if a paraz2 is hidden behind firewalling and port-forwarding, the server host and port of the shielding firewall is reported back, and not the shielded host and port numbers.
Sebastian Hammer [Wed, 28 Mar 2007 04:33:41 +0000 (04:33 +0000)]
More work on settings system.. still not functional.
Sebastian Hammer [Tue, 27 Mar 2007 15:31:34 +0000 (15:31 +0000)]
This is still totally non-functional.
Beginning of generic system to associate settings (name=value pairs) with
targets using a general-purpose XML config format.
Marc Cromme [Tue, 27 Mar 2007 13:41:23 +0000 (13:41 +0000)]
added HTTP headers "pazpar2-version", "pazpar2-server-host", "pazpar2-server-port", "pazpar2-remote-host", and "pazpar2-remote-port" such that the HTTP proxy PHP script can fetch these values and use them for authentification and other pazpar2 specific stuff (this is needed, because the "Remote-Addr" PHP variable is always set to the paraz2 server IP adress, due to tunneling through pazpar2.
The only thing which needs completion is actually finding the correct values for these host and port parameters from the server configuration and the TCP/IP connection object. More digging in the source is needed to find these values the right places..
Marc Cromme [Tue, 27 Mar 2007 11:25:57 +0000 (11:25 +0000)]
added optional <zproxy> element to config file, containing any of these attribute combinations (all three examples are semantically equivalent)
<zproxy host="localhost" port="9000"/>
<zproxy host="localhost:9000"/>
<zproxy port="9000"/>
This <zproxy> info is overruled by the '-z' command line switch
Removed a zillion compiler warnings coming from missing or dirty casts, mostly involving (xmlChar *) or (const char *)
Jakub Skoczen [Tue, 27 Mar 2007 10:01:24 +0000 (10:01 +0000)]
simple client's pz2.js updated to the version in masterkey
Jakub Skoczen [Tue, 27 Mar 2007 09:59:07 +0000 (09:59 +0000)]
Masterkey: IE 6 and 7 works. Safari 2.04, Opera 9.10 and Konqueror works with minor CSS positioning issues.
Jakub Skoczen [Mon, 26 Mar 2007 17:28:27 +0000 (17:28 +0000)]
Masterkey: pager and sorting should work now.
HTML and CSS needs to be cleaned-up, hacks all over the page.
Marc Cromme [Mon, 26 Mar 2007 14:00:21 +0000 (14:00 +0000)]
added command line switch '-z' which lets one specify a Z39.50 proxy through which the Z39.50 requests are tunneled.
This is planned to be used to stack a MetaProxy after a Paraz2 to make authentification stuff and database filtering stuff (special record conversions needed, or PQF-to-PQF manipulation) at the MetaProxy level. The '-z' option sends Z39.50 packages to the host:port specified there, with the origial target host:port addd in a vHost soecialinfo structure
Marc Cromme [Mon, 26 Mar 2007 11:13:51 +0000 (11:13 +0000)]
added Doxygen file, now supporting target 'make dox'
Sebastian Hammer [Sun, 25 Mar 2007 16:06:35 +0000 (16:06 +0000)]
This file -- not valid XML -- contains illustrative examples of the configuration
file format I have in mind. It is basically a mechanism to allow you to set
multiple name-value pairs for targets -- possibly user specific. The various forms
are intended to support various activities -- like setting system-wide defaults,
overriding settings for one user or target, setting up values for a specific target,
etc. There's even a verbose form that would lend itself well to dumping values
out of a relational database... indeed, it's possible to imagine an extension that
would allow pazpar2 to access settings from an RDBMS, although this is not planned
at present.
Jakub Skoczen [Fri, 23 Mar 2007 16:55:28 +0000 (16:55 +0000)]
Masterkey: detailed view working.
TODO: pager still missing.
Sebastian Hammer [Fri, 23 Mar 2007 03:26:22 +0000 (03:26 +0000)]
Added support for multiple values in filter statement -- separated by |, eg
filter=id=target1|target2|target3
Jakub Skoczen [Thu, 22 Mar 2007 16:08:19 +0000 (16:08 +0000)]
Rewrite of Masterkey using new mark-up
TODO: detailed record view, pager
Jakub Skoczen [Thu, 22 Mar 2007 16:04:59 +0000 (16:04 +0000)]
filter parameter added for the search command
Sebastian Hammer [Tue, 20 Mar 2007 21:36:39 +0000 (21:36 +0000)]
Various minor updates to increase usability.
Sebastian Hammer [Tue, 20 Mar 2007 15:36:49 +0000 (15:36 +0000)]
This is the CCL map we're using for the mkey.index demo against Zebra
Adam Dickmeiss [Tue, 20 Mar 2007 07:27:51 +0000 (07:27 +0000)]
WRBUF updates.
Sebastian Hammer [Tue, 20 Mar 2007 05:34:00 +0000 (05:34 +0000)]
Implemented target facet -- is there any way to get the 'filter' variable into the
URL to enable the back button in Firefox?
Sebastian Hammer [Tue, 20 Mar 2007 05:32:58 +0000 (05:32 +0000)]
Added optional 'filter' parameter to search. Right now, only value supported is
(URL-escaped) id=targetId, where targetId is the ZUrl of a known target.
Sebastian Hammer [Tue, 20 Mar 2007 05:23:06 +0000 (05:23 +0000)]
Various changes which have piled up on the demo
Sebastian Hammer [Tue, 20 Mar 2007 03:42:53 +0000 (03:42 +0000)]
Fixed statement before declaration
Adam Dickmeiss [Fri, 16 Mar 2007 09:34:55 +0000 (09:34 +0000)]
Fixed compilation error on FreeBSD
http://test/idtest/2007-03-16T00:00:01Z/pazpar2-0.1--freebsd.txt
Sebastian Hammer [Thu, 15 Mar 2007 16:50:56 +0000 (16:50 +0000)]
This update completes the factoring out of database management into database.c,
and the introduction of low-level code to read Zeerex records from the file
system. It does not really introduce any new functionality, but the need
to refactor the database code has held up a lot of other projects.
Jakub Skoczen [Fri, 9 Mar 2007 16:06:42 +0000 (16:06 +0000)]
Cosmetic: timeouts can be specified as parameters, parameters moved to a single array.
Jakub Skoczen [Fri, 9 Mar 2007 14:01:49 +0000 (14:01 +0000)]
Further pz2.js updates.
Jakub Skoczen [Fri, 9 Mar 2007 11:08:03 +0000 (11:08 +0000)]
pz2.js lib update
Jakub Skoczen [Thu, 8 Mar 2007 15:36:43 +0000 (15:36 +0000)]
pz2.js update
Jakub Skoczen [Wed, 7 Mar 2007 16:09:42 +0000 (16:09 +0000)]
very early stage od pz2.js lib
Sebastian Hammer [Mon, 12 Feb 2007 05:30:05 +0000 (05:30 +0000)]
Gutenberg
Adam Dickmeiss [Thu, 8 Feb 2007 19:26:33 +0000 (19:26 +0000)]
Avoid declarations after statements.
Sebastian Hammer [Thu, 8 Feb 2007 02:11:38 +0000 (02:11 +0000)]
Fixed syntax err
Sebastian Hammer [Thu, 8 Feb 2007 02:08:47 +0000 (02:08 +0000)]
Added kink to OpenWorldCat from ISBN
Sebastian Hammer [Tue, 6 Feb 2007 23:22:49 +0000 (23:22 +0000)]
Display field for description
Sebastian Hammer [Tue, 6 Feb 2007 23:19:18 +0000 (23:19 +0000)]
Added 520 to display. various
Sebastian Hammer [Mon, 5 Feb 2007 17:16:54 +0000 (17:16 +0000)]
Added description of /proxy/@myurl
Sebastian Hammer [Mon, 5 Feb 2007 16:35:18 +0000 (16:35 +0000)]
Fixed some pointer errors
Sebastian Hammer [Mon, 5 Feb 2007 16:15:41 +0000 (16:15 +0000)]
Bug 769. Rewriting Location headers in proxy responses
Sebastian Hammer [Sun, 4 Feb 2007 22:19:38 +0000 (22:19 +0000)]
Added targets
Sebastian Hammer [Sun, 4 Feb 2007 21:48:21 +0000 (21:48 +0000)]
Allowed ccl filter override
Sebastian Hammer [Sun, 4 Feb 2007 04:14:46 +0000 (04:14 +0000)]
Messing with open content stuff
Adam Dickmeiss [Wed, 31 Jan 2007 20:25:23 +0000 (20:25 +0000)]
Rename function index to parse_index.. See
http://test.indexdata.dk/idtest/2007-01-31-20:51/pazpar2-0.1--flurry.txt
Sebastian Hammer [Mon, 29 Jan 2007 03:19:25 +0000 (03:19 +0000)]
Reads Zeerex record into a data structure
Sebastian Hammer [Sun, 28 Jan 2007 03:46:21 +0000 (03:46 +0000)]
Build local copy of IRSpy db
Sebastian Hammer [Sun, 28 Jan 2007 03:44:30 +0000 (03:44 +0000)]
Moved cvsignore
Sebastian Hammer [Sun, 28 Jan 2007 03:43:19 +0000 (03:43 +0000)]
Simple Zeerex fetcher
Sebastian Hammer [Sun, 28 Jan 2007 03:42:49 +0000 (03:42 +0000)]
Adding Zeerex stuff
Sebastian Hammer [Fri, 26 Jan 2007 23:24:01 +0000 (23:24 +0000)]
Quotes around terms in hyperlink searches
Sebastian Hammer [Fri, 26 Jan 2007 19:30:51 +0000 (19:30 +0000)]
Correctly set recsyn in search
Sebastian Hammer [Fri, 26 Jan 2007 18:53:55 +0000 (18:53 +0000)]
Added example
Sebastian Hammer [Fri, 26 Jan 2007 18:50:11 +0000 (18:50 +0000)]
Various changes to support IE
Sebastian Hammer [Fri, 26 Jan 2007 18:48:54 +0000 (18:48 +0000)]
Added resources
Anders S. Mortensen [Sat, 20 Jan 2007 20:11:36 +0000 (20:11 +0000)]
Disabling browser address field surveillance.
Adam Dickmeiss [Fri, 19 Jan 2007 21:50:01 +0000 (21:50 +0000)]
Fixed bug #828: Docs in PDF. There was already a rule for making
pazpar2.pdf using jade + pdfjadetex, but there was some constructs in
the documentation that jade considered invalid. So it did not succeed.
And indeed jade is right in a number of cases, where xsltproc does not
validate. However, jade does NOT currently allow references to refsect1,
refsect2.. sections which makes it impossible to refer to stuff from the
Guide to the Reference material. This is major drawback so dblatex is used
instead. dblatex, like jadetex, makes PDF/tex from Docbook. dblatex allows
these references and dblatex is more actively developed and is available
as a Debian package for sarge. Run 'make pazpar2.pdf' to make the
documentation. There is also a 'jade-check' rule.
Adam Dickmeiss [Fri, 19 Jan 2007 21:16:11 +0000 (21:16 +0000)]
Remove declaration of yaz_marc_write_xml
Sebastian Hammer [Fri, 19 Jan 2007 19:12:16 +0000 (19:12 +0000)]
Cleaning up.
Sebastian Hammer [Fri, 19 Jan 2007 19:08:00 +0000 (19:08 +0000)]
Fixed schema and syntax errors
Sebastian Hammer [Fri, 19 Jan 2007 18:28:08 +0000 (18:28 +0000)]
Updated documentation. This update may be unstable, as I can't presently test on my laptop.
Sebastian Hammer [Thu, 18 Jan 2007 22:38:14 +0000 (22:38 +0000)]
Added 2 Paratext targets
Sebastian Hammer [Thu, 18 Jan 2007 19:32:31 +0000 (19:32 +0000)]
LCCN
Sebastian Hammer [Thu, 18 Jan 2007 19:32:06 +0000 (19:32 +0000)]
Added hyperlink to LOC for LCCN
Sebastian Hammer [Thu, 18 Jan 2007 18:11:19 +0000 (18:11 +0000)]
Extended simpletarget model with target names. Added names to target facet and detailed
display.
Sebastian Hammer [Thu, 18 Jan 2007 17:42:39 +0000 (17:42 +0000)]
Tuning display
Sebastian Hammer [Thu, 18 Jan 2007 16:31:05 +0000 (16:31 +0000)]
Moved display of source to beginning of subrecord
Sebastian Hammer [Thu, 18 Jan 2007 16:26:25 +0000 (16:26 +0000)]
Updated config
Sebastian Hammer [Thu, 18 Jan 2007 16:21:22 +0000 (16:21 +0000)]
Dsiplaying sub-records
Sebastian Hammer [Thu, 18 Jan 2007 14:22:25 +0000 (14:22 +0000)]
Additional record debugging. Fixed incoming per-client record counter
Adam Dickmeiss [Wed, 17 Jan 2007 19:48:26 +0000 (19:48 +0000)]
Revert.
Adam Dickmeiss [Wed, 17 Jan 2007 17:38:53 +0000 (17:38 +0000)]
Black color for anchor text (titles, facets).