Commit graph

  • 9ddc2a6f83 Don't try to generate error page if the response has already been committed. hns 2009-11-26 10:24:15 +00:00
  • 3cd206effc Make symbolic keys case sensitive, following the general change between from 1.6 to 1.7. hns 2009-11-25 13:25:11 +00:00
  • 291e00bc6c Code cleanup hns 2009-11-25 13:22:07 +00:00
  • 36c1557c99 Make sure event-log logging level is set according to debug property. Fixes bug 696 http://dev.helma.org/bugs/show_bug.cgi?id=696 hns 2009-11-25 10:55:51 +00:00
  • 16ead75851 Revert back to using TransientNode as HopObject cache node and as placeholder for invalidated/deleted nodes. Some cleanup and modifier tweaking in HopObject. hns 2009-11-25 09:33:28 +00:00
  • 62db24a43c Remove transient modifiers from Node.java hns 2009-11-24 15:06:07 +00:00
  • e14f335253 Revert to old style, unsegmented collection loading as default and only do segmented loading when collection.loadmode = lazy is set. hns 2009-11-24 10:34:50 +00:00
  • 3250ba7c00 Undo commit 9990 - not calling loadNodes() in addNode() breaks two unit tests involving grouped collections. hns 2009-11-24 10:25:31 +00:00
  • 9323574f0f Do not load subnodes in addNode(). The subnode list is created a few lines later anyway, and using a faux list shouldn't affect relational collections. hns 2009-11-18 14:21:00 +00:00
  • 17047f9cfc Fix IllegalStateException when saving as GIF, see bug 683. lehni 2009-11-16 13:47:46 +00:00
  • 807cd5c80d Patch from Jürg Lehni to add timeout argument to global getURL() function. Fixes bug #692 - http://dev.helma.org/bugs/show_bug.cgi?id=692 hns 2009-11-10 08:47:01 +00:00
  • 784e374f78 Better fix for bug #684: Retrieve ScriptingEngine if necessary in Application.getDataRoot(), and make sure root objects set via Application.setDataRoot() are actually used. hns 2009-11-05 10:15:53 +00:00
  • 989ce36da0 Another NPE fix for bug #689 http://dev.helma.org/bugs/show_bug.cgi?id=689 hns 2009-11-05 08:11:53 +00:00
  • 9b7af555df Readd zero argument Application.getDataRoot() hns 2009-11-05 08:03:29 +00:00
  • 0a9d8ff99b Add skin introspection patch from Tobi Schäfer for bug #688 http://dev.helma.org/bugs/show_bug.cgi?id=688 hns 2009-11-04 11:31:10 +00:00
  • e2a5a82758 Add Array module repository. Fixes bug #687 http://dev.helma.org/bugs/show_bug.cgi?id=687 hns 2009-11-04 11:13:12 +00:00
  • 8c219d75a3 Don't try to prefetch childnodes on transient nodes. Fixes bug #689 http://dev.helma.org/bugs/show_bug.cgi?id=689 hns 2009-11-04 11:01:58 +00:00
  • daf3b0b292 Create subnode list if it doesn't exist in Node.getLastSubnodeChange(). Fixes bug #679 http://dev.helma.org/bugs/show_bug.cgi?id=679 hns 2009-11-04 10:56:15 +00:00
  • f2904d1f29 Replace ' with ' in encodeXml(), and remove some empty lines. hns 2009-10-05 16:38:51 +00:00
  • 5d130c9ecb Minor profiler and logging tweaks hns 2009-09-29 13:51:26 +00:00
  • bd1e9dcc25 Add rhino.profile.session property to limit profiling to certain user sessions. If set, the indexOf method of the current session id is called with the property as argument, and the profiler is disabled unless the result is 0. hns 2009-09-28 13:54:14 +00:00
  • 6af9357ba1 Improve formatting of compiler output hns 2009-09-28 13:07:59 +00:00
  • 3cef3759a8 Some obvious profiler fixes hns 2009-09-28 12:55:24 +00:00
  • 7483b7a8ad Fix some markdown bugs. hns 2009-09-28 12:21:16 +00:00
  • 0dc5aed374 Backport JS profiler from Helma NG. Use rhino.profile = true to activate. hns 2009-09-27 18:59:38 +00:00
  • 410226aa36 Cleaned up imports and removed unused variables. lehni 2009-09-25 10:57:50 +00:00
  • dc902a967e Replace GPLed Diff with BSD licensed java-diff from incava.org. The class is patched to provide the same interface as the old class, both for backwards compatibility and because it is slightly easier to work with. hns 2009-09-22 17:23:16 +00:00
  • fe93d71133 Changed apps.properties documentation link again hns 2009-09-21 21:24:35 +00:00
  • e1b9630383 Update link to apps.properties documentation hns 2009-09-21 21:19:47 +00:00
  • 0f82126115 Patch for bug 677 – Dynamic relations broken after update to trunk hns 2009-09-21 21:03:27 +00:00
  • dc4cc8f3e1 Minus debugging output hns 2009-09-21 12:49:14 +00:00
  • 219a5df9ff Sanitize emphasis hns 2009-09-21 12:47:51 +00:00
  • fc689d9a12 Make sure Jetty contexts are properly mapped each time an application is bound or unbound. Remove code for dead responseEncoding property. hns 2009-09-20 19:43:05 +00:00
  • b65a8d5c6d Add second optional queryParams argument to HopObject.href(). If this is a JavaScript object, its properties will be encoded to a query string and added to the generated URL. hns 2009-09-20 07:33:46 +00:00
  • ec3f04cab3 Rename __fullname__ internal HopObject property to __path__, fill in/trim some comments. hns 2009-09-18 20:40:36 +00:00
  • 85586a0d0f Some cleanup in getGroupbySubnode() methods, mostly renaming local vars and some added comments hns 2009-09-18 19:58:10 +00:00
  • 19f8084873 Collateral code cleanup: add some comments, remove superfluous parentheses hns 2009-09-18 19:36:42 +00:00
  • 98aff5cd1a More tests and some fixes hns 2009-09-18 19:09:52 +00:00
  • 82eda00edd Remove some more unnecessary parentheses hns 2009-09-18 15:01:48 +00:00
  • e68e058e6a Simplify cleanup hns 2009-09-18 13:03:53 +00:00
  • 9490b2e48c Add test for generic collections hns 2009-09-18 11:58:28 +00:00
  • f96e053417 Use both grouped and ungrouped collection to add test set hns 2009-09-18 08:05:04 +00:00
  • 7f15b6ab24 Remove RMI socket factory which isn't used anymore hns 2009-09-18 07:58:27 +00:00
  • 602130c0f7 More link parsing fixes hns 2009-09-16 13:35:21 +00:00
  • fee6e34d34 Flip version to 1.7.0 hns 2009-09-16 10:03:51 +00:00
  • 37e375658e Implement single line break by ending a line with two or more spaces, remove unused field definitions. hns 2009-09-16 09:52:46 +00:00
  • 891308ffae Backport native markdown processor from Helma NG hns 2009-09-16 09:15:37 +00:00
  • e051184c12 Add db support for PostgreSQL and Oracle. hns 2009-09-15 15:41:24 +00:00
  • 1b58896a2e Add test for maxsize/offset/limit collections hns 2009-09-15 15:26:55 +00:00
  • 84d5f87eea Fix access by name for collections with offset hns 2009-09-15 15:25:08 +00:00
  • b0c72c989e Make group order test work with oracle sort order hns 2009-09-15 14:54:36 +00:00
  • 684346bb49 Add test for collection order hns 2009-09-15 14:48:28 +00:00
  • ee203ea4ad Rewrite group-by select statements using select distinct hns 2009-09-15 11:00:30 +00:00
  • da1024e686 Switch svn:externals for Jala back to Jala 1.3 release hns 2009-09-14 20:14:15 +00:00
  • dc941ca543 Move test suite into module hierarchy hns 2009-09-14 20:08:17 +00:00
  • b637cf7333 Detach counting of subnodes from the size() method to exactly mirror the behaviour of SubnodeList. hns 2009-09-14 20:04:31 +00:00
  • ff35a07fa3 Make fields protected for easier subclassing. hns 2009-09-14 20:02:14 +00:00
  • 64b778f11a Catch exceptions thrown while detaching from parent in Node.remove() hns 2009-09-14 19:59:33 +00:00
  • b89989fa20 Fix countNodes() for grouped collections. hns 2009-09-14 19:56:51 +00:00
  • 67b705117a Make sure group node mappings have their last type change field set. This could lead to content nodes not being fetched. hns 2009-09-14 19:56:01 +00:00
  • 545a46a0a1 Remove helma.jar in clean task, otherwise debian build script won't work, but remove nesting wildcards hns 2009-09-11 14:33:00 +00:00
  • 6049832b09 Fix bug with session.login(name, pw) always returning false hns 2009-09-11 13:14:06 +00:00
  • 473b05c77b Only delete timestamped helma.jar file in clean task hns 2009-09-11 11:07:24 +00:00
  • d24fca3a89 Fix clean task to only clean helma*.jar in lib directory. hns 2009-09-11 10:34:17 +00:00
  • db9227e95d Remove rmic task, increase version to 1.7.0-rc3 hns 2009-09-10 14:24:58 +00:00
  • 51f31cac8a Fix bug where charset was always added to the Content-Type header even for binary responses. Now charset is only added if it was explicitly set via res.charset, or if the response was actually encoded using the given charset (i.e. writeBinary() wasn't used). Change default charset to UTF-8. hns 2009-09-10 13:23:38 +00:00
  • 900a251d25 Redesign session management to only register sessions with the session manager that have been changed. hns 2009-09-09 23:27:04 +00:00
  • 244a7529cb Remove empty javadoc comments and unused code. Decrease create/modifytime by one unit to notice immediate changes. hns 2009-09-09 23:25:22 +00:00
  • c50d8b9a3b Fix bug where aggressive cachemode influences caching behaviour of complex reference. hns 2009-09-09 23:19:45 +00:00
  • 04c809ad58 Cosmetic fix hns 2009-09-08 20:29:56 +00:00
  • 0241dc1f4e Fix bug in HopObjectProxy: use Node handle instead of node key. hns 2009-09-08 19:52:11 +00:00
  • f6e5680a16 Use TransientNode for app data node and prevent a bug where the helma logdir property breaks log4j. hns 2009-09-08 19:51:28 +00:00
  • fc1d8dfb26 Remove cache replication functionality including the underlying RMI networking code, make Node not serializable and Node.nmgr final, and resurrect TransientNode for use in sessions. hns 2009-09-08 19:48:08 +00:00
  • e1354889ec Make nmgr volatile, remove setter for wrapped node manager, and check for null nmgr in constructors. hns 2009-09-08 13:51:39 +00:00
  • 44b4a1fe9c Make AbstractServletClient.getApplication() public hns 2009-09-07 13:30:45 +00:00
  • a56cdaee59 * Reenable prefetchChildren() for grouped subnodes. * Make Subnodelist.add()/get() type-safe by using NodeHandle instead of java.lang.Object. hns 2009-08-14 11:42:42 +00:00
  • d781142af1 Add servletClass apps.properties option to make the servlet class customizable. hns 2009-08-14 09:56:16 +00:00
  • 4f5a119d6a There doesn't seem to be a reason to cast Connector to SocketConnector in openListeners() hns 2009-08-14 09:41:14 +00:00
  • e113cd9687 No need to call containsKey on dirtyNodes before putting existing nodes. lehni 2009-08-12 11:16:33 +00:00
  • 1f29452070 Removed READONLY attribute from path.href and path.contains functions. lehni 2009-08-12 11:02:06 +00:00
  • cac4b7d891 A row of mostly cosmetic changes to imaging code. lehni 2009-08-10 14:28:10 +00:00
  • f0ebbdb6a4 Update version to 1.7.0-rc2. hns 2009-07-30 10:35:33 +00:00
  • 66eb754564 Make sure nodes created by HopObject.getCollection have a valid id. Fixes bug 663. hns 2009-07-30 09:48:58 +00:00
  • 507da18a8b Evict primary key in deepRemoveNode(). Fixes bug 668 by making sure removed group nodes are not cached. hns 2009-07-30 09:04:43 +00:00
  • 032d6dcae7 Fix bug 661 - comparison bug in loop macro in HopObject.js hns 2009-07-06 12:32:09 +00:00
  • cfae145756 Set version to 1.7.0-rc1 hns 2009-07-02 12:49:44 +00:00
  • 235a1342f8 committed patch by Simon Oberhammer (adding forEach() to HitCollection, see http://dev.helma.org/bugs/show_bug.cgi?id=670) grob 2009-06-30 08:18:59 +00:00
  • 6d0427ff55 Update jetty to 6.1.18 release. hns 2009-06-17 14:57:19 +00:00
  • ed6db227cc Merge branch jetty6 back into trunk. hns 2009-06-17 12:41:22 +00:00
  • b48fb4e277 New logic for skin handler lookup to fix the fix for bug 617. New algorithm works like this: hns 2009-06-15 13:25:36 +00:00
  • afcb459c0d Workaround for quote escaping bug with \-terminated OPTIONS variable. hns 2009-06-06 10:14:03 +00:00
  • 3a31940fe9 Implement -a switch to helma launcher that allows to explicitly list applications to start, overriding the apps.properties file (application settings in the apps.properties file are still honored, though). Adapt start scripts to pass though additional arguments. hns 2009-05-29 15:06:14 +00:00
  • e12c90a529 Refactoring of select statement generation code into Relation.get*Select() methods in order to fix bug 667. Also remove some dead code. hns 2009-05-29 13:47:15 +00:00
  • 3401440d3b Consistently update subnodeCount in add/remove methods, and fix bug where size() returns wrong result. hns 2009-05-27 11:59:15 +00:00
  • 3b25f65602 Remove *** prefix from DbMapping error messages and warnings. hns 2009-05-27 11:42:57 +00:00
  • 44233c5446 Add SubnodeList.markAsChanged() method, fix SubnodeList class javadoc. hns 2009-05-27 11:08:14 +00:00
  • 052b6fc4bb fixed code example for helma.Ftp.deleteFile method to use correct method name zumbrunn 2009-05-19 14:38:54 +00:00
  • fbd4706604 The init script was intially written for Debian, where sh is typically symlinked to bash, but the proper, more generic script header is #!/bin/bash http://groups.google.com/group/helma/browse_thread/thread/24c3a30ee5091480 zumbrunn 2009-05-10 09:28:27 +00:00
  • 567266fdfc Set segment length in SegmentedSubnodeList down to 1000 from 10000. hns 2009-05-06 13:16:26 +00:00
  • f6663fe987 Delay creation of request evaluators until app node has been initialized. hns 2009-05-06 12:47:10 +00:00