Commit graph

  • 541dc1e58d Added missing Acme classes hns 2001-02-09 18:17:24 +00:00
  • 1b98b7379f moved build files to own top level directory hns 2001-02-09 16:31:23 +00:00
  • 1bdff708b2 made contains() work with groupby nodes containting relational objects hns 2001-02-09 15:27:10 +00:00
  • 037ecba368 Added proxy method for getPropertyNames() hns 2001-02-08 21:03:57 +00:00
  • a129191e19 Log when a date property is set and date parsing fails hns 2001-02-08 21:03:24 +00:00
  • 33f89d80a0 Added method getPropertyNames() which is almost identical to getNodeIDs, except simpler and it returns the property names instead of the ids of the nodes. Used for getAllUsers(). hns 2001-02-08 21:02:19 +00:00
  • 231750434e differentiated between the two versions of setParent and made the one called from script "smart". added capability of listing properties mapped via a direct relational mapping, which means getAllUsers works again. hns 2001-02-08 21:01:04 +00:00
  • a31a28ea02 added zero-argument constructor hns 2001-02-08 20:58:59 +00:00
  • 9c91767abc put all the Relation constructors in try{}catch blocks. hns 2001-02-08 20:58:28 +00:00
  • cfad0969b9 when setParent was called with a second argument of null, it was delivered as string "null" hns 2001-02-08 20:57:33 +00:00
  • 223ed97251 gotten rid of userroot.properties file, finally hns 2001-02-08 20:56:42 +00:00
  • 0843826ed1 catch exception in application checker hns 2001-02-06 19:36:17 +00:00
  • 2136f712e9 print stack trace if error happens in stop app hns 2001-02-06 19:35:54 +00:00
  • 61cc0ba627 remove unnecessary import statement hns 2001-02-06 19:35:19 +00:00
  • 4719197ea7 added groupby support (actually a statical emulation thereof) for embedded database hns 2001-02-06 09:43:50 +00:00
  • 63e52f7f72 log node inserts hns 2001-02-06 09:41:51 +00:00
  • c379daf45c added groupby.order property hns 2001-02-06 09:41:19 +00:00
  • 5af80ba48b added error field, removed buggy thread exit after 1000 requests hns 2001-02-06 09:40:39 +00:00
  • 7c0b2cc9d9 added error field hns 2001-02-06 09:39:51 +00:00
  • eac9e96dee avoid calling setParent for root node ;-) hns 2001-02-01 19:11:39 +00:00
  • fbf746ed9e changed sleepycat error prefix to "Sleepycat" hns 2001-02-01 19:10:59 +00:00
  • 4b439b9d20 avoid notfound message if error template wasnt found and display original error message instead. hns 2001-02-01 19:10:13 +00:00
  • b78f45ddaf use explicit flag for stopped app and throw exception to the servlet so it really knows whats going on. hns 2001-02-01 00:56:29 +00:00
  • bbf1122ddb minor corrections hns 2001-02-01 00:55:36 +00:00
  • a7075f8df0 no need to import FESI stuff. hns 2001-02-01 00:54:53 +00:00
  • 26cf1c70af dont close dbenv when application is shut down since this caused segfault or something when the app was restarted. hns 2001-02-01 00:54:28 +00:00
  • ff622ca10e added comment hns 2001-02-01 00:53:43 +00:00
  • 0bd08fb9bd sanity check: dont start transaction if thread was killed hns 2001-02-01 00:53:28 +00:00
  • e5bb6cd091 Added thread group argument to constructor hns 2001-01-31 19:19:41 +00:00
  • 209e28cff7 Removed thread stats/thread group stuff and moved it to Application hns 2001-01-31 19:19:12 +00:00
  • 2972ed4ad5 getNodeValue() includes the dbmapping for prototyped virtual nodes ([mountpoint]) hns 2001-01-31 19:18:41 +00:00
  • 448d2ec2d5 Removed empty else branch hns 2001-01-31 19:17:40 +00:00
  • e04c933c1f minor cleanup of questionable code hns 2001-01-31 19:17:05 +00:00
  • 08aef75b77 More improvements: - Threads now are released after sitting idle for some time - Theres an error page that is invoked if something went wrong (except for timeouts) hns 2001-01-31 19:16:27 +00:00
  • 5ada1c1876 added getThreads() function hns 2001-01-31 19:14:24 +00:00
  • da000151d0 Each Application has its own threadpool now hns 2001-01-31 19:13:59 +00:00
  • ef36481edd writeObject now throws XmlRpcException. If an Error occurs while writing a response, a valid error message is generated. hns 2001-01-30 18:41:57 +00:00
  • 9a1f750707 cleaned up request handling hns 2001-01-30 18:39:50 +00:00
  • c94f3e5a6b moved closing of SQL connection to a separate method hns 2001-01-30 18:39:18 +00:00
  • 8cdb43c6ac implement "this" macro handler for macros that may be handled by any hopobject hns 2001-01-30 18:38:29 +00:00
  • 926063cfac gets on internal properties are now handled by a separate method hns 2001-01-30 18:37:17 +00:00
  • 906a1ac9ab getAllUsers will return an array of strings (user names) instead of actual user objects, making the function more scalable hns 2001-01-29 16:32:42 +00:00
  • 2f6ba51e2e rewrap() now knows that Node.properties() returns an Enumeration of Property names. hns 2001-01-29 16:31:59 +00:00
  • fc7f0721a0 changed semantics of Node.properties(): Only the properties that are either explicitly defined in the type.properties.file or the actual properties are returned, but not the ones defined by a generic _properties rule. hns 2001-01-28 21:18:07 +00:00
  • f6b20d916a minor formatting tweaks hns 2001-01-28 21:16:01 +00:00
  • c469170727 minor debugging tweaks hns 2001-01-28 21:15:01 +00:00
  • b2d0d8d756 when 0 is passed as server port, any free port is used and can be queried by getServerPort() hns 2001-01-28 21:13:53 +00:00
  • bc420bc2ec If macro function returns something its appended to the response buffer hns 2001-01-28 21:11:25 +00:00
  • 02482e6469 adapted getProperties to new property listing semantics in Node hns 2001-01-28 21:10:47 +00:00
  • 1a30f698a5 return "hopobject" for prototype for untyped objects hns 2001-01-28 21:10:12 +00:00
  • 8d63fd35af use accessor methods for Relation.localField and Relation.remoteField hns 2001-01-25 20:58:18 +00:00
  • 857544fd9b doesnt use thead.stop() anymore hns 2001-01-25 20:57:30 +00:00
  • d807e4a340 made localField and remoteField protected hns 2001-01-25 20:56:47 +00:00
  • 46a17c3028 use null instead of "" for no dbmapping, simpler virtual keys hns 2001-01-25 20:56:12 +00:00
  • 53a34144c3 removed thread.stop(), some other small enhancements hns 2001-01-25 20:55:10 +00:00
  • 86423de367 expose application object as __app__ hns 2001-01-25 20:54:46 +00:00
  • 63468e09e1 use local variable for transactor so we notice timeout even if thread was not killed hns 2001-01-25 20:54:23 +00:00
  • 8156ad25aa renamed reWrap to rewrap hns 2001-01-25 20:30:52 +00:00
  • 4552af0cda Moved Evaluator init code from typemanager to prototype. Fixed evaluator not being initialized by new prototypes hns 2001-01-24 17:19:42 +00:00
  • 7376855af9 Now implements an asynchronous client hns 2001-01-24 15:05:54 +00:00
  • 3cfea3a250 Now inherits much more from XmlRpcClient hns 2001-01-24 15:04:41 +00:00
  • 4b6f0050e8 *** empty log message *** hns 2001-01-24 14:58:53 +00:00
  • 697f3a110c fixed bug where no constructor was created for prototypes that where created after the application has started hns 2001-01-24 14:58:14 +00:00
  • 9310c6a09b made number of loops configurable hns 2001-01-24 14:30:31 +00:00
  • f7bc885823 now knows that it has a BufferedInputStream to be able to support inputstream.mark() hns 2001-01-24 14:29:52 +00:00
  • d7efbb9e32 minor cleanups hns 2001-01-24 14:28:54 +00:00
  • bea0eb3320 added getReader() method that snoops ahead in inputstream to guess the character encoding from the xml declaration hns 2001-01-24 14:27:54 +00:00
  • c979f8ee21 check if exception is alreadyanXmlRpcException hns 2001-01-24 14:26:14 +00:00
  • 1e85cbf4ac removed unnecessary FESI balast from Typemanager hns 2001-01-18 21:24:42 +00:00
  • 34ea3f383e used equalsIgnoreCase instead of equals hns 2001-01-18 18:53:32 +00:00
  • 7ee7c194a8 moved check for __prototype__ up before db lookup in getProperty hns 2001-01-18 18:33:58 +00:00
  • 7dbabcb18c root and userroot are retrieved with propert dbmappings, added skin cache hns 2001-01-18 18:12:04 +00:00
  • f49b5eb157 getSkin() implements cached skin creation hns 2001-01-18 18:11:34 +00:00
  • 335931bddb getNode functions now use a local Key object in Transactor hns 2001-01-18 18:10:49 +00:00
  • c805f1fd6b Fixed a dumb bug hns 2001-01-18 18:09:19 +00:00
  • 30d5ca129e made logging asynchronous even when writing to System.out hns 2001-01-18 18:08:55 +00:00
  • 0870e87f3e Moved Acme/LruHashtable to helma.util and renamed it CacheMap to allow for updates, including switching from Hashtable to HashMap hns 2001-01-18 14:51:34 +00:00
  • b00e421f88 Changed evaluators and threads to be initialized only when needed. Phew! hns 2001-01-18 14:50:04 +00:00
  • e20aaec618 Changed Key object management and database fetching strategy. Parallel fetching is now allowed, but at cache insertion strict checks are performed. hns 2001-01-18 14:49:13 +00:00
  • 8451bfddd9 minor log message rearrangement hns 2001-01-18 14:47:36 +00:00
  • 6d0491e2de Threads and evaluators are now started in lazy mode - only when needed. Halleluja! hns 2001-01-16 22:31:08 +00:00
  • 73bcc24ffc Implemented basic asynchronous behaviour hns 2001-01-15 18:35:49 +00:00
  • 52de687ae5 nothing hns 2001-01-15 17:55:58 +00:00
  • 69589a1928 fixed dbmapping check for untyped virtual nodes hns 2001-01-15 16:41:17 +00:00
  • 32283385d5 UserNode is now called UserObject hns 2001-01-15 13:29:14 +00:00
  • fb47ffa0ac additional checks in getNameOrID() hns 2001-01-11 19:25:38 +00:00
  • 28df583817 some skin fixes hns 2001-01-11 16:28:02 +00:00
  • 4f34e0f73f make prototype name accessible as __prototype__ hns 2001-01-11 16:27:06 +00:00
  • b0d134b811 Worked on skin support hns 2001-01-10 19:31:05 +00:00
  • 30f539b396 increased node serialization version, check for order in getGroupbySubnode hns 2001-01-09 21:40:09 +00:00
  • 433fb5d580 also groupby sub-relations inherit order from now on hns 2001-01-09 21:36:02 +00:00
  • 01e4f2c9b3 set global appnode in initEvaluator already hns 2001-01-09 19:12:38 +00:00
  • a7ea831b1b made native skin support work hns 2001-01-08 18:30:38 +00:00
  • ea128e6cc3 Added "body", "title" and "message" fields hns 2001-01-08 18:29:33 +00:00
  • 947fd19024 virtual nodes now inherit the order field hns 2001-01-07 21:02:42 +00:00
  • 5dab540dce Rewrote parent fetching for relational DBs hns 2001-01-05 23:11:44 +00:00
  • a16f2133c7 added global stripTags() function to remove HTML/XML tags from text hns 2001-01-05 23:10:26 +00:00
  • 4cd70f3648 Upgraded serialization methods to new version to include prototype info hns 2001-01-05 19:26:55 +00:00
  • dd750e0a06 Made prototype transient to keep serialization compatibility with older versions hns 2001-01-05 19:26:02 +00:00
  • cb33854282 Fixed getPropertyMapping returning the wrong Mapping for prototyped virtual nodes hns 2001-01-05 19:25:15 +00:00