Mike Taylor [Mon, 4 Dec 2006 09:26:31 +0000 (09:26 +0000)]
Style of HELP link.
Mike Taylor [Fri, 1 Dec 2006 16:51:32 +0000 (16:51 +0000)]
New
Mike Taylor [Fri, 1 Dec 2006 16:49:43 +0000 (16:49 +0000)]
Help link component path changed.
Mike Taylor [Fri, 1 Dec 2006 16:47:24 +0000 (16:47 +0000)]
Include help-button.
Mike Taylor [Fri, 1 Dec 2006 16:43:25 +0000 (16:43 +0000)]
Add notes on stuff to be resolved.
Mike Taylor [Fri, 1 Dec 2006 14:51:19 +0000 (14:51 +0000)]
Add description search-box.
Mike Taylor [Fri, 1 Dec 2006 14:50:55 +0000 (14:50 +0000)]
Add dc.description CQL index.
Mike Taylor [Fri, 1 Dec 2006 10:04:18 +0000 (10:04 +0000)]
Simpler cql:anywhere definition, thanks to Marc
Mike Taylor [Thu, 30 Nov 2006 12:50:20 +0000 (12:50 +0000)]
Style for blockquotes.
Mike Taylor [Thu, 30 Nov 2006 12:44:00 +0000 (12:44 +0000)]
Define cql:anywhere
Mike Taylor [Thu, 30 Nov 2006 12:40:44 +0000 (12:40 +0000)]
Note on how to run all reindexing commands.
Mike Taylor [Thu, 30 Nov 2006 12:36:49 +0000 (12:36 +0000)]
Use internal name cql:anywhere rather than cql:all
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.
Mike Taylor [Thu, 30 Nov 2006 12:02:26 +0000 (12:02 +0000)]
xml_encode() does not translate /'/ to ' since Internet Explorer
can't display this(!)
Mike Taylor [Thu, 30 Nov 2006 12:01:23 +0000 (12:01 +0000)]
Remove redundant _string2cdata() method, use xml_encode() instead.
Mike Taylor [Thu, 30 Nov 2006 10:53:27 +0000 (10:53 +0000)]
Allow all-targets test to choose between Quick and Full.
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.
Mike Taylor [Wed, 29 Nov 2006 18:21:15 +0000 (18:21 +0000)]
"Edit" link uses new parameter scheme.
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.
Mike Taylor [Wed, 29 Nov 2006 18:19:17 +0000 (18:19 +0000)]
Import iosdate() from Utils.pm
Mike Taylor [Wed, 29 Nov 2006 18:18:37 +0000 (18:18 +0000)]
Import isodate() from Utils.pm
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
Mike Taylor [Wed, 29 Nov 2006 18:16:21 +0000 (18:16 +0000)]
Remove isodate(), which is now in Utils.pm
Remove Exporter scaffolding.
Mike Taylor [Wed, 29 Nov 2006 18:15:10 +0000 (18:15 +0000)]
Add isodate()
Mike Taylor [Wed, 29 Nov 2006 17:22:32 +0000 (17:22 +0000)]
Print list of changed fields.
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.
Mike Taylor [Wed, 29 Nov 2006 16:05:26 +0000 (16:05 +0000)]
Tweak
Mike Taylor [Wed, 29 Nov 2006 14:57:31 +0000 (14:57 +0000)]
Clarify title generation.
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.)
Mike Taylor [Wed, 29 Nov 2006 11:06:29 +0000 (11:06 +0000)]
Better diagnostics.
Mike Taylor [Wed, 29 Nov 2006 11:05:40 +0000 (11:05 +0000)]
More logging.
Mike Taylor [Tue, 28 Nov 2006 12:01:54 +0000 (12:01 +0000)]
CHange suggested debug level.
Mike Taylor [Fri, 24 Nov 2006 18:01:51 +0000 (18:01 +0000)]
Fix "new" link.
Mike Taylor [Tue, 21 Nov 2006 11:48:01 +0000 (11:48 +0000)]
More accurate debugging output.
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.)
Mike Taylor [Mon, 20 Nov 2006 15:05:53 +0000 (15:05 +0000)]
Proper registration of connection errors.
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
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.
Mike Taylor [Sat, 18 Nov 2006 00:10:44 +0000 (00:10 +0000)]
New -w option to use a ZOOM::IRSpy::Web object.
Mike Taylor [Sat, 18 Nov 2006 00:09:01 +0000 (00:09 +0000)]
Comment typo.
Mike Taylor [Fri, 17 Nov 2006 22:39:17 +0000 (22:39 +0000)]
Towards orthogonalisation.
Mike Taylor [Fri, 17 Nov 2006 15:31:09 +0000 (15:31 +0000)]
Add A Target item explicitly sets new=1
Mike Taylor [Thu, 16 Nov 2006 17:52:06 +0000 (17:52 +0000)]
More checking. Not correct yet, though.
Mike Taylor [Thu, 16 Nov 2006 17:30:25 +0000 (17:30 +0000)]
Eliminate temporary variable.
Mike Taylor [Thu, 16 Nov 2006 17:27:15 +0000 (17:27 +0000)]
Correct checking of omitted ID components.
Mike Taylor [Thu, 16 Nov 2006 17:19:28 +0000 (17:19 +0000)]
Use new cql_target() method from Utils.
Mike Taylor [Thu, 16 Nov 2006 17:18:43 +0000 (17:18 +0000)]
Add render() method and overload stringification to use it.
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.
Mike Taylor [Thu, 16 Nov 2006 17:14:46 +0000 (17:14 +0000)]
Towards dealing with duplicate records.
Mike Taylor [Thu, 16 Nov 2006 17:10:30 +0000 (17:10 +0000)]
Eliminate temporary variable.
Mike Taylor [Thu, 16 Nov 2006 17:07:01 +0000 (17:07 +0000)]
Simplify, remove unusued global(!)
Mike Taylor [Thu, 16 Nov 2006 17:05:51 +0000 (17:05 +0000)]
Simplify, eliminate temporary.
Mike Taylor [Thu, 16 Nov 2006 17:03:11 +0000 (17:03 +0000)]
Remove commented-out code.
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
Mike Taylor [Thu, 16 Nov 2006 14:58:55 +0000 (14:58 +0000)]
Whitespace formatting.
Mike Taylor [Thu, 16 Nov 2006 12:26:26 +0000 (12:26 +0000)]
Cosmetics
Mike Taylor [Thu, 16 Nov 2006 12:26:08 +0000 (12:26 +0000)]
Integrated back into edit.mc
Mike Taylor [Thu, 16 Nov 2006 12:15:29 +0000 (12:15 +0000)]
XHTML 1.0 Strict
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.
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
Mike Taylor [Thu, 16 Nov 2006 11:49:30 +0000 (11:49 +0000)]
use ZOOM
Mike Taylor [Thu, 16 Nov 2006 11:48:40 +0000 (11:48 +0000)]
DOn't use ZOOM -- layout.mc does that.
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".
Mike Taylor [Wed, 15 Nov 2006 17:56:23 +0000 (17:56 +0000)]
Editing a not-yet-existant ID is now OK.
Mike Taylor [Wed, 15 Nov 2006 17:44:35 +0000 (17:44 +0000)]
Reorder and reformat "This Record" submenu.
Add "copy record" item.
Mike Taylor [Wed, 15 Nov 2006 17:43:50 +0000 (17:43 +0000)]
Title is "Copy" if copy param is set.
Mike Taylor [Wed, 15 Nov 2006 17:43:10 +0000 (17:43 +0000)]
Rolling
Mike Taylor [Wed, 15 Nov 2006 14:55:33 +0000 (14:55 +0000)]
Rolling
Mike Taylor [Wed, 15 Nov 2006 13:20:32 +0000 (13:20 +0000)]
Add new elements "type", "country" and "hosturl" requested by Per.
Mike Taylor [Wed, 15 Nov 2006 13:15:19 +0000 (13:15 +0000)]
ucfirst(title)
Mike Taylor [Wed, 15 Nov 2006 13:10:42 +0000 (13:10 +0000)]
Protocol is now chosen from a dropdown.
Mike Taylor [Tue, 14 Nov 2006 16:23:11 +0000 (16:23 +0000)]
Defensive use of xml_encode()
Mike Taylor [Tue, 14 Nov 2006 16:21:49 +0000 (16:21 +0000)]
Xml_encode() accepts fallback string.
Mike Taylor [Tue, 14 Nov 2006 16:21:08 +0000 (16:21 +0000)]
Add code to generate ID automatically, when missing, from host, port
and database, when present.
Mike Taylor [Tue, 14 Nov 2006 16:18:51 +0000 (16:18 +0000)]
Clarify reporting
Mike Taylor [Tue, 14 Nov 2006 16:09:14 +0000 (16:09 +0000)]
Defensive xml_encode() calling.
Mike Taylor [Tue, 14 Nov 2006 16:04:36 +0000 (16:04 +0000)]
Comment out debugging warn()s
Mike Taylor [Tue, 14 Nov 2006 16:00:28 +0000 (16:00 +0000)]
Do not try to xml_encode() undefined values.
Mike Taylor [Tue, 14 Nov 2006 14:57:41 +0000 (14:57 +0000)]
Lots of tasties. Most importantly, dom_add_element() is now renamed
dom_add_node() and can handle adding attributes as well as elements,
and find_or_make_node() now works at the top level of the documnent.
Mike Taylor [Tue, 14 Nov 2006 14:55:28 +0000 (14:55 +0000)]
Title different when use for adding new records.
Mike Taylor [Tue, 14 Nov 2006 14:55:08 +0000 (14:55 +0000)]
Add A Target now uses edit form.
Mike Taylor [Tue, 14 Nov 2006 14:54:41 +0000 (14:54 +0000)]
Refactor -- move most code out into form.mc
Mike Taylor [Tue, 14 Nov 2006 14:54:06 +0000 (14:54 +0000)]
New
Mike Taylor [Mon, 13 Nov 2006 18:03:34 +0000 (18:03 +0000)]
New utiltiy find_or_make_node() finds a node within an XPathContext,
or, if it doesn't yet exist, makes it within its parent and returns
it. This calls itself recursively as necessary to make the parent,
grandparent, etc., but catches deep recursion and dies (currently
defined as ten levels which seems like plenty).
dom_add_element() now uses this.
Mike Taylor [Mon, 13 Nov 2006 17:00:03 +0000 (17:00 +0000)]
Remove completed tasks from TODO list.
Mike Taylor [Mon, 13 Nov 2006 16:49:08 +0000 (16:49 +0000)]
Links to both quick and full tests.
Mike Taylor [Mon, 13 Nov 2006 16:48:49 +0000 (16:48 +0000)]
Page title includes test name if specified.
Mike Taylor [Mon, 13 Nov 2006 16:47:57 +0000 (16:47 +0000)]
Comment
Mike Taylor [Thu, 9 Nov 2006 16:32:54 +0000 (16:32 +0000)]
Cleaner presentation of changes.
Mike Taylor [Thu, 9 Nov 2006 16:15:14 +0000 (16:15 +0000)]
Simplify due to correctly functioning modify_xml_document()
Add new -x command-lineoption to show modified XML document.
Mike Taylor [Thu, 9 Nov 2006 16:09:35 +0000 (16:09 +0000)]
Add irspy_namespace()
Both it and now irspy_xpath_context() now use private hash.
Comment out intrusive debugging in modify_xml_document() and
dom_add_element()
New element added in dom_add_element() has its namespace explicitly
set, which enables it to be found by subsequent $xc->find()
calls.
Mike Taylor [Thu, 9 Nov 2006 15:18:14 +0000 (15:18 +0000)]
Typo in comment.
Mike Taylor [Wed, 8 Nov 2006 17:42:11 +0000 (17:42 +0000)]
Clearer reporting.
Still needs stupid second XPath-context like test-xml-update.pl
Mike Taylor [Wed, 8 Nov 2006 17:41:27 +0000 (17:41 +0000)]
irspy_xpath_context() may now take a textual XML record instead of a
DOM tree.
dom_add_element() now correctly inserts a new _element_ with specified
value, rather than just inserting the value itself.
Slightly changed debugging output for modify_xml_document() and
dom_add_element().
Mike Taylor [Wed, 8 Nov 2006 17:19:18 +0000 (17:19 +0000)]
All sort of improvments, many command-line flags.
Mike Taylor [Tue, 7 Nov 2006 17:45:37 +0000 (17:45 +0000)]
Complete and should work ... but doesn't.
Mike Taylor [Tue, 7 Nov 2006 17:18:29 +0000 (17:18 +0000)]
Correct HTML-encoding of debug output in dom_add_element()
Comment out this debugging output anyway.
Mike Taylor [Tue, 7 Nov 2006 16:29:54 +0000 (16:29 +0000)]
Better sample command-line.
Mike Taylor [Mon, 6 Nov 2006 17:43:29 +0000 (17:43 +0000)]
Calculate named-result-set support.
Mike Taylor [Mon, 6 Nov 2006 17:40:04 +0000 (17:40 +0000)]
Calculate explain support.
Empty support-lists now render as "[none]".