sebd
489e35aea3
Support for DB XML 2.
2005-05-09 14:49:51 +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
3e3e524358
Added support for module-level __init__ and __del__ methods.
...
Useful to open and close persistent databases.
2005-05-09 14:34:54 +00:00
sebd
17614641a6
libxml2 version fixed in sarge
2005-02-17 09:22:43 +00:00
sebd
31efd68f6c
Added a fixme comment in method Control.isRequired
2005-02-11 16:26:05 +00:00
sebd
70489eeef3
Method getDescription looks for a description related to the element Type.
...
Added Element methods prefixFieldNames, getValue, getValueList.
Added ElementFeature attributes typeName and typeNamespace.
Added modules.getRegisteredElementClasses and modules.registerElementType
2005-02-11 16:23:30 +00:00
sebd
62c8a49ead
Added Schema methods to seek attributeGroup and group nodes.
...
Added Type method getExtensionBaseType.
Added Type methods to get lists of attribute, attributeGroup, element and group nodes.
Added Type method getDescriptionAbsolutePath to be used to define a default description for all elements of a given type.
2005-02-11 16:17:58 +00:00
fpeters
4daea9f3f0
extraneous :
2005-02-08 19:37:30 +00:00
sebd
76c18b110a
Recent libxml2 required, and now in Sid.
2005-02-08 13:22:20 +00:00
fpeters
f092fe5398
removed previous code I added to get away from bad referrers; moved early.
2005-02-04 17:19:12 +00:00
fpeters
3c5d75c33d
fall back correctly on creating namespace
2005-02-04 17:18:46 +00:00
fpeters
fa3f859293
throw away bad referrers; and don't log them in access.log
2005-02-04 17:10:52 +00:00
fpeters
951697e0ee
allows <badReferrers>
...
<host>http://toto </host>
<host>http://tata </host>
</badReferrers> in configuration files; those referrers will get a 403
(special dedicace to http://bockvan.blogspot.com/ and http://jpalanco.blogspot.com/ )
2005-01-28 00:20:12 +00:00
sebd
e5cda5cc10
Avoids appending twice a namespace defined in the config file.
2005-01-27 08:28:19 +00:00
sebd
13980f8622
undoing last commit (wrong move)
2005-01-26 15:29:15 +00:00
sebd
e712606d52
target file path from a catalog is allowed not to start with file://
2005-01-26 12:09:14 +00:00
sebd
f236ed7e2f
Expression currently requires libxml2 packages from experimental.
2005-01-23 20:10:58 +00:00
sebd
543b999cd8
Added schema attribute elementFormDefault="qualified", so that
...
Expression's own generated elements (such as Http404) fit their schemas.
2005-01-23 17:58:46 +00:00
sebd
4372c60500
Validates elements against their schemas while in debug mode.
2005-01-21 15:02:51 +00:00
sebd
6076f1d81e
Renamed validateDoc to validateDocument.
...
ValidateDocument now returns True on validation pass.
Added method validateElement.
2005-01-21 14:59:24 +00:00
sebd
89902f54aa
Ensures the schema is valid on initialisation.
...
Added method validateDoc.
Added support for xsd:import.
Added method getTargetNamespace and fixed method getTypeInNode so that amedes:User can inherit from yep:User.
More changes coming.
2005-01-21 13:57:18 +00:00
sebd
f22b7455a8
Right syntax, but commented out because of current limitations in libxml2
2005-01-20 19:16:45 +00:00
sebd
722ccd6523
An email address field.
2005-01-20 19:16:03 +00:00
sebd
acd2ac90ee
"targetNameSpace" -> "targetNamespace", attributes after sequences and other slight modifications so libxml2 can validate the schemas.
2005-01-20 16:42:29 +00:00
sebd
7d17d02938
Grouped Identity, Person and Session in the same Schema document.
...
This is to avoid recursive includes.
libxml2 does not handle recursive includes properly yet.
"targetNameSpace" -> "targetNamespace" so libxml2 can validate the schemas.
2005-01-20 16:41:09 +00:00
fpeters
fba7a4e7cc
allows to override charset for "text/*" mimetype; as in:
...
<inode mimeType="text/html">
<pythonClass>expression.core.dataholders.StaticDataHolder</pythonClass>
<charset>iso-8859-1</charset>
</inode>
2005-01-20 10:42:02 +00:00
fpeters
b5eb4f7672
don't barf on directories with a dot (like api-reference-0.6)
2005-01-19 15:06:44 +00:00
fpeters
e1c23d2ffc
added miniredirect module
2005-01-17 12:42:40 +00:00
fpeters
f68a793bbf
added http 301 status code support
2005-01-17 12:42:19 +00:00
sebd
56f4cd3ac9
dateTime inputs show time
2005-01-15 06:37:42 +00:00
sebd
36cc572d40
bugfix in method convertSubmissionValueToContent of type dateTime
2005-01-14 16:03:23 +00:00
sebd
7ab351bad0
Added MIME type for ".cvs".
2005-01-07 13:24:19 +00:00
sebd
a7e99d628e
Setting the actionButtons id attribute so they can be easily driven from javascript.
2005-01-07 09:20:38 +00:00
sebd
078b0d7528
getDescriptionHolder caches the holders again. Problems are fixed downstream.
2005-01-07 09:16:51 +00:00
sebd
f7e016379b
Made Select and Select1 easier to subclass.
2005-01-06 16:05:05 +00:00
sebd
aea9500d6e
Added a "trace function" mecanism.
2005-01-05 21:15:53 +00:00
sebd
8ed9101d79
A root element must be considered as a directory while calculating relative URLs.
2005-01-05 20:57:40 +00:00
sebd
f1dccfbee7
Bugfix. One can login again.
2005-01-04 21:58:53 +00:00
sebd
c1b1b4dc49
Better handling of ActionButtons (no more crashing on absence of it).
...
ActionButtons can be anywhere in the page (not only in the actionButtonsBar).
sendHttpAnswer sends the next page, falling back on a redirect if that fails.
2005-01-04 21:52:29 +00:00
sebd
2e470e32e9
Setting HTTP header "Content-Location" whenever replying in HTML.
...
This makes it possible to reply with another station from the one that was posted to, and keep the web browser follow what's happening.
2005-01-04 21:41:25 +00:00
sebd
ab980ccb3f
Added method getPresence.
2005-01-04 06:08:49 +00:00
sebd
c499a20c19
Added method getComputedId and hook method checkData in ActionButton.
2005-01-04 06:00:38 +00:00
sebd
9c753f8e07
Improved ActionButton.
...
Made Page aware of it.
Prevented problems this change could involve.
Instead of overriding Page, consider overriding ActionButton.
In most cases it results in simpler and more readable code.
2005-01-03 15:14:42 +00:00
sebd
e982abea88
shorter info log lines
2005-01-03 08:54:04 +00:00
sebd
4c3e377517
email must be a valid email address
2005-01-01 15:28:11 +00:00
sebd
0532530d06
not caching description holders anymore, so controls can dynamically modify themselves
2004-12-21 16:50:56 +00:00
sebd
7b9b523cb7
Compiles.
...
sorry
^_^
2004-12-20 09:59:19 +00:00
sebd
61dcde4d8a
documentation
...
some code simplified - no major change
2004-12-20 09:57:48 +00:00
sebd
36f0b53aac
factorizing code in a hookable method ComponentWidget.getDataComponent()
2004-12-17 21:31:45 +00:00
sebd
da1a0ce524
allow using args in "objectURI/pageName/args"
2004-12-14 10:36:39 +00:00