Commit graph

1465 commits

Author SHA1 Message Date
hns
96f551142c Added public update() method that checks the file and re-reads properties if necessary. 2003-06-11 13:32:09 +00:00
hns
abbb48be8d Fix bug 241 introduced in fix of bug 230. collections/mountpoints on transient
nodes are now created as normal node properties. The check whether they need
to be persistified is only done in makePersistentCapable(), i.e. when the node
is actually stored.
2003-06-11 08:24:40 +00:00
hns
d19d094409 Fixed getChildElement("api") and corrected the output of various thread/evaluator
counter methods.
2003-06-06 14:39:25 +00:00
hns
41c9ff1670 Updated version info. 2003-06-06 13:52:50 +00:00
hns
a380be0ab0 Removed obsolete HopObject.link() function. 2003-06-06 13:48:22 +00:00
hns
98839ca296 Fixed typo, removed obsolete HopObject.link() function. 2003-06-06 13:48:08 +00:00
hns
6b92af2ae0 * Added list of empty HTML tags which are never closed in tag balancing code.
* Added <br> to the list of pseudo-block elements to prevent further <br> tags to be
  generated if there already are any in the text.
2003-06-06 13:41:17 +00:00
hns
f2c51c8e32 set parent when creating a virtual/mountpoint/collection node for transient objects. 2003-06-05 17:19:03 +00:00
hns
dc0c961001 added 1 comment 2003-06-05 17:18:25 +00:00
hns
bfeec55499 Allow zipped files to add to app.properties and db.properties. 2003-06-05 17:12:53 +00:00
hns
e35a53f5e8 Print stack trace if it hasn't been thrown by the ScriptingEngine 2003-06-05 17:12:15 +00:00
hns
9808820d92 Check if a virtual/collection/mountpoint object needs persistence when it is
created on a transient object.
2003-06-05 16:50:13 +00:00
hns
ff563e677c Allow insertion of nodes with empty property map. 2003-06-05 16:49:25 +00:00
hns
b8dbca8ce2 updated version info to 1.2.5-pre1 2003-06-04 15:30:51 +00:00
hns
c6a371a609 Updated Helma version to 1.2.5-pre1, Antclick to 1.0.1-pre1
Removed apps.properties generation element, the file from CVS is used instead.
2003-06-04 13:40:25 +00:00
hns
60cae807de Added static and staticMountpoint options. 2003-06-04 13:37:49 +00:00
hns
a9f1797258 Fetch joined nodes in dedicated method, fixing a number of bugs related
to reading to the resultset after ResultSet.next() has been called.
2003-05-28 18:01:23 +00:00
hns
8fcdf88bcf Support '*' as xmlrpcHandlerName. This will handle any XML-RPC request
that isn't handled explicitly by another application. The full XML-RPC method
name will be passed through to the application, i.e. the handler name is not
cut off.
2003-05-28 17:33:47 +00:00
hns
284850f973 Fetch joined objects wherever possible/necessary. This should probably be
factored out into a separate method.
2003-05-28 16:49:01 +00:00
hns
469399e972 Implement aggressive loading of object references via left joins 2003-05-28 13:33:23 +00:00
hns
8b1fed03d3 Some cleanup work, plus made session sleep interval settable so that there
is a simple way to run schedulers more frequently than once per minute.
2003-05-27 14:52:40 +00:00
hns
4596141f73 Converted the parse* methods from static to instance methods. 2003-05-27 14:51:32 +00:00
hns
7a7b8158a3 Replaced Hashtables with HashSets, some indentation fixes. 2003-05-27 11:18:31 +00:00
hns
5c192c437a * Use explicit list of columns in select statement.
* Only care and know about columns that are mapped or used internally.
* Fixed bug in size() for grouped collections with loadmode=aggressive.
2003-05-22 11:08:04 +00:00
hns
1f38513443 No more reserved dedicated RequestEvaluator for internal function calls.
A few other minor cleanups.
2003-05-22 10:48:21 +00:00
hns
49e4cacf04 Init servlet to the application's actual charset. 2003-05-21 13:14:11 +00:00
hns
7c7e53bc0a Fixed gzip content encoding options, which was broken. 2003-05-21 13:02:57 +00:00
hns
f90d33adda Check if a zip file exists before adding ot to list. 2003-05-21 13:02:19 +00:00
hns
cb8b8462d6 Update to version 1.0.1 2003-05-21 10:28:06 +00:00
hns
e2bff453f6 * Mount static directory at /app/static by default.
* Start applications in start() rather than in register()/bind() so we can rebind
  applications without restarting them.
2003-05-20 16:18:57 +00:00
hns
143abce688 Do not set anonymous flag in getParent() 2003-05-20 10:41:44 +00:00
hns
b0423ee9f0 Rewrote ApplicationManager to use inner class as app descriptor. 2003-05-19 16:56:21 +00:00
hns
d46b42b9c6 Print stack trace when debug mode is on. 2003-05-19 16:32:13 +00:00
hns
523938da67 Removed unused mountpoint field. 2003-05-19 16:28:09 +00:00
hns
99ce816051 Added StringUtils class for frequently needed string manipulation routine 2003-05-19 16:23:42 +00:00
hns
bd96b7f085 Allow aggressive loading for grouped collections. 2003-05-12 13:44:05 +00:00
hns
c71f632966 Use full primary key name in table.field format for getNodeIDs() query when
the node has a manually set subnodeRelation. This allows to remain
non-ambigous even if the subnodeRelation contains a JOIN.
2003-05-09 12:57:17 +00:00
hns
e387788b36 Put distance variable to better use in areParametersCompatible() to fix
ambiguity in StringBuffer methods.
2003-05-09 12:29:45 +00:00
hns
41a29eba7a Parenthesize filter constraint to prevent interaction with other query constraints. 2003-05-05 16:54:18 +00:00
hns
626ce207a0 * implement unsetConstraints() to unset complex references 2003-05-05 16:01:39 +00:00
hns
6e672d330f * calculate usesPrimaryKey() when parsing the type.properties file
instead of for each invocation
* be smarter when updating existing references/complex references
* check if a local property is mapped before trying to set it in
   setCostraints()
* implement unsetConstraints() to unset complex references
2003-05-05 16:01:16 +00:00
hns
ab46b21529 Relation.Constraint.localKeyIsPrimary() now takes a DbMapping argument
since it is not granted that its own DbMapping reference is the actual
home DbMapping (think mountpoints).
2003-05-05 13:09:35 +00:00
hns
25255ad5da Distinguish between complex reference and multi-constraint.
Some initial code for unset-constraint in Node.unset()
TODO: we need to make sure Relation.getDbField() returns the
correct value for non-complex references!
2003-04-30 15:09:18 +00:00
hns
25d2e65674 Fix bug http://helma.org/bugs/show_bug.cgi?id=235 2003-04-30 14:47:36 +00:00
hns
0cbc25c04a Added support for complex object references as specified in
"New Format for Object-Relational Mapping (Version 2)"
2003-04-25 16:08:40 +00:00
hns
20df514693 Added getPrototypeByName() method to retrieve a prototype by name. 2003-04-25 15:59:48 +00:00
hns
4da79ad8f2 Just filled in a few javadocs 2003-04-25 14:27:47 +00:00
hns
ec55ce1042 * Parse additional join conditions for child collections as defined in
http://helma.org/stories/47853/
* When enforcing constraints try to preserve the type of the original
  property using the new Node.set() method.
2003-04-23 12:38:30 +00:00
hns
4501c5cf50 * Use specific methods when reading a Date or Time
column from a ResultSet in the constructor
* Add set() method that allows to directly set the value and type
  of a property
* Change the return type for getNonVirtualParent from INode to Node.
2003-04-23 12:36:43 +00:00
hns
4e47de9963 * Add setValue() method that allows to directly set the value and type
of the property
* Change the default string representation of date values to be
  compatible with MySQL.
2003-04-23 12:34:27 +00:00