Commit graph

1393 commits

Author SHA1 Message Date
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
hns
54c3f80b60 Set application checksum in ResponseTrans. 2002-10-29 17:34:10 +00:00
hns
35d0389d8e Added support for an application checksum which is automatically included in
dependency checksums/fingerprints/ETags generated via res.dependsOn() and
res.digest().
2002-10-29 17:33:35 +00:00
hns
78309c02aa Renamed digestDependencies() to just digest(), which is more finger-friendly. 2002-10-29 17:32:32 +00:00
hns
c31552f60f Added utility method to convert a long number to a byte array. 2002-10-29 17:30:49 +00:00
hns
d5e6cfe623 Implemented methods to obtain a checksum that signals changes in the object.
These checksums are included in Message Digests so that they change when
something in the Application changes.
2002-10-29 17:30:14 +00:00
hns
f4002ac605 The list of files belonging to a prototype is now managed by the prototype itself.
The prototype also keeps a checksum over its files which allows it to recognize
changes in any of the files quickly and easily.
2002-10-29 17:27:19 +00:00
hns
24dece80bb implemented dependsOn() and digestDependencies() methods 2002-10-28 21:34:49 +00:00
hns
fed6c39ef3 Added support for ETag conditional GETs. 2002-10-28 16:50:55 +00:00
hns
cf7e65c704 res.data and req.data do not exist anymore. 2002-10-28 16:50:28 +00:00
hns
10848be629 Improved error output in scripting engine initialization,
create a ResponseTrans that knows about the RequestTrans if possible.
2002-10-28 16:49:29 +00:00
hns
5003588bb7 Added support for ETag conditional GETs, streamlined support for
Last-Modified and If-Modified-Since
2002-10-28 16:48:28 +00:00
hns
1690b6bf58 Fixed a bug that dropped some zeros in the message digest.
Added a method that directly takes a byte array as input.
2002-10-28 16:46:10 +00:00
hns
01254c1a88 Use buffered input stream in getURL 2002-10-27 18:54:26 +00:00
hns
2922208ccc Added support for ETag and If-Modified-Since conditional GET 2002-10-27 18:44:20 +00:00
hns
138eb38903 Added ETag and lastModified fields 2002-10-27 18:43:30 +00:00
hns
4ab51d544a Completely changed how XML-RPC invocation is performed. XML-RPC requests are
now handled by helma.main.ApplicationManager, which dispatches requests to the
right application. Also cleaned up XML-RPC access control a big deal, including it
in the generic application properties handling.
Fixes bug 135  http://helma.org/bugs/show_bug.cgi?id=135
2002-10-25 17:08:45 +00:00
hns
6cb41d18fd Cut whitespace at end of file 2002-10-25 17:05:02 +00:00
hns
cffd1ec20d implement FilenameFilter so there is no need for creating an anonymous inner class. 2002-10-25 15:23:54 +00:00
hns
aa1b666fbd Updated antclick version to 1.0pre2 2002-10-25 13:51:16 +00:00
hns
743b7e7bc7 Included section about Antville and Antclick provided by kris (thanks!),
updated some bits and pieces about Helma like the system requirements and
the documentation URL.
2002-10-25 13:45:21 +00:00
hns
443a7ecab7 Added/Updated Files to Mckoi version 0.94g. 2002-10-25 13:29:32 +00:00
hns
444f2aa6bc Remove Mckoi 0.93 database files. 2002-10-25 13:27:02 +00:00
hns
c96fea4874 set cache size to zero (we don't need a cache when running in embedded mode). 2002-10-25 13:18:25 +00:00
hns
81a3591d0b A normal user can't start a server on port 80, switch back to 8080. 2002-10-25 12:40:12 +00:00