Commit graph

3106 commits

Author SHA1 Message Date
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
b9a776c979 Add addHeader(), setHeader(), getHeader() and removeHeader() methods to Mail object.
Remove unused java class constants. Fix for bug 540 <http://helma.org/bugs/show_bug.cgi?id=540>
2008-10-30 16:01:06 +00:00
zumbrunn
72341e832e changed build.xml to include itself in generated src packages 2008-10-29 12:13:37 +00:00
hns
d0ede5de85 Add support for enabling TLS in helma.Mail as suggested by user Johnti on the Helma group:
http://groups.google.com/group/helma/browse_frm/thread/d32296c5df8996cb/af407e588fb60054
2008-10-20 15:09:12 +00:00
hns
a4811de1e0 Partial backport from Helma NG file module: Add optional arguments to open: append to append to existing file instead of opening it for reading, and charset to define the encoding for reading/writing the file. Also fixes a bug where close() does not properly reset all internal variables.
Fixes bug 636 <http://helma.org/bugs/show_bug.cgi?id=636>
2008-10-20 14:51:32 +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
zumbrunn
2fc811ccc0 added the CDDL to the licenses directory, since we include JSAdapter, which is under the CDDL 2008-10-20 14:23:36 +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
8a5c065901 Change version number to 1.6.3 2008-10-20 10:38:37 +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
hns
3e1df369bf Move build.xml to top-level directory. 2008-10-15 09:36:24 +00:00
hns
b556bc4bd4 Move build.xml to top-level directory. 2008-10-15 09:30:57 +00:00
hns
c531985afe Increase app.xmlrpcCount for "new style" XML-RPC requests served by Jetty.
Fixes bug 629 http://helma.org/bugs/show_bug.cgi?id=629
2008-09-20 20:45:46 +00:00
hns
fd80b451d9 Patch from Jürg Lehni to not track unset() on non-persitable properties.
Fixes bug 633 http://helma.org/bugs/show_bug.cgi?id=633
2008-09-20 20:22:37 +00:00
hns
761ab5560b Fix serialization for transient HopObjects. 2008-09-09 13:53:51 +00:00
zumbrunn
c15785a22d updated mailing list and source repository links 2008-08-12 20:40:53 +00:00
hns
d25b8298ee Add debug output for prototype handling. 2008-08-06 13:12:38 +00:00
zumbrunn
50ab484fd0 updated range of years of copyright notice in the license to include 2008 2008-08-06 10:47:15 +00:00
hns
60e56647eb Undo previous commit. 2008-07-28 10:56:51 +00:00
hns
fb9f5cf8cd Add more synchronization to avoid memory race conditions. 2008-07-28 10:23:03 +00:00
hns
f3c6c7a93f Make app.addRepository() synchronized to avoid memory race conditions. 2008-07-28 08:24:42 +00:00
hns
01e8b5ccbd Make sure _all_ access to TypeManager.prototype field is synchronized. 2008-07-21 23:05:28 +00:00
hns
51ba3dc963 Make sure _all_ access to TypeManager.prototype field is synchronized. 2008-07-21 23:02:22 +00:00
hns
41a422fd01 Synchronize more methods in TypeManager to prevent race conditions. 2008-07-17 12:08:10 +00:00
hns
d1600d4783 * Use LinkedHashMap for dirty node tracking to preserve insertion order.
see <http://helma.org/pipermail/helma-user/2008-May/007379.html>
2008-07-04 13:50:59 +00:00
zumbrunn
b5b7d8ff0b removed obsolete information regarding the old FtpClient host object and fixed the constructor's example code accordingly 2008-07-01 18:03:34 +00:00
zumbrunn
8b6203fc0d fixed description of repeat method 2008-07-01 17:38:19 +00:00
hns
277737f940 * Fix checkXmlRpc to work with content-types containing a charset subheader.
Fixes bug #628 <http://helma.org/bugs/show_bug.cgi?id=628>
2008-06-13 20:48:33 +00:00
hns
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
2008-05-15 09:45:33 +00:00