Commit graph

  • 6ae2db92ff The user cache node isn't set to the user prototype and dbmapping anymore (let's see if this has any unwanted effects). hns 2001-11-26 17:27:07 +00:00
  • 782bf86ba2 made the res.data get its HashMap from the ResponseTrans object hns 2001-11-26 17:24:04 +00:00
  • 5ae3d18565 enlarged application skin cache, added getProperty method without default parameter, removed stack dump when user.onLogout() is not defined. hns 2001-11-26 17:21:48 +00:00
  • 93debe88a2 Rearranged field declarations, added serialVersionUID field hns 2001-11-26 17:20:10 +00:00
  • b402e753b2 added serialVersionUID field hns 2001-11-26 17:19:51 +00:00
  • 2ca5232637 Increased serialization version to 7. String properties are now serialized as objects, because there seems to be a limit around 60000 chars for UTF. hns 2001-11-20 17:01:55 +00:00
  • 56e5201f8e Set the data property in the response object (res) to a generic map object. hns 2001-11-20 15:32:28 +00:00
  • fbe9f40631 included data field that holds a generic object, much like the request object already does. hns 2001-11-20 15:31:18 +00:00
  • 63d69b6d43 display version info on startup hns 2001-11-20 15:10:33 +00:00
  • 96393ea5eb Fixed bugs and performance problems in StandaloneServletClient. The Hop embedded into the servlet container is now the most performant way to run a Hop app. hns 2001-11-20 15:02:35 +00:00
  • af93d7b66a added application "himp" for check-out p3k 2001-11-16 19:53:47 +00:00
  • 1d04d1f888 initial check-in p3k 2001-11-15 14:42:18 +00:00
  • ae67949fea added hopblog p3k 2001-11-15 14:14:37 +00:00
  • 7cd23be516 initial check-in p3k 2001-11-15 14:13:46 +00:00
  • 5da91cb1f1 base=self p3k 2001-11-15 13:05:31 +00:00
  • 697d974280 removed due to new base application p3k 2001-11-15 12:19:46 +00:00
  • 22c5a32feb replaced "process" with "target"; modified section about ant. p3k 2001-11-14 16:22:43 +00:00
  • 31d1c925c4 added part about cvs in pre-requisites p3k 2001-11-12 12:01:47 +00:00
  • 4c30757a7e added part about cvs in pre-requisites p3k 2001-11-12 11:59:17 +00:00
  • b4cd0bf5d2 added instructional and descriptive text about the build files. p3k 2001-11-08 16:22:36 +00:00
  • 29a7f75ec2 added package inclusion of build and src files; removed package inclusion of helma-src.jar p3k 2001-11-08 14:44:41 +00:00
  • a6a1abe945 changed main class to helma.main.Server p3k 2001-10-30 10:13:04 +00:00
  • bc7b502ebf initial check-in p3k 2001-10-29 20:04:41 +00:00
  • 8cd9457e37 needs to be checked in as binary p3k 2001-10-29 20:04:21 +00:00
  • 87d574a2ee minor fix: prevented classpath from "growing" michi 2001-10-23 18:08:21 +00:00
  • a9046019e1 updated to crimson-1.1.3 michi 2001-10-23 18:03:03 +00:00
  • 21c00908c1 Updated build scripts. CVS checkout is now separated from builds. It's possible to use the script both for building both the jar file and the whole distribution either from checked-out code or the local copy. hns 2001-10-22 16:43:40 +00:00
  • dc741f2231 Updated to Ant 1.4.1 hns 2001-10-22 16:41:07 +00:00
  • 61926bd69a Remember xml-rpc handler name under which an application has been registered so we can remove it once the application is shut down. hns 2001-10-18 13:08:36 +00:00
  • 1334833b14 try more often after concurrency conflicts, pause for longer between tries. hns 2001-10-11 11:42:38 +00:00
  • 3db1848822 * only use the parent-info from the type.properties file if there is an explicit reference relation set for the property name. * avoid database queries for nodes that are transient or in the process of being persistified also when loadmode is set to aggressive. hns 2001-10-02 20:54:35 +00:00
  • ef756bdcc1 Hash codes of key classes are now cached lazily. Slightly changed the algorithm according the recommendations in "Effective Java" by Joshua Bloch. hns 2001-10-02 20:50:52 +00:00
  • 17b82f0d43 Standard prototypes are now correctly constructed even if the directories don't exist. hns 2001-10-02 20:46:00 +00:00
  • 6c883367e7 check if the NodeHandle of a registered user is broken. If so, reset the handle, logging the user out. This should solve the "broken session" phenomenon. Also added some comments. hns 2001-10-02 20:43:53 +00:00
  • 841f09b789 check if typename is null in isInstanceOf (which is the case for virtual nodes). hns 2001-10-02 09:49:03 +00:00
  • de5ab9a388 removed invocation of stop() method of the app's TypeManager. hns 2001-10-01 10:40:32 +00:00
  • 545aec7407 create base prototypes for which no directory exists without creating an empty directory. doesn't implement Runnable anymore. hns 2001-10-01 10:39:51 +00:00
  • a99dc703a4 Check if the standard prototypes have been created after the first call of check(). hns 2001-10-01 10:27:22 +00:00
  • 35a20ffca4 the getNodeWrapper method will again return an instance of ESUser instead of ESNode for all database nodes representing a user object. This should fix all bugs where user specific functions failed unless the user object represented a user that was active at the time of calling. hns 2001-10-01 09:56:44 +00:00
  • cdf170c568 implemented isInstanceOf to tell whether a DbMapping represents itself or by inheritance some prototype. hns 2001-10-01 09:54:49 +00:00
  • ce781df919 Made this class work again when there is no actual user session and it just represents a database record that represents a user. This should fix all bugs where the user specific methods didn't work unless the user object represented a user that was actually active at the time of calling. hns 2001-10-01 09:53:29 +00:00
  • 4f28990143 Directly loop through characters from the source string instead of using a StringReader. Dropped character entity encoding, since this limits us to western encoding and should not be necessary because browsers usually default to western encoding. hns 2001-09-14 16:04:23 +00:00
  • 7a6b473e22 replaced HtmlEncoder.encodeSoft() with HtmlEncoder.encode(). The former doesn't exist anymore. hns 2001-09-14 16:02:42 +00:00
  • e1cf1c1f8a only use numerical entities to encode characters codes greater than 160. The hope is that this gets us cheap support for international encodings... hns 2001-09-14 12:27:33 +00:00
  • e04f7652ba output debug info in JS function invocation if debug is set to true. hns 2001-09-14 12:20:24 +00:00
  • 41b057d7ee Fixed deserialization. hns 2001-09-13 17:29:38 +00:00
  • a509f5735c Formerly known as ESRequestData. It is now possible to update this object, while ESRequestData was read-only. hns 2001-09-11 19:14:02 +00:00
  • daec2c7573 ESRequestData has been renamed to ESMapWrapper to convey what it does and that it's not only used for request parameter values. hns 2001-09-11 19:12:31 +00:00
  • 5d20e2e29a Create a new prototype in the request evaluator for use with generic Java objects. It has the href() and renderSkin() functions, but none of the other stuff defined for ordinary HopObjects. This new prototype isn't used yet in RequestEvaluator. hns 2001-09-11 19:11:19 +00:00
  • 73d103327a Set HTTP request method field in RequestTrans. hns 2001-09-11 19:09:09 +00:00
  • 23b3b8055b ESRequestData has been renamed to ESMapWrapper. Passing an instance of java.util.Map as argument to the invokeDirectFunction method will cause it to get wrapped in an ESMapWrapper, which exposes the elements in the Map in native JavaScript Object fashion. hns 2001-09-11 19:08:19 +00:00
  • 1f3a94c7be Removed dependency on helma.scripting.fesi package. hns 2001-09-11 19:06:12 +00:00
  • fca259a498 added comments, introduced HTTP-METHOD field, use HashMap instead of Hashtable. hns 2001-09-11 19:05:37 +00:00
  • b73450de2a check whether thisObject is null in renderSkin (which is the case for global skins). hns 2001-09-10 14:29:39 +00:00
  • 130d88ef63 back-pedalled on one of the previous changes in getNodeHref(). hns 2001-09-10 14:23:45 +00:00
  • 0472058607 back-pedalled on some of the previous changes because it also affects helma.framework.core.Prototype. hns 2001-09-10 14:15:29 +00:00
  • a0bfef94eb Some adjustments in Exception handling. No solution yet to the problem that Syntax errors in function files make applications ignore the changes in the file rather than report an error when a funciton from the file is called. hns 2001-09-10 14:10:06 +00:00
  • 7e1108e7c3 Implemented a scheme to mark applications as scripting the Server object itself. This is done by writing appname=self in the apps.properties, which is probably a temporary solution, maybe it'll keep that way. added getApplications() method to get an array of all applications. hns 2001-09-10 14:08:49 +00:00
  • 58e0306fb8 Implemented defaultServlet which lives outside of the WildcardDictionary that matches URL patterns to servlets. hns 2001-09-10 14:06:46 +00:00
  • 619dafac6d Fixed global skin rendering in res.skin. hns 2001-09-10 14:05:18 +00:00
  • 453e319496 renamed scriptables to classMapping, slightly cleaned up getNodeHref() and created getRootHref() method. hns 2001-09-10 14:04:42 +00:00
  • 3adf646e35 call new getObjectWrapper method in RequestEvaluator which may or may not return a scriptable object, depending on whether the object's class name is defined in scriptable.properties. hns 2001-09-09 18:09:55 +00:00
  • 33c7eda08c Further improvments regarding the "everything is scriptable" philosophy. Scriptable Java classes are now defined in a file called scriptable.properties. hns 2001-09-09 18:08:24 +00:00
  • 18f20ac807 rendering skins and getting hrefs no longer requires an object that implements IPathElement. hns 2001-09-09 18:06:52 +00:00
  • 83d696e98b Removed all dependencies of FESI. Yay! hns 2001-09-09 18:05:52 +00:00
  • 7d4cbdeb48 implemented direct callback into evaluator by its own thread. hns 2001-09-08 17:48:39 +00:00
  • fe7380600b Implemented possibility to call back into an already running Evaluator. Implemented JavaScript replacement evaluation for mimicking IPathElement interface. hns 2001-09-08 17:47:08 +00:00
  • 6ff8401512 Only create standard prototype directories if the application directory is freshly created, i.e. empty. hns 2001-09-08 17:45:53 +00:00
  • e037fa0d19 Always create a sepcial Helma GenericObject EcmaScript wrapper for Java Objects, allowing all Java objects to be scripted. hns 2001-09-08 17:45:10 +00:00
  • a7d1e5d368 putting a macro into the sandbox with allowMacro() did the opposite of what it should hns 2001-09-08 15:22:15 +00:00
  • 50d49d0484 GenericObject can now (true to its name) wrap any Java object, not just the ones implementing IPathElement. hns 2001-09-07 16:35:32 +00:00
  • fda2b76a49 Added lots of comments. Implemented clearCache method to purge the object cache. hns 2001-09-07 16:34:26 +00:00
  • 0715a041a7 new argument order in Application constructor hns 2001-09-07 16:33:19 +00:00
  • 20955225d0 Allow any java object to be used as Helma object. hns 2001-09-07 16:32:19 +00:00
  • f0932b9e5a removed newlines at end of file. (somehow my suspicion is that kdevelop is adding these) hns 2001-09-07 16:20:42 +00:00
  • 7922cad8e4 property lookups are not switched to lower case anymore. hns 2001-09-06 16:41:46 +00:00
  • 57b09f6228 removed getString method with default value argument. hns 2001-09-06 16:40:39 +00:00
  • d8bf2153ee removed bug in getLogger() that caused a NullPointerException hns 2001-09-06 16:40:02 +00:00
  • 254a9d50f5 removed FESI dependencies from Application. hns 2001-09-06 16:39:12 +00:00
  • c564b4e55b use getLogger() method instead of Logger constructor, which is now private. hns 2001-09-03 13:08:09 +00:00
  • 43416e122c added getLogger() method and made constructor private to ensure there is only one logger per symbolic file name. hns 2001-09-03 13:03:58 +00:00
  • be7fe1780a Removed support for Activated JIMI package hns 2001-09-03 13:02:43 +00:00
  • c207f380d9 removed support for activated JIMI package hns 2001-09-03 13:01:17 +00:00
  • 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