Commit graph

  • f443c70916 fixed groupby.prototype hns 2001-08-10 12:36:16 +00:00
  • 488cb46c09 Added Stefan Pollach's magnificent helma.doc package hns 2001-08-10 11:28:37 +00:00
  • 57eecf99be cleaned up, arranged paths, added libs; package building should be much easier now. started with ftp support (not working yet) p3k 2001-08-08 11:28:51 +00:00
  • 20af506b75 overwrite hashCode to depend on prototype make prototype switchable for prototypes with same storage hns 2001-08-08 10:57:47 +00:00
  • 9d1b1d4d6f mm.mysql-2.0.4-bin.jar from http://www.mysql.com/Downloads/Contrib p3k 2001-08-08 10:31:50 +00:00
  • 97a4b73439 removed to add it again with clean tag about version / download url p3k 2001-08-08 10:31:08 +00:00
  • 4f66882627 adopted to new DbMapping.columnNameToProperty() hns 2001-08-08 10:26:27 +00:00
  • 4a83d1390a only call internal functions if they are actually defined for the object we're calling them on. hns 2001-08-08 10:17:29 +00:00
  • d4072eed2b added support for minml.jar p3k 2001-08-08 10:17:23 +00:00
  • ebecc37c29 adopted to changes in DbMapping and Relation. Relation is now smart enough to generate queries for groupby nodes. hns 2001-08-08 10:16:43 +00:00
  • 18e3d82166 further cleaned up things around DbMapping and Relation - more to come hns 2001-08-08 10:14:24 +00:00
  • e8f3e04637 updated version string to Helma 1.2 hns 2001-08-08 10:05:51 +00:00
  • 7bfe7af100 overwrote init() in order to suppress log output hns 2001-08-08 10:05:23 +00:00
  • b8082fa589 added check for java vm version. hns 2001-08-08 09:36:25 +00:00
  • 94246ac283 disabled log output in prototype constructor hns 2001-08-08 09:23:00 +00:00
  • 55718abcc3 stupid lack-of-sleep error in previous commit hns 2001-08-05 21:50:21 +00:00
  • 3571fe1b07 avoid calling getParent on transient nodes (or nodes that are in the process of being checked into the db) hns 2001-08-05 21:47:21 +00:00
  • b185131a54 fixed getParent() for transient nodes hns 2001-08-05 21:19:58 +00:00
  • 30759aefda removed most of the log output hns 2001-08-05 19:33:01 +00:00
  • 210a4530b6 the getNode(Key) method now does the same cache consistency checks as the getNode-by-relation. This is necessary due to the introduction of secondary DbKeys - we need to check if a node is in the cache with its primary key after getting it via secondary key. hns 2001-08-05 19:31:57 +00:00
  • a22bde81ad NodeHandle is now notified when its Node switches from transient to persistent state so it doesn't have to check itself each time the node is accessed. hns 2001-08-05 19:29:55 +00:00
  • 0332e4c430 this class is now able to read old serialized versions of itself. hns 2001-08-05 19:28:44 +00:00
  • e4cbb1c5fb the server timezone is now rendered in a more userfriendly format at startup. hns 2001-08-05 19:27:22 +00:00
  • 1c33b76e85 deserialization now works with the old pre 1.2 format. fixed forward property references that point to a secondary key. hns 2001-08-05 19:25:20 +00:00
  • 8471241a88 rewrote comment to reflect that this key is not only used for virtual and groupby nodes, but also for nodes accessed via a property name hns 2001-08-05 19:23:22 +00:00
  • 889ab2dfcb fixed parsing of type.properties file removed getKeyID method hns 2001-08-05 19:22:20 +00:00
  • 318cc163d1 little change in code to determine whether an invalid dbsource has been specified. hns 2001-08-05 19:19:19 +00:00
  • 31eee7f668 added additional dbfield field for non-primary keys hns 2001-08-05 19:18:06 +00:00
  • c3236be368 set user DbMapping on new user session objects hns 2001-08-05 19:16:29 +00:00
  • 925918378d omitt null storageName in toString() method. hns 2001-08-04 11:50:38 +00:00
  • 59d49016f7 Fixed bugs related to ESNodes with transient nodes (i.e. instances of class helma.objectmodel.Node where no NodeHandle is used). The bugs were in ESNode.equals() and ESUser.logout(). hns 2001-08-04 11:49:54 +00:00
  • 6cda9fc224 Node.getSubnode() does not do a getNode() (property getter) as fallback anymore, so we have to do that explicitly in the URL path resolving code. hns 2001-08-04 11:47:36 +00:00
  • c3f4b73fe3 replaced special NullNode class with a generic Node object built with a special constructor. hns 2001-08-04 11:45:52 +00:00
  • f9386a2286 GetString now returns the foreign key for node properties. linking to something other than the primary key is probably (still) broken. hns 2001-08-04 11:41:26 +00:00
  • 157f7bba7f Completely rewrite getSubnode(). Aded isNullNode method hns 2001-08-04 11:40:24 +00:00
  • 8ef0a8c4e6 null node is now signaled by a generic node. hns 2001-08-04 11:38:43 +00:00
  • 6cd1f87d4f removed debugging output garbage hns 2001-08-03 21:03:06 +00:00
  • 2e7f98b954 made class final hns 2001-08-03 21:01:38 +00:00
  • 80efd3f5e1 also try to handle groupby nodes in getProperty hns 2001-08-03 20:59:55 +00:00
  • 4010beb3de removed hash code calculation from constructor hns 2001-08-03 20:58:25 +00:00
  • a90c945bae switched everything from the old id/mapping to the new NodeHandle references. This breaks serialization compatibility with prior versions. hns 2001-08-03 14:54:57 +00:00
  • 7bdcdcd65f increased the capabilities of the NodeManager to get nodes by key to groupby nodes. always use getNonVirtualHomeID to retrieve id of the db node a virtual or groupby node belongs to Some tweaks based on new Key schema hns 2001-08-03 14:53:42 +00:00
  • 3c0df94b17 changed Key to DbKey hns 2001-08-03 14:51:05 +00:00
  • 7310deaae6 basically removed all special case handling for node properties. just hold a handle and return its node when asked. hns 2001-08-03 14:50:40 +00:00
  • af4c3fa861 the class improved to do what it ought to do. removed NodeManager field, instead the NodeManager is passed along for calls where it is needed. hns 2001-08-03 14:49:44 +00:00
  • fb14b6755f only read in options if the relation is actually an object relation (not primitive) hns 2001-08-03 14:46:18 +00:00
  • 9d78bde488 Removed all conversion between different implementations of INode. Removed all reference checking, since we don't do garbage collection on transient nodes. hns 2001-08-03 14:45:16 +00:00
  • 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. hns 2001-08-03 14:44:00 +00:00
  • 2b4dec4e34 tweaked getStorageName, no special treatment for hopobject is required. hns 2001-08-03 14:40:30 +00:00
  • 2baa845dfe updated the complete helma.framework.core package to use NodeHandle instead of ID/DbMapping. hns 2001-08-03 14:39:17 +00:00
  • aba59483ee Use helma.util.MimePart instead of helma.objectmodel.Node for file uploads hns 2001-08-01 00:13:36 +00:00
  • 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. hns 2001-08-01 00:12:26 +00:00
  • d477e80128 introduced boolean "virtual" field, though it's not used yet. hns 2001-08-01 00:10:52 +00:00
  • 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. hns 2001-08-01 00:10:19 +00:00
  • 7ef38c647c moved Node constants into a separate interface which we inherit hns 2001-08-01 00:09:20 +00:00
  • c9068187c8 new method that fetches a node from a Key object. hns 2001-08-01 00:08:07 +00:00
  • 7231ec6224 very carefully introduced use of NodeHandle instead of key+dbmapping hns 2001-08-01 00:07:31 +00:00
  • 6ce443b2ed getting an object via key now directly takes a Key object instead of the key string and dbmapping. hns 2001-08-01 00:06:41 +00:00
  • a62cad8555 removed support for conversion from other implementations of helma.objectmodel.INode. Removed methods that aren't used anymore. hns 2001-08-01 00:05:52 +00:00
  • 829ce545b7 removed old setContent/getContent garbage from Node. Some reformatting in ESNode. hns 2001-08-01 00:04:04 +00:00
  • 878dbf644f renamed updateNode to updateNodeFromUser to make it more clear what it does. hns 2001-08-01 00:03:06 +00:00
  • 2f953f83df Moved creation of NodeManager past the initialization of root and userroot mappings hns 2001-08-01 00:02:30 +00:00
  • 429b647aa5 all HopObjects are now instantiated directly with the persistent capable class, i.e. helma.objectmodel.db.Server. hns 2001-08-01 00:01:44 +00:00
  • d9b92c75e9 also add objects without prototype to path array. hns 2001-08-01 00:00:45 +00:00
  • bd0441cda5 switched from Node to dedicated MimePart class and admit that addPart() is broken hns 2001-07-31 23:59:25 +00:00
  • 171d615a9f added utility writeln() function that appends a "<br>" to everything. I know it's not XML, but it's handy for debugging. hns 2001-07-31 23:58:28 +00:00
  • 7086d762a2 cleaned up handling of file upload limit hns 2001-07-31 22:39:06 +00:00
  • a8b5c39105 removed import of helma.objectmodel.Node hns 2001-07-31 22:38:49 +00:00
  • 44f7947798 Moved Node state constants to separate interface so they can be used more easily by different classes hns 2001-07-31 22:36:41 +00:00
  • a283adba4a *** empty log message *** hns 2001-07-31 22:34:28 +00:00
  • 2b97e4dec2 new mechanism for safe references to a node hns 2001-07-31 22:01:39 +00:00
  • 08867be3ea Finally moved MIME stuff out of helma.objectmodel.Node hns 2001-07-31 21:59:51 +00:00
  • bb90831541 also use xxx.filter in groupby nodes. hns 2001-07-30 16:07:49 +00:00
  • 6b8424f61e implemented _subnodes.filter to specify additional static constraints on subnode relations in type.properties hns 2001-07-30 15:33:45 +00:00
  • 07fa89f251 fixed stupid null baseURI bug hns 2001-07-30 01:42:05 +00:00
  • 0beed82331 hide session id from user node name hns 2001-07-30 01:41:45 +00:00
  • 65feddbf32 fixed bug where DbMapping wasn't set correctly for anonymous users hns 2001-07-30 00:27:50 +00:00
  • 94c4997e01 implemented sandbox for script-generated user level skins hns 2001-07-30 00:04:07 +00:00
  • 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. hns 2001-07-29 22:59:51 +00:00
  • cd6ee8ccbf some generalization in the Cache Replicator. Not finished, but should be usable. hns 2001-07-29 20:12:42 +00:00
  • f5923016c6 fixed aggressive loading and caching for virtual subnodes (works) and groupby nodes (is ignored). hns 2001-07-29 20:11:28 +00:00
  • 50b69b6958 cache replication now has its own interface hns 2001-07-29 20:10:13 +00:00
  • 285bc06a7f moved cache replication to its own remote interface hns 2001-07-29 20:09:38 +00:00
  • 6ab83c5676 always set a decent name for relational nodes ("prototype id"), and always get the href of user objects right. hns 2001-07-27 13:37:22 +00:00
  • 7eddb2e9c1 href skin is now searched in object path of the object on which href was invoked, not in URL path of the request. hns 2001-07-27 13:36:23 +00:00
  • cb6d350588 trim href rendered by skin to cut newline and space chars hns 2001-07-26 17:59:49 +00:00
  • dbee94cdd4 fixed a rather nasty bug in groupby subnode relations, introduced yesterday. hns 2001-07-26 17:40:25 +00:00
  • d7677773c5 fixed a bug in the href/skin code, or actually wrote a quick workaround hns 2001-07-26 15:13:05 +00:00
  • a041b8ec78 completely got rid of getHref function in INode, just using getUrl from now on. added optional root prototype name for getUrl. hns 2001-07-26 14:46:30 +00:00
  • 1be9b1687b removed local reval field from all function classes added href postprocessing with skin to NodeHref hns 2001-07-26 14:45:02 +00:00
  • 5e04d833f1 switched to new href() syntax, fixed bug in user.register where the db field name was used instead of the corresponding property name hns 2001-07-26 14:44:17 +00:00
  • 45eabd9fca quick fix for base class name, should now also work for non-relational mappings (checks for "hopobject" prototype name) hns 2001-07-25 16:46:00 +00:00
  • 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. hns 2001-07-25 16:45:13 +00:00
  • 1ca8ff7363 * added check if prototype exists * set prototype on groupby node, if specified in type.properties hns 2001-07-25 16:43:32 +00:00
  • e2390da037 replaced getFilter with getSubnodeRelation in Relation hns 2001-07-25 16:42:50 +00:00
  • 5e00718453 support different encodings for macros handled by param, request and response hns 2001-07-25 15:55:52 +00:00
  • bfd3c0ae6a first implementation of inheritable data mappings hns 2001-07-23 16:48:28 +00:00
  • b64c59dd8a First implementation of inheritable data mappings hns 2001-07-23 16:48:00 +00:00
  • 9563372c51 pretty much rewrote request path evaluation code. the global path object now also makes its elements accessible via prototype name. hns 2001-07-19 14:59:24 +00:00
  • 9952f9b161 added comments to fields, added extendsMapping for dbmapping inheritance hns 2001-07-18 13:14:34 +00:00