pazpar2-moved-to-github.git
17 years agoaligning log messages for nice look-and-feel
Marc Cromme [Sat, 31 Mar 2007 20:06:18 +0000 (20:06 +0000)]
aligning log messages for nice look-and-feel

17 years agoremoved warnings coming from missing casts (const char *) and (xmlChar *)
Marc Cromme [Sat, 31 Mar 2007 19:55:25 +0000 (19:55 +0000)]
removed warnings coming from missing casts (const char *) and (xmlChar *)

17 years agoBreadcrumb like navigation added.
Jakub Skoczen [Fri, 30 Mar 2007 16:22:41 +0000 (16:22 +0000)]
Breadcrumb like navigation added.

17 years agoUpdated template to link to example settings
Sebastian Hammer [Fri, 30 Mar 2007 02:48:23 +0000 (02:48 +0000)]
Updated template to link to example settings

17 years agoFunctional settings system. At this point, they control the CCL map only
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

17 years agoAdded documentation for the settings system. Still needs examples
Sebastian Hammer [Fri, 30 Mar 2007 01:07:37 +0000 (01:07 +0000)]
Added documentation for the settings system. Still needs examples

17 years agoTowards documenting the settings system
Sebastian Hammer [Fri, 30 Mar 2007 00:13:45 +0000 (00:13 +0000)]
Towards documenting the settings system

17 years agoifdeffed-out the Location-header rewrite in proxy_io(). It appears that
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.

17 years agoSettings support..
Sebastian Hammer [Thu, 29 Mar 2007 13:44:57 +0000 (13:44 +0000)]
Settings support..

17 years agoAdded settings
Sebastian Hammer [Thu, 29 Mar 2007 13:44:38 +0000 (13:44 +0000)]
Added settings

17 years agoSettings system is code complete... now to actually USE the darn things for
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!!

17 years agoremoved zillion of compiler warnings due to mising casts between
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.

17 years agoChanged the way the forwarded HTTP headers are computed. Now pazpar2 sends
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.

17 years agoMasterkey: showing total hits and the count of each record (in brackets)
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)

17 years agoAdvnced search view added.
Jakub Skoczen [Wed, 28 Mar 2007 15:20:53 +0000 (15:20 +0000)]
Advnced search view added.

17 years agogetting the paraz2 server host and port info from the HTTP request, and mirroring...
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.

17 years agoMore work on settings system.. still not functional.
Sebastian Hammer [Wed, 28 Mar 2007 04:33:41 +0000 (04:33 +0000)]
More work on settings system.. still not functional.

17 years agoThis is still totally non-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.

17 years agoadded HTTP headers "pazpar2-version", "pazpar2-server-host", "pazpar2-server-port...
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..

17 years agoadded optional <zproxy> element to config file, containing any of these attribute...
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 *)

17 years agosimple client's pz2.js updated to the version in masterkey stable.27032007
Jakub Skoczen [Tue, 27 Mar 2007 10:01:24 +0000 (10:01 +0000)]
simple client's pz2.js updated to the version in masterkey

17 years agoMasterkey: IE 6 and 7 works. Safari 2.04, Opera 9.10 and Konqueror works with minor...
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.

17 years agoMasterkey: pager and sorting should work now.
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.

17 years agoadded command line switch '-z' which lets one specify a Z39.50 proxy through which...
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

17 years agoadded Doxygen file, now supporting target 'make dox'
Marc Cromme [Mon, 26 Mar 2007 11:13:51 +0000 (11:13 +0000)]
added Doxygen file, now supporting target 'make dox'

17 years agoThis file -- not valid XML -- contains illustrative examples of the configuration
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.

17 years agoMasterkey: detailed view working.
Jakub Skoczen [Fri, 23 Mar 2007 16:55:28 +0000 (16:55 +0000)]
Masterkey: detailed view working.
TODO: pager still missing.

17 years agoAdded support for multiple values in filter statement -- separated by |, eg
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

17 years agoRewrite of Masterkey using new mark-up
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

17 years agofilter parameter added for the search command
Jakub Skoczen [Thu, 22 Mar 2007 16:04:59 +0000 (16:04 +0000)]
filter parameter added for the search command

17 years agoVarious minor updates to increase usability.
Sebastian Hammer [Tue, 20 Mar 2007 21:36:39 +0000 (21:36 +0000)]
Various minor updates to increase usability.

17 years agoThis is the CCL map we're using for the mkey.index demo against Zebra
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

17 years agoWRBUF updates.
Adam Dickmeiss [Tue, 20 Mar 2007 07:27:51 +0000 (07:27 +0000)]
WRBUF updates.

17 years agoImplemented target facet -- is there any way to get the 'filter' variable into the
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?

17 years agoAdded optional 'filter' parameter to search. Right now, only value supported is
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.

17 years agoVarious changes which have piled up on the demo
Sebastian Hammer [Tue, 20 Mar 2007 05:23:06 +0000 (05:23 +0000)]
Various changes which have piled up on the demo

17 years agoFixed statement before declaration
Sebastian Hammer [Tue, 20 Mar 2007 03:42:53 +0000 (03:42 +0000)]
Fixed statement before declaration

17 years agoFixed compilation error on FreeBSD
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

17 years agoThis update completes the factoring out of database management into database.c,
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.

17 years agoCosmetic: timeouts can be specified as parameters, parameters moved to a single array.
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.

17 years agoFurther pz2.js updates.
Jakub Skoczen [Fri, 9 Mar 2007 14:01:49 +0000 (14:01 +0000)]
Further pz2.js updates.

17 years agopz2.js lib update
Jakub Skoczen [Fri, 9 Mar 2007 11:08:03 +0000 (11:08 +0000)]
pz2.js lib update

17 years agopz2.js update
Jakub Skoczen [Thu, 8 Mar 2007 15:36:43 +0000 (15:36 +0000)]
pz2.js update

17 years agovery early stage od pz2.js lib
Jakub Skoczen [Wed, 7 Mar 2007 16:09:42 +0000 (16:09 +0000)]
very early stage od pz2.js lib

17 years agoGutenberg
Sebastian Hammer [Mon, 12 Feb 2007 05:30:05 +0000 (05:30 +0000)]
Gutenberg

17 years agoAvoid declarations after statements.
Adam Dickmeiss [Thu, 8 Feb 2007 19:26:33 +0000 (19:26 +0000)]
Avoid declarations after statements.

17 years agoFixed syntax err
Sebastian Hammer [Thu, 8 Feb 2007 02:11:38 +0000 (02:11 +0000)]
Fixed syntax err

17 years agoAdded kink to OpenWorldCat from ISBN
Sebastian Hammer [Thu, 8 Feb 2007 02:08:47 +0000 (02:08 +0000)]
Added kink to OpenWorldCat from ISBN

17 years agoDisplay field for description
Sebastian Hammer [Tue, 6 Feb 2007 23:22:49 +0000 (23:22 +0000)]
Display field for description

17 years agoAdded 520 to display. various
Sebastian Hammer [Tue, 6 Feb 2007 23:19:18 +0000 (23:19 +0000)]
Added 520 to display. various

17 years agoAdded description of /proxy/@myurl
Sebastian Hammer [Mon, 5 Feb 2007 17:16:54 +0000 (17:16 +0000)]
Added description of /proxy/@myurl

17 years agoFixed some pointer errors
Sebastian Hammer [Mon, 5 Feb 2007 16:35:18 +0000 (16:35 +0000)]
Fixed some pointer errors

17 years agoBug 769. Rewriting Location headers in proxy responses
Sebastian Hammer [Mon, 5 Feb 2007 16:15:41 +0000 (16:15 +0000)]
Bug 769. Rewriting Location headers in proxy responses

17 years agoAdded targets
Sebastian Hammer [Sun, 4 Feb 2007 22:19:38 +0000 (22:19 +0000)]
Added targets

17 years agoAllowed ccl filter override
Sebastian Hammer [Sun, 4 Feb 2007 21:48:21 +0000 (21:48 +0000)]
Allowed ccl filter override

17 years agoMessing with open content stuff
Sebastian Hammer [Sun, 4 Feb 2007 04:14:46 +0000 (04:14 +0000)]
Messing with open content stuff

17 years agoRename function index to parse_index.. See
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

17 years agoReads Zeerex record into a data structure
Sebastian Hammer [Mon, 29 Jan 2007 03:19:25 +0000 (03:19 +0000)]
Reads Zeerex record into a data structure

17 years agoBuild local copy of IRSpy db
Sebastian Hammer [Sun, 28 Jan 2007 03:46:21 +0000 (03:46 +0000)]
Build local copy of IRSpy db

17 years agoMoved cvsignore
Sebastian Hammer [Sun, 28 Jan 2007 03:44:30 +0000 (03:44 +0000)]
Moved cvsignore

17 years agoSimple Zeerex fetcher
Sebastian Hammer [Sun, 28 Jan 2007 03:43:19 +0000 (03:43 +0000)]
Simple Zeerex fetcher

17 years agoAdding Zeerex stuff
Sebastian Hammer [Sun, 28 Jan 2007 03:42:49 +0000 (03:42 +0000)]
Adding Zeerex stuff

17 years agoQuotes around terms in hyperlink searches
Sebastian Hammer [Fri, 26 Jan 2007 23:24:01 +0000 (23:24 +0000)]
Quotes around terms in hyperlink searches

17 years agoCorrectly set recsyn in search
Sebastian Hammer [Fri, 26 Jan 2007 19:30:51 +0000 (19:30 +0000)]
Correctly set recsyn in search

17 years agoAdded example
Sebastian Hammer [Fri, 26 Jan 2007 18:53:55 +0000 (18:53 +0000)]
Added example

17 years agoVarious changes to support IE
Sebastian Hammer [Fri, 26 Jan 2007 18:50:11 +0000 (18:50 +0000)]
Various changes to support IE

17 years agoAdded resources
Sebastian Hammer [Fri, 26 Jan 2007 18:48:54 +0000 (18:48 +0000)]
Added resources

17 years agoDisabling browser address field surveillance.
Anders S. Mortensen [Sat, 20 Jan 2007 20:11:36 +0000 (20:11 +0000)]
Disabling browser address field surveillance.

17 years agoFixed bug #828: Docs in PDF. There was already a rule for making
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.

17 years agoRemove declaration of yaz_marc_write_xml
Adam Dickmeiss [Fri, 19 Jan 2007 21:16:11 +0000 (21:16 +0000)]
Remove declaration of yaz_marc_write_xml

17 years agoCleaning up.
Sebastian Hammer [Fri, 19 Jan 2007 19:12:16 +0000 (19:12 +0000)]
Cleaning up.

17 years agoFixed schema and syntax errors
Sebastian Hammer [Fri, 19 Jan 2007 19:08:00 +0000 (19:08 +0000)]
Fixed schema and syntax errors

17 years agoUpdated documentation. This update may be unstable, as I can't presently test on...
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.

17 years agoAdded 2 Paratext targets
Sebastian Hammer [Thu, 18 Jan 2007 22:38:14 +0000 (22:38 +0000)]
Added 2 Paratext targets

17 years agoLCCN
Sebastian Hammer [Thu, 18 Jan 2007 19:32:31 +0000 (19:32 +0000)]
LCCN

17 years agoAdded hyperlink to LOC for LCCN
Sebastian Hammer [Thu, 18 Jan 2007 19:32:06 +0000 (19:32 +0000)]
Added hyperlink to LOC for LCCN

17 years agoExtended simpletarget model with target names. Added names to target facet and detailed
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.

17 years agoTuning display
Sebastian Hammer [Thu, 18 Jan 2007 17:42:39 +0000 (17:42 +0000)]
Tuning display

17 years agoMoved display of source to beginning of subrecord
Sebastian Hammer [Thu, 18 Jan 2007 16:31:05 +0000 (16:31 +0000)]
Moved display of source to beginning of subrecord

17 years agoUpdated config
Sebastian Hammer [Thu, 18 Jan 2007 16:26:25 +0000 (16:26 +0000)]
Updated config

17 years agoDsiplaying sub-records
Sebastian Hammer [Thu, 18 Jan 2007 16:21:22 +0000 (16:21 +0000)]
Dsiplaying sub-records

17 years agoAdditional record debugging. Fixed incoming per-client record counter
Sebastian Hammer [Thu, 18 Jan 2007 14:22:25 +0000 (14:22 +0000)]
Additional record debugging. Fixed incoming per-client record counter

17 years agoRevert.
Adam Dickmeiss [Wed, 17 Jan 2007 19:48:26 +0000 (19:48 +0000)]
Revert.

17 years agoBlack color for anchor text (titles, facets).
Adam Dickmeiss [Wed, 17 Jan 2007 17:38:53 +0000 (17:38 +0000)]
Black color for anchor text (titles, facets).

17 years agoUS and Canadian academic sites
Sebastian Hammer [Wed, 17 Jan 2007 17:25:49 +0000 (17:25 +0000)]
US and Canadian academic sites

17 years agoImproved algorithm for updating facets
Sebastian Hammer [Wed, 17 Jan 2007 17:24:44 +0000 (17:24 +0000)]
Improved algorithm for updating facets

17 years agoRemoved extra } (syntax error)
Sebastian Hammer [Wed, 17 Jan 2007 16:40:36 +0000 (16:40 +0000)]
Removed extra } (syntax error)

17 years agoIncluding earliest pubdate in facet when more than one is found.
Sebastian Hammer [Wed, 17 Jan 2007 15:32:39 +0000 (15:32 +0000)]
Including earliest pubdate in facet when more than one is found.

17 years agoTrying to resolve problem with browser sessions running amok
Sebastian Hammer [Wed, 17 Jan 2007 15:31:46 +0000 (15:31 +0000)]
Trying to resolve problem with browser sessions running amok

17 years agoRemove targets with hits < 1 or errors from target termlist
Sebastian Hammer [Wed, 17 Jan 2007 15:27:34 +0000 (15:27 +0000)]
Remove targets with hits < 1 or errors from target termlist

17 years agoTarget facet
Sebastian Hammer [Wed, 17 Jan 2007 14:25:37 +0000 (14:25 +0000)]
Target facet

17 years agoMade termlist length tunable (partially) from browser client
Sebastian Hammer [Wed, 17 Jan 2007 14:21:29 +0000 (14:21 +0000)]
Made termlist length tunable (partially) from browser client

17 years agoDate facet
Sebastian Hammer [Wed, 17 Jan 2007 14:12:03 +0000 (14:12 +0000)]
Date facet

17 years agoAdded support for date-value termlists
Sebastian Hammer [Wed, 17 Jan 2007 14:01:19 +0000 (14:01 +0000)]
Added support for date-value termlists

17 years agoNew logo
Sebastian Hammer [Wed, 17 Jan 2007 13:48:29 +0000 (13:48 +0000)]
New logo

17 years agoSize of topbar 7em instead of 6em
Adam Dickmeiss [Wed, 17 Jan 2007 13:28:50 +0000 (13:28 +0000)]
Size of topbar 7em instead of 6em

17 years agoChange HTML title to 'Index Data MasterKey'
Adam Dickmeiss [Wed, 17 Jan 2007 11:19:35 +0000 (11:19 +0000)]
Change HTML title to 'Index Data MasterKey'

17 years agoNew
Mike Taylor [Wed, 17 Jan 2007 10:40:40 +0000 (10:40 +0000)]
New

17 years agoTweak font-settings. Use font-size 'small' by default.
Adam Dickmeiss [Wed, 17 Jan 2007 10:20:14 +0000 (10:20 +0000)]
Tweak font-settings. Use font-size 'small' by default.

17 years agoMarker for records gone; indentation used instead. For facets indentation
Adam Dickmeiss [Wed, 17 Jan 2007 09:38:50 +0000 (09:38 +0000)]
Marker for records gone; indentation used instead. For facets indentation
takes place for second line too. The size of topbar + some other sizes
measured in em's rather than absolute pixels. Hard coded font sizes
gone. The thing appears to scale OK now for variying font-sizes.