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
hns
b3112585bb
Simplify code a little bit.
2009-04-01 16:03:30 +00:00
hns
d6a51d3fc9
Implement limit/offset support for oracle and use the occasion to refactor and simplify Relation.buildQuery() a bit.
2009-04-01 15:49:59 +00:00
hns
196bf97053
Add experimental definePrototype() function.
2009-03-31 20:20:13 +00:00
hns
3d882de822
Make getIntegerProperty() more robust by catching and logging NumberFormatExceptions.
2009-03-31 12:53:33 +00:00
hns
5fe2b74d30
Do not convert all values to strings.
2009-03-31 12:52:24 +00:00
hns
a32b4f2c86
Add static getCollection() method on HopObject constructors to generate collections programmatically and on the fly. Implement limit and offset collection properties for databases that support it (Postgresql + Mysql)
2009-03-31 11:54:21 +00:00
hns
0a62df7875
Update rhino.jar to js.jar from Rhino 1.7R2 final release.
2009-03-30 13:07:47 +00:00
hns
d26410abc7
Don't define Object.prototype.dontEnum as READONLY, reflecting the status of other predefined functions and properties - see bugs #643 and #602 .
...
http://dev.helma.org/bugs/show_bug.cgi?id=643
http://dev.helma.org/bugs/show_bug.cgi?id=602
2009-03-30 12:26:14 +00:00
hns
ed8637f449
Update to js.jar from rhino1_7R2-RC4.zip
2009-03-17 14:48:38 +00:00
hns
95cb0c224f
Close input streams after passing them to java.util.Properties.load().
2009-03-17 14:41:10 +00:00
hns
6d6f9ff341
Throw exception instead of returning null if file can't be read.
2009-03-17 14:26:11 +00:00
hns
fab316995a
Fix bug where storage type name is null when a extended prototype inherits the _db but has its own _table. Allow extended prototypes to only override the _db, but not the _table.
2009-02-18 15:48:43 +00:00
hns
7044354843
Remove duplicate maxSize assignment.
2009-02-18 15:43:48 +00:00
hns
f83909c67d
Fix bug 657: Report warnings as error when strictVars app property is set to true.
2009-02-18 09:24:33 +00:00
hns
829d4ead3c
Improve repository lookup code and error message.
2009-02-17 16:04:53 +00:00
hns
99cfdfd6f6
Allow applications to explicitly set the HTTP status code with res.redirect().
2009-02-02 15:35:00 +00:00
hns
ca1aa7f02c
Add rootObjectFunctionName property that allows to define a function to get the app's root object.
2008-12-18 13:57:31 +00:00
hns
4b2f195568
Minor cosmetic fix.
2008-12-18 11:55:39 +00:00
hns
eba343b868
Implement rootObjectPropertyName setting to allow "pure" javascript applications where root object is fetched from a global variable in the scripting engine.
2008-12-18 11:32:58 +00:00
zumbrunn
94d85929b4
patch by tobi, catching invalid date format errors and letting the now_macro write error output into the skin instead
2008-12-16 13:23:33 +00:00
hns
6d3f6c3165
Remove helma.doc package and DocApplication functionality.
2008-12-15 22:52:18 +00:00
hns
2ea2823a35
Make sure repositories added via app.addRepository are added before the current repository, but don't make the current repository their parent repository. This mostly undoes revision 9305, and fixes bug 654 http://helma.org/bugs/show_bug.cgi?id=654
2008-12-15 22:46:29 +00:00
hns
b20ef3074a
Remove dist directory in ant clean.
2008-12-15 15:54:41 +00:00
hns
c31f60ffa7
Toggle version to 1.7.0 and clean up build file: Remove obsolete CVS stuff, combine sub-targets with just one caller, and remove unused targets.
2008-12-15 15:11:20 +00:00
hns
3673da711c
Remove all generated files in clean task.
2008-12-15 12:42:23 +00:00
hns
a72c19adc5
Be smarter about opening listeners in JettyServer
2008-12-13 02:53:10 +00:00
hns
c820cab550
Create jetty server in init() so we can open privileged ports when running with jsvc.
2008-12-13 02:36:39 +00:00
hns
256335adde
Make launcher Main class compatible with jsvc (apache commons daemon) and adapt Server lifecycle API.
2008-12-13 01:39:10 +00:00
hns
0cb7e2a1aa
Add ApplicationManager constructor without RMI port argument.
2008-12-11 15:08:54 +00:00
hns
6b12ae32ea
Make RequestEvaluator survive broken/missing rhino.jar.
2008-12-03 14:06:19 +00:00
hns
9b8ef5d64c
Implement toString() in class InetEndpoint.
2008-11-27 10:10:52 +00:00
hns
15ae889600
Fix cookie parsing to handle HttpOnly and other cookie extensions correctly.
2008-11-17 11:37:57 +00:00