hns
e307d212fd
* Rename Config to ServerConfig in order to prepare for an ApplicationConfig class.
2007-10-11 13:26:02 +00:00
hns
beed995659
* Enabling use of ID sequence generators in H2 databases.
...
Patch by Robert Gaggl, fixes bug 562 - http://helma.org/bugs/show_bug.cgi?id=562
2007-10-11 12:31:49 +00:00
hns
ae0536eb26
* Allow _parent to consist of three elements, such as page.comments.blocked.
...
Fixes bug 563 - http://helma.org/bugs/show_bug.cgi?id=563
* Throw an exception when adding to a collection with accessname defined and the
collection already contains an object with the given name. Previously, the old object
was deleted from the database.
Fixes bug 561 - http://helma.org/bugs/show_bug.cgi?id=561
2007-10-11 12:21:40 +00:00
hns
a58b4a084f
* Allow type.properties to be named after their prototype (e.g. Root.properties).
...
Implement feature request 553: http://helma.org/bugs/show_bug.cgi?id=533
2007-10-11 10:05:53 +00:00
hns
033659c8c5
* Don't mark a HopObject dirty if added to transient collection.
...
This is a rather conservative fix for bug 554.
http://helma.org/bugs/show_bug.cgi?id=554
2007-10-11 09:51:17 +00:00
hns
9874ec1cd9
* Remove toggle link for debug output.
2007-10-10 12:30:10 +00:00
hns
2fa6005ee1
Simplify implementation:
...
* No need to use reflection because we always have JDK 1.4 functionality.
* Use java.util.BitSet for lookup of URI-safe characters.
2007-10-03 14:43:39 +00:00
hns
9b75760568
* Add try/catch and logging to updateProperties(), and remove duplicate code.
2007-10-03 14:40:21 +00:00
hns
f03f405f04
* Check if changeSet is null in commitCompilation() to avoid NullPointerException.
...
Fixed bug http://helma.org/bugs/show_bug.cgi?id=466
2007-09-26 12:46:21 +00:00
hns
e9e11ddb9a
* Add write() and writeToString() variants that take an additional boolean argument
...
to write node in shallow/internal database mode.
Fixes bug http://helma.org/bugs/show_bug.cgi?id=404
* Some code and javadoc cleanup.
2007-09-26 12:07:34 +00:00
hns
ff20cddcda
* Refactor constructors a lil bit, make className final, clean up import statements.
2007-09-26 12:03:06 +00:00
hns
fd598f23cf
* Set session cookie in request object. Fixes bug 547.
...
http://helma.org/bugs/show_bug.cgi?id=547
* Use java.security.SecureRandom for session id generation,
with fallback to java.util.Random.
2007-09-25 11:01:30 +00:00
hns
f7f2604969
* Move cleanupSessions() from Application to SessionManager.
2007-09-25 10:43:04 +00:00
hns
a35d3ea425
* Convert file name into an absolute path in saveAs().
...
* Build directories in saveAs() if they don't exist,
fixing bug 324 <http://helma.org/bugs/show_bug.cgi?id=324 >
2007-09-21 14:57:22 +00:00
hns
4b23a48c14
* Try to be more robust if getInputStream() is called after writeToFile() has been called
...
by getting the InputStream from the new file instead of the old one, which may not exist
anymore. Fixes bug 559 <http://helma.org/bugs/show_bug.cgi?id=559 >
* Print error messages when catching Exceptions, plus a little more cleanup.
2007-09-21 14:55:10 +00:00
hns
262eb22335
* Fall back to property name if a filter reference can't be resolved as column name.
...
Fixes bug 557 <http://helma.org/bugs/show_bug.cgi?id=557 >
2007-09-21 13:12:46 +00:00
hns
74b3b217ee
* Mark object references as COMPLEX_REFERENCE if the foreign key column is also
...
mapped as primitive property. Fixes bug 555.
<http://helma.org/bugs/show_bug.cgi?id=555 >
* Get group mapping from parent DbMapping. Fixes bug 553.
<http://helma.org/bugs/show_bug.cgi?id=553 >
2007-09-21 09:31:15 +00:00
hns
a961a2d6cb
* Update lib/jetty.jar to Jetty 5.1.14 and lib/servlet.jar to Servlet API 2.4.
...
* Remove LongSink code from helma.main.Server.
Fixes bug 550 http://helma.org/bugs/show_bug.cgi?id=550
2007-09-20 14:55:00 +00:00
hns
e9fbe01c68
* Fully implement simple object references that don't use the primary key on either side.
...
Fixes bug 218.
2007-09-20 10:39:31 +00:00
hns
4648a7eee2
* Pimp up res.debug() output a little bit, making it invisible by default and adding
...
a link to display it. This is just a minor facelift to a feature that needs to be rethought
and replaced, though.
2007-09-20 09:19:30 +00:00
hns
87722c3b8d
Minor cleanups and fixes in helma.util.CronJob:
...
* Send sub-properties of app properties that start with "cron." so we don't have to
do the filtering ourselves.
* Be tolerant of whitespace in cron job time specs (e.g. cron.foo.minutes = 0, 15, 30, 45)
2007-09-20 08:12:13 +00:00
hns
3e54355ef5
Minor cleanups and fixes in helma.util.CronJob:
...
* Send sub-properties of app properties that start with "cron." so we don't have to
do the filtering ourselves.
* Be tolerant of whitespace in cron job time specs (e.g. cron.foo.minutes = 0, 15, 30, 45)
2007-09-20 08:11:01 +00:00
hns
9066bd1b2e
* Improve Rhino Tracer:
...
- Include method runtime in milliseconds.
- Indent nested method calls.
- Stop including method arguments in the trace output.
2007-09-17 09:36:49 +00:00
hns
de0c08ce5a
* Be more careful about setting parent scope on functions (which may be nested).
...
Fixes bug 531 reported by juerg lehni on helma-dev.
http://helma.org/bugs/show_bug.cgi?id=531
2007-07-18 22:54:36 +00:00
hns
fb3029ed25
* Handle java.sql.Types.BOOLEAN. Fixes bug 529,
...
patch submitted by Maksim Lin
2007-07-16 08:07:28 +00:00
hns
a5e5a0915e
* Allow float to boolean conversion.
2007-07-16 08:03:03 +00:00
hns
4bf021d45b
* Be more careful about throwing exception in RequestTrans.set().
...
* Remove spurious System.err.println().
2007-07-05 16:32:06 +00:00
hns
8579a68675
* Implement thread local connection caching for non-transactor threads.
...
Fixes problem with connection proliferation with helmaswarm id generator
(see http://helma.org/bugs/show_bug.cgi?id=527 )
2007-06-28 15:42:17 +00:00
hns
25bfad73c5
* Remove unused obsolete fields.
...
* Fix cookie domain check against null host string.
2007-06-26 09:11:34 +00:00
hns
dd4beb2490
* Reintroduce defineLibraryScope() because it is still used in various places,
...
but deprecate and drop second argument (boolean initStandardObjects).
2007-06-20 09:13:52 +00:00
hns
7c8404d57d
* normalize filename in FileItem constructor.
2007-06-20 08:22:02 +00:00
hns
43ee46e653
* Do not use enum as parameter name as it's a keyword in java 1.5.
2007-06-15 17:57:49 +00:00
hns
524028da3a
* Major reshuffling of servlet/request code.
...
* Implement req.cookies, req.params, req.postParams and req.queryParams collections
* Improve access to parameter values as array: param_array is always available even with just one value
* Implement req.getHeader(name), req.getHeaders(name), req.getIntHeader(name), req.getDateHeader(name)
* Implement res.setHeader(name), res.setDateHeader(name), res.addHeader(name), res.addDateHeader(name)
2007-06-15 10:58:25 +00:00
hns
acb9676f0c
* Implement StringUtlils.collect() that converts an Enumeration to a String array.
2007-06-15 10:49:07 +00:00
hns
882dfacb2e
* Implement toString() that displays arrays.
2007-06-15 10:46:02 +00:00
hns
82b35af983
* Avoid infinite recursion in makeChildrenPersistable()
2007-06-15 09:54:54 +00:00
hns
c52a29741e
* Add new getParentSetting() method that allows to retrieve the
...
unparsed, verbatim _parent option from the type.properties file.
2007-06-13 12:54:34 +00:00
hns
1f362c1803
* Don't synchronize isRunning() as that can cause deadlocks during shotdown.
2007-06-13 12:45:24 +00:00
hns
bf95a9c036
* Always use stream interface for retrieving BLOB and LONGVARBINARY columns.
...
* Check for null reader in streamy LONGVARCHAR code.
2007-06-05 18:28:39 +00:00
hns
b783016a6b
* Don't make session.getUpload() create a new UploadStatus instance.
2007-06-05 18:27:21 +00:00
hns
5abdda6177
* add totalUploadLimit apps.properties setting to limit combined file upload size
...
(as opposed to individual upload size)
2007-06-04 12:02:27 +00:00
hns
380ff54187
* Do not pass file uploads in memory as byte arrays.
...
* Implement file upload monitoring support.
* Do not swallow exceptions in GET/POST parameter parsing
* Store any bytes remaining after GET/POST parameter parsing
into req.data.http_get_remainder and http_post_remainder, respectively.
2007-06-04 11:02:40 +00:00
hns
8e82dfe5d9
* Fix license header from Apache 2 to Helma 2 license.
2007-06-04 08:06:30 +00:00
hns
0068de78ec
* Add new MimePart.getInputStream() method.
...
* Add MimePart constructor that takes a jakarta commons-fileupload FileItem
as argument.
* Make all fields private, add getters and setters for lastModified and eTag.
* Add some javadoc.
2007-06-04 08:06:00 +00:00
hns
19c2858b32
Fix RequestTrans.set() for multiple file upload items with the same name.
2007-06-04 08:03:36 +00:00
hns
b659294a89
* Add new Image constructor that takes a java.io.InputStream as argument.
...
* Always use javax.imageio.* to create new images instead of java.awt.Toolkit.
2007-06-01 09:04:17 +00:00
hns
40d0f45ba2
* Fix regression for bug 484 introduced in revision 1.177:
...
use extension id instead of prototype name for _prototype property in constructor.
2007-05-25 09:46:02 +00:00
hns
2ae82c3baf
* Unwrap argument in isTypedObject(). Fixes bug 523.
...
http://helma.org/bugs/show_bug.cgi?id=523
2007-05-24 14:27:17 +00:00
hns
a20913ab7f
* Use incremental serial numbers for DbMapping.lastDataChange and
...
Node.lastSubnode* fields instead of timestamps, because the latter
may not work consitently. Fixes bug 518
http://helma.org/bugs/show_bug.cgi?id=518
* Do not fetch named subnodes from relational database. Fixes regression
described in comment #4 of bug 516
http://helma.org/bugs/show_bug.cgi?id=516#c4
2007-05-24 14:10:53 +00:00
hns
13365e16df
* Remove obsolete circumvention of TransientNode.getID().
2007-05-11 13:26:50 +00:00