Commit Graph

104 Commits

Author SHA1 Message Date
sebd 3823e65134 more support for labels 2005-05-20 14:15:18 +00:00
sebd 9310c8306d Support for optional document "labels" (aka name in DBXML 1) 2005-05-19 15:13:41 +00:00
sebd 4e28f11354 typobugfix for container method getPresence(xpath)
On naming a document, we now use expression's string "simplify" method.
2005-05-10 12:03:00 +00:00
sebd b4564766b6 Fixed bug that happened on fetching nodes. 2005-05-09 15:02:37 +00:00
sebd 2a65f76d3e Support for Berkeley DB XML 2.1.
This commit breaks existing code in third party apps such as Amedes.
2005-05-09 14:47:45 +00:00
sebd ab980ccb3f Added method getPresence. 2005-01-04 06:08:49 +00:00
sebd 21b3dee0ee fixed improvement of handling of errors 2004-11-25 21:07:48 +00:00
sebd c82e01445e improved handling of errors 2004-11-25 20:58:41 +00:00
sebd 301eac5539 added method getNames 2004-11-19 12:12:11 +00:00
sebd 72e2284dd1 added methods getIds and getIdsOnly - slightly improved getIdsAndNames 2004-11-15 21:03:48 +00:00
sebd 8c5982036c added method getCount 2004-09-15 08:40:24 +00:00
sebd a63d111470 added method addDocument 2004-08-19 15:53:13 +00:00
sebd 5916eb7d07 Not ignoring exception PathUnauthorized 2004-08-12 14:05:15 +00:00
sebd d56394e071 Method parsableXpath does not fail on unparsable Xpath (hem). 2004-08-10 15:47:44 +00:00
sebd fc9cffe121 added methods getValues and parsableXpath 2004-08-09 16:59:17 +00:00
sebd ee8cd0b253 Added method getDbXmlDocument
sorted method getIdsAndNames position
2004-07-31 11:57:56 +00:00
sebd 94646f9f7f added method getIdsAndNames 2004-07-30 15:38:34 +00:00
sebd c29cf171ce If the stored element does'nt have a public name but has a method getLabel(),
then getLabel() is used as the storage name
2004-07-24 18:45:11 +00:00
sebd 72515e335a alphabetical order of methods 2004-07-24 10:24:30 +00:00
sebd 902b1f9339 added method deleteDocument 2004-07-23 16:19:15 +00:00
sebd 50a4dda6b1 "" is the minimal possible name for a document in a container 2004-07-21 13:25:47 +00:00
eraviart a24143c55e Liberty Alliance login now works (but may be a raise is not a clean way to
show that it works).
2004-07-19 22:34:24 +00:00
sebd 7c61f7981b Added a method to remove a document from its container 2004-07-17 10:16:54 +00:00
sebd dd139a249b faster code 2004-07-16 17:00:57 +00:00
sebd ab3babb69f Registering known namespaces with dbxml before runing an xpath query 2004-07-16 16:52:50 +00:00
sebd d9e8e7c4b8 Handling easyMethods arguments 2004-07-16 16:06:44 +00:00
sebd 76a22dccbc Pushing yep:defaultMode to its full potential on containers :
in config files, selects the easyMethod that should be called by default.
Does not deal with arguments yet.
2004-07-16 15:52:06 +00:00
sebd 0562ed526a Registering DbXmlNodeResult 2004-07-16 15:38:37 +00:00
sebd 7eb0c3b9a7 libxml2 thinks xmlNodes named "document" are xmlDocs (thanks Manou for the info)
Renamed "document" to "item".
2004-07-03 17:39:49 +00:00
eraviart 26e0f8af9c Now use currentStation by default. 2004-07-03 16:27:39 +00:00
sebd 1f60e865bb Still attempting to display the list of all documents in the container.
Now using a TemporaryDocument rather than a free but xpath-unfriendly Thing (looked at DirectoryHolder).
But still getting HTTP 500 due to troubles around resolution of xpath "@id".
2004-06-30 10:08:05 +00:00
eraviart 2ddd370e5f Once upon a time, a minor god decided to use the term "stylesheet".
Then God (The True and Only God) sayd : "Use XSL".
Later God decided: "Use XSLT".
And now He says "Use SiteXslt".

In God I trust, so I obey.
2004-06-29 20:02:53 +00:00
sebd e323b5d21a Displays of the contents of a DB XML container
(the list of documents is the result of query "/*")
The description does not work yet.
2004-06-29 09:18:04 +00:00
eraviart c70f6fdee6 When XSLT is missing, the output can now be in XML instead of HTML.
Don't fail when an XML element has no namespace.

Repaired some dbxml namespace handling.

Repaired dbxmltest links.

Improved dbxmltest access rights.
2004-06-28 16:02:27 +00:00
sebd 1244e57abc Introducing boolean AbstractStation.isUriDirectory
Set in stations that should be considered as bases for relative URIs, such as directories.
2004-06-28 14:02:21 +00:00
eraviart 21e2ef69c3 Now accepts HTML files that are not XHTML or are invalids (use TidyLib).
Better catching of libxml2 parse errors.
2004-06-27 17:28:13 +00:00
eraviart 9d0d9a7144 XInclude HREFs can now be relative.
Still trying to minimize namespaces declarations.
2004-06-26 11:44:15 +00:00
eraviart 9fbe86c249 generateHtml -> generateXml.
Repaired URI construction.
2004-06-25 19:25:02 +00:00
sebd 563c81fbf3 fixed getPublicName and outputHttpSource mimetype 2004-06-24 20:44:46 +00:00
sebd 244e76d2a9 Some factorisation.
New alternative method for querying a container (smaller memory requirement).
New close() method.
2004-06-24 11:19:34 +00:00
eraviart 6c28c33c88 Simplified generation of field names and ids in forms.
[Adhes doesn't work yet.]
2004-06-18 10:16:37 +00:00
eraviart 5e14c395ce Repaired ids and field names inside embedded components.
[But a big bug in XForms "repeat" remains.]

Added a context parameter to several methods.

100 columns.
2004-06-17 22:47:40 +00:00
eraviart 474116c214 Improved HTTP authentication logout trick: a 401 Access Unauthorized status
is still sent but with the real HTML page instead of the error message. So
the user sees the good page after he presses the cancel button.

Added a parameter "station" to outputData.
2004-06-12 16:18:50 +00:00
eraviart 9a322f3053 Repaired DBXML support and dbxmltest vhost. 2004-06-11 16:56:27 +00:00
eraviart 15e6c814ec Reworked the walk methods, so their behaviour is more homogeneous.
Repaired mechanism managing the "New XXX" buttons. See
abracadabra/_config.xml.
2004-06-08 22:49:56 +00:00
eraviart 0f8ea2a74c Corrected walk. For example getDescription now returns None when
descriptions directory doesn't exist (instead of returning the root
directory holder).
2004-06-08 08:33:18 +00:00
sebd f4dbca6147 Debugged obvious things 2004-06-07 07:31:10 +00:00
eraviart cc3f616d0b Removed walkToDefault method. 2004-06-06 18:32:58 +00:00
eraviart f90381ec89 Removed all occurrences of walkToEvaluation.
Replaced all walkToAction methods by Easy Functions definitions.
2004-06-06 14:06:26 +00:00
eraviart 102525f8b1 Bugs hunting: the element does no more walk by default to its description.
Repairing descriptions, so that edit page displays correctly.
2004-06-06 09:03:26 +00:00