irspy-moved-to-github.git
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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: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: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 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 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 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 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 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 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 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 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 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 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 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: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 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 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 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 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 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 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 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 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 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 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 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 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 agoupload.html moved
Wolfram Schneider [Wed, 21 Apr 2010 13:22:30 +0000 (15:22 +0200)]
upload.html moved