irspy-moved-to-github.git
14 years agoCorrect passing of options hash on second and subsequent searches.
Mike Taylor [Tue, 11 May 2010 15:18:21 +0000 (16:18 +0100)]
Correct passing of options hash on second and subsequent searches.

14 years agoFEFO for irspy_search() if a hash is passed in place of a hash-reference.
Mike Taylor [Tue, 11 May 2010 15:17:40 +0000 (16:17 +0100)]
FEFO for irspy_search() if a hash is passed in place of a hash-reference.

14 years agoDescribe OPAC test.
Mike Taylor [Tue, 11 May 2010 13:26:11 +0000 (14:26 +0100)]
Describe OPAC test.

14 years agoRecord::Main test includes Record::OPAC as well as Record::Fetch
Mike Taylor [Tue, 11 May 2010 13:22:50 +0000 (14:22 +0100)]
Record::Main test includes Record::OPAC as well as Record::Fetch

14 years agoQuick test includes Record::OPAC rather than Record::Fetch
Mike Taylor [Tue, 11 May 2010 13:22:34 +0000 (14:22 +0100)]
Quick test includes Record::OPAC rather than Record::Fetch

14 years agoAdd new OPAC test.
Mike Taylor [Tue, 11 May 2010 13:20:30 +0000 (14:20 +0100)]
Add new OPAC test.

14 years agoPropagate multiple_opac element when provided.
Mike Taylor [Tue, 11 May 2010 13:12:43 +0000 (14:12 +0100)]
Propagate multiple_opac element when provided.

14 years agoEnsure that changed options are reset when throwing an exception.
Mike Taylor [Mon, 10 May 2010 16:41:42 +0000 (17:41 +0100)]
Ensure that changed options are reset when throwing an exception.

14 years agoFix comment.
Mike Taylor [Mon, 10 May 2010 16:28:51 +0000 (17:28 +0100)]
Fix comment.

14 years agoRemove extraneous comments.
Mike Taylor [Mon, 10 May 2010 16:15:34 +0000 (17:15 +0100)]
Remove extraneous comments.

14 years agoAdd commented-out use of rec.id_raw in cql_target()
Mike Taylor [Mon, 10 May 2010 15:58:02 +0000 (16:58 +0100)]
Add commented-out use of rec.id_raw in cql_target()

14 years agoInclude extra index rec.id_raw
Mike Taylor [Mon, 10 May 2010 15:56:09 +0000 (16:56 +0100)]
Include extra index rec.id_raw

14 years agoInclude extra index rec.id_raw
Mike Taylor [Mon, 10 May 2010 15:56:00 +0000 (16:56 +0100)]
Include extra index rec.id_raw

14 years agoIgnore zebra.log
Mike Taylor [Mon, 10 May 2010 15:55:37 +0000 (16:55 +0100)]
Ignore zebra.log

14 years agoImport xml_encode()
Mike Taylor [Thu, 6 May 2010 13:30:06 +0000 (14:30 +0100)]
Import xml_encode()

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Mike Taylor [Thu, 6 May 2010 11:11:47 +0000 (11:11 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agoExactly the same as 4cb4863eab0eaabf4265a494592f0ea63a081bb4, stupid git
mike [Thu, 6 May 2010 11:11:09 +0000 (11:11 +0000)]
Exactly the same as 4cb4863eab0eaabf4265a494592f0ea63a081bb4, stupid git

14 years agoExactly the same as 940be2f61ac8e709bf0bd74cfd55616446ee7898, stupid git
mike [Thu, 6 May 2010 11:08:59 +0000 (11:08 +0000)]
Exactly the same as 940be2f61ac8e709bf0bd74cfd55616446ee7898, stupid git

14 years agoRolling -- notes bugfix #3420.
Mike Taylor [Thu, 6 May 2010 11:06:32 +0000 (12:06 +0100)]
Rolling -- notes bugfix #3420.

14 years agoAdd encoding: UTF-8 -- specifies what character encoding Zebra assumes
Mike Taylor [Thu, 6 May 2010 11:04:59 +0000 (12:04 +0100)]
Add encoding: UTF-8 -- specifies what character encoding Zebra assumes
is used for term in Z39.50 queries (defaults to ISO-8859-1).

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Mike Taylor [Thu, 6 May 2010 09:56:31 +0000 (10:56 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agodo not test disabled targets
Wolfram Schneider [Wed, 28 Apr 2010 16:16:22 +0000 (16:16 +0000)]
do not test disabled targets

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Wed, 28 Apr 2010 15:54:16 +0000 (15:54 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agofix debug output for debug=2
Wolfram Schneider [Wed, 28 Apr 2010 15:51:36 +0000 (17:51 +0200)]
fix debug output for debug=2

14 years agofix validation tests
Wolfram Schneider [Wed, 28 Apr 2010 15:47:26 +0000 (17:47 +0200)]
fix validation tests

14 years agotypo in last commit
Wolfram Schneider [Wed, 28 Apr 2010 15:42:12 +0000 (17:42 +0200)]
typo in last commit

14 years agoadd more tests for validate_record()
Wolfram Schneider [Wed, 28 Apr 2010 15:30:22 +0000 (17:30 +0200)]
add more tests for validate_record()

14 years agofor debug=2 validate records and print a warning in case of problems.
Wolfram Schneider [Wed, 28 Apr 2010 15:21:30 +0000 (17:21 +0200)]
for debug=2 validate records and print a warning in case of problems.

14 years agoadd disabled mapping
Wolfram Schneider [Wed, 28 Apr 2010 15:19:11 +0000 (17:19 +0200)]
add disabled mapping

14 years agostore disabled value in zebra
Wolfram Schneider [Wed, 28 Apr 2010 15:16:30 +0000 (17:16 +0200)]
store disabled value in zebra

14 years agoadd the field disabled:
Wolfram Schneider [Wed, 28 Apr 2010 15:15:14 +0000 (17:15 +0200)]
add the field disabled:

The target will not be tested automatically if set and is not zero.
This option is mainly for the administrator of IRSpy in case of trouble.

14 years agodocument flag "disabled"
Wolfram Schneider [Wed, 28 Apr 2010 15:14:47 +0000 (17:14 +0200)]
document flag "disabled"

14 years agonew function validate_record()
Wolfram Schneider [Wed, 28 Apr 2010 12:37:34 +0000 (14:37 +0200)]
new function validate_record()

14 years agorewritten to support more options
Wolfram Schneider [Tue, 27 Apr 2010 16:55:34 +0000 (18:55 +0200)]
rewritten to support more options

usage ./irspy-rewrite-records.pl [ options ] database

--xslt=../xsl/irspy2zeerex.xsl set xslt sheet
--debug=0..2               verbose level
--query=cql.allRecords=1

14 years agouse lib '../lib';
Wolfram Schneider [Tue, 27 Apr 2010 16:39:33 +0000 (18:39 +0200)]
use lib '../lib';

14 years agoZero is a valid value for an tag. bug #3399
Wolfram Schneider [Tue, 27 Apr 2010 16:33:47 +0000 (18:33 +0200)]
Zero is a valid value for an tag. bug #3399

14 years agoround reliability stats
Wolfram Schneider [Tue, 27 Apr 2010 16:13:54 +0000 (18:13 +0200)]
round reliability stats

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Tue, 27 Apr 2010 15:46:47 +0000 (15:46 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agoenable OPAC record syntax test again, see 8e8489f6c6191b3335adb1f1b285d9c7ad724023
Wolfram Schneider [Tue, 27 Apr 2010 15:46:19 +0000 (17:46 +0200)]
enable OPAC record syntax test again, see 8e8489f6c6191b3335adb1f1b285d9c7ad724023

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Tue, 27 Apr 2010 15:44:59 +0000 (15:44 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agoRequire a title (Name) for the target.
Wolfram Schneider [Tue, 27 Apr 2010 12:40:43 +0000 (14:40 +0200)]
Require a title (Name) for the target.

trim values before checking for id creation.

14 years agonew function utf8paramTrim()
Wolfram Schneider [Tue, 27 Apr 2010 12:34:12 +0000 (14:34 +0200)]
new function utf8paramTrim()

14 years agocatch ctr-c before compressing the log
Wolfram Schneider [Tue, 27 Apr 2010 10:46:34 +0000 (10:46 +0000)]
catch ctr-c before compressing the log

14 years agoallow to override the test on the command line:
Wolfram Schneider [Tue, 27 Apr 2010 10:43:02 +0000 (10:43 +0000)]
allow to override the test on the command line:

env irspy_test=Quick ./irspy-update.sh

14 years agouse the same weekday for all runs
Wolfram Schneider [Tue, 27 Apr 2010 10:39:50 +0000 (10:39 +0000)]
use the same weekday for all runs

otherwise the suffix may change for a overnight run

14 years agono redundant timeouts logs
Wolfram Schneider [Mon, 26 Apr 2010 15:45:32 +0000 (15:45 +0000)]
no redundant timeouts logs

14 years agocomplete error timeout handling for all tests
Wolfram Schneider [Mon, 26 Apr 2010 15:20:33 +0000 (17:20 +0200)]
complete error timeout handling for all tests

14 years agocleanup debuging code from last commit
Wolfram Schneider [Mon, 26 Apr 2010 13:08:10 +0000 (15:08 +0200)]
cleanup debuging code from last commit

14 years agoStop testing a target if we got to many timeouts (>= 3). See bug #3382
Wolfram Schneider [Mon, 26 Apr 2010 13:03:36 +0000 (15:03 +0200)]
Stop testing a target if we got to many timeouts (>= 3). See bug #3382

14 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:45:04 +0000 (22:45 +0200)]
test

14 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:44:53 +0000 (22:44 +0200)]
test

14 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:44:46 +0000 (22:44 +0200)]
test

14 years agoanother test
Wolfram Schneider [Fri, 23 Apr 2010 20:43:39 +0000 (22:43 +0200)]
another test

14 years agospace
Wolfram Schneider [Fri, 23 Apr 2010 20:31:14 +0000 (22:31 +0200)]
space

14 years agospaces
Wolfram Schneider [Fri, 23 Apr 2010 20:30:39 +0000 (22:30 +0200)]
spaces

14 years agodo not try to print more rows than available
Wolfram Schneider [Fri, 23 Apr 2010 15:42:08 +0000 (17:42 +0200)]
do not try to print more rows than available

14 years agoindex zeerex2index.xsl as words
Wolfram Schneider [Fri, 23 Apr 2010 15:36:09 +0000 (17:36 +0200)]
index zeerex2index.xsl as words

This solves the problem that you cannot search for record syntax "USmarc" if the
server response was in lowercase "usmarc"

14 years agoallow to set xslt sheet on commandline
Wolfram Schneider [Fri, 23 Apr 2010 15:35:37 +0000 (17:35 +0200)]
allow to set xslt sheet on commandline

14 years agofix permissions
Wolfram Schneider [Fri, 23 Apr 2010 15:25:39 +0000 (17:25 +0200)]
fix permissions

14 years agosupport the system-wide env IRSpyDbName
Wolfram Schneider [Fri, 23 Apr 2010 15:24:24 +0000 (17:24 +0200)]
support the system-wide env IRSpyDbName

14 years agonormalize recordSyntaxes and domains
Wolfram Schneider [Fri, 23 Apr 2010 15:20:24 +0000 (17:20 +0200)]
normalize recordSyntaxes and domains

14 years agodisplay more rows
Wolfram Schneider [Fri, 23 Apr 2010 15:11:54 +0000 (17:11 +0200)]
display more rows

- up to twenty most commonly supported Bib-1 Use attributes
- up to 30 'Record syntax' support by database, which means in practice all available

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Fri, 23 Apr 2010 13:01:18 +0000 (15:01 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Fri, 23 Apr 2010 13:00:54 +0000 (13:00 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agorun only one instance of this script at a time
Wolfram Schneider [Fri, 23 Apr 2010 12:57:43 +0000 (12:57 +0000)]
run only one instance of this script at a time

implemented by a simple self-written lockfile. Do not use lockfile(1)
due a bug in debian packages, for details see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565613

14 years agodisable 'Test all targets', see bug #3386
Wolfram Schneider [Fri, 23 Apr 2010 12:21:12 +0000 (14:21 +0200)]
disable 'Test all targets', see bug #3386

14 years agoallow to override the irspy database on the command line
Wolfram Schneider [Fri, 23 Apr 2010 12:17:32 +0000 (14:17 +0200)]
allow to override the irspy database on the command line

e.g.: make IRSPY_DATABASE=localhost:8019/IR-Explain---1 dump

14 years agorename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401
Wolfram Schneider [Fri, 23 Apr 2010 11:48:09 +0000 (13:48 +0200)]
rename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401

14 years agomod_perl works only safe without threads
Wolfram Schneider [Wed, 21 Apr 2010 13:49:00 +0000 (15:49 +0200)]
mod_perl works only safe without threads

14 years agodocumentation typo
Wolfram Schneider [Wed, 21 Apr 2010 13:33:10 +0000 (15:33 +0200)]
documentation typo

14 years agostrips whitespaces at start and ends of fields: bug #3369
Wolfram Schneider [Wed, 21 Apr 2010 13:31:38 +0000 (15:31 +0200)]
strips whitespaces at start and ends of fields: bug #3369

14 years agoimport trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:28:55 +0000 (15:28 +0200)]
import trimField

14 years agoexport trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:27:56 +0000 (15:27 +0200)]
export trimField

14 years agorename function trimFields to trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:26:41 +0000 (15:26 +0200)]
rename function trimFields to trimField

14 years agonew helper function trimFields()
Wolfram Schneider [Wed, 21 Apr 2010 13:22:51 +0000 (15:22 +0200)]
new helper function trimFields()

14 years agoupload.html moved
Wolfram Schneider [Wed, 21 Apr 2010 13:22:30 +0000 (15:22 +0200)]
upload.html moved

14 years agorenamed script
Wolfram Schneider [Wed, 21 Apr 2010 13:20:59 +0000 (15:20 +0200)]
renamed script

14 years agorecommend to install debina packages yaz and libyaz4-dev
Wolfram Schneider [Wed, 21 Apr 2010 13:19:49 +0000 (15:19 +0200)]
recommend to install debina packages yaz and libyaz4-dev

14 years agoone crontab line fits all
Wolfram Schneider [Wed, 21 Apr 2010 12:55:25 +0000 (14:55 +0200)]
one crontab line fits all

14 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:49:48 +0000 (14:49 +0200)]
remove stale $Id$

14 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:46:59 +0000 (14:46 +0200)]
remove stale $Id$

14 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:43:40 +0000 (14:43 +0200)]
remove stale $Id$

14 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:38:38 +0000 (14:38 +0200)]
remove stale $Id$

14 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:38:08 +0000 (14:38 +0200)]
remove stale $Id$

14 years agoadd missing pages and reorder entries
Wolfram Schneider [Wed, 21 Apr 2010 12:20:22 +0000 (14:20 +0200)]
add missing pages and reorder entries

Google has crawled more than 10.900 pages from
irspy.indexdata.com - how stupid!

14 years agoenable robots.txt for irspy-test
Wolfram Schneider [Wed, 21 Apr 2010 12:09:58 +0000 (14:09 +0200)]
enable robots.txt for irspy-test

14 years agoa robots.txt file for the development machine http://irspy-test.indexdata.com/
Wolfram Schneider [Wed, 21 Apr 2010 12:08:10 +0000 (14:08 +0200)]
a robots.txt file for the development machine irspy-test.indexdata.com/

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Mike Taylor [Tue, 20 Apr 2010 16:02:35 +0000 (17:02 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agounicode bug #3390: uri_escape -> uri_escape_utf8
Wolfram Schneider [Tue, 20 Apr 2010 15:38:43 +0000 (17:38 +0200)]
unicode bug #3390: uri_escape -> uri_escape_utf8

14 years agoComment
Mike Taylor [Tue, 20 Apr 2010 15:05:27 +0000 (16:05 +0100)]
Comment

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Mike Taylor [Tue, 20 Apr 2010 15:00:24 +0000 (16:00 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agoAdd CQL->PQF mapping for index rec.lastModificationDate
Mike Taylor [Tue, 20 Apr 2010 14:58:00 +0000 (15:58 +0100)]
Add CQL->PQF mapping for index rec.lastModificationDate

14 years agoIgnore two recent dumps
mike [Tue, 20 Apr 2010 10:49:19 +0000 (10:49 +0000)]
Ignore two recent dumps

14 years agoIRSpy toroid now runs on port 12367 to avoid clashes, so irspy.conf now proxies to...
mike [Tue, 20 Apr 2010 10:45:04 +0000 (10:45 +0000)]
IRSpy toroid now runs on port 12367 to avoid clashes, so irspy.conf now proxies to that port

14 years agonew dump
Wolfram Schneider [Tue, 20 Apr 2010 08:19:06 +0000 (10:19 +0200)]
new dump

14 years agoremove redundant warning option
Wolfram Schneider [Mon, 19 Apr 2010 20:10:39 +0000 (20:10 +0000)]
remove redundant warning option

14 years agoremove stale $Id$
Wolfram Schneider [Mon, 19 Apr 2010 20:05:18 +0000 (20:05 +0000)]
remove stale $Id$

14 years agoconsistent file name for scripts
Wolfram Schneider [Mon, 19 Apr 2010 19:58:51 +0000 (19:58 +0000)]
consistent file name for scripts

14 years agodate(1) typo
Wolfram Schneider [Mon, 19 Apr 2010 19:58:01 +0000 (19:58 +0000)]
date(1) typo

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Fri, 16 Apr 2010 13:52:15 +0000 (13:52 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy