Commit graph

  • bd24f08040 Removed getParent in addNode and setNode, since the result could be wrong and would then get cached. Directly access parentID instead. hns 2001-04-03 17:12:57 +00:00
  • 1f4306ef0e Added serverSocket.close() in shutdown method hns 2001-04-03 11:55:31 +00:00
  • c2a80bb151 fixed bug with null node caching and groupby nodes. hns 2001-03-23 17:49:09 +00:00
  • df78802f57 added global authenticate() function that authenticates a user against a standard Unix passwd file. hns 2001-03-22 17:58:51 +00:00
  • 2ba56a02cb Fixed bug when properties were not updated when passwd file was removed. hns 2001-03-22 17:57:56 +00:00
  • bfc17b11a1 Added crypt files for unix passwd support hns 2001-03-22 17:29:20 +00:00
  • 485c9572d7 When a groupby node is created, whatever was in the cache previously with its key is evicted. This fixes a bug introduced with null node caching. hns 2001-03-22 15:45:43 +00:00
  • b4e8ff87fe Minor skinmanager code fix hns 2001-03-22 15:44:31 +00:00
  • bf72cbe440 getNameOrID now dares to set anonymous, depending on whether the parent has propertiesAreSubnodes set and it makes sense in the context of the current object. hns 2001-03-11 18:51:29 +00:00
  • 9eb575ea16 getGroupby*Relation now passes along the subnodesAreProperties fiag. hns 2001-03-11 18:49:33 +00:00
  • 39bdbfd886 re-enabled appsPropFile property and did some code-shifting from static main() to Server() constructor. hns 2001-03-11 16:04:45 +00:00
  • 9bb86fff7c reenabled appHome and dbHome properties hns 2001-03-11 16:03:52 +00:00
  • faead64efc avoid sending an SQL statement in updateNode if the only thing marked as dirty is a virtual node. This used to throw an exception when adding subnodes to a node that also has a virtual node. hns 2001-03-11 15:25:34 +00:00
  • 9e2a4f561e first raw version of database-stored skins hns 2001-03-10 19:38:52 +00:00
  • 5eb8e03d77 added encodeForm functions to global object and response object. This does HTML encoding, but leaves newlines untouched. hns 2001-03-09 18:39:47 +00:00
  • 5f5d111f95 Removed some old db/Node garbage that didn't go along well with the new parent recognition. Also fixed a bug where a Node could be stored with an invalid key in setNode(). hns 2001-03-09 18:38:46 +00:00
  • 405555278d Implemented caching of null nodes in getNode (Node, String, Relation). A singleton nullNode is used to cache Node objects in the application cache if they don't exist. hns 2001-03-09 16:05:31 +00:00
  • 3f285ac8fd setting a node with null prototype will now set the prototype to the expected value. If the prototype is already set to a different value, an exception is thrown. hns 2001-03-09 16:03:53 +00:00
  • eb05a99a29 parse js and hac files even if they're empty hns 2001-03-08 18:58:31 +00:00
  • 127c98340f fix for 1.1 collection support hns 2001-03-08 18:39:12 +00:00
  • 067f7b4dd1 1.1 collection fixes hns 2001-03-08 18:25:03 +00:00
  • a2909068a0 fixed generic replacements hns 2001-03-08 18:14:38 +00:00
  • e9b5b7b5fa added ArrayList hns 2001-03-08 18:13:26 +00:00
  • a845778d44 yet some more 1.1 collection fixes hns 2001-03-08 18:09:31 +00:00
  • d0eaced696 fixed import statement for 1.1 collections hns 2001-03-08 17:59:02 +00:00
  • 9a128e960b 1.1 colleciton fixes hns 2001-03-08 17:53:03 +00:00
  • 6719812a68 1.1 collection fix for import statements hns 2001-03-08 17:25:50 +00:00
  • f7db9309e0 fixed import statement for 1.1 collections hns 2001-03-08 17:13:01 +00:00
  • ebba995765 fixed max id generation for empty tables hns 2001-03-08 17:12:39 +00:00
  • 7b30a1cd99 hopefully last 1.1 collections fix hns 2001-03-08 16:59:03 +00:00
  • 2c0d667750 still some more 1.1 collections fixes hns 2001-03-08 16:50:21 +00:00
  • 8106b25a0f more collection for 1.1 fixes hns 2001-03-08 16:45:24 +00:00
  • 3fab152c44 use explicit import statements for java.util.* imports hns 2001-03-08 16:37:52 +00:00
  • 7cf412f648 made import statement explicit to HashMap hns 2001-03-08 16:27:13 +00:00
  • 53d442ea8f more tinkering hns 2001-03-08 15:46:07 +00:00
  • 5b7fa928e5 some 1.1 collection fixes hns 2001-03-08 15:41:00 +00:00
  • a51145e4a7 added support for collections in JDK 1.1 hns 2001-03-08 15:20:54 +00:00
  • 4027b850ee typemanager now displays for which files an update is performed, and updatables display their filename in the toString() method hns 2001-03-07 22:47:33 +00:00
  • 7d49b8b673 getNameOrID will now honor anonymous flag and not try to override it setNode throws an exception when trying to set an object with wrong type minor fixes in getParent() hns 2001-03-07 21:55:30 +00:00
  • 2a08d8150f "console" as logdir will direct log stream to standard out hns 2001-03-07 21:53:03 +00:00
  • 8e86be7c60 minor change in getParent() hns 2001-03-07 19:30:31 +00:00
  • 293c4e013a Implemented groupby support in automatic getParent lookup. Also, the result is now cached which should increase performance. hns 2001-03-07 19:28:33 +00:00
  • 27d07e599c more work to solve "shringking prototypes" problem in FunctionFile hns 2001-03-07 16:49:11 +00:00
  • 20e8bb8987 Fixed bug where SkinFile would always return true on needsUpdate() when the skin object wasnt initialized. hns 2001-03-06 21:51:53 +00:00
  • 81ede81781 Made big changes to typemanager. This should make the regular checks much faster, and functionfiles should clean up after themselves. Probability of new bugs introduced by this is considerable. hns 2001-03-06 21:23:11 +00:00
  • 643e7ff12e Classes managed by helma.framework.core.Typemanager implement this interface, but it is generic enough to be used for other purposes. hns 2001-03-06 21:19:43 +00:00
  • 45da518a63 Minor fixes for StandaloneServletClient hns 2001-03-05 19:19:54 +00:00
  • e383beaa08 check if xmlrpc server exists before trying to add handler hns 2001-03-05 17:12:51 +00:00
  • 904a446611 inital check-in of new parent info class hns 2001-03-05 16:11:25 +00:00
  • 7904cf2bca - switched logging ot application where possible - implemented new _parent spec, including virtual nodes - removed some rarely-used property settings for apps and db directory hns 2001-03-05 16:10:38 +00:00
  • 9e05814d90 Grouped all logging activity around Application, and made Application less dependent on helma.objectmodel.db.Server. hns 2001-03-05 16:07:29 +00:00
  • 15cdc42eab Initial checkin hns 2001-03-05 16:05:05 +00:00
  • 9edd9cf670 minor formatting stuff hns 2001-03-05 16:04:29 +00:00
  • d2ce49b6ef Changed app access from private to protected hns 2001-03-02 15:54:42 +00:00
  • dd903bcdf2 We need to do something about db sources that are not defined... hns 2001-03-02 15:50:43 +00:00
  • 874e21b961 Rearrangement of servlet package. Introduced abstract base servlet and wrote subclasses for one servlet to one hop application (ServletClient) and one servlet to multiple hop applications on one server (MultiServletClient). hns 2001-03-02 15:45:24 +00:00
  • dd011fe911 Added global countActiveUsers() function hns 2001-03-01 16:02:34 +00:00
  • 63b63db8b5 implemented res.writeBinary() to directly write a java byte array to the response hns 2001-03-01 16:02:11 +00:00
  • d45f3240ce made RequestTrans and ResponseTrans implement Externalizable instead of Serializable renamed ResponseTrans.mainSkin to .skin to avoid confusion hns 2001-02-28 15:06:49 +00:00
  • 9f3dc4cfb8 switched back from BufferedOutputStream to unbuffered one hns 2001-02-27 22:16:52 +00:00
  • 8eb28ffd2e replaced flush() with close() hns 2001-02-27 21:24:19 +00:00
  • 6b52e4a797 Write byte[] instead of char[] hns 2001-02-27 20:54:57 +00:00
  • f6b2001fb4 transfer byte array instead of char[] hns 2001-02-27 20:54:06 +00:00
  • e9e9f81722 use BufferedWriter in writeResponse hns 2001-02-27 20:25:35 +00:00
  • 3776509f32 Moved first getLogger behind setting of hopHome hns 2001-02-27 20:20:43 +00:00
  • 9b0680e5d6 allowed requests to be attached until finally clause is reached hns 2001-02-26 22:04:02 +00:00
  • ac52a14efc slight tweak to attachRequest() hns 2001-02-26 20:23:39 +00:00
  • 69d9b49ce3 Implemented request attachment: If a request with the same user, path and input data is already being evaluated, the request is attached to that evaluation instead of starting a new one. This should fix the very common double- or multiple click problem, among others. hns 2001-02-26 19:28:55 +00:00
  • 9fa2d5154f avoid cache.put() where theyre not really needed. hns 2001-02-24 20:39:21 +00:00
  • 63cf63499d tuned to be a bit more less persistent on concurrency conflicts hns 2001-02-24 20:36:48 +00:00
  • 683263b9d9 Removed buggy key caching mumbo jumbo hns 2001-02-24 05:24:15 +00:00
  • 924f3f31a6 added getType() accessor hns 2001-02-24 01:23:40 +00:00
  • 3d8960caee added debug check to put(). hns 2001-02-24 01:23:03 +00:00
  • e861654e2c check if baseURI is null in href() hns 2001-02-24 00:41:07 +00:00
  • cae03f5fef minor fix in Node.href() to recognize user nodes hns 2001-02-24 00:40:26 +00:00
  • bf8397634c reversed comparison of type and id in Key.equals() hns 2001-02-23 23:58:37 +00:00
  • 35d118c43c made max the default method of key generation for relational databases cleanup in ESNode on while searching comic node manager bug set baseuri when using embedded web server hns 2001-02-23 18:07:24 +00:00
  • 9c058a3a02 changed exception handling in renderSkin() hns 2001-02-21 18:14:28 +00:00
  • bba67e87fb check for null values in response macros hns 2001-02-21 16:09:18 +00:00
  • 4ca07eedc4 Made generateSQLID synchronized and remember last generated ID in DbMapping hns 2001-02-21 14:31:46 +00:00
  • 06fd698c41 replaced statement in generateSQLID with MAX() expression hns 2001-02-21 14:21:49 +00:00
  • e756709eff Fixed case in getSQLIDgen() method name hns 2001-02-20 21:14:32 +00:00
  • cf7bdee73b Added Daniel's changes to generate id from table without sequence hns 2001-02-20 21:10:17 +00:00
  • fbcfbc32ba implemented global skin to be rendered after action has been executed hns 2001-02-20 15:53:48 +00:00
  • ffe720105c implemented global skin to be rendered after request is executed hns 2001-02-20 15:53:12 +00:00
  • 0a2cbec8f7 fixed bug for global skins hns 2001-02-20 14:23:35 +00:00
  • c708ff0c29 fallback to hopobject if skin is not found in prototype hns 2001-02-19 17:54:16 +00:00
  • bf0ecdd923 first implementation of system lever skin support hns 2001-02-19 16:59:11 +00:00
  • 9922ea3fd8 save res.message on the user object across a redirect hns 2001-02-15 15:54:11 +00:00
  • 23195369b1 pass groupbyorder on to virtual relations hns 2001-02-15 12:42:06 +00:00
  • 511f151546 added pre to list of tags where newlines are not encoded hns 2001-02-15 12:41:27 +00:00
  • 523c05a3dc builds a working snapshot hns 2001-02-09 19:01:03 +00:00
  • 9f8f477bf3 we dont need that either hns 2001-02-09 18:54:29 +00:00
  • 57c322a273 not needed hns 2001-02-09 18:51:07 +00:00
  • 7ac5ae3331 Removed Interpret.java hns 2001-02-09 18:49:44 +00:00
  • 098baf9c49 removed dependency on FESI.gui hns 2001-02-09 18:46:44 +00:00
  • fd4cacb4a9 checked in GNU RegExp 1.1.0 hns 2001-02-09 18:41:12 +00:00
  • 55b399987c removed swing stuff hns 2001-02-09 18:31:59 +00:00
  • da462d53c0 removed swing and AWT stuff from FESI hns 2001-02-09 18:31:35 +00:00
  • 171b44fb85 initial check in hns 2001-02-09 18:22:52 +00:00