Commit graph

  • d1600d4783 * Use LinkedHashMap for dirty node tracking to preserve insertion order. see <http://helma.org/pipermail/helma-user/2008-May/007379.html> hns 2008-07-04 13:50:59 +00:00
  • b5b7d8ff0b removed obsolete information regarding the old FtpClient host object and fixed the constructor's example code accordingly zumbrunn 2008-07-01 18:03:34 +00:00
  • 8b6203fc0d fixed description of repeat method zumbrunn 2008-07-01 17:38:19 +00:00
  • 277737f940 * Fix checkXmlRpc to work with content-types containing a charset subheader. Fixes bug #628 <http://helma.org/bugs/show_bug.cgi?id=628> hns 2008-06-13 20:48:33 +00:00
  • 449cbd815e * Continue parsing macro tags even if it is a comment. This is the only way we can correctly catch embedded macros. Fixes bug 588. http://helma.org/bugs/show_bug.cgi?id=588 hns 2008-05-15 09:45:33 +00:00
  • 0aaa141a4b * Fix bug 617: Only resolve direct prototype matches in parent chain. hns 2008-05-15 09:09:40 +00:00
  • 3104b4c48a * Fix bug 625: Don't let format() encode characters inside executable macro tags. hns 2008-05-15 08:29:43 +00:00
  • d0d7dd55c3 added renameFile for renaming remote files manfred 2008-05-14 13:52:01 +00:00
  • 24cecbaead * Increase version number to 1.7.0-pre. hns 2008-05-05 14:46:26 +00:00
  • 2734f70d6a * Introduce hopdir servlet parameter to be able to set the helma directory. hns 2008-05-05 14:38:53 +00:00
  • 585725d9c6 * Try a little harder to find resources in app.addRepository: If path names don't resolve by themself, try explicitly using hopHome as parent. This is useful in cases where hopHome isn't the current or user directory, such as when running helma within tomcat. * Make app reference transient. hns 2008-05-05 14:37:58 +00:00
  • f8f0ad0692 changed docs for Aspects.addBefore() function to mention the parameters passed to the added function zumbrunn 2008-05-02 08:35:18 +00:00
  • 0592e44ad1 * Add serialVersionUID (doh, should have done this before 1.6.2!) hns 2008-04-24 11:31:23 +00:00
  • 30c8f63155 * Patch from Anton Pirker on helma-user: Remove semicolons in encoding. hns 2008-04-22 10:47:54 +00:00
  • a2640a9b70 added an optional name argument to Document.prototype.getFields() for retrieving all fields with the specified name grob 2008-04-19 09:57:57 +00:00
  • f1577494a6 bugfix in Document.prototype.getFields(): don't use getField(), as this returns only the first of multiple fields with the same name grob 2008-04-10 09:55:03 +00:00
  • 44c0745954 * Set parent on group nodes for transient parents. Fixes NullPointerException in Relation.setConstraints(). hns 2008-04-07 19:50:57 +00:00
  • ae3c331c7d * Fix several bugs in grouped collections: <http://helma.org/bugs/show_bug.cgi?id=597> <http://helma.org/bugs/show_bug.cgi?id=614> <http://helma.org/bugs/show_bug.cgi?id=615> hns 2008-04-07 15:24:11 +00:00
  • 718d43690d * Update externals references to Helma 1.6.2 tags hns 2008-04-07 14:53:14 +00:00
  • 61fd974594 * Moving Helma 1.6 to branches/helma_1_6 hns 2008-04-07 14:45:59 +00:00
  • 7d80ab10e0 * Remove call to gui.dispose() as it causes helma shutdown hook to hang on windows - see http://helma.org/bugs/show_bug.cgi?id=586#c2 helma_1_6_2 hns 2008-04-07 12:25:02 +00:00
  • 3bd9e813a9 * Bump version to 1.6.2 hns 2008-04-07 08:49:13 +00:00
  • dc88734294 * Make Root.getAllApplications() include the apps defined in apps.properties. Requires a fresh Helma snapshot (1.6.2+). Fixes bug 520 <http://helma.org/bugs/show_bug.cgi?id=520> hns 2008-04-04 11:48:15 +00:00
  • a96a4444a6 * Make Server.getAppsProperties() return the whole properties if appName argument is null. * Code cleanup: make ServerConfig fields private and add getters and setters. hns 2008-04-04 11:44:29 +00:00
  • 35ed7a58f8 * Minor code cleanup. hns 2008-04-04 11:40:25 +00:00
  • 02b00926ff * Define cache node as INode rather than fixed TransientNode. The idea is to eventually be able to use persistent HopObjects as session stores. hns 2008-04-04 10:59:26 +00:00
  • 30eb6663bc * Run Application.init() in a fresh thread to shield it against class loaders and rhino contexts that may be associated with the calling thread. Fixes bug 613 <http://helma.org/bugs/show_bug.cgi?id=613> hns 2008-04-04 10:56:29 +00:00
  • 007f61b324 * implement toString() method in AppClassLoader. hns 2008-04-04 10:49:02 +00:00
  • 3e98b9e5c9 * Add shutdown hooks to ScriptingEngine, RhinoCore and HelmaDebugger. Fixes bug 586 <http://helma.org/bugs/show_bug.cgi?id=586> hns 2008-04-02 15:14:30 +00:00
  • 931117a6b6 * Minor formatting fix. hns 2008-04-02 13:45:27 +00:00
  • 03f6060525 * Commit patch to implement repository support for StandaloneServletClient contributed by Franz Philipp Moser. Fixes bug 544 <http://helma.org/bugs/show_bug.cgi?id=544> hns 2008-04-02 13:44:28 +00:00
  • 6c5e37fb76 * Fix bug 426 <http://helma.org/bugs/show_bug.cgi?id=426> hns 2008-04-02 13:19:28 +00:00
  • 7e267af7fd reverted back to 2.2.0 (accidentally updated to 2.3.1 in [8803]) grob 2008-04-01 13:53:44 +00:00
  • 1893ab3494 added count(fieldName, fieldValue) to helma.Search.Index prototype, returning the number of documents with a given field and value in the index grob 2008-04-01 13:43:15 +00:00
  • 3526050006 * Throw explicit exceptions when a derived property is set to the id of a transient object. Fixed bug 607. <http://helma.org/bugs/show_bug.cgi?id=607> hns 2008-04-01 13:03:46 +00:00
  • b0723569b2 * Do not cache nodes unless there is a request evaluator associated with the current thread and we can invoke onInit() on it. This prevents nodes fetched from other applications to be cached and fixes bug 598 <http://helma.org/bugs/show_bug.cgi?id=598> hns 2008-04-01 11:53:46 +00:00
  • ce30c5aac4 * Implement Application.getParentElement(). hns 2008-04-01 09:51:07 +00:00
  • 17e8ea6d82 * Close sql statement after the logging. Fixes bug 605. <http://helma.org/bugs/show_bug.cgi?id=605> hns 2008-03-26 18:53:31 +00:00
  • 4f30dc3c0e * Update javac source and target version to 1.5. Fixes bug 609 <http://helma.org/bugs/show_bug.cgi?id=609> hns 2008-03-26 18:14:28 +00:00
  • ce879b2541 fixed see tags for getMultipartType, setMultipartType and addPart that were pointing to wrong places zumbrunn 2008-03-26 18:11:22 +00:00
  • 6bd3e78dfb * Make Property.getBooleanValue() try to convert strings to integers. Fixes bug 606 http://helma.org/bugs/show_bug.cgi?id=606 hns 2008-03-26 11:30:31 +00:00
  • 24fbb853f4 * Do not define global functions and OrderedView methods as READONLY, mirroring the behaviour of HopObject methods. http://helma.org/bugs/show_bug.cgi?id=602 hns 2008-02-19 12:22:18 +00:00
  • f6d21299a0 * Make sure prototype and parent scope are set correctly for HopObject.getById(). Fixes bug 601 http://helma.org/bugs/show_bug.cgi?id=601 * Do not define HopObject.getById() as READONLY. Fixes bug 602 http://helma.org/bugs/show_bug.cgi?id=602 hns 2008-02-19 11:52:15 +00:00
  • ad613b629a * Rename req.actionProcessor to req.actionHandler as suggested by Juerg Lehni on helma-dev. hns 2008-02-18 15:09:11 +00:00
  • 58b7de53c4 * Merge -r 8778:8790 from branches/refactor_transactor. hns 2008-02-08 15:58:14 +00:00
  • a44af35c59 * Rename Transaction class to XmlTransaction. hns 2008-02-06 14:50:59 +00:00
  • 821f69150f * Update to Rhino HEAD snapshot from 2008-02-05 with token patch from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ hns 2008-02-05 15:51:34 +00:00
  • add89add1a * Implement req.actionProcessor to allow onRequest() to set/override the function called to handle the request. Required for continuation and callback support. hns 2008-02-05 14:45:37 +00:00
  • 6063259455 * Implement support for req.uri. This property contains the full request URI for HTTP requests, and is null for internal requests. While req.path only contains the request's path info within the helma application, req.uri contains the request's full URI starting at the web server root. hns 2008-02-05 10:56:50 +00:00
  • b49ad9d2f1 * Implement HopObject.getAllIds() in order to display HopObject properties in debugger. hns 2008-02-01 10:31:38 +00:00
  • 3fbb4419c6 * Set default Javascript language version to 1.7 (rhino.languageVersion = 170) hns 2008-01-29 16:06:11 +00:00
  • 8897b240c8 * Update to Rhino HEAD snapshot from 2008-01-28 with token patch from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ hns 2008-01-29 12:36:57 +00:00
  • b29bf58253 * Make error handling more flexible, adding res.exception, res.scriptStack, res.javaStack to get further information on unhandled exceptions during page execution. * Make default error page include script and java stack traces when debug is set to true. hns 2008-01-29 12:16:06 +00:00
  • b5f7f14b2f * Add serialization proxy support for host objects (app, path, req, res). hns 2008-01-29 10:54:46 +00:00
  • b66a0eb8be * Fix getDefaultValue() for JSAdapter to be called on adapter, not adaptee. hns 2008-01-29 10:13:27 +00:00
  • 08145e3965 * Check for action names that don't end with '_action' in setAction(). hns 2008-01-29 10:03:00 +00:00
  • 1ccb272c82 * Rewrite getPrototypeName() to check interfaces on all superclasses, because classes do not report interfaces inherited from a superclass. hns 2008-01-29 09:35:37 +00:00
  • e6fad59612 * Overhaul getParent(), only return non-containing parent as fallback. Fixes bug 593 - http://helma.org/bugs/show_bug.cgi?id=593 * Don't go into parent check for root node. * Do not trim name in setName(). Fixes bug 594 - http://helma.org/bugs/show_bug.cgi?id=594 hns 2008-01-28 13:54:57 +00:00
  • e75851c2a2 * Replace netcomponents.jar with jakarta commons-net.jar 1.4.1. Change of java package name _should_ be all that is required. hns 2008-01-25 11:11:33 +00:00
  • 2f7407a8c7 * Replace netcomponents.jar with jakarta commons-net.jar 1.4.1. hns 2008-01-25 11:09:59 +00:00
  • 6ef2eabdd9 * Add JSAdapter support from Phobos project <https://phobos.dev.java.net/>. See <http://blogs.sun.com/sundararajan/entry/self_javascript_and_jsadapter> for more information on JSAdapter. hns 2008-01-10 13:07:53 +00:00
  • 41334905c0 * Patch for rhino.languageVersion setting from Chris Langreiter: http://www.langreiter.com/space/2007-12-26-r17 helma_1_6_1 hns 2008-01-02 17:13:18 +00:00
  • d8149e0bee * Implement new HOpObject isPersistent() and isTransient() methods. hns 2007-12-21 16:37:25 +00:00
  • 25bf45477d * Make members in SubnodeList transient to avoid serialization fuck-up. hns 2007-12-21 09:13:52 +00:00
  • 6995b9b6a1 * Make helma.Http always set result.content, regardless of response status code. * Always call responseHandler, regardless of response status code. * Fix setFollowRedirects() bug. Fix for bug 583 http://helma.org/bugs/show_bug.cgi?id=583 hns 2007-12-19 10:13:54 +00:00
  • f3bfee3a16 turned documentation for JSON methods back on zumbrunn 2007-12-13 19:03:38 +00:00
  • add43975fc made some minor @see tag changes to please the new jsdoc-toolkit based docs zumbrunn 2007-12-13 18:30:16 +00:00
  • 1d9d306bca made some minor @see tag changes to please the new jsdoc-toolkit based docs zumbrunn 2007-12-13 18:25:41 +00:00
  • e4d04f1db0 added explanations regarding the usage of these optional repositories and added docs for helma.Image zumbrunn 2007-12-13 12:21:48 +00:00
  • 48bd6d055b * use String.replaceAll() rather than String.replaceFirst() to sanitize log names. hns 2007-12-12 15:32:10 +00:00
  • 29cebb79a9 * Perform some sanity checks on log file name, as Jetty sometimes uses http context paths in log names. hns 2007-12-12 13:01:54 +00:00
  • cb0d4e830d * Don't add ResourceHandler for protectedStatic directory, as it doesn't really seem to be needed. hns 2007-12-12 12:45:31 +00:00
  • 077e7b540b * Make sure resource paths passed to res.forward() start with a slash, as Jetty 5.1 wants it that way. * Add curly braces to statements. hns 2007-12-12 12:44:21 +00:00
  • cdb9a335e4 * Implement res.resetBuffer() as proposed by Michael Platzer on helma-user. Fixes bug 585: http://helma.org/bugs/show_bug.cgi?id=585 hns 2007-12-11 16:32:22 +00:00
  • 389ab31d9e * Include filter in MultiKey parts for complex references. Fixes bug #584 originally reported by Franz Philipp Moser on helma-user. http://helma.org/bugs/show_bug.cgi?id=584 hns 2007-12-11 16:16:28 +00:00
  • 21c44962f1 * Update version string to 1.6.1 hns 2007-12-11 11:17:37 +00:00
  • 911e8c3fbc * Set HTTP status code to 500 by default when error action is invoked. hns 2007-12-11 10:03:48 +00:00
  • 891d0f74e1 * Fix bug 582, which is a regression caused by the fix for bug 551. http://helma.org/bugs/show_bug.cgi?id=582 http://helma.org/bugs/show_bug.cgi?id=551 hns 2007-12-10 10:47:41 +00:00
  • 3fcdfd72ce * Invoke User.onLogout() if and only if a request evaluator is associated with the current thread (which means it is called from an application script). Otherwise, we can assume to be called by the session timeout thread, which takes care of calling User.onLogout(). hns 2007-12-06 20:18:59 +00:00
  • 4afd475510 * deprecated SessionManager.loginSession() and logoutSession() as they have a twin in the Application class. Change implementations to proxy to the Application methods. hns 2007-12-06 20:13:59 +00:00
  • ec1b8b71d9 * Use setBoolean to set BIT and BOOLEAN type columns in prepared statements. This should make it work with Postgresql. hns 2007-12-06 13:56:09 +00:00
  • 3f1069db50 moved externals from the work directory to a subdirectory in build and changed build.xml to create packages free of spurious temp files and to make sure the build process cleans up after itself zumbrunn 2007-12-03 18:47:50 +00:00
  • 9bf899098f * Setting svn:externals definitions to mount apps hns 2007-11-30 15:44:58 +00:00
  • 29ec0ea10d * Adding work directory in order to mount dependencies via svn:externals. This is not the most beautiful solution, but it works for now. hns 2007-11-30 15:39:37 +00:00
  • 3005f65f3e * Switch no new jsdoc-toolkit java/rhino based toolkit for generating helma documentation. * Remove tasks that build up and tear down dependencies via cvs. The new build will depend on dependencies set via svn:externals (not done yet). hns 2007-11-30 15:27:43 +00:00
  • 02d3e602cc * Use logError() instead of logEvent() and extra stack dumping in SessionManager.cleanupSessions(). hns 2007-11-30 12:33:52 +00:00
  • 70c50c5625 * Implement calling of User.onLogout in Session.logout(). Fixes bug 579 <http://helma.org/bugs/show_bug.cgi?id=579> hns 2007-11-30 12:32:42 +00:00
  • 1e783a8c99 * Apply better protection against SQL injection following bug 577 <http://helma.org/bugs/show_bug.cgi?id=577> by introducing DbMapping.checkNumber() to catch anything not looking like a number literal from being used as such. I't quite likely this breaks for some SQL type and app out there, but it's better to be careful here. * Introduce new DbMapping.virtual/DbMapping.isVirtual() flag that easily lets us know whether a Node/DbMapping is a virtual one (collection, mountpoint etc) Using this in Node.getNonVirtualParent() fixes bug 566 <http://helma.org/bugs/show_bug.cgi?id=566>. * Remove obsolete and unused Node.setParent(Node, String). * Set parentHandle directly instead of calling setParent(Node) in Node.getParent(). hns 2007-11-28 15:32:09 +00:00
  • 230469d544 * Rename FrameworkException to NotFoundException in order to reflect actual usage/semantics. hns 2007-11-28 15:14:02 +00:00
  • c17e1df282 added jsdoc comments documenting the various properties of helma.Url objects zumbrunn 2007-11-28 11:00:00 +00:00
  • 116a111d5a * Do not set the log level of the event log unless actually required. hns 2007-11-26 14:46:36 +00:00
  • 8cffcf5b57 * Reimplement Jetty log sedating by introducing a new private Log class that reduces the log verbosity for levels DEBUG and TRACE. This is a fix for the fix for bug 560 <http://helma.org/bugs/show_bug.cgi?id=560>, which resulted in Jetty logfiles to be written to a subdirectory called "console". hns 2007-11-26 14:43:42 +00:00
  • 61b41e098a * Always include local subnode version in lastSubnodeChange checksum. Fixes bug 567 <http://helma.org/bugs/show_bug.cgi?id=567> hns 2007-11-26 12:45:38 +00:00
  • ad635a3cf7 * Fix typo in comment. hns 2007-11-26 12:43:48 +00:00
  • 87ed97d3a3 if logSQL=true then we will also log queries, that are submitted via helma.Database to the sql-log-file; see http://www.nabble.com/logSQL-with-helma.Database-t4804158s2589.html michi 2007-11-23 17:13:32 +00:00
  • 7258b95fcb * Do not mark prototype as updated in database when modifying the _prototype property on transient objects. Fixes bug 572. <http://helma.org/bugs/show_bug.cgi?id=572> * Tentative fix for bug 573: Calling HopObject.persist() on already persistent object causes object to be updated in database. <http://helma.org/bugs/show_bug.cgi?id=573> hns 2007-11-22 10:27:04 +00:00
  • 1b873d3e11 * Exclude Jetty classes from console log. This is a hack to prevent all request and response headers to be dumped to console with debug=true. Fixes bug 560 <http://helma.org/bugs/show_bug.cgi?id=560> hns 2007-11-20 15:13:55 +00:00
  • 90c02cadc0 * Make sure deleted objects aren't fetched again from database. Fixes the other half of bug 551 <http://helma.org/bugs/show_bug.cgi?id=551> * Renamed methods in Transactor to make their purpose clearer. hns 2007-11-20 13:02:31 +00:00
  • 9858091c20 * Make sure child objects removed via removeChild() are not accessible anymore from that collection. Fixes bug 551 <http://helma.org/bugs/show_bug.cgi?id=551> hns 2007-11-20 09:37:39 +00:00
  • ad68ca97b3 * Do not let 404 errors increase app.errorCount, even if no notfound action is defined. hns 2007-11-14 16:44:27 +00:00