Commit graph

522 commits

Author SHA1 Message Date
hns
33c9f4cc8c Key is now an interface with two implementing classes:
DbKey for primary database keys, and SyntheticKey (might be
renamed to "DerivedKey" for virtual nodes, groupby nodes, and
nodes accessed via a property name instead of the primary key.
SyntheticKey consist of a parent key and a (property) name to
derive the object from the parent object.
2001-08-03 14:44:00 +00:00
hns
2b4dec4e34 tweaked getStorageName, no special treatment for hopobject is required. 2001-08-03 14:40:30 +00:00
hns
2baa845dfe updated the complete helma.framework.core package to use
NodeHandle instead of ID/DbMapping.
2001-08-03 14:39:17 +00:00
hns
aba59483ee Use helma.util.MimePart instead of helma.objectmodel.Node for
file uploads
2001-08-01 00:13:36 +00:00
hns
8d75f51be1 removed content related methods (file uploads are now handled
by helma.util.MimePart) and all the consistency checks, which were
simply not necessary for transient structures.
2001-08-01 00:12:26 +00:00
hns
d477e80128 introduced boolean "virtual" field, though it's not used yet. 2001-08-01 00:10:52 +00:00
hns
94e086dfd8 Fixed case of misspelled datasource. This should now throw
an error when trying to get a connection instead of using the
internal db instead.
2001-08-01 00:10:19 +00:00
hns
7ef38c647c moved Node constants into a separate interface which we
inherit
2001-08-01 00:09:20 +00:00
hns
c9068187c8 new method that fetches a node from a Key object. 2001-08-01 00:08:07 +00:00
hns
7231ec6224 very carefully introduced use of NodeHandle instead of key+dbmapping 2001-08-01 00:07:31 +00:00
hns
6ce443b2ed getting an object via key now directly takes a Key object
instead of the key string and dbmapping.
2001-08-01 00:06:41 +00:00
hns
a62cad8555 removed support for conversion from other implementations of
helma.objectmodel.INode. Removed methods that aren't used anymore.
2001-08-01 00:05:52 +00:00
hns
829ce545b7 removed old setContent/getContent garbage from Node.
Some reformatting in ESNode.
2001-08-01 00:04:04 +00:00
hns
878dbf644f renamed updateNode to updateNodeFromUser to make it more
clear what it does.
2001-08-01 00:03:06 +00:00
hns
2f953f83df Moved creation of NodeManager past the initialization of
root and userroot mappings
2001-08-01 00:02:30 +00:00
hns
429b647aa5 all HopObjects are now instantiated directly with the
persistent capable class, i.e. helma.objectmodel.db.Server.
2001-08-01 00:01:44 +00:00
hns
d9b92c75e9 also add objects without prototype to path array. 2001-08-01 00:00:45 +00:00
hns
bd0441cda5 switched from Node to dedicated MimePart class and admit
that addPart() is broken
2001-07-31 23:59:25 +00:00
hns
171d615a9f added utility writeln() function that appends a "<br>" to everything.
I know it's not XML, but it's handy for debugging.
2001-07-31 23:58:28 +00:00
hns
7086d762a2 cleaned up handling of file upload limit 2001-07-31 22:39:06 +00:00
hns
a8b5c39105 removed import of helma.objectmodel.Node 2001-07-31 22:38:49 +00:00
hns
44f7947798 Moved Node state constants to separate interface so they can be
used more easily by different classes
2001-07-31 22:36:41 +00:00
hns
a283adba4a *** empty log message *** 2001-07-31 22:34:28 +00:00
hns
2b97e4dec2 new mechanism for safe references to a node 2001-07-31 22:01:39 +00:00
hns
08867be3ea Finally moved MIME stuff out of helma.objectmodel.Node 2001-07-31 21:59:51 +00:00
hns
bb90831541 also use xxx.filter in groupby nodes. 2001-07-30 16:07:49 +00:00
hns
6b8424f61e implemented _subnodes.filter to specify additional static constraints
on subnode relations in type.properties
2001-07-30 15:33:45 +00:00
hns
07fa89f251 fixed stupid null baseURI bug 2001-07-30 01:42:05 +00:00
hns
0beed82331 hide session id from user node name 2001-07-30 01:41:45 +00:00
hns
65feddbf32 fixed bug where DbMapping wasn't set correctly for anonymous users 2001-07-30 00:27:50 +00:00
hns
94c4997e01 implemented sandbox for script-generated user level skins 2001-07-30 00:04:07 +00:00
hns
33add5c06b rewrote the ESNode management for users. ESUser is now used
*only* for active users (sessions), and each session has its own
ESUser wrapper, while the node within may be the same (if
both sessions are logged in as the same user.
2001-07-29 22:59:51 +00:00
hns
cd6ee8ccbf some generalization in the Cache Replicator. Not finished,
but should be usable.
2001-07-29 20:12:42 +00:00
hns
f5923016c6 fixed aggressive loading and caching for virtual subnodes (works)
and groupby nodes (is ignored).
2001-07-29 20:11:28 +00:00
hns
50b69b6958 cache replication now has its own interface 2001-07-29 20:10:13 +00:00
hns
285bc06a7f moved cache replication to its own remote interface 2001-07-29 20:09:38 +00:00
hns
6ab83c5676 always set a decent name for relational nodes ("prototype id"), and
always get the href of user objects right.
2001-07-27 13:37:22 +00:00
hns
7eddb2e9c1 href skin is now searched in object path of the object on which
href was invoked, not in URL path of the request.
2001-07-27 13:36:23 +00:00
hns
cb6d350588 trim href rendered by skin to cut newline and space chars 2001-07-26 17:59:49 +00:00
hns
dbee94cdd4 fixed a rather nasty bug in groupby subnode relations, introduced yesterday. 2001-07-26 17:40:25 +00:00
hns
d7677773c5 fixed a bug in the href/skin code, or actually wrote a quick workaround 2001-07-26 15:13:05 +00:00
hns
a041b8ec78 completely got rid of getHref function in INode, just using getUrl from now on.
added optional root prototype name for getUrl.
2001-07-26 14:46:30 +00:00
hns
1be9b1687b removed local reval field from all function classes
added href postprocessing with skin to NodeHref
2001-07-26 14:45:02 +00:00
hns
5e04d833f1 switched to new href() syntax,
fixed bug in user.register where the db field name was used instead of the
corresponding property name
2001-07-26 14:44:17 +00:00
hns
45eabd9fca quick fix for base class name, should now also work for non-relational
mappings (checks for "hopobject" prototype name)
2001-07-25 16:46:00 +00:00
hns
8ab24c2d41 * renamed filter to subnoderelation to free filter for future use
* added groupby.prototype
* possibly cleaned up a bug where relation properties were not properly inherited
when an explicit subnoderelation was specified on a virtual node in the type properties.
2001-07-25 16:45:13 +00:00
hns
1ca8ff7363 * added check if prototype exists
* set prototype on groupby node, if specified in type.properties
2001-07-25 16:43:32 +00:00
hns
e2390da037 replaced getFilter with getSubnodeRelation in Relation 2001-07-25 16:42:50 +00:00
hns
5e00718453 support different encodings for macros handled by param, request and response 2001-07-25 15:55:52 +00:00
hns
bfd3c0ae6a first implementation of inheritable data mappings 2001-07-23 16:48:28 +00:00