irspy-moved-to-github.git
13 years agoComment out the test of the "opac" record syntax. I feel really
Mike Taylor [Tue, 13 Feb 2007 15:04:08 +0000 (15:04 +0000)]
Comment out the test of the "opac" record syntax.  I feel really
terrible about this, because there is a terrible chthonic bug of
ghastly elder-world-invasion proportions, and I _cannot_ find it and
kill it.  All I can tell you right now is that if we don't test for
OPAC records, the bug doesn't happen.  So pragmatism dictates that
right now, we won't check for OPAC records.  But one day, there's
going to be a reckoning.

13 years agoDo not go back into main loop if peek_event() is either 0 or ZEND.
Mike Taylor [Tue, 13 Feb 2007 15:02:35 +0000 (15:02 +0000)]
Do not go back into main loop if peek_event() is either 0 or ZEND.

13 years agoMinor clarification.
Mike Taylor [Tue, 13 Feb 2007 14:35:04 +0000 (14:35 +0000)]
Minor clarification.

13 years agoNew
Mike Taylor [Fri, 9 Feb 2007 10:48:37 +0000 (10:48 +0000)]
New

13 years agoTweak which events errors are ignored for.
Mike Taylor [Fri, 9 Feb 2007 10:44:25 +0000 (10:44 +0000)]
Tweak which events errors are ignored for.

13 years agoArgs for debugging Record::Fetch on LC
Mike Taylor [Fri, 9 Feb 2007 10:42:28 +0000 (10:42 +0000)]
Args for debugging Record::Fetch on LC

13 years agoLightly tweak sample command-line to make it more amenable to running under perldb...
Mike Taylor [Tue, 6 Feb 2007 13:22:16 +0000 (13:22 +0000)]
Lightly tweak sample command-line to make it more amenable to running under perldb in Emacs.

13 years agoDon't show spare event-0 at end.
Mike Taylor [Mon, 5 Feb 2007 13:28:51 +0000 (13:28 +0000)]
Don't show spare event-0 at end.

13 years agoAdded a little note.
Anders S. Mortensen [Fri, 2 Feb 2007 12:44:43 +0000 (12:44 +0000)]
Added a little note.

13 years agoThis has now changed name to irspy_xsltproc.pl.
Anders S. Mortensen [Fri, 2 Feb 2007 12:41:16 +0000 (12:41 +0000)]
This has now changed name to irspy_xsltproc.pl.

13 years agoApplied Mike's nice -d option thing.
Anders S. Mortensen [Fri, 2 Feb 2007 12:40:51 +0000 (12:40 +0000)]
Applied Mike's nice -d option thing.

13 years agoAdded irspy_xsltproc script which has the right irspy environment.
Anders S. Mortensen [Fri, 2 Feb 2007 12:38:48 +0000 (12:38 +0000)]
Added irspy_xsltproc script which has the right irspy environment.

13 years agoCorrect listing of access-points in calc_ap() in the case of singletons.
Mike Taylor [Fri, 2 Feb 2007 11:31:30 +0000 (11:31 +0000)]
Correct listing of access-points in calc_ap() in the case of singletons.

13 years agoFix what I assume were out-of-date API calls.
Mike Taylor [Fri, 2 Feb 2007 11:30:50 +0000 (11:30 +0000)]
Fix what I assume were out-of-date API calls.
Debugging output now only generated if -d specified.

13 years agoUse "All tests were attempted", not "were run".
Mike Taylor [Wed, 31 Jan 2007 16:50:10 +0000 (16:50 +0000)]
Use "All tests were attempted", not "were run".

13 years agoError on search (e.g. unsupported use attribute) falls through to
Mike Taylor [Mon, 29 Jan 2007 17:32:57 +0000 (17:32 +0000)]
Error on search (e.g. unsupported use attribute) falls through to
trying next query on list rather than failing outright.

13 years agoTry access-point 44 if other searches fail.
Mike Taylor [Mon, 29 Jan 2007 17:24:51 +0000 (17:24 +0000)]
Try access-point 44 if other searches fail.

13 years agoOmit Test::Title test, since this fails (astonishingly) on the
Mike Taylor [Mon, 29 Jan 2007 17:12:54 +0000 (17:12 +0000)]
Omit Test::Title test, since this fails (astonishingly) on the
Smithsonian card catalogue's server, causing the BIB-1 test to be
skipped.

13 years agoMove Zebra for port 3313 to 8018 (which is visible on test through its firewall)
Mike Taylor [Wed, 24 Jan 2007 09:28:02 +0000 (09:28 +0000)]
Move Zebra for port 3313 to 8018 (which is visible on test through its firewall)

13 years agoInclude target-deletion web components.
Mike Taylor [Wed, 24 Jan 2007 09:22:20 +0000 (09:22 +0000)]
Include target-deletion web components.

13 years agoDo not distribute "debug" directory.
Mike Taylor [Wed, 24 Jan 2007 09:22:00 +0000 (09:22 +0000)]
Do not distribute "debug" directory.

13 years agoComment out init-opt debugging print.
Mike Taylor [Sat, 20 Jan 2007 09:53:40 +0000 (09:53 +0000)]
Comment out init-opt debugging print.

13 years agoPeek at queued events at loop exit.
Mike Taylor [Sat, 20 Jan 2007 09:53:20 +0000 (09:53 +0000)]
Peek at queued events at loop exit.
Only make three belt-and-braces retries (was 10).

13 years agoApache logs in standard place
Mike Taylor [Thu, 18 Jan 2007 12:12:12 +0000 (12:12 +0000)]
Apache logs in standard place

13 years agoBetter "no" link.
Mike Taylor [Wed, 3 Jan 2007 10:41:07 +0000 (10:41 +0000)]
Better "no" link.

13 years agoInclude dummy record in XS delete package.
Mike Taylor [Wed, 3 Jan 2007 10:38:15 +0000 (10:38 +0000)]
Include dummy record in XS delete package.
This works around a Zebra bug.

13 years agoNew
Mike Taylor [Tue, 2 Jan 2007 17:26:53 +0000 (17:26 +0000)]
New

13 years agoLink to delete.html
Mike Taylor [Tue, 2 Jan 2007 17:26:40 +0000 (17:26 +0000)]
Link to delete.html

13 years agoDebugging save of XML to files in /tmp now controlled by variable.
Mike Taylor [Thu, 21 Dec 2006 16:35:11 +0000 (16:35 +0000)]
Debugging save of XML to files in /tmp now controlled by variable.

13 years agoKeeping track of expected irspy:xxxx elements which could not be found by
Anders S. Mortensen [Tue, 19 Dec 2006 12:54:38 +0000 (12:54 +0000)]
Keeping track of expected irspy:xxxx elements which could not be found by
the XSLT processor.

13 years agoZebra doesn't recognize the tmpdir setting - therefore remove it.
Anders S. Mortensen [Tue, 19 Dec 2006 12:53:16 +0000 (12:53 +0000)]
Zebra doesn't recognize the tmpdir setting - therefore remove it.

13 years agoTentative support for preserving server implementation ID/Name/Version.
Mike Taylor [Mon, 18 Dec 2006 15:38:54 +0000 (15:38 +0000)]
Tentative support for preserving server implementation ID/Name/Version.

13 years agoRefactor BIB-1 attribute analysis into new subcomponent. Use this to
Mike Taylor [Mon, 18 Dec 2006 15:38:09 +0000 (15:38 +0000)]
Refactor BIB-1 attribute analysis into new subcomponent.  Use this to
also include record-syntax, explain, and top-level domain analysis.

13 years agoAdd support for server ID, Name and Versions.
Mike Taylor [Mon, 18 Dec 2006 15:37:06 +0000 (15:37 +0000)]
Add support for server ID, Name and Versions.

13 years agoImport bib1_access_point()
Mike Taylor [Mon, 18 Dec 2006 15:36:43 +0000 (15:36 +0000)]
Import bib1_access_point()

13 years agoSeparate callbacks for initial-search error and fetch-error.
Mike Taylor [Mon, 18 Dec 2006 15:36:03 +0000 (15:36 +0000)]
Separate callbacks for initial-search error and fetch-error.

13 years agoAdd bib1_access_point()
Mike Taylor [Mon, 18 Dec 2006 15:34:54 +0000 (15:34 +0000)]
Add bib1_access_point()

13 years agoAdd support for analysing Explain results.
Mike Taylor [Mon, 18 Dec 2006 15:34:27 +0000 (15:34 +0000)]
Add support for analysing Explain results.
Add support for analysing Z39.50 Init Response results.
{host} element set from connections, so that it's available in a Stats
object that's been serialised/deserialised and which therefore
no longer has a real ZOOM::Connection inside it.

13 years agoTry again (up to ten times) if main loop exits prematurely.
Mike Taylor [Mon, 18 Dec 2006 15:32:32 +0000 (15:32 +0000)]
Try again (up to ten times) if main loop exits prematurely.
(Doesn't help in the current LoC failure case, but adds robustness).
Clarify logging.

13 years agoBetter sample command-line.
Mike Taylor [Mon, 18 Dec 2006 15:31:39 +0000 (15:31 +0000)]
Better sample command-line.

13 years agoNicely rendered BIB-1 table.
Mike Taylor [Fri, 15 Dec 2006 18:18:46 +0000 (18:18 +0000)]
Nicely rendered BIB-1 table.
Everything else silent for now.

13 years agoLink to statistics for found hosts.
Mike Taylor [Fri, 15 Dec 2006 18:07:40 +0000 (18:07 +0000)]
Link to statistics for found hosts.

13 years agoAdd support for additional categories:
Mike Taylor [Fri, 15 Dec 2006 17:24:59 +0000 (17:24 +0000)]
Add support for additional categories:
 - Record syntax support by database
 - Explain support
 - Top Domains
Not yet done due to XSLT bugs (which Anders will fix):
 - Implementation
 - Z39.50 Protocol Services Support
Not done because it's a Big Deal:
 - Z39.50 Server Atlas

13 years agoNote implementation details.
Mike Taylor [Fri, 15 Dec 2006 17:23:27 +0000 (17:23 +0000)]
Note implementation details.

13 years agoNew
Mike Taylor [Fri, 15 Dec 2006 17:21:56 +0000 (17:21 +0000)]
New

13 years agoUse HTML::Mason caching to avoid repeated computation.
Mike Taylor [Fri, 15 Dec 2006 14:37:03 +0000 (14:37 +0000)]
Use HTML::Mason caching to avoid repeated computation.
Quite neat, actually :-)

13 years agoComment out presentChunk for now -- it seems to provoke a ZOOM-C bug
Mike Taylor [Fri, 15 Dec 2006 10:40:48 +0000 (10:40 +0000)]
Comment out presentChunk for now -- it seems to provoke a ZOOM-C bug
whereby an error is generated: ZOOM error 13 "Present request out of
range" from diag-set 'Bib-1'

13 years agoUse new $stats->print() method.
Mike Taylor [Fri, 15 Dec 2006 10:37:16 +0000 (10:37 +0000)]
Use new $stats->print() method.

13 years agoGenerate stats for BIB-1 attributes.
Mike Taylor [Fri, 15 Dec 2006 10:36:36 +0000 (10:36 +0000)]
Generate stats for BIB-1 attributes.
Add print() method.

13 years agoRemove Hovarth quote.
Mike Taylor [Fri, 15 Dec 2006 09:09:51 +0000 (09:09 +0000)]
Remove Hovarth quote.

13 years agoRemove UNUSED
Mike Taylor [Thu, 14 Dec 2006 17:36:01 +0000 (17:36 +0000)]
Remove UNUSED

13 years agoNew
Mike Taylor [Thu, 14 Dec 2006 17:35:13 +0000 (17:35 +0000)]
New

13 years agoNew, fully documented but not much code yet!
Mike Taylor [Thu, 14 Dec 2006 17:34:57 +0000 (17:34 +0000)]
New, fully documented but not much code yet!

13 years agoInclude Stats module.
Mike Taylor [Thu, 14 Dec 2006 17:24:29 +0000 (17:24 +0000)]
Include Stats module.
Better sample code in POD.

13 years agoInclude stats module, command-line utility and web UI elements.
Mike Taylor [Thu, 14 Dec 2006 17:22:50 +0000 (17:22 +0000)]
Include stats module, command-line utility and web UI elements.
Include Anders's command-line XSTL program.

13 years agoDo not distribute temporary area web/htdocs/chrome/UNUSED
Mike Taylor [Thu, 14 Dec 2006 17:22:07 +0000 (17:22 +0000)]
Do not distribute temporary area web/htdocs/chrome/UNUSED

13 years agoNicer allRecords query.
Mike Taylor [Thu, 14 Dec 2006 16:41:06 +0000 (16:41 +0000)]
Nicer allRecords query.

13 years agoNew
Mike Taylor [Thu, 14 Dec 2006 16:11:03 +0000 (16:11 +0000)]
New

13 years agoNow included inline in layout.mc
Mike Taylor [Thu, 14 Dec 2006 15:39:48 +0000 (15:39 +0000)]
Now included inline in layout.mc

13 years agoInclude all statically named components inline, since they were not
Mike Taylor [Thu, 14 Dec 2006 15:39:06 +0000 (15:39 +0000)]
Include all statically named components inline, since they were not
used from elsewhere in the system.  This keeps all layout information
in a single file.  Instead of physically including style.mc, the
layout now includes a link to /style.css.

13 years agoRemove inline stylesheet chrome/style.mc and replace with separate style.css file
Mike Taylor [Thu, 14 Dec 2006 15:37:41 +0000 (15:37 +0000)]
Remove inline stylesheet chrome/style.mc and replace with separate style.css file

13 years agoTweak
Mike Taylor [Wed, 13 Dec 2006 12:02:59 +0000 (12:02 +0000)]
Tweak

13 years agoRolling
Mike Taylor [Wed, 13 Dec 2006 12:02:52 +0000 (12:02 +0000)]
Rolling

13 years agoFinally fixing bug #762.
Anders S. Mortensen [Tue, 12 Dec 2006 11:09:52 +0000 (11:09 +0000)]
Finally fixing bug #762.

13 years agoAdded command line xslt processor which sets up the IRSpy environment and show
Anders S. Mortensen [Tue, 12 Dec 2006 10:45:04 +0000 (10:45 +0000)]
Added command line xslt processor which sets up the IRSpy environment and show
debugging messages.

13 years agoOnly select those irspy:xxx entries newer than the status/ping date. Still need
Anders S. Mortensen [Mon, 11 Dec 2006 13:58:17 +0000 (13:58 +0000)]
Only select those irspy:xxx entries newer than the status/ping date. Still need
to handle the situation where there are no newer entries so that we'll need to
select the entries corresponding to previous run.

13 years agoStepping down the xslt version to 1.57.
Anders S. Mortensen [Mon, 11 Dec 2006 11:05:00 +0000 (11:05 +0000)]
Stepping down the xslt version to 1.57.

13 years agoFixing bug #761: quick tests wipe out the use attribute section.
Anders S. Mortensen [Mon, 11 Dec 2006 11:01:14 +0000 (11:01 +0000)]
Fixing bug #761: quick tests wipe out the use attribute section.

13 years agoAdd zebra/crontab
Mike Taylor [Fri, 8 Dec 2006 15:58:49 +0000 (15:58 +0000)]
Add zebra/crontab

13 years agoNew
Mike Taylor [Fri, 8 Dec 2006 15:58:17 +0000 (15:58 +0000)]
New

13 years agoDescribe four more files.
Mike Taylor [Fri, 8 Dec 2006 15:57:52 +0000 (15:57 +0000)]
Describe four more files.

13 years agoAdd many small help pages for Web UI.
Mike Taylor [Fri, 8 Dec 2006 13:51:58 +0000 (13:51 +0000)]
Add many small help pages for Web UI.
Add Zebra init script.

13 years agoNew
Mike Taylor [Fri, 8 Dec 2006 13:50:13 +0000 (13:50 +0000)]
New

13 years agoInstead of a single search, a sequence of searches are now run
Mike Taylor [Fri, 8 Dec 2006 11:57:51 +0000 (11:57 +0000)]
Instead of a single search, a sequence of searches are now run
sequentially until we get one that finds one or more records.  This
enables us to test for records in, for example, indexdata.com/marc,
which previously got zero hits and then gave up.  So far, there is
only one fallback query, but more can be added trivially.

Also arranged for the last retrieval callback to return TEST_GOOD
rather than TASK_DONE, which makes no real difference but is more
polite.

13 years agoNew
Mike Taylor [Wed, 6 Dec 2006 15:01:24 +0000 (15:01 +0000)]
New

13 years agoRemove fixed issues.
Mike Taylor [Wed, 6 Dec 2006 14:26:59 +0000 (14:26 +0000)]
Remove fixed issues.

13 years agoNew
Mike Taylor [Wed, 6 Dec 2006 14:22:22 +0000 (14:22 +0000)]
New

13 years agoThinko.
Mike Taylor [Wed, 6 Dec 2006 14:20:25 +0000 (14:20 +0000)]
Thinko.

13 years agohref is to "", not "#" since the latter causes the browser to scroll
Mike Taylor [Wed, 6 Dec 2006 14:12:17 +0000 (14:12 +0000)]
href is to "", not "#" since the latter causes the browser to scroll
back to the top of the page.

13 years ago"OK" button is centered.
Mike Taylor [Wed, 6 Dec 2006 14:07:17 +0000 (14:07 +0000)]
"OK" button is centered.

13 years agoDisplay init-response options.
Mike Taylor [Wed, 6 Dec 2006 13:00:40 +0000 (13:00 +0000)]
Display init-response options.

13 years agoGenerate a <configInfo> section including Init options.
Mike Taylor [Wed, 6 Dec 2006 12:58:32 +0000 (12:58 +0000)]
Generate a <configInfo> section including Init options.

13 years agoCheck for the init_opt_* options from the Init response, and note the
Mike Taylor [Wed, 6 Dec 2006 12:58:06 +0000 (12:58 +0000)]
Check for the init_opt_* options from the Init response, and note the
results in init_opt elements.  This requires that the connected()
callback fires on RECV_APDU rather than CONNECT as previously,
otherwise we are called before the APDU's arrived and therefore before
the options have been set.  I think this is fine, as the Init APDU is
the only one that arrives during the task.

13 years agoDo not report remaining END events.
Mike Taylor [Wed, 6 Dec 2006 11:26:52 +0000 (11:26 +0000)]
Do not report remaining END events.

13 years agoRely on ZOOM-Perl 1.16 (needed for Z39.50 Init options).
Mike Taylor [Wed, 6 Dec 2006 11:23:31 +0000 (11:23 +0000)]
Rely on ZOOM-Perl 1.16 (needed for Z39.50 Init options).

13 years agoInclude Web UI help stuff in distribution.
Mike Taylor [Wed, 6 Dec 2006 11:23:03 +0000 (11:23 +0000)]
Include Web UI help stuff in distribution.

13 years agoReorder alphabetically.
Mike Taylor [Wed, 6 Dec 2006 11:22:02 +0000 (11:22 +0000)]
Reorder alphabetically.

13 years agoDo not distribute zebra/log
Mike Taylor [Wed, 6 Dec 2006 11:21:51 +0000 (11:21 +0000)]
Do not distribute zebra/log

13 years agoLanguage of records now chosen from a dropdown.
Mike Taylor [Wed, 6 Dec 2006 10:47:27 +0000 (10:47 +0000)]
Language of records now chosen from a dropdown.

13 years agoCountry now chosen from a dropdown.
Mike Taylor [Wed, 6 Dec 2006 10:37:23 +0000 (10:37 +0000)]
Country now chosen from a dropdown.

13 years agoReordered fields in accordance with Per's preference.
Mike Taylor [Tue, 5 Dec 2006 17:37:26 +0000 (17:37 +0000)]
Reordered fields in accordance with Per's preference.

13 years agoReordered fields in accordance with Per's preference.
Mike Taylor [Tue, 5 Dec 2006 17:37:18 +0000 (17:37 +0000)]
Reordered fields in accordance with Per's preference.
Added blank (unset) option to "Type of Library" dropdown.

13 years agoxml_encode() now takes an optional hash of options.
Mike Taylor [Tue, 5 Dec 2006 17:19:35 +0000 (17:19 +0000)]
xml_encode() now takes an optional hash of options.
Only option currently used is "nbsp" to make spaces unbreakable.

13 years agoResults summary shows reliability rather than author.
Mike Taylor [Tue, 5 Dec 2006 17:18:30 +0000 (17:18 +0000)]
Results summary shows reliability rather than author.

13 years agoNew
Mike Taylor [Tue, 5 Dec 2006 16:40:46 +0000 (16:40 +0000)]
New

13 years ago"Soft" errors for not-yet-available help.
Mike Taylor [Tue, 5 Dec 2006 12:29:38 +0000 (12:29 +0000)]
"Soft" errors for not-yet-available help.

13 years agoNew
Mike Taylor [Tue, 5 Dec 2006 12:26:37 +0000 (12:26 +0000)]
New

13 years agoUse HTML::Mason-level comment rather than HTML-level to remove unusued
Mike Taylor [Tue, 5 Dec 2006 12:24:51 +0000 (12:24 +0000)]
Use HTML::Mason-level comment rather than HTML-level to remove unusued
JavaScript.
Rather than including the single named component, include all
components on the path leading to it, allowing directory-level
text.
Font-size is no longer small.
Heading is styled.

13 years agoUse link image rather than styled text.
Mike Taylor [Tue, 5 Dec 2006 12:22:01 +0000 (12:22 +0000)]
Use link image rather than styled text.

13 years agoAdd "help" links to all editable fields.
Mike Taylor [Tue, 5 Dec 2006 12:21:39 +0000 (12:21 +0000)]
Add "help" links to all editable fields.