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
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
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
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
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
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
053237600e
Use LinkedHashSet in ResourceProperties to preserve insertion order in properties updates.
2008-11-11 14:09:34 +00:00
hns
5c71734acb
Apply totalUploadLimit value to ordinary form post requests.
2008-11-06 17:37:25 +00:00
hns
6141392ab9
Fix bug 647: Allow HopObjects to use ScriptableObject slot properties, for
...
example to implement getters and setters. Patch from Juerg Lehni.
<http://helma.org/bugs/show_bug.cgi?id=647 >
2008-11-05 15:36:27 +00:00
hns
941395437b
Fix bug 649: Don't mark node as modified on transient property change.
...
<http://helma.org/bugs/show_bug.cgi?id=649 >
2008-11-05 14:28:03 +00:00
hns
57b5275705
Factor out jetty server into JettyServer wrapper class and duplicate
...
InetAddrPort as InetEndpoint to avoid direct dependency of helma.main.Server
on Jetty 4, which may be problematic when running Helma apps through
helma.servlet.StandaloneServletClient within a servlet container.
2008-11-05 12:49:06 +00:00
hns
9f2238c019
Patch from Tobi Schäfer to pass Jetty XML configuration file to Helma server.
2008-10-20 14:44:41 +00:00
hns
a8677d1afc
Reactivate Server.checkPort() but try to use a server socket instead of connecting with a client socket as suggested by Daniel Ruthardt in bug 637 < http://helma.org/bugs/show_bug.cgi?id=637 >
2008-10-20 13:51:31 +00:00
hns
fb12fd3e4d
Make location of db.properties customizable using the dbPropFile server property.
...
Contributed by Bernhard Fröhlich. Fixes bug 640 <http://helma.org/bugs/show_bug.cgi?id=640 >
2008-10-20 13:35:43 +00:00
hns
ac28cd7542
Resolve relative paths relative to Helma home directory. Fixes bug 639 < http://helma.org/bugs/show_bug.cgi?id=639 >
2008-10-20 12:19:31 +00:00
hns
c28482264e
Change version number to 1.6.3
2008-10-20 10:37:52 +00:00
hns
9a0a61e698
Fix bug with closed database connections in very long running requests by making sure connections are re-checked every 10 seconds.
2008-10-17 16:20:15 +00:00
hns
f099d9ae69
Minor code cleanup.
2008-10-17 16:07:31 +00:00
hns
1504777bcc
Import helma.objectmodel.db.Node instead of using the fully qualified classname all the time.
2008-10-17 16:06:43 +00:00
hns
99c9b3a867
Return a transient HopObject instead of a ListViewWrapper in HopObject.getOrderedView(). Do import helma.objectmodel.db.Node in HopObject.
2008-10-17 16:04:28 +00:00
hns
0e7c4354c9
Make HopObject properties case sensitive.
2008-10-17 14:18:24 +00:00
hns
bff550c6d9
Activate instruction count based thread termination. Replace deprecated context enter()/exit() calls.
2008-10-17 14:05:23 +00:00
hns
33fac6be68
Fix bug in request handling when incoming requests are attached to an existing response and the response is generated by directly accessing the res.servletResponse HttpServletResponse instance.
2008-10-17 12:02:24 +00:00
hns
a635964fc8
Go back to Java 1.4 compatibility. The few generics uses aren't worth it to require Java 1.5.
2008-10-17 09:14:36 +00:00
hns
e827d0beb4
Make sub-properties updateable, plus minor code cleanup.
2008-10-17 09:10:34 +00:00
hns
2c2f95253f
Set log level to "starting" message to DEBUG. Set log level for "inserted node" message and consorts to DEBUG. Fix and improve error log messages. Make Log accessors in Application public.
2008-10-17 08:53:30 +00:00
hns
f1dd9c6f37
Add log message when a request starts evaluating, and make commit log message look nicer and easier to parse.
2008-10-16 15:06:44 +00:00
hns
ee391ae6db
Improve thread naming and include thread ids in helma log message.
2008-10-16 14:30:47 +00:00
hns
3af404d39e
Unify macro error handling, and don't dump stack traces for macro errors.
2008-10-16 13:50:29 +00:00
hns
ffff56465f
Fix for bug 625: only don't encode within macro tag, but do encode in HTML tags.
2008-10-16 13:20:56 +00:00
hns
d3cb3afce8
Fix for bug 625: don't encode & as entity if encountered within a tag.
2008-10-16 13:17:22 +00:00
hns
4cdc177964
Add support for secure and HttpOnly session cookies, with HttpOnly being enabled by default. The features are controlled through the httpOnlySessionCookie and secureSessionCookie app properties. We now compose and set the session cookie ourselves as this is the only reliable way to do it in a cross-servlet-container compatible way and without adding dependencies to the servlet container.
2008-10-16 12:15:42 +00:00
hns
5217132767
Some code cleanup and make sure StandaloneServletClient actually works by avoiding NullPointerExceptions and calling Server.init().
2008-10-15 14:49:08 +00:00
hns
fc8ce41184
Do not use the currently evaluated code repository as parent/root repository for repositories added via app.addRepository(). I don't know why I did this in the first place, but it messes up code evaluation order because multiple repositories end up with the same root repository.
2008-10-15 10:29:18 +00:00