Commit graph

  • b027c74509 use the getLogger() method instead of the Logger constructor, which is now private hns 2001-09-03 13:00:49 +00:00
  • 6cdad2233f moved to helma.scripting.fesi.extensions package hns 2001-08-31 16:02:48 +00:00
  • b00f663f47 use application's event logger for error messages instead of the one from helma.main.Server. hns 2001-08-31 15:54:53 +00:00
  • 29943bd3e9 initialize useTransactions to true. getLogger is now proteced and should only be used by classes in the helma.main package. hns 2001-08-31 15:47:40 +00:00
  • 4738cc516e Make getGroupbyMapping synchronized to prevent race conditions. hns 2001-08-31 15:46:19 +00:00
  • 9646764d5f set logger in LRU cache to applications event logger. hns 2001-08-31 15:45:45 +00:00
  • 0b35d05b2b Logger now uses only one Thread for all instances. Instead of a Vector, a Linked List is used as log buffer, which is much better for removing items at the top of the list. hns 2001-08-31 15:44:50 +00:00
  • a3074265e4 CacheMap now has an optional Logger instance to which cache rotation messages are logged. hns 2001-08-31 15:43:31 +00:00
  • 858f5abdbe simplified log file management, close log files when application is shut down. hns 2001-08-31 15:42:33 +00:00
  • bbc2a61160 Just replaced HOP by Helma hns 2001-08-31 15:42:03 +00:00
  • bb3ab86969 moved initRequestEvaluator beneath the type manager check. hns 2001-08-31 15:41:45 +00:00
  • 4ae884c47e initRequestEvaluator is not synchronized anymore. This *may* lead to race conditions with the updates of the Prototypes functions, actions etc. Gotta investigate more into this. hns 2001-08-31 15:40:46 +00:00
  • 4da2834955 moved from helma.mime to helma.util.mime package to reduce number of top level packages. hns 2001-08-31 12:06:15 +00:00
  • 24e8ef6b1e adapted import statement from helma.mime to helma.util.mime. hns 2001-08-31 11:53:47 +00:00
  • 00fe000d78 Never set a string array instead of a string HTTP parameter, but if more than one value is present, additionally set an array parameter with the name paramname_array (i.e. _array appended to the parameter name).. hns 2001-08-30 22:28:46 +00:00
  • 4cd1f12700 removed old obsolete check for "prototype" in some user method hns 2001-08-30 22:26:54 +00:00
  • cb388203d2 Added method that checks for storage compatibility between DbMappings. hns 2001-08-30 22:25:10 +00:00
  • b931f57e42 fix bug where node was registered with wrong key. check for storage compatibility instead of equality in setNode(). hns 2001-08-30 22:24:38 +00:00
  • 244e7ba779 Repaired brain-dead bug where ESValue was checked for instance of IPathElement instead of ESNode hns 2001-08-30 20:09:20 +00:00
  • e6cc8162d0 check for null in Property.getStringValue for Java object property values. hns 2001-08-30 17:59:51 +00:00
  • e787abefe7 check for undefined in putProperty. hns 2001-08-30 17:56:40 +00:00
  • e7f91063fb commented out debugging msg hns 2001-08-30 17:21:46 +00:00
  • 94201d2a8b adapted to Applications new dual init() and start() method scheme hns 2001-08-30 12:06:26 +00:00
  • 1367116bf1 Everything works again, thanks to the application object exposing everything through getters. hns 2001-08-30 12:05:08 +00:00
  • 8b9722c7cb further tweaking hns 2001-08-30 12:04:39 +00:00
  • 07aef3dff7 internal function calls are only tried if the target object is not the global object or if the global function is defined. hns 2001-08-30 12:04:19 +00:00
  • ddb7ec49a4 created separate init() and start() methods, wrote lots of thread state getters to make this accessible from other packages. hns 2001-08-30 12:03:28 +00:00
  • 9734e347a9 changed check for equals() from ESNode to IPathElement hns 2001-08-29 18:17:44 +00:00
  • 936a9de0e8 moved classes here from helma.framework.* packages. hns 2001-08-29 18:06:37 +00:00
  • dd3cbc45e9 Adapted to other classes moving to the helma.scripting packages hns 2001-08-29 18:04:30 +00:00
  • 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. hns 2001-08-29 18:03:54 +00:00
  • d6e09cae8c Moved files to separate helma/scripting and helma/scripting/fesi packages hns 2001-08-29 18:01:58 +00:00
  • 58b9422d2e wrote some comments hns 2001-08-29 17:57:40 +00:00
  • e0c9630523 must catch Exception hns 2001-08-27 17:56:27 +00:00
  • 02dbec2d07 Do the "catch Throwable" at the right spot so we can generate an error message if the action is called. hns 2001-08-27 17:55:25 +00:00
  • a0715302ae HTTP parameters with multiple values are now translated to an array instead of just setting the first value hns 2001-08-27 17:37:23 +00:00
  • c6d3edf6ae updated to new package of main Server class hns 2001-08-27 16:50:20 +00:00
  • 232f1b37bd initial check in of new helma.main package hns 2001-08-27 16:47:43 +00:00
  • 4dea0349e2 removed or updated references to the old Server class. hns 2001-08-27 16:35:04 +00:00
  • 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. hns 2001-08-27 16:33:40 +00:00
  • 1f3373a9e0 Moved files to helma.main package. hns 2001-08-27 16:32:31 +00:00
  • 2cb4d8dbc3 removed obsolite IServer import statement. hns 2001-08-27 16:31:41 +00:00
  • 5d50031fe4 added comments, introduced XML-RPC handler name settable via app-properties. hns 2001-08-27 16:31:25 +00:00
  • 9d287e9ddd updated to new location of main Server class hns 2001-08-27 16:30:09 +00:00
  • 027568007e Fixed multipart messages. hns 2001-08-27 16:29:47 +00:00
  • 37a50b548f fixed bug that broke user.cache. hns 2001-08-25 20:33:06 +00:00
  • be10ec1afc fixed bug that broke virtual nodes hns 2001-08-25 20:18:28 +00:00
  • 44ce1c2419 removed obsolete code hns 2001-08-25 20:00:38 +00:00
  • 974407a516 lazy creation of cache node. reintroduced created and lastmodified properities as __internal__ props. hns 2001-08-25 20:00:23 +00:00
  • ca54d3fccc minor documentation enhancement hns 2001-08-25 19:59:07 +00:00
  • 877405495d getNode getProperty now does the right thing for getting collection nodes on transient nodes hns 2001-08-25 19:58:26 +00:00
  • d3bc403bd4 use proper mapping for collections on transient nodes hns 2001-08-25 19:57:29 +00:00
  • 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. hns 2001-08-25 17:47:29 +00:00
  • 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. hns 2001-08-25 17:46:00 +00:00
  • 43012cfe1d uncommented code that check node into node cache in setNode(). hns 2001-08-25 16:10:54 +00:00
  • abed17f2e9 implemented containsMacro() function hns 2001-08-25 16:10:03 +00:00
  • 6e65ecd242 removed the check that prevented transient nodes from obtaining virtual collection nodes. hns 2001-08-24 15:19:34 +00:00
  • fd9691084e take over filter if subnodes are properties. hns 2001-08-23 19:37:12 +00:00
  • 3cc3e4b534 add some getter methods for code accessing this class from other packages hns 2001-08-23 14:12:31 +00:00
  • e466423826 use getter methods on relation, since the fields are no longer defined as transient hns 2001-08-23 14:11:52 +00:00
  • 6a1aaaea58 Get serious about skin caching hns 2001-08-23 14:02:56 +00:00
  • c2605e72b6 Catch every Throwable in update methods, since FESI may throw Errors at us hns 2001-08-23 14:02:12 +00:00
  • 39a561ff2b use Relation.maxSize for getNodes and countNodes (untested) hns 2001-08-23 14:00:30 +00:00
  • cf4b947efe use raw JDBC Api in getNodeIDs and check for maxSize field in Relation hns 2001-08-22 14:49:29 +00:00
  • 9f3fae9b2f new feature: maxSize to specify maxamal size of a collection. hns 2001-08-22 14:43:48 +00:00
  • 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. hns 2001-08-22 12:24:01 +00:00
  • 3b0be3f7e6 setConstraint() should now set the right object references, and it should be prudent not to overwrite persistent references with transient ones. hns 2001-08-22 11:43:34 +00:00
  • 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. hns 2001-08-22 11:42:18 +00:00
  • c4fa72c66e setConstraints now is safe for transient nodes, since it uses a node property instead of the node id to establish object references. hns 2001-08-22 01:16:19 +00:00
  • 35ac6602bc rearranged addNode method hns 2001-08-22 01:15:00 +00:00
  • 50fa6c0e73 do contains() check for group-by nodes, constraint check for database nodes in getNode(). hns 2001-08-22 00:12:20 +00:00
  • af41c07c8b don't request write lock in constructor for relational objects hns 2001-08-22 00:11:12 +00:00
  • 0ea389b663 in getNodeByRelation, check for manually set subnodeRelation for additional constraints. hns 2001-08-21 22:44:30 +00:00
  • eb0c453cc0 for propertiesAreSubnodes, take over subnode constraints to property relation. hns 2001-08-21 22:43:51 +00:00
  • 9a4fcd1b33 don't include order from type.properties if where clause was set via manual subnoderelation. hns 2001-08-21 22:07:08 +00:00
  • 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. hns 2001-08-21 21:44:52 +00:00
  • 02fb01a55e getNodeIDs always outputs its select statement if logsql=true. Previously the statement was not logged if it contained an error. hns 2001-08-21 14:10:47 +00:00
  • 083bd0fe80 removed property backlinks. subnode backlinks are only created if the node containing the current node is not transient. hns 2001-08-21 13:42:57 +00:00
  • 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. hns 2001-08-21 13:40:54 +00:00
  • 1c66a640a0 fixed /user and /users URL mappings hns 2001-08-21 13:36:02 +00:00
  • 1ac901538b removed unused code hns 2001-08-21 13:35:14 +00:00
  • 78af6c8709 removed import statement for helma.objectmodel.Node hns 2001-08-20 15:18:51 +00:00
  • ed5784800e updated import statement for DbSource hns 2001-08-20 15:18:31 +00:00
  • cf524fa87c removed unnecessary import statements hns 2001-08-20 15:18:03 +00:00
  • f35dab4eeb init methods in this package now call super.init() as they should to initialize default stuff. hns 2001-08-20 14:58:03 +00:00
  • e0f030a63f updated to reflect and use new powerful Relation class. hns 2001-08-20 14:56:25 +00:00
  • 25c76b621e * moved SQL generation to Relation class. * DbKey is againonly used for primary keys. * The Relation class is now able to check its constraints on a parent node and a child node which was found in cache. hns 2001-08-20 14:55:26 +00:00
  • 96cad06996 added import statement for SystemProperties hns 2001-08-20 14:53:12 +00:00
  • 225751ec18 changes to reflact renaming helma.objectmodel.Node to TransientNode hns 2001-08-20 14:49:55 +00:00
  • ea444d4f4a added import statement for DbMapping hns 2001-08-20 14:49:16 +00:00
  • 4174c3ebbd renamed from Node to TransientNode hns 2001-08-20 14:48:38 +00:00
  • c977631ec9 moved from helma.objectmodel to helma.objectmodel.db package hns 2001-08-20 14:46:58 +00:00
  • f0151b149c moved to helma.util package from helma.objectmodel hns 2001-08-20 14:46:04 +00:00
  • b098b8fc1c moved to helma.util package hns 2001-08-20 14:45:26 +00:00
  • 6726baa5a7 moved to helma.objectmodel.db Package hns 2001-08-20 14:44:09 +00:00
  • c43cc32f5e new createImage method for creating an image from an existing image plus an image filter. Kicked out obsolete and unimplemented methods. hns 2001-08-20 14:43:08 +00:00
  • 2a3cfc960c New Image constructor allows to build an image object from an existing image and an instance of java.awt.image.ImageFilter. hns 2001-08-20 14:41:31 +00:00
  • f3b05ef897 small changes to reflect moving SystemProperties to the helma.util package and renaming helma.objectmodel.Node to helma.objectmodel.TransientNode. hns 2001-08-20 14:40:30 +00:00
  • 062b3a4e5f changed import statement for SystemProperties to new helma.util package hns 2001-08-20 14:38:51 +00:00
  • 96abb621ec adopted input statement - SystemProperties moved to helma.util. hns 2001-08-20 14:08:29 +00:00