irspy-moved-to-github.git
14 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.

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

14 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.

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

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

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

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

14 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.

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

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

14 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.

14 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.

14 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.

14 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).

14 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.

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

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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

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

14 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.

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

14 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.

14 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.

14 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.

14 years agoNew
Mike Taylor [Tue, 5 Dec 2006 12:16:09 +0000 (12:16 +0000)]
New

14 years agoLink-text is just "?"
Mike Taylor [Mon, 4 Dec 2006 17:28:34 +0000 (17:28 +0000)]
Link-text is just "?"
Add commented-out image link.

14 years agoBreak after "This Target" heading.
Mike Taylor [Mon, 4 Dec 2006 16:47:27 +0000 (16:47 +0000)]
Break after "This Target" heading.

14 years agoProperly escaped ampersands for XHTML.
Mike Taylor [Mon, 4 Dec 2006 15:54:10 +0000 (15:54 +0000)]
Properly escaped ampersands for XHTML.

14 years agoUse XHTML 1.0 Transitional instead of Strict.
Mike Taylor [Mon, 4 Dec 2006 15:41:23 +0000 (15:41 +0000)]
Use XHTML 1.0 Transitional instead of Strict.
See long and furious comment for details.

14 years agoTweak.
Mike Taylor [Mon, 4 Dec 2006 10:02:43 +0000 (10:02 +0000)]
Tweak.

14 years agoTweak.
Mike Taylor [Mon, 4 Dec 2006 09:34:32 +0000 (09:34 +0000)]
Tweak.

14 years agoStyle of HELP link.
Mike Taylor [Mon, 4 Dec 2006 09:26:31 +0000 (09:26 +0000)]
Style of HELP link.

14 years agoNew
Mike Taylor [Fri, 1 Dec 2006 16:51:32 +0000 (16:51 +0000)]
New

14 years agoHelp link component path changed.
Mike Taylor [Fri, 1 Dec 2006 16:49:43 +0000 (16:49 +0000)]
Help link component path changed.

14 years agoInclude help-button.
Mike Taylor [Fri, 1 Dec 2006 16:47:24 +0000 (16:47 +0000)]
Include help-button.

14 years agoAdd notes on stuff to be resolved.
Mike Taylor [Fri, 1 Dec 2006 16:43:25 +0000 (16:43 +0000)]
Add notes on stuff to be resolved.

14 years agoAdd description search-box.
Mike Taylor [Fri, 1 Dec 2006 14:51:19 +0000 (14:51 +0000)]
Add description search-box.

14 years agoAdd dc.description CQL index.
Mike Taylor [Fri, 1 Dec 2006 14:50:55 +0000 (14:50 +0000)]
Add dc.description CQL index.

14 years agoSimpler cql:anywhere definition, thanks to Marc
Mike Taylor [Fri, 1 Dec 2006 10:04:18 +0000 (10:04 +0000)]
Simpler cql:anywhere definition, thanks to Marc

14 years agoStyle for blockquotes.
Mike Taylor [Thu, 30 Nov 2006 12:50:20 +0000 (12:50 +0000)]
Style for blockquotes.

14 years agoDefine cql:anywhere
Mike Taylor [Thu, 30 Nov 2006 12:44:00 +0000 (12:44 +0000)]
Define cql:anywhere

14 years agoNote on how to run all reindexing commands.
Mike Taylor [Thu, 30 Nov 2006 12:40:44 +0000 (12:40 +0000)]
Note on how to run all reindexing commands.

14 years agoUse internal name cql:anywhere rather than cql:all
Mike Taylor [Thu, 30 Nov 2006 12:36:49 +0000 (12:36 +0000)]
Use internal name cql:anywhere rather than cql:all

14 years agoTweak panel width so IE displays menu items not broken across lines.
Mike Taylor [Thu, 30 Nov 2006 12:11:07 +0000 (12:11 +0000)]
Tweak panel width so IE displays menu items not broken across lines.

14 years agoxml_encode() does not translate /'/ to &apos; since Internet Explorer
Mike Taylor [Thu, 30 Nov 2006 12:02:26 +0000 (12:02 +0000)]
xml_encode() does not translate /'/ to &apos; since Internet Explorer
can't display this(!)

14 years agoRemove redundant _string2cdata() method, use xml_encode() instead.
Mike Taylor [Thu, 30 Nov 2006 12:01:23 +0000 (12:01 +0000)]
Remove redundant _string2cdata() method, use xml_encode() instead.

14 years agoAllow all-targets test to choose between Quick and Full.
Mike Taylor [Thu, 30 Nov 2006 10:53:27 +0000 (10:53 +0000)]
Allow all-targets test to choose between Quick and Full.

14 years agoBig, big rewrite. Not only does it now work properly in all three
Mike Taylor [Wed, 29 Nov 2006 18:22:08 +0000 (18:22 +0000)]
Big, big rewrite.  Not only does it now work properly in all three
modes (New, Edit, Copy) and in all three phases (initial form,
rejected submission, accepted submission), but the code that does work
is rather simpler than the old code that didn't.

14 years ago"Edit" link uses new parameter scheme.
Mike Taylor [Wed, 29 Nov 2006 18:21:15 +0000 (18:21 +0000)]
"Edit" link uses new parameter scheme.

14 years ago"Add a target", "Edit details" and "Copy target" links use new
Mike Taylor [Wed, 29 Nov 2006 18:20:42 +0000 (18:20 +0000)]
"Add a target", "Edit details" and "Copy target" links use new
parameter scheme.
Record menu is omitted when in copy-a-target.

14 years agoImport iosdate() from Utils.pm
Mike Taylor [Wed, 29 Nov 2006 18:19:17 +0000 (18:19 +0000)]
Import iosdate() from Utils.pm

14 years agoImport isodate() from Utils.pm
Mike Taylor [Wed, 29 Nov 2006 18:18:37 +0000 (18:18 +0000)]
Import isodate() from Utils.pm

14 years agoRemove _isodate() method, used only within the class.
Mike Taylor [Wed, 29 Nov 2006 18:17:16 +0000 (18:17 +0000)]
Remove _isodate() method, used only within the class.
Use isodate() directly, imported from Utils.pm

14 years agoRemove isodate(), which is now in Utils.pm
Mike Taylor [Wed, 29 Nov 2006 18:16:21 +0000 (18:16 +0000)]
Remove isodate(), which is now in Utils.pm
Remove Exporter scaffolding.

14 years agoAdd isodate()
Mike Taylor [Wed, 29 Nov 2006 18:15:10 +0000 (18:15 +0000)]
Add isodate()

14 years agoPrint list of changed fields.
Mike Taylor [Wed, 29 Nov 2006 17:22:32 +0000 (17:22 +0000)]
Print list of changed fields.

14 years agomodify_xml_document() now returns a list containing field structures
Mike Taylor [Wed, 29 Nov 2006 17:22:00 +0000 (17:22 +0000)]
modify_xml_document() now returns a list containing field structures
for all modified fields, instead of a simple modified-field count.

14 years agoTweak
Mike Taylor [Wed, 29 Nov 2006 16:05:26 +0000 (16:05 +0000)]
Tweak

14 years agoClarify title generation.
Mike Taylor [Wed, 29 Nov 2006 14:57:31 +0000 (14:57 +0000)]
Clarify title generation.

14 years agoExplicitly use ZOOM. (Previously relied on the mod_perl session
Mike Taylor [Wed, 29 Nov 2006 12:31:25 +0000 (12:31 +0000)]
Explicitly use ZOOM.  (Previously relied on the mod_perl session
having loaded this module due to earlier invocation of one of the
layout.mc-based pages ... which was _nearly_ always true, but not
quite always.)

14 years agoBetter diagnostics.
Mike Taylor [Wed, 29 Nov 2006 11:06:29 +0000 (11:06 +0000)]
Better diagnostics.

14 years agoMore logging.
Mike Taylor [Wed, 29 Nov 2006 11:05:40 +0000 (11:05 +0000)]
More logging.

14 years agoCHange suggested debug level.
Mike Taylor [Tue, 28 Nov 2006 12:01:54 +0000 (12:01 +0000)]
CHange suggested debug level.

14 years agoFix "new" link.
Mike Taylor [Fri, 24 Nov 2006 18:01:51 +0000 (18:01 +0000)]
Fix "new" link.

14 years agoMore accurate debugging output.
Mike Taylor [Tue, 21 Nov 2006 11:48:01 +0000 (11:48 +0000)]
More accurate debugging output.

14 years agoMore debugging diagnostics after exit from main loop.
Mike Taylor [Mon, 20 Nov 2006 15:06:46 +0000 (15:06 +0000)]
More debugging diagnostics after exit from main loop.
(All remaining events are drained.)

14 years agoProper registration of connection errors.
Mike Taylor [Mon, 20 Nov 2006 15:05:53 +0000 (15:05 +0000)]
Proper registration of connection errors.

14 years ago... and reverted, since it turns out that this is NOT the problem
Mike Taylor [Sat, 18 Nov 2006 00:36:02 +0000 (00:36 +0000)]
... and reverted, since it turns out that this is NOT the problem
after all.  But then WHAT THE HELL IS, since I've not changed anyting
else, but it all suddenly works?  ARGH!

 _/|_  ___________________________________________________________________
/o ) \/  Mike Taylor    <mike@indexdata.com>    http://www.miketaylor.org.uk
)_v__/\  "Even the genus _Tyrannosaurus_ hasn't yet been given a
 good diagnosis.  Right now, its diagnosis seems to be ``big
 tyrannosaurid from North America''" -- George Olshevsky

14 years agoCommented out use of Apache::Reload. This has never really worked
Mike Taylor [Sat, 18 Nov 2006 00:31:37 +0000 (00:31 +0000)]
Commented out use of Apache::Reload.  This has never really worked
reliably for me on any platform, and turns out -- somehow! -- to cause
the contents of ZOOM::IRSpy::Web to be totally ignored as though it
had never been "use"d on one, but not the other, of my two Ubuntu 6.06
systems.  Truly astonishing, and the most staggering waste of time,
since as you can imagine it took a LONG time to track down the
culprit.

14 years agoNew -w option to use a ZOOM::IRSpy::Web object.
Mike Taylor [Sat, 18 Nov 2006 00:10:44 +0000 (00:10 +0000)]
New -w option to use a ZOOM::IRSpy::Web object.

14 years agoComment typo.
Mike Taylor [Sat, 18 Nov 2006 00:09:01 +0000 (00:09 +0000)]
Comment typo.

14 years agoTowards orthogonalisation.
Mike Taylor [Fri, 17 Nov 2006 22:39:17 +0000 (22:39 +0000)]
Towards orthogonalisation.

14 years agoAdd A Target item explicitly sets new=1
Mike Taylor [Fri, 17 Nov 2006 15:31:09 +0000 (15:31 +0000)]
Add A Target item explicitly sets new=1

14 years agoMore checking. Not correct yet, though.
Mike Taylor [Thu, 16 Nov 2006 17:52:06 +0000 (17:52 +0000)]
More checking.  Not correct yet, though.

14 years agoEliminate temporary variable.
Mike Taylor [Thu, 16 Nov 2006 17:30:25 +0000 (17:30 +0000)]
Eliminate temporary variable.

14 years agoCorrect checking of omitted ID components.
Mike Taylor [Thu, 16 Nov 2006 17:27:15 +0000 (17:27 +0000)]
Correct checking of omitted ID components.

14 years agoUse new cql_target() method from Utils.
Mike Taylor [Thu, 16 Nov 2006 17:19:28 +0000 (17:19 +0000)]
Use new cql_target() method from Utils.

14 years agoAdd render() method and overload stringification to use it.
Mike Taylor [Thu, 16 Nov 2006 17:18:43 +0000 (17:18 +0000)]
Add render() method and overload stringification to use it.

14 years agoAdd cql_quote() and cql_target()
Mike Taylor [Thu, 16 Nov 2006 17:18:14 +0000 (17:18 +0000)]
Add cql_quote() and cql_target()
No longer make inheritance_tree() available for export.

14 years agoTowards dealing with duplicate records.
Mike Taylor [Thu, 16 Nov 2006 17:14:46 +0000 (17:14 +0000)]
Towards dealing with duplicate records.

14 years agoEliminate temporary variable.
Mike Taylor [Thu, 16 Nov 2006 17:10:30 +0000 (17:10 +0000)]
Eliminate temporary variable.

14 years agoSimplify, remove unusued global(!)
Mike Taylor [Thu, 16 Nov 2006 17:07:01 +0000 (17:07 +0000)]
Simplify, remove unusued global(!)

14 years agoSimplify, eliminate temporary.
Mike Taylor [Thu, 16 Nov 2006 17:05:51 +0000 (17:05 +0000)]
Simplify, eliminate temporary.

14 years agoRemove commented-out code.
Mike Taylor [Thu, 16 Nov 2006 17:03:11 +0000 (17:03 +0000)]
Remove commented-out code.

14 years agoGeneration of ID from host/port/db moved from layout.mc to menu.mc, and no longer...
Mike Taylor [Thu, 16 Nov 2006 17:02:30 +0000 (17:02 +0000)]
Generation of ID from host/port/db moved from layout.mc to menu.mc, and no longer lodges the new ID in the params

14 years agoWhitespace formatting.
Mike Taylor [Thu, 16 Nov 2006 14:58:55 +0000 (14:58 +0000)]
Whitespace formatting.

14 years agoCosmetics
Mike Taylor [Thu, 16 Nov 2006 12:26:26 +0000 (12:26 +0000)]
Cosmetics

14 years agoIntegrated back into edit.mc
Mike Taylor [Thu, 16 Nov 2006 12:26:08 +0000 (12:26 +0000)]
Integrated back into edit.mc

14 years agoXHTML 1.0 Strict
Mike Taylor [Thu, 16 Nov 2006 12:15:29 +0000 (12:15 +0000)]
XHTML 1.0 Strict

14 years agoRefactor to include form.mc inline.
Mike Taylor [Thu, 16 Nov 2006 11:53:33 +0000 (11:53 +0000)]
Refactor to include form.mc inline.
(So form.mc is now redundant)
This clarifies the flow of logic.

14 years agoDOn't use ZOOM -- layout.mc does that.
Mike Taylor [Thu, 16 Nov 2006 11:50:03 +0000 (11:50 +0000)]
DOn't use ZOOM -- layout.mc does that.
Refactor to make only a single call to form.mc

14 years agouse ZOOM
Mike Taylor [Thu, 16 Nov 2006 11:49:30 +0000 (11:49 +0000)]
use ZOOM

14 years agoDOn't use ZOOM -- layout.mc does that.
Mike Taylor [Thu, 16 Nov 2006 11:48:40 +0000 (11:48 +0000)]
DOn't use ZOOM -- layout.mc does that.

14 years agoRemove extraneous @addafter from hosturl entry.
Mike Taylor [Wed, 15 Nov 2006 17:58:35 +0000 (17:58 +0000)]
Remove extraneous @addafter from hosturl entry.
Skip "new" and "copy" parameters when assembling %data.
"The record has need created" (not "updated") for new records.
Correct element of dropdowns is selected based on current value.
Undefined "id" is not submitted; instead "new=1".

14 years agoEditing a not-yet-existant ID is now OK.
Mike Taylor [Wed, 15 Nov 2006 17:56:23 +0000 (17:56 +0000)]
Editing a not-yet-existant ID is now OK.