irspy-moved-to-github.git
13 years agoAppend
Mike Taylor [Wed, 18 Apr 2007 15:22:40 +0000 (15:22 +0000)]
Append

13 years agoNew
Mike Taylor [Wed, 18 Apr 2007 15:17:06 +0000 (15:17 +0000)]
New

13 years agoDavid's changes.
Mike Taylor [Wed, 18 Apr 2007 12:13:01 +0000 (12:13 +0000)]
David's changes.

13 years agoDo not display username or password.
Mike Taylor [Wed, 18 Apr 2007 12:06:25 +0000 (12:06 +0000)]
Do not display username or password.

13 years agoModified as requested by David.
Mike Taylor [Wed, 18 Apr 2007 12:05:45 +0000 (12:05 +0000)]
Modified as requested by David.

13 years agoRename Net-Z3950-IRSpy.t to ZOOM-IRSpy.t
Mike Taylor [Wed, 18 Apr 2007 11:23:01 +0000 (11:23 +0000)]
Rename Net-Z3950-IRSpy.t to ZOOM-IRSpy.t

13 years agoAppend
Mike Taylor [Wed, 18 Apr 2007 11:20:29 +0000 (11:20 +0000)]
Append

13 years agoFix site-specific stats link.
Mike Taylor [Tue, 17 Apr 2007 16:39:26 +0000 (16:39 +0000)]
Fix site-specific stats link.

13 years agoPer's text, only lightly edited.
Mike Taylor [Tue, 17 Apr 2007 12:51:16 +0000 (12:51 +0000)]
Per's text, only lightly edited.

13 years agoimport both uri_escape() _and_ uri_escape_utf8().
Mike Taylor [Tue, 17 Apr 2007 08:41:07 +0000 (08:41 +0000)]
import both uri_escape() _and_ uri_escape_utf8().

13 years agoUse uri_escape_utf8()
Mike Taylor [Mon, 16 Apr 2007 12:23:46 +0000 (12:23 +0000)]
Use uri_escape_utf8()

13 years agoInclude outbound link to ZAP.
Mike Taylor [Mon, 16 Apr 2007 10:37:05 +0000 (10:37 +0000)]
Include outbound link to ZAP.

13 years agoOnly insert those index terms which have @search="true". This happens both for
Anders S. Mortensen [Mon, 2 Apr 2007 10:11:17 +0000 (10:11 +0000)]
Only insert those index terms which have @search="true". This happens both for
the situation where search access points have actually been probed by IRspy and
in the case where only the existing version of indexInfo is inserted. Bugzilla
#922.

13 years agoAdding elements irspy:libraryType and irspy:country to persistent version of
Anders S. Mortensen [Fri, 30 Mar 2007 17:17:44 +0000 (17:17 +0000)]
Adding elements irspy:libraryType and irspy:country to persistent version of
zeerex record (bug #925).

13 years agoLook for irspy:record_fetch instead of irspy:record when deciding whether to
Anders S. Mortensen [Fri, 30 Mar 2007 12:48:36 +0000 (12:48 +0000)]
Look for irspy:record_fetch instead of irspy:record when deciding whether to
update the recordInfo section in the zeerex record (bug #925).

13 years agoNew
Mike Taylor [Fri, 30 Mar 2007 11:43:59 +0000 (11:43 +0000)]
New

13 years agoShorter text, links to new page about the software.
Mike Taylor [Fri, 30 Mar 2007 11:43:46 +0000 (11:43 +0000)]
Shorter text, links to new page about the software.

13 years agoAdd trailing semi-colons to return statements. These were not needed
Mike Taylor [Fri, 30 Mar 2007 11:14:56 +0000 (11:14 +0000)]
Add trailing semi-colons to return statements.  These were not needed
on the development box but are needed on the deployment box, presumably
due to a subtle different version of HTML::Mason

13 years agoDuplicate archive removed, bad XML fixed, ZeeRex namespace added
Mike Taylor [Fri, 30 Mar 2007 11:10:18 +0000 (11:10 +0000)]
Duplicate archive removed, bad XML fixed, ZeeRex namespace added

13 years agoDo not attempt to delete old record if $oldid is undefined!
Mike Taylor [Fri, 30 Mar 2007 09:50:55 +0000 (09:50 +0000)]
Do not attempt to delete old record if $oldid is undefined!

13 years agoBring in cql_quote() from Utils
Mike Taylor [Thu, 29 Mar 2007 17:14:30 +0000 (17:14 +0000)]
Bring in cql_quote() from Utils

13 years agoSupport library-type and country searches.
Mike Taylor [Thu, 29 Mar 2007 17:13:45 +0000 (17:13 +0000)]
Support library-type and country searches.

13 years agoUpdated command sequence.
Mike Taylor [Thu, 29 Mar 2007 17:13:23 +0000 (17:13 +0000)]
Updated command sequence.

13 years agoIgnore records3 rather than good.
Mike Taylor [Thu, 29 Mar 2007 17:13:10 +0000 (17:13 +0000)]
Ignore records3 rather than good.

13 years agoNew
Mike Taylor [Thu, 29 Mar 2007 16:19:58 +0000 (16:19 +0000)]
New

13 years agoMove lists of countries and library-types into their own new little
Mike Taylor [Thu, 29 Mar 2007 16:19:39 +0000 (16:19 +0000)]
Move lists of countries and library-types into their own new little
components, so they can be reused by find.mc

13 years agoMajor re-rodering to sync. with editing page.
Mike Taylor [Thu, 29 Mar 2007 15:49:52 +0000 (15:49 +0000)]
Major re-rodering to sync. with editing page.
Newly added dropdowns contain WRONG DATA.

13 years agoIgnore directory "good" made from Per's archive of new records.
Mike Taylor [Thu, 29 Mar 2007 12:32:21 +0000 (12:32 +0000)]
Ignore directory "good" made from Per's archive of new records.

13 years agoNew, sent by Per as newtargets.tgz
Mike Taylor [Thu, 29 Mar 2007 12:25:13 +0000 (12:25 +0000)]
New, sent by Per as newtargets.tgz

13 years agoAdd workaround for Zebra delete-record bug.
Mike Taylor [Thu, 29 Mar 2007 11:54:53 +0000 (11:54 +0000)]
Add workaround for Zebra delete-record bug.

13 years agoAdd link for "other" targets.
Mike Taylor [Thu, 29 Mar 2007 11:20:56 +0000 (11:20 +0000)]
Add link for "other" targets.

13 years agoAdd relationModifier.firstInField
Mike Taylor [Thu, 29 Mar 2007 11:15:35 +0000 (11:15 +0000)]
Add relationModifier.firstInField

13 years agoSupport kafta
Mike Taylor [Fri, 23 Mar 2007 09:30:31 +0000 (09:30 +0000)]
Support kafta

13 years agoNew, super-incomplete
Mike Taylor [Thu, 22 Mar 2007 12:25:36 +0000 (12:25 +0000)]
New, super-incomplete

13 years agoNew file: main Apache installation uses this to proxy requests onto
Mike Taylor [Thu, 22 Mar 2007 11:44:51 +0000 (11:44 +0000)]
New file: main Apache installation uses this to proxy requests onto
a separate dedicated installation.

13 years agoLogs written to dedicated IRSpy Apache logging area.
Mike Taylor [Thu, 22 Mar 2007 11:44:23 +0000 (11:44 +0000)]
Logs written to dedicated IRSpy Apache logging area.

13 years agoVerdana headings.
Mike Taylor [Thu, 22 Mar 2007 07:57:34 +0000 (07:57 +0000)]
Verdana headings.

13 years agoIgnore records2
Mike Taylor [Wed, 21 Mar 2007 13:45:51 +0000 (13:45 +0000)]
Ignore records2

13 years agopanel3 sand-coloured.
Mike Taylor [Wed, 21 Mar 2007 13:33:09 +0000 (13:33 +0000)]
panel3 sand-coloured.

13 years agoSupport rafa.
Mike Taylor [Wed, 21 Mar 2007 13:30:41 +0000 (13:30 +0000)]
Support rafa.

13 years ago_really_rewrite_record() now checks whether the new ID has changed
Mike Taylor [Mon, 19 Mar 2007 18:52:20 +0000 (18:52 +0000)]
_really_rewrite_record() now checks whether the new ID has changed
from the old, and if so prepares to delete the old record -- but does
not attempt to actually do so, since it seems that Zebra can't service
the request.

13 years agoirspy_xpath_context() can now take a LibXML element as well as a
Mike Taylor [Mon, 19 Mar 2007 18:51:03 +0000 (18:51 +0000)]
irspy_xpath_context() can now take a LibXML element as well as a
ZOOM::Record and a textual XML document.

13 years agoPass old ID into _really_rewrite_record()
Mike Taylor [Mon, 19 Mar 2007 18:50:22 +0000 (18:50 +0000)]
Pass old ID into _really_rewrite_record()

13 years agoUse cql_target() instead of cql_quote()
Mike Taylor [Mon, 19 Mar 2007 13:36:51 +0000 (13:36 +0000)]
Use cql_target() instead of cql_quote()
Move United States to the top of the country list.
Move English to the top of the language list.

13 years agoDo not use cql_quote()
Mike Taylor [Mon, 19 Mar 2007 13:35:59 +0000 (13:35 +0000)]
Do not use cql_quote()

13 years agoNew
Mike Taylor [Fri, 16 Mar 2007 14:24:02 +0000 (14:24 +0000)]
New

13 years agoLink to "#"; previously the link was to "" which caused a reload --
Mike Taylor [Fri, 16 Mar 2007 14:21:45 +0000 (14:21 +0000)]
Link to "#"; previously the link was to "" which caused a reload --
always inefficient, and catastrophic if you'd already entered some
data.

13 years agoSupport different directories on different hostys.
Mike Taylor [Thu, 15 Mar 2007 16:00:31 +0000 (16:00 +0000)]
Support different directories on different hostys.

13 years agoMistake: generalise the old version
Mike Taylor [Thu, 15 Mar 2007 15:57:23 +0000 (15:57 +0000)]
Mistake: generalise the old version

13 years agoNew
Mike Taylor [Thu, 15 Mar 2007 15:56:48 +0000 (15:56 +0000)]
New

13 years agoNew
Mike Taylor [Thu, 15 Mar 2007 13:54:01 +0000 (13:54 +0000)]
New

13 years agoFix result-set leak.
Mike Taylor [Thu, 15 Mar 2007 11:40:27 +0000 (11:40 +0000)]
Fix result-set leak.
Abandon test early on error 235 (DB doesn't exist)

13 years agoFix result-set leak.
Mike Taylor [Thu, 15 Mar 2007 11:38:14 +0000 (11:38 +0000)]
Fix result-set leak.

13 years agoNo {rs} associated with connection.
Mike Taylor [Thu, 15 Mar 2007 11:37:30 +0000 (11:37 +0000)]
No {rs} associated with connection.

13 years agoSmall but important changes:
Mike Taylor [Thu, 15 Mar 2007 11:36:58 +0000 (11:36 +0000)]
Small but important changes:
- Reconnect to the IRSpy database before rewriting XML, not (as
  previously) to the server being tested!
- Do not return before sanity checks, which are now run on the correct
  set of connections.

13 years agoNew set of arguments.
Mike Taylor [Thu, 15 Mar 2007 11:34:51 +0000 (11:34 +0000)]
New set of arguments.

13 years agoEssay styles.
Mike Taylor [Wed, 14 Mar 2007 17:27:46 +0000 (17:27 +0000)]
Essay styles.

13 years agoNo underlining for all those links, indent from page edges.
Mike Taylor [Wed, 14 Mar 2007 17:25:53 +0000 (17:25 +0000)]
No underlining for all those links, indent from page edges.

13 years agoNew introductory text.
Mike Taylor [Wed, 14 Mar 2007 17:24:11 +0000 (17:24 +0000)]
New introductory text.

13 years agoTweak comment.
Mike Taylor [Wed, 14 Mar 2007 11:56:35 +0000 (11:56 +0000)]
Tweak comment.

13 years agoRemove fatuous attempt to destroy old result-sets.
Mike Taylor [Tue, 13 Mar 2007 16:12:38 +0000 (16:12 +0000)]
Remove fatuous attempt to destroy old result-sets.
Add comment on application's responsibilities.

13 years agoDo not attempt sanity-checks.
Mike Taylor [Sat, 10 Mar 2007 13:02:36 +0000 (13:02 +0000)]
Do not attempt sanity-checks.

13 years agoDestroy connection's old result-set when making a new one.
Mike Taylor [Fri, 9 Mar 2007 08:57:34 +0000 (08:57 +0000)]
Destroy connection's old result-set when making a new one.

13 years agoAdd destroy() method which destroys associated result-set.
Mike Taylor [Fri, 9 Mar 2007 08:57:12 +0000 (08:57 +0000)]
Add destroy() method which destroys associated result-set.

13 years agoExplicitly destroy() connections when they're closed, thereby freeing
Mike Taylor [Fri, 9 Mar 2007 08:56:37 +0000 (08:56 +0000)]
Explicitly destroy() connections when they're closed, thereby freeing
resources used by the underlying ZOOM-C object.

13 years agoMore robustness against $rs->record() failure.
Mike Taylor [Thu, 8 Mar 2007 14:51:01 +0000 (14:51 +0000)]
More robustness against $rs->record() failure.

13 years agoneed YAZ 2.1.53
Mike Taylor [Wed, 7 Mar 2007 22:15:39 +0000 (22:15 +0000)]
need YAZ 2.1.53

13 years agoAdd another sample command-line.
Mike Taylor [Wed, 7 Mar 2007 18:02:00 +0000 (18:02 +0000)]
Add another sample command-line.

13 years agoReconnect before each task.
Mike Taylor [Wed, 7 Mar 2007 18:00:15 +0000 (18:00 +0000)]
Reconnect before each task.

13 years agoRemove comment.
Mike Taylor [Wed, 7 Mar 2007 17:59:53 +0000 (17:59 +0000)]
Remove comment.

13 years agoExplicit reconnection attempt before each search.
Mike Taylor [Wed, 7 Mar 2007 11:41:01 +0000 (11:41 +0000)]
Explicit reconnection attempt before each search.

13 years agoReindex rather than dumping records.
Mike Taylor [Wed, 7 Mar 2007 11:35:38 +0000 (11:35 +0000)]
Reindex rather than dumping records.

13 years agoFactor out useless temps.
Mike Taylor [Wed, 7 Mar 2007 10:26:50 +0000 (10:26 +0000)]
Factor out useless temps.

13 years agoConstructor now takes activeSetSize argument.
Mike Taylor [Mon, 5 Mar 2007 19:45:54 +0000 (19:45 +0000)]
Constructor now takes activeSetSize argument.
Further simplify(!) initialise() to support active set.
Re-forge connection, if needed, before rewriting XML.
No need to use ...::Record since Connection now does so.
Remove _render_record() into Utils.
Clarify logging.
Add (but do not use) tolerant_ZOOM_event().  Perhaps the ZOOM::event()
wrapper in ZOOM-Perl should do this.

13 years agoConstructor sets its own "host" option and makes its own record.
Mike Taylor [Mon, 5 Mar 2007 19:43:10 +0000 (19:43 +0000)]
Constructor sets its own "host" option and makes its own record.

13 years agoComment.
Mike Taylor [Mon, 5 Mar 2007 19:42:13 +0000 (19:42 +0000)]
Comment.

13 years agoAdd render_record()
Mike Taylor [Mon, 5 Mar 2007 19:41:57 +0000 (19:41 +0000)]
Add render_record()
cql_target() works with single ID as well as with triple.

13 years agoNew -n <number> option sets size of active pool.
Mike Taylor [Mon, 5 Mar 2007 19:40:20 +0000 (19:40 +0000)]
New -n <number> option sets size of active pool.
__DIE__ signal handler now set globally (though what difference can
that make?)

13 years agoNew cmd-line.
Mike Taylor [Mon, 5 Mar 2007 19:39:30 +0000 (19:39 +0000)]
New cmd-line.

13 years agoMake robust against $rs->record() failure.
Mike Taylor [Mon, 5 Mar 2007 12:53:57 +0000 (12:53 +0000)]
Make robust against $rs->record() failure.
(Should never happen, but sometimes does.)

13 years agoAbort test on 235 as well as 109.
Mike Taylor [Mon, 5 Mar 2007 12:15:11 +0000 (12:15 +0000)]
Abort test on 235 as well as 109.

13 years agoMerely dumps records, does not reindex.
Mike Taylor [Fri, 2 Mar 2007 16:12:39 +0000 (16:12 +0000)]
Merely dumps records, does not reindex.

13 years agoNo not lower-case the ID before indexing. Doing this seems to have
Mike Taylor [Fri, 2 Mar 2007 15:50:09 +0000 (15:50 +0000)]
No not lower-case the ID before indexing.  Doing this seems to have
the very strange side-effect that IDs that were already all-lowercase
are no longer searchable.

13 years agoNew
Mike Taylor [Fri, 2 Mar 2007 15:14:13 +0000 (15:14 +0000)]
New

13 years agorec.id index uses @attr 4=104 (urx)
Mike Taylor [Fri, 2 Mar 2007 14:28:06 +0000 (14:28 +0000)]
rec.id index uses @attr 4=104 (urx)

13 years agorec:id index is now of type "urx", which normalises case. (It
Mike Taylor [Fri, 2 Mar 2007 14:27:53 +0000 (14:27 +0000)]
rec:id index is now of type "urx", which normalises case.  (It
probably shouldn't, but it does.  And it probably shouldn't break on
spaces, but it does that, too.)  The proper answer is to make my own
index-type that does case normalisation and nothing else, but this
interrim solution should help Per.

13 years agoAvoid using Text::Iconv->retval(), which is not in the version on Debian Testing.
Mike Taylor [Fri, 2 Mar 2007 12:17:33 +0000 (12:17 +0000)]
Avoid using Text::Iconv->retval(), which is not in the version on Debian Testing.

13 years agoRemove -Wdeclaration-after-statement, which is not recognised by all GCCs.
Mike Taylor [Fri, 2 Mar 2007 12:02:16 +0000 (12:02 +0000)]
Remove -Wdeclaration-after-statement, which is not recognised by all GCCs.

13 years agoHack for dealing with ASCII, Latin-1 and UTF-8 character-sets. Other
Mike Taylor [Fri, 2 Mar 2007 11:56:15 +0000 (11:56 +0000)]
Hack for dealing with ASCII, Latin-1 and UTF-8 character-sets.  Other
Latin-n character sets might work, more or less.

13 years agoRecord IDs (and the rec:id index) now case-insensitive.
Mike Taylor [Fri, 2 Mar 2007 11:04:10 +0000 (11:04 +0000)]
Record IDs (and the rec:id index) now case-insensitive.

13 years agoDramatically simplify initialise() and associated state in the IRSpy
Mike Taylor [Thu, 1 Mar 2007 14:00:50 +0000 (14:00 +0000)]
Dramatically simplify initialise() and associated state in the IRSpy
object, preparatory to solving case-insensitive duplication bug.

13 years agocql_quote() quotes terms that contain quotes and slashes, as well as
Mike Taylor [Thu, 1 Mar 2007 13:59:45 +0000 (13:59 +0000)]
cql_quote() quotes terms that contain quotes and slashes, as well as
spaces.

13 years agoBack to v1.21 -- cql_target() is not unnecessary after all, since it's
Mike Taylor [Thu, 1 Mar 2007 13:52:54 +0000 (13:52 +0000)]
Back to v1.21 -- cql_target() is not unnecessary after all, since it's
used by both IRSpy.pm and the Web UI.

13 years agoRemove unused cql_target()
Mike Taylor [Thu, 1 Mar 2007 13:51:18 +0000 (13:51 +0000)]
Remove unused cql_target()

13 years agoComment
Mike Taylor [Thu, 1 Mar 2007 13:21:05 +0000 (13:21 +0000)]
Comment

13 years agoIndex recordSyntax's @name rather than @identifier.
Mike Taylor [Wed, 28 Feb 2007 17:51:31 +0000 (17:51 +0000)]
Index recordSyntax's @name rather than @identifier.

13 years agoSubmit @attr 4=3 with zeerex:recordSyntax searches.
Mike Taylor [Wed, 28 Feb 2007 17:51:00 +0000 (17:51 +0000)]
Submit @attr 4=3 with zeerex:recordSyntax searches.
(May be needed with more indexes.)

13 years agoAppend to log rather than starting anew each time.
Mike Taylor [Wed, 28 Feb 2007 17:50:22 +0000 (17:50 +0000)]
Append to log rather than starting anew each time.
Do not make backup copy of old log.
(Both these made possible by use of log rotation.)

13 years agoUse new $node->next()/address() to correctly skip tests.
Mike Taylor [Wed, 28 Feb 2007 17:36:00 +0000 (17:36 +0000)]
Use new $node->next()/address() to correctly skip tests.

13 years agoAdd resolve(), address(), parent(), previous(), next().
Mike Taylor [Wed, 28 Feb 2007 17:34:54 +0000 (17:34 +0000)]
Add resolve(), address(), parent(), previous(), next().