Commit graph

3141 commits

Author SHA1 Message Date
hns
67b705117a Make sure group node mappings have their last type change field set. This could lead to content nodes not being fetched. 2009-09-14 19:56:01 +00:00
hns
545a46a0a1 Remove helma.jar in clean task, otherwise debian build script won't work, but remove nesting wildcards 2009-09-11 14:33:00 +00:00
hns
6049832b09 Fix bug with session.login(name, pw) always returning false 2009-09-11 13:14:06 +00:00
hns
473b05c77b Only delete timestamped helma.jar file in clean task 2009-09-11 11:07:24 +00:00
hns
d24fca3a89 Fix clean task to only clean helma*.jar in lib directory. 2009-09-11 10:34:17 +00:00
hns
db9227e95d Remove rmic task, increase version to 1.7.0-rc3 2009-09-10 14:24:58 +00:00
hns
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. 2009-09-10 13:23:38 +00:00
hns
900a251d25 Redesign session management to only register sessions with the session manager that have been changed. 2009-09-09 23:27:04 +00:00
hns
244a7529cb Remove empty javadoc comments and unused code. Decrease create/modifytime by one unit to notice immediate changes. 2009-09-09 23:25:22 +00:00
hns
c50d8b9a3b Fix bug where aggressive cachemode influences caching behaviour of complex reference. 2009-09-09 23:19:45 +00:00
hns
04c809ad58 Cosmetic fix 2009-09-08 20:29:56 +00:00
hns
0241dc1f4e Fix bug in HopObjectProxy: use Node handle instead of node key. 2009-09-08 19:52:11 +00:00
hns
f6e5680a16 Use TransientNode for app data node and prevent a bug where the helma logdir property breaks log4j. 2009-09-08 19:51:28 +00:00
hns
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. 2009-09-08 19:48:08 +00:00
hns
e1354889ec Make nmgr volatile, remove setter for wrapped node manager, and check for null nmgr in constructors. 2009-09-08 13:51:39 +00:00
hns
44b4a1fe9c Make AbstractServletClient.getApplication() public 2009-09-07 13:30:45 +00:00
hns
a56cdaee59 * Reenable prefetchChildren() for grouped subnodes.
* Make Subnodelist.add()/get() type-safe by using NodeHandle instead of java.lang.Object.
2009-08-14 11:42:42 +00:00
hns
d781142af1 Add servletClass apps.properties option to make the servlet class customizable. 2009-08-14 09:56:16 +00:00
hns
4f5a119d6a There doesn't seem to be a reason to cast Connector to SocketConnector in openListeners() 2009-08-14 09:41:14 +00:00
lehni
e113cd9687 No need to call containsKey on dirtyNodes before putting existing nodes. 2009-08-12 11:16:33 +00:00
lehni
1f29452070 Removed READONLY attribute from path.href and path.contains functions. 2009-08-12 11:02:06 +00:00
lehni
cac4b7d891 A row of mostly cosmetic changes to imaging code. 2009-08-10 14:28:10 +00:00
hns
f0ebbdb6a4 Update version to 1.7.0-rc2. 2009-07-30 10:35:33 +00:00
hns
66eb754564 Make sure nodes created by HopObject.getCollection have a valid id. Fixes bug 663. 2009-07-30 09:48:58 +00:00
hns
507da18a8b Evict primary key in deepRemoveNode(). Fixes bug 668 by making sure removed group nodes are not cached. 2009-07-30 09:04:43 +00:00
hns
032d6dcae7 Fix bug 661 - comparison bug in loop macro in HopObject.js 2009-07-06 12:32:09 +00:00
hns
cfae145756 Set version to 1.7.0-rc1 2009-07-02 12:49:44 +00:00
grob
235a1342f8 committed patch by Simon Oberhammer (adding forEach() to HitCollection, see http://dev.helma.org/bugs/show_bug.cgi?id=670) 2009-06-30 08:18:59 +00:00
hns
6d0427ff55 Update jetty to 6.1.18 release. 2009-06-17 14:57:19 +00:00
hns
ed6db227cc Merge branch jetty6 back into trunk. 2009-06-17 12:41:22 +00:00
hns
b48fb4e277 New logic for skin handler lookup to fix the fix for bug 617. New algorithm works like this:
- resolve against the this-object prototype name, including extended prototypes
  - resolve against the res.handlers collection
  - resolve against the parent path of the this-object, including extended prototypes.

The following thread provides more context:
http://groups.google.com/group/helma/browse_frm/thread/b15805fd6f661d64
2009-06-15 13:25:36 +00:00
hns
afcb459c0d Workaround for quote escaping bug with \-terminated OPTIONS variable. 2009-06-06 10:14:03 +00:00
hns
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. 2009-05-29 15:06:14 +00:00
hns
e12c90a529 Refactoring of select statement generation code into Relation.get*Select() methods in order to fix bug 667. Also remove some dead code. 2009-05-29 13:47:15 +00:00
hns
3401440d3b Consistently update subnodeCount in add/remove methods, and fix bug where size() returns wrong result. 2009-05-27 11:59:15 +00:00
hns
3b25f65602 Remove *** prefix from DbMapping error messages and warnings. 2009-05-27 11:42:57 +00:00
hns
44233c5446 Add SubnodeList.markAsChanged() method, fix SubnodeList class javadoc. 2009-05-27 11:08:14 +00:00
zumbrunn
052b6fc4bb fixed code example for helma.Ftp.deleteFile method to use correct method name 2009-05-19 14:38:54 +00:00
zumbrunn
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 2009-05-10 09:28:27 +00:00
hns
567266fdfc Set segment length in SegmentedSubnodeList down to 1000 from 10000. 2009-05-06 13:16:26 +00:00
hns
f6663fe987 Delay creation of request evaluators until app node has been initialized. 2009-05-06 12:47:10 +00:00
hns
1182f46d8c Make sure database connections are tested at most every 60 seconds by retaining connection test status across requests. Fixes bug 622 http://dev.helma.org/bugs/show_bug.cgi?id=662 2009-04-30 13:04:43 +00:00
hns
9c123b41e9 Also check for multi-constraint relations when adding child nodes and defer setting of constraints until nodes are persisted. Fixes a bug reported by Simon Oberhammer on the mailing list: http://groups.google.com/group/helma/browse_frm/thread/8026700caf582560 2009-04-28 15:14:32 +00:00
hns
3c44bb305d Implement setting complex properties on complex relations by deferring the setting of constraints. Fixes a bug reported by Simon Oberhammer on the mailing list: http://groups.google.com/group/helma/browse_frm/thread/8026700caf582560 2009-04-28 13:30:29 +00:00
hns
b0478b020b Try to fix NullPointerException in NodeProxy.getNode(). 2009-04-20 11:07:55 +00:00
hns
4875a85fce Remove weird feature to allow overriding subskins via mainskin, making skin lookup code much simpler. Fix bug to find base skin in skinpath from extended skin in prototype repository. 2009-04-17 20:41:00 +00:00
hns
1af914b6b1 Merge lazy_collections branch.
* Remove helma.objectmodel.TransientNode, replace it with transient db.Nodes
 * Optimize code path for NodeManager.prefetchNodes()
 * Refactor HopObject to allow wrapping of Nodes that aren't loaded yet
 * Do not load all child objects in HopObject.list()
 * Prefetch the requested child object range in HopObject.list(start, length)
 * Implement segmented loading of collection keys for very large (> 10000 elements) collections
 * Make sure lastModified field is set in ResourceProperties, and lastTypeChange in colleciton mappings
2009-04-17 14:49:26 +00:00
hns
8b65614827 Implement skin inheritance via <% .extends skinname %>. Lookup code is now incredibly convoluted for what it does and needs some streamlining. 2009-04-06 05:54:26 +00:00
hns
ea2d20c55f - Replace custom Server.InetEndpoint class with java.net.InetSocketAddress
- Remove code in Server.checkPort() that calls InetAddress.getLocalHost() in case no interface is defined.

This should help fixing bogus error message when default interface is not up.
2009-04-05 12:38:01 +00:00
hns
3f6010377e Simplify even more. 2009-04-01 16:06:13 +00:00