hns
3fbb4419c6
* Set default Javascript language version to 1.7 (rhino.languageVersion = 170)
2008-01-29 16:06:11 +00:00
hns
8897b240c8
* Update to Rhino HEAD snapshot from 2008-01-28 with token patch
...
from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
2008-01-29 12:36:57 +00:00
hns
b29bf58253
* Make error handling more flexible, adding res.exception, res.scriptStack, res.javaStack
...
to get further information on unhandled exceptions during page execution.
* Make default error page include script and java stack traces when debug is set to true.
2008-01-29 12:16:06 +00:00
hns
b5f7f14b2f
* Add serialization proxy support for host objects (app, path, req, res).
2008-01-29 10:54:46 +00:00
hns
b66a0eb8be
* Fix getDefaultValue() for JSAdapter to be called on adapter, not adaptee.
2008-01-29 10:13:27 +00:00
hns
08145e3965
* Check for action names that don't end with '_action' in setAction().
2008-01-29 10:03:00 +00:00
hns
1ccb272c82
* Rewrite getPrototypeName() to check interfaces on all superclasses,
...
because classes do not report interfaces inherited from a superclass.
2008-01-29 09:35:37 +00:00
hns
e6fad59612
* Overhaul getParent(), only return non-containing parent as fallback.
...
Fixes bug 593 - http://helma.org/bugs/show_bug.cgi?id=593
* Don't go into parent check for root node.
* Do not trim name in setName(). Fixes bug 594 -
http://helma.org/bugs/show_bug.cgi?id=594
2008-01-28 13:54:57 +00:00
hns
2f7407a8c7
* Replace netcomponents.jar with jakarta commons-net.jar 1.4.1.
2008-01-25 11:09:59 +00:00
hns
6ef2eabdd9
* Add JSAdapter support from Phobos project < https://phobos.dev.java.net/ >.
...
See <http://blogs.sun.com/sundararajan/entry/self_javascript_and_jsadapter >
for more information on JSAdapter.
2008-01-10 13:07:53 +00:00
hns
41334905c0
* Patch for rhino.languageVersion setting from Chris Langreiter:
...
http://www.langreiter.com/space/2007-12-26-r17
2008-01-02 17:13:18 +00:00
hns
d8149e0bee
* Implement new HOpObject isPersistent() and isTransient() methods.
2007-12-21 16:37:25 +00:00
hns
25bf45477d
* Make members in SubnodeList transient to avoid serialization fuck-up.
2007-12-21 09:13:52 +00:00
hns
48bd6d055b
* use String.replaceAll() rather than String.replaceFirst() to sanitize log names.
2007-12-12 15:32:10 +00:00
hns
29cebb79a9
* Perform some sanity checks on log file name,
...
as Jetty sometimes uses http context paths in log names.
2007-12-12 13:01:54 +00:00
hns
cb0d4e830d
* Don't add ResourceHandler for protectedStatic directory, as it doesn't
...
really seem to be needed.
2007-12-12 12:45:31 +00:00
hns
077e7b540b
* Make sure resource paths passed to res.forward() start with a slash,
...
as Jetty 5.1 wants it that way.
* Add curly braces to statements.
2007-12-12 12:44:21 +00:00
hns
cdb9a335e4
* Implement res.resetBuffer() as proposed by Michael Platzer on helma-user.
...
Fixes bug 585: http://helma.org/bugs/show_bug.cgi?id=585
2007-12-11 16:32:22 +00:00
hns
389ab31d9e
* Include filter in MultiKey parts for complex references. Fixes bug #584
...
originally reported by Franz Philipp Moser on helma-user.
http://helma.org/bugs/show_bug.cgi?id=584
2007-12-11 16:16:28 +00:00
hns
21c44962f1
* Update version string to 1.6.1
2007-12-11 11:17:37 +00:00
hns
911e8c3fbc
* Set HTTP status code to 500 by default when error action is invoked.
2007-12-11 10:03:48 +00:00
hns
891d0f74e1
* Fix bug 582, which is a regression caused by the fix for bug 551.
...
http://helma.org/bugs/show_bug.cgi?id=582
http://helma.org/bugs/show_bug.cgi?id=551
2007-12-10 10:47:41 +00:00
hns
3fcdfd72ce
* Invoke User.onLogout() if and only if a request evaluator is associated
...
with the current thread (which means it is called from an application script).
Otherwise, we can assume to be called by the session timeout thread, which
takes care of calling User.onLogout().
2007-12-06 20:18:59 +00:00
hns
4afd475510
* deprecated SessionManager.loginSession() and logoutSession() as they have
...
a twin in the Application class. Change implementations to proxy to
the Application methods.
2007-12-06 20:13:59 +00:00
hns
ec1b8b71d9
* Use setBoolean to set BIT and BOOLEAN type columns in prepared statements.
...
This should make it work with Postgresql.
2007-12-06 13:56:09 +00:00
zumbrunn
3f1069db50
moved externals from the work directory to a subdirectory in build and changed build.xml to create packages free of spurious temp files and to make sure the build process cleans up after itself
2007-12-03 18:47:50 +00:00
hns
9bf899098f
* Setting svn:externals definitions to mount apps
2007-11-30 15:44:58 +00:00
hns
29ec0ea10d
* Adding work directory in order to mount dependencies via svn:externals.
...
This is not the most beautiful solution, but it works for now.
2007-11-30 15:39:37 +00:00
hns
3005f65f3e
* Switch no new jsdoc-toolkit java/rhino based toolkit for generating helma documentation.
...
* Remove tasks that build up and tear down dependencies via cvs. The new build will
depend on dependencies set via svn:externals (not done yet).
2007-11-30 15:27:43 +00:00
hns
02d3e602cc
* Use logError() instead of logEvent() and extra stack dumping
...
in SessionManager.cleanupSessions().
2007-11-30 12:33:52 +00:00
hns
70c50c5625
* Implement calling of User.onLogout in Session.logout().
...
Fixes bug 579 <http://helma.org/bugs/show_bug.cgi?id=579 >
2007-11-30 12:32:42 +00:00
hns
1e783a8c99
* Apply better protection against SQL injection following bug 577
...
<http://helma.org/bugs/show_bug.cgi?id=577 > by introducing
DbMapping.checkNumber() to catch anything not looking like a number literal
from being used as such. I't quite likely this breaks for some SQL type and
app out there, but it's better to be careful here.
* Introduce new DbMapping.virtual/DbMapping.isVirtual() flag that easily lets us
know whether a Node/DbMapping is a virtual one (collection, mountpoint etc)
Using this in Node.getNonVirtualParent() fixes bug 566
<http://helma.org/bugs/show_bug.cgi?id=566 >.
* Remove obsolete and unused Node.setParent(Node, String).
* Set parentHandle directly instead of calling setParent(Node) in Node.getParent().
2007-11-28 15:32:09 +00:00
hns
230469d544
* Rename FrameworkException to NotFoundException in order to
...
reflect actual usage/semantics.
2007-11-28 15:14:02 +00:00
hns
116a111d5a
* Do not set the log level of the event log unless actually required.
2007-11-26 14:46:36 +00:00
hns
8cffcf5b57
* Reimplement Jetty log sedating by introducing a new private Log class that
...
reduces the log verbosity for levels DEBUG and TRACE.
This is a fix for the fix for bug 560 <http://helma.org/bugs/show_bug.cgi?id=560 >,
which resulted in Jetty logfiles to be written to a subdirectory called "console".
2007-11-26 14:43:42 +00:00
hns
61b41e098a
* Always include local subnode version in lastSubnodeChange checksum.
...
Fixes bug 567 <http://helma.org/bugs/show_bug.cgi?id=567 >
2007-11-26 12:45:38 +00:00
hns
ad635a3cf7
* Fix typo in comment.
2007-11-26 12:43:48 +00:00
hns
7258b95fcb
* Do not mark prototype as updated in database when modifying the
...
_prototype property on transient objects. Fixes bug 572.
<http://helma.org/bugs/show_bug.cgi?id=572 >
* Tentative fix for bug 573: Calling HopObject.persist() on already persistent
object causes object to be updated in database.
<http://helma.org/bugs/show_bug.cgi?id=573 >
2007-11-22 10:27:04 +00:00
hns
1b873d3e11
* Exclude Jetty classes from console log. This is a hack to prevent
...
all request and response headers to be dumped to console with debug=true.
Fixes bug 560 <http://helma.org/bugs/show_bug.cgi?id=560 >
2007-11-20 15:13:55 +00:00
hns
90c02cadc0
* Make sure deleted objects aren't fetched again from database.
...
Fixes the other half of bug 551
<http://helma.org/bugs/show_bug.cgi?id=551 >
* Renamed methods in Transactor to make their purpose clearer.
2007-11-20 13:02:31 +00:00
hns
9858091c20
* Make sure child objects removed via removeChild() are not accessible
...
anymore from that collection.
Fixes bug 551 <http://helma.org/bugs/show_bug.cgi?id=551 >
2007-11-20 09:37:39 +00:00
hns
ad68ca97b3
* Do not let 404 errors increase app.errorCount, even if
...
no notfound action is defined.
2007-11-14 16:44:27 +00:00
hns
e29a8aee38
* Fix bug where multiple parameter values with the same name aren't
...
stored in parameter map for forms with enctype="multipart-formdata".
2007-11-14 10:00:46 +00:00
hns
ae83283fc5
* Prevent response splitting vulnerability reported by Paul Alexandrow
...
on helma-dev: Also fix res.setCookie() and add comments.
2007-11-13 14:30:05 +00:00
hns
2721d55139
* Prevent response splitting vulnerability reported by
...
Paul Alexandrow on helma-dev.
2007-11-13 14:23:57 +00:00
hns
54617d09c1
* Limit maximal loop count for Macro.resolveHandler() lookup.
...
Fixes symptoms of bug 543.
<http://helma.org/bugs/show_bug.cgi?id=543 >
2007-11-12 14:43:48 +00:00
hns
5cd2021502
* Throw exception instead of removing the old node when adding
...
a node to a named collection with a name that is already taken.
Fixes bug 568 <http://helma.org/bugs/show_bug.cgi?id=568 >
2007-11-12 13:41:56 +00:00
hns
ac4e78cb17
* Allow HopObjects to be used as arguments in XML-RPC calls, interpreting
...
them as dicts and ignoring child nodes. Resolves bug #345
<http://helma.org/bugs/show_bug.cgi?id=345 >
2007-11-08 11:03:41 +00:00
hns
e0b814216e
* Log error in XML-RPC method call.
2007-11-08 10:55:33 +00:00
hns
d896e79aeb
* Do not allow constructor property to be defined as constant on HopObjects,
...
as we need the constructor to be resettable in Helma with Rhino 1.7.
2007-11-07 13:46:57 +00:00