Commit graph

1417 commits

Author SHA1 Message Date
hns
b8cf9b2e4c Fetch database records in natural order 2002-11-20 19:31:31 +00:00
hns
79255d217e Call ResultSet.next() when creating an ID from a sequence. 2002-11-20 18:15:23 +00:00
stefanp
9bd47012c5 restructured the whole helma.doc-package.
- implemented latest helma features (function_action for actions etc)
- removed double code, nicer hierarchy, all elements can be used alone
- removed possibility to run from command line, rendering is now only done through
manage application
- streamlined supported tags
2002-11-20 16:00:41 +00:00
hns
b9b7e9988d Encode IP address in session cookie and check if it matches. 2002-11-19 17:12:35 +00:00
hns
1e7dee5c80 Generate launcher.jar. 2002-11-18 16:09:04 +00:00
hns
a077975a28 Initial check in for launcher class/jar 2002-11-18 16:08:04 +00:00
hns
396a2ce634 Backpedal on previous changes. Instead, check if value returned by
ResultSet.getBigDecimal() is null.
2002-11-18 14:58:30 +00:00
hns
b2159e9aef Work around missing functionality in ResultSet implementations. 2002-11-18 14:16:40 +00:00
hns
8c25c9f30b Do not use ResultSet.isLast() since Oracle JDBC driver does not implement it. 2002-11-18 14:11:05 +00:00
hns
0f84163d78 Render format date more often 2002-11-14 17:35:16 +00:00
hns
0030004f37 Use getTableName() in getSelect(). Fixes bug 161. 2002-11-14 17:09:45 +00:00
hns
5123d254d4 Update to Servlet 2.3 API 2002-11-14 16:48:21 +00:00
hns
6945dc3774 Updated to org.mortbay.jetty-jdk1.2.jar from the Jetty 4.1.3 distribution. 2002-11-14 16:43:13 +00:00
hns
09d0bf57b9 Reworked class to actually use itself as propertie container instead of a delegate
properties object.
2002-11-13 16:35:13 +00:00
hns
a41483168a Column names are stored as upper case in the column-to-relation map. 2002-11-11 19:31:46 +00:00
hns
e37d26f94d Do not append "WHERE" when calling Relation.buildQuery() because the relation
may not need a where clause. Also returned to the way things were before when
getting a node using a hand-set subnodeRelation.
2002-11-11 19:20:26 +00:00
hns
667dfb8544 Load additional properties through an instance of SystemProperties so the keys
are transformed to lowercase. Otherwise lookup will not work for keys that contain
upper case characters.
2002-11-11 18:59:57 +00:00
hns
62d38fcef6 Added missing 'order by' to getNodes() 2002-11-09 22:29:21 +00:00
hns
18fc2e8cd2 Check if scriptingEngine is not null in abort(). 2002-11-08 14:19:57 +00:00
hns
59330c9a01 use logEvent() instead of System.err.println() 2002-11-08 14:19:15 +00:00
hns
b90ef71017 Do some real cleanup work at shutdown. Apps are now stopped and Loggers
are flushed and closed. Still to do: Close server ports.
2002-11-06 12:08:49 +00:00
hns
fd74552857 Added a wakeup() method that allows us to ping the Logger thread to resume
running immediately. Also decreased the sleep interval to 250 millis, so logging
output should be more fluent now.
Reformatted innger GZipper class.
2002-11-06 12:07:53 +00:00
hns
a080342079 Made response compression switchable via appname.responseEncoding = true
Added stopAll() method which cleans up at system shutdown.
2002-11-06 12:05:52 +00:00
hns
3472ea06c1 Only rotate log files if the existing file is not empty. 2002-11-06 11:13:18 +00:00
hns
2b5057e136 Created initial shutdown hook that does nothing 2002-11-06 11:00:48 +00:00
hns
dfc2431343 Use JDBC API directly for all queries. The only place where Village is still used is for inserts and updates. 2002-11-06 10:49:41 +00:00
hns
4529071cf4 *** empty log message *** 2002-11-06 10:06:05 +00:00
p3k
37d645663d updated to versions as is build/main 2002-11-06 09:29:49 +00:00
hns
5d021c5e0f Handle quotation mark escapes. 2002-11-05 19:12:47 +00:00
hns
7f9c5d65c0 Reworked encode() method: The hierarchy of HTML tags, macro tags and HTML
comments is now right. Also made the method perform a bit faster by not creating
in intermediate char array. Fixes bug 152.
2002-11-05 18:52:30 +00:00
hns
1daa648bea Remove title, head and body fields 2002-11-01 22:48:02 +00:00
hns
ac5d1a6cc4 Render message and error from response object 2002-11-01 22:47:17 +00:00
hns
a54344d79a Removed obsolete adoptName field 2002-11-01 21:45:03 +00:00
hns
a60b7ff548 Minor optimization in needsUpdate(). 2002-10-31 15:27:50 +00:00
hns
f04fbc1c3e Set lastmod in constructor since it's all that's missing to have an updated ActionFile. 2002-10-31 15:18:37 +00:00
hns
3b6c99a2f5 Do not cache processed template content. It is rarely needed and not that expensive
to produce. Also fixes bug 149, hsp templates not updated.
2002-10-31 15:17:14 +00:00
hns
1cdb1d6199 Added GNU Diff class from http://www.bmsi.com/java/#diff 2002-10-31 08:39:34 +00:00
hns
c04096e65c Fixed bug in node validation: We did not check if group nodes are still contained
by their parents unless they use an accessname, which is often not the case.
2002-10-30 19:23:17 +00:00
hns
3e278641a1 Added session object as standard macro handler.
Made the full macro name an instance field so it doesn't have to be composed
on request.
2002-10-30 18:11:28 +00:00
hns
3c51a22b21 Change date format to display full hours when returning a date property as string. 2002-10-30 18:06:32 +00:00
hns
8f684b6ec9 Consult the macro handler map in the response object rather than the request path
when resolving macro handler names. By default the new handler map contains the
objects from the request path, but it lets the developer add or remove handlers.

Improved the way macros are displayed and logged.
2002-10-30 17:45:38 +00:00
hns
2faba077fa Add request path elements to the macro handler dictionary in the response object.
Plus a few minor additional cleanups.
2002-10-30 17:43:16 +00:00
hns
3a6cffaf83 Return macro handlers map ("handlers") to let programmers add/remove
macro handlers.
2002-10-30 17:37:57 +00:00
hns
5b51be761f Throw a RuntimeException when a property is not defined or not accessible
instead of returning an error message.
2002-10-30 17:37:02 +00:00
hns
b5bce7b51d The previous version was checked in by mistake. Going back to what we had before. 2002-10-30 16:38:46 +00:00
hns
efa4512055 Tentative fix for bug 113: numbers as names of named properties do not
work in embedded db

When a property is encountered that *might* not be suitable as XML element name,
we use "property" as element name and add the real property name as attribute to
that element.
2002-10-30 16:35:48 +00:00
hns
6b7682b5a3 Encode quotation mark and apostrophe characters in encodeXml(). 2002-10-30 14:13:34 +00:00
hns
20402accfa Fixed bug where a node deleted by replication was left in the cache via secondary
key without being marked as invalid. (bug 147)
2002-10-30 11:56:59 +00:00
hns
6266b3b5b7 Always rotate tables if new table exceeds threshold. 2002-10-30 11:46:51 +00:00
hns
dba715b2db Fixed parentheses 2002-10-29 17:39:21 +00:00