Commit graph

956 commits

Author SHA1 Message Date
hns
6353177656 Optimized the check for updates.
Typemanager is now run in an experimental mode without
its own thread and being called before a request is evaluated.
2001-08-29 18:03:54 +00:00
hns
d6e09cae8c Moved files to separate helma/scripting and helma/scripting/fesi packages 2001-08-29 18:01:58 +00:00
hns
58b9422d2e wrote some comments 2001-08-29 17:57:40 +00:00
hns
e0c9630523 must catch Exception 2001-08-27 17:56:27 +00:00
hns
02dbec2d07 Do the "catch Throwable" at the right spot so we can generate
an error message if the action is called.
2001-08-27 17:55:25 +00:00
hns
a0715302ae HTTP parameters with multiple values are now translated to
an array instead of just setting the first value
2001-08-27 17:37:23 +00:00
hns
c6d3edf6ae updated to new package of main Server class 2001-08-27 16:50:20 +00:00
hns
232f1b37bd initial check in of new helma.main package 2001-08-27 16:47:43 +00:00
hns
4dea0349e2 removed or updated references to the old Server class. 2001-08-27 16:35:04 +00:00
hns
2bc06b199e The main Server class was moved to the helma.main package, this
class remains solely as a very thin redirector to keep backwards
compatibility.
2001-08-27 16:33:40 +00:00
hns
1f3373a9e0 Moved files to helma.main package. 2001-08-27 16:32:31 +00:00
hns
2cb4d8dbc3 removed obsolite IServer import statement. 2001-08-27 16:31:41 +00:00
hns
5d50031fe4 added comments, introduced XML-RPC handler
name settable via app-properties.
2001-08-27 16:31:25 +00:00
hns
9d287e9ddd updated to new location of main Server class 2001-08-27 16:30:09 +00:00
hns
027568007e Fixed multipart messages. 2001-08-27 16:29:47 +00:00
hns
37a50b548f fixed bug that broke user.cache. 2001-08-25 20:33:06 +00:00
hns
be10ec1afc fixed bug that broke virtual nodes 2001-08-25 20:18:28 +00:00
hns
44ce1c2419 removed obsolete code 2001-08-25 20:00:38 +00:00
hns
974407a516 lazy creation of cache node.
reintroduced created and lastmodified properities as
__internal__ props.
2001-08-25 20:00:23 +00:00
hns
ca54d3fccc minor documentation enhancement 2001-08-25 19:59:07 +00:00
hns
877405495d getNode getProperty now does the right thing
for getting collection nodes on transient nodes
2001-08-25 19:58:26 +00:00
hns
d3bc403bd4 use proper mapping for collections on transient nodes 2001-08-25 19:57:29 +00:00
hns
b21d575fdf allow ids to be called from transient nodes.
introduced simpler internal properties: _id and _parent.
removed support for the old created and lastmodified properties.
2001-08-25 17:47:29 +00:00
hns
fac98332c9 allow IDs to be gotten from transient nodes. If getID is called on
a transient node, an ID is generated from the node manager. if
the node is later persisted, the same id will be used.
2001-08-25 17:46:00 +00:00
hns
43012cfe1d uncommented code that check node into
node cache in setNode().
2001-08-25 16:10:54 +00:00
hns
abed17f2e9 implemented containsMacro() function 2001-08-25 16:10:03 +00:00
hns
6e65ecd242 removed the check that prevented transient
nodes from obtaining virtual collection nodes.
2001-08-24 15:19:34 +00:00
hns
fd9691084e take over filter if subnodes are properties. 2001-08-23 19:37:12 +00:00
hns
3cc3e4b534 add some getter methods for code accessing
this class from other packages
2001-08-23 14:12:31 +00:00
hns
e466423826 use getter methods on relation, since the fields are
no longer defined as transient
2001-08-23 14:11:52 +00:00
hns
6a1aaaea58 Get serious about skin caching 2001-08-23 14:02:56 +00:00
hns
c2605e72b6 Catch every Throwable in update methods, since
FESI may throw Errors at us
2001-08-23 14:02:12 +00:00
hns
39a561ff2b use Relation.maxSize for getNodes and countNodes (untested) 2001-08-23 14:00:30 +00:00
hns
cf4b947efe use raw JDBC Api in getNodeIDs and check for maxSize field in Relation 2001-08-22 14:49:29 +00:00
hns
9f3fae9b2f new feature: maxSize to specify maxamal size of a collection. 2001-08-22 14:43:48 +00:00
hns
1912cdc6ea Do not set constraints for groupby-constraints, since we
don't know if it is the base node or a group node we are being
added to.
2001-08-22 12:24:01 +00:00
hns
3b0be3f7e6 setConstraint() should now set the right object references, and it
should be prudent not to overwrite persistent references with
transient ones.
2001-08-22 11:43:34 +00:00
hns
8f39946692 Fix bug where object prototypes where stored by lower case
prototype name instead of as-is prototype name.
some cleanup of prototype object handling.
2001-08-22 11:42:18 +00:00
hns
c4fa72c66e setConstraints now is safe for transient nodes, since it uses
a node property instead of the node id to establish object references.
2001-08-22 01:16:19 +00:00
hns
35ac6602bc rearranged addNode method 2001-08-22 01:15:00 +00:00
hns
50fa6c0e73 do contains() check for group-by nodes, constraint check for database nodes
in getNode().
2001-08-22 00:12:20 +00:00
hns
af41c07c8b don't request write lock in constructor for relational objects 2001-08-22 00:11:12 +00:00
hns
0ea389b663 in getNodeByRelation, check for manually set subnodeRelation
for additional constraints.
2001-08-21 22:44:30 +00:00
hns
eb0c453cc0 for propertiesAreSubnodes, take over subnode constraints to
property relation.
2001-08-21 22:43:51 +00:00
hns
9a4fcd1b33 don't include order from type.properties if
where clause was set via manual subnoderelation.
2001-08-21 22:07:08 +00:00
hns
3ce3e7f54a Fixed SQL Select statement generation. The method that
generates the statements in the Relation class now takes
two additional parameters and is more flexible.
2001-08-21 21:44:52 +00:00
hns
02fb01a55e getNodeIDs always outputs its select statement if logsql=true.
Previously the statement was not logged if it contained an error.
2001-08-21 14:10:47 +00:00
hns
083bd0fe80 removed property backlinks.
subnode backlinks are only created if the
node containing the current node is not
transient.
2001-08-21 13:42:57 +00:00
hns
93b7f729b8 removed unused code
removed backlinks for nodes used as property values -
properties will simply return null once a node used as value
has been deleted.
2001-08-21 13:40:54 +00:00
hns
1c66a640a0 fixed /user and /users URL mappings 2001-08-21 13:36:02 +00:00