Commit graph

1287 commits

Author SHA1 Message Date
hns
251b9e0fa3 Added <hr> to list of recognized HTML tags. 2002-08-30 14:28:10 +00:00
stefanp
9b9e73f508 temporary fix: made Xml.write() use default UTF-8 encoding. 2002-08-21 17:11:58 +00:00
stefanp
e4979a7175 made XmlDatabase use the app's charset
(app.properties/charset=ISO...)
new method: Application.getCharset()
2002-08-16 18:22:47 +00:00
stefanp
eb397b6def fixed bug that caused default xml-conversion not to work properly.
removed commented out code.
2002-08-11 17:26:04 +00:00
hns
a0ce604062 Do not locally define pwfile field, which is meant to be an instance variable. 2002-08-07 12:44:42 +00:00
hns
51a564cd60 Updated version string. 2002-08-06 14:50:27 +00:00
hns
65bef92295 Perform getCanonicalFile() immediately when creating hopHome in main method
of Server instead of only doing it when needed.
2002-08-06 14:47:30 +00:00
hns
1f6e49e791 Fixed bug where serving of static files didn't work on Windows with hopHome
property set by using File.getCanonicalFile().
2002-08-06 12:57:24 +00:00
hns
a097a07937 Re-enable server-wide passwd file for the authenticate() function. 2002-08-05 16:39:18 +00:00
hns
1b29302939 * Updated version string
* Improved startup message which now includes info about Java version
* Default Helma log is now log file, not console
* added getDbProperties() method to retrieve server-wide db sources.
2002-08-02 18:33:12 +00:00
hns
096541e347 Fixed bug where prototype was marked as checked too early, resulting in
other evaluators to use the prototype is if the code was fully parsed/compiled.
2002-08-02 18:19:04 +00:00
hns
a1080de978 Get prototype resources through synchronized methods instead of directly
accessing them. This fixes a bug where prototypes that were in the process of
being compiled were accessed by evaluators.

Pass through RedirectException if notModified() has been called on the response
object.
2002-08-02 13:32:56 +00:00
hns
6182b9313a Return true on needsUpdate if zip file has been removed. 2002-08-02 13:25:22 +00:00
hns
b2862b95bb Added lastModified property that contains a date either of when the session
was created or when the session was last logged in or out. The property can also
be set from script code.
2002-08-02 10:50:48 +00:00
hns
113ea0aecc Added support for HTTP Last-Modified and If-Modified-Since headers and
304 Not Modified response.
2002-08-02 10:49:40 +00:00
hns
6b87ffb004 Removed deprecated/unused servlet constructor. 2002-08-02 10:28:52 +00:00
hns
65b8d6b2c4 Major clean-up work on Application constructors. Removed some old
options like setting application file extensions etc. Instead now the Application
constructors can take arguments for the app and db home directories.

Updated helma.main.ApplicationManager and helma.servlet.StandaloneServletClient
to the new constructors.

TypeManager now has file extensions as static final members.
2002-08-02 10:27:31 +00:00
hns
c044ab86ab Set debug on so we get line numbers with stack traces. 2002-08-01 16:04:04 +00:00
stefanp
236a819d86 change in extension-mechanism:
initScripting() now returns a HashMap (key=varname, value=ESValue) which
will be added to the global object by FesiEvaluator. This ensures that global
vars are (re-)set before each request.
DemoExtension was updated to reflect this change.
2002-08-01 14:37:25 +00:00
stefanp
a4a0405241 fixed a bug that didn't let primitive values returned by a bean pass through
because of a classcastexception.
2002-07-31 15:57:25 +00:00
hns
c5e1c05dfb Upgraded to Mckoi DB 0.93 with DataCellCache patch applied
(see http://mckoi.com/database/ver/patches/0.93/ for details)
2002-07-31 15:48:29 +00:00
hns
44aff437b4 Better session cookie creation algorithm. Random number and timestamp are now
woven into one number. Both shorter and (presumably) more secure.
2002-07-29 18:11:51 +00:00
hns
7585b72d7f * Properties file is now read only when needed instead of reading it in constructor
* Implemented case insensitivity for Hashtable methods (get(), containsKey())
* Optimized file checking. Synchronized code is entered only if file has been modified.
* Added lots of comments.
2002-07-29 18:10:29 +00:00
hns
40ba46d788 Fixed issues with HTML comments and Helma macros in Helma format functions. 2002-07-29 14:53:13 +00:00
stefanp
1012b31a6a made app.properties-object readonly, plus formatting fixes. 2002-07-29 12:46:36 +00:00
stefanp
e6cf8647cc added readonly option. 2002-07-29 12:44:57 +00:00
stefanp
b4595a2a29 fixed bug that would check for another server running on the default rmi port
even if helma was using only the embedded webserver.
2002-07-29 12:42:52 +00:00
kmfdm
4b35b3bf2c added comment that advises initScripting, applicationStarted and applicationStopped to be synchronized. 2002-07-29 08:32:09 +00:00
hns
5482bbfc77 Update to JavaMail 1.2. 2002-07-26 17:08:28 +00:00
hns
969f5b1e76 Updated to JDOM beta 8. 2002-07-26 17:07:49 +00:00
hns
67c80bb772 updated version string. 2002-07-25 12:16:21 +00:00
hns
68f516710c Improved start scripts, added jetty jar files. 2002-07-25 12:09:35 +00:00
hns
8d72e0f9c4 Switch off event logging in Jetty 2002-07-25 11:27:18 +00:00
hns
aa73b41701 Acme Serve is no longer used in Helma. 2002-07-24 19:16:28 +00:00
hns
748c225afe Attempt to copy licenses folder into build package 2002-07-24 18:46:38 +00:00
hns
0fea66820e Update to new extended start scripts from Antclick distribution.
Including jetty.jar and servlet.jar into the classpath.
2002-07-24 18:45:56 +00:00
hns
69a016010e Updated to Helma license 1.2 2002-07-24 18:45:44 +00:00
hns
53410917bd Switch to Jetty for embedded web serving needs. 2002-07-24 18:37:20 +00:00
hns
20ea4b874f Get init parameters in in init method instead of a special constructor
the way servlets should.
2002-07-24 18:35:45 +00:00
hns
4e7cc29a82 Slight modification of the way too large file uploads are handled. 2002-07-24 18:34:46 +00:00
hns
07d457f558 Update to new extended start scripts from Antclick distribution.
Including jetty.jar and servlet.jar into the classpath.
2002-07-24 18:33:14 +00:00
hns
81f23f6a31 Removed ancient JSDK servlet classes. 2002-07-24 18:31:34 +00:00
hns
2fc9706c87 Added Servlet 2.2 API 2002-07-24 18:30:58 +00:00
hns
e17c0367e8 Added Jetty 3.1.8 ad new embedded web server 2002-07-24 18:30:10 +00:00
p3k
2a452e84e1 update to version 1.1.4 2002-07-23 09:16:59 +00:00
hns
a106e43fd0 Ditched getTranslatedSkinpath() and setTranslatedSkinpath in RequestTrans.
getSkinpath() and setSkinpath now directly deal with Object arrays.
2002-07-19 11:35:21 +00:00
hns
02d64e6d1e __prototype__ internal property is now also accessible as _prototype.
Simplified check for internal properties: Every property name starting with an
underscore is now interpreted as internal property.
Added check for null propertyName.
2002-07-18 20:32:28 +00:00
hns
bfa99996c8 Only return property-to-db mapping as properties enumeration if the node
is stored in a relational database. Otherwise, the actual properties are
returned.
2002-07-18 20:19:52 +00:00
hns
8f75b2183c create images dir (although this doesn't seem to be necessary) 2002-07-16 15:37:07 +00:00
hns
af183dfb0e unzip images to /static/images instead of /static/antville 2002-07-16 15:30:03 +00:00