Commit graph

1107 commits

Author SHA1 Message Date
hns
84e0eb7748 Create a constructor for the user prototype so it's possible to create
user object usnig "new user()".
2002-06-18 10:26:24 +00:00
hns
c0417d5a6a Removed remote image capability (image manipulatino via RMI) 2002-06-11 17:02:04 +00:00
hns
47debc3784 changed "todo" to "FIXME". 2002-06-11 16:31:02 +00:00
hns
89c232a6f9 addPart() now takes just one part at a time, but accepts the
file name to use for the part as second argument.

Also, it accepts instances of helma.util.MimePart, which are used
in HTTP file uploads and teh global getURL() function.

setText() now plays together nicely with addPart(). If both
plain text and MIME parts are set for a message, the
text will be added as plain text at the beginning of the message.
2002-06-11 16:30:43 +00:00
hns
e857528208 Changed global getURL() function to return a MimePart object
instead of a string, so it is now possible to retrieve any kind of
URL instead of just text URLs.
2002-06-11 16:27:38 +00:00
hns
5e34cfdcc7 user.onLogout() is called again, at least for automatic session
timeouts.
2002-06-11 15:54:10 +00:00
hns
6c32d0f073 minor formatting fix 2002-06-11 15:53:32 +00:00
hns
e9ec59ca21 don't use explicit encoding when setting mail headers;
use platform default instead.
2002-06-11 15:38:17 +00:00
hns
6c452b1893 fixed formatting/indentation 2002-06-11 15:21:36 +00:00
stefanp
f1f9afe13f added extension mechanism: call initScripting() on every active extension
(list specified by helma.main.Server).
2002-06-08 19:56:08 +00:00
stefanp
ec40bec475 added extension mechanism: call applicationStarted() and applicationStopped()
on every active extension (list specified by helma.main.Server).
2002-06-08 19:54:49 +00:00
stefanp
8eabb419d5 added extension mechanism: read comma-separated extension-list from
server.properties, try to get classes (subclasses of helma.extensions.HelmaExtension)
and call their init()-method.
2002-06-08 19:53:28 +00:00
stefanp
f68ed83394 added extension mechanism 2002-06-08 19:51:38 +00:00
hns
0a09f6e2ed updated version string 2002-06-07 20:19:08 +00:00
hns
63b7cb78c3 added getCurrentRequestEvaluator hook for benchmarking
and debugging.
2002-06-07 19:51:11 +00:00
hns
e5dcf80f84 made invokeDirectFunction public for benchmarking purposes. 2002-06-07 19:50:52 +00:00
hns
aa4c0389d4 merged in changes from "lazy_typing" branch, prototypes
are only initialized on demand.
2002-06-07 19:15:51 +00:00
hns
f1a304f122 remove default servlet if application base is stopped. 2002-06-07 19:13:24 +00:00
hns
43cba33077 marked class as final.
print stack trace on id generation if debug is true.
2002-06-07 19:12:17 +00:00
hns
0652286e82 marked class as final. 2002-06-07 19:11:44 +00:00
hns
8d604c8f0c removed import statements for ScriptingEnvironment and
ScriptingException
2002-06-07 19:07:13 +00:00
hns
33653fffbd No more skin caching in the skin manager. Skins are from now
on cached only on the response object.
2002-06-07 18:34:49 +00:00
hns
d1a36dc7e0 changes in skin caching: the response object now holds a local
skin cache which is expunged each time the skin path is set.
But no more long term skin caching in the application or
skin manager.
2002-06-07 18:34:04 +00:00
hns
15cc95f9e1 minor cleanup 2002-06-07 18:32:28 +00:00
hns
61fd1966c1 removed memory leak where XmlUtil held strong static
references on transactor threads.
2002-06-07 18:31:54 +00:00
hns
11ba081196 added zero argument constructor and init() method. 2002-06-07 18:27:11 +00:00
hns
0ba2d745ee merged in code for limiting XML writing depth (although
commented out for now)
2002-06-07 18:25:52 +00:00
hns
fc6e04efd8 Only include encoding in xml declaration if it was explicitly
set by the constructor.
2002-06-06 13:40:50 +00:00
hns
413432dec6 Cleaned up class, fixed argument order in Xml.write():
now the hopobject is the first argument, and the filename the
second one. This seems more consistent to me (both taken
alone and in combination with the Xml.writeToString() function).
2002-06-06 13:22:27 +00:00
hns
c79214846b made parsing more flexible by allowing InputSource
parameter additionally to InputStream
2002-06-05 18:11:21 +00:00
hns
13fb4e28f6 Renamed save(), load() and create() to write(), writeToString(),
read() and readFromString() as discussed on the mailing list.
2002-06-05 17:47:11 +00:00
hns
0149b093b7 made parsing more flexible by allowing InputSource
parameter additionally to InputStream
2002-06-05 17:45:38 +00:00
hns
c900b69482 Fixed bug 91: web connection was closed when the request
was encoded multipart/form-data (file upload). This bug was
caused by the recent unification of Servlets under the common
AbstractServletClient base class, since closing the input
stream worked ok on Apache JServ/Tomcat, but not with the
embedded Acme web server.
2002-06-05 13:52:20 +00:00
stefanp
8f52328591 added app.getRegisteredUsers() 2002-06-05 13:13:56 +00:00
hns
289f87d5ff fixed formatting 2002-06-05 12:22:37 +00:00
hns
850c07de80 Implemented pretty good heuristics to close tags when they
ought to be closed.
2002-06-04 16:14:56 +00:00
hns
15d7342ea4 Switch to standard Java (JAXP) XML parser for getXmlDocument()
and provide our own HTML parser for getHtmlDocument which is a
thin bridge between javax.swing.text.html.parser.* and the Apache
HTML-DOM implementation.
2002-06-03 20:15:16 +00:00
stefanp
a699facf6d always convert property names to lowercase 2002-06-03 15:04:39 +00:00
hns
e7a17d20ab Removed support for old type.properties db mapping. 2002-05-31 13:57:09 +00:00
hns
fae1c98f1c Removed check for global object "user" (which was merged in
again by CVS accidentally).
2002-05-31 13:56:20 +00:00
hns
a26d52ae02 Rewrote global object wrapping to be look more consistent 2002-05-31 13:50:44 +00:00
hns
ceb80decb0 Removed support for res.skin and public skins. 2002-05-31 13:44:14 +00:00
hns
841a195560 Rewrote getActiveUsers() and getSessionsForUser() to return
ArrayList instead of an Enumeration. The reason is that this is easier
to turn into an array and generally more versatile than an Enumeration.
2002-05-31 13:39:19 +00:00
hns
7bfc14d164 Merged in changes from Stefan Pollach's "usersession_05_15" branch. 2002-05-31 13:35:33 +00:00
hns
5818dd8d52 Fixes in servlet registry methods 2002-05-28 20:17:19 +00:00
hns
c6d7496f4b Made noPropertyMarker non-static. This held a reference to the
evaluator and the application, preventing garbage collection.
2002-05-28 18:24:56 +00:00
hns
c424e54261 Helma encode() functions now do entity encoding
again, but the right way. It transforms special Windows characters (such as smart quotes)
top valid Unicode, uses symbolic entities for ISO-8859-1 characters and numeric entities
fpr everything above.
2002-05-27 16:52:34 +00:00
hns
5a589d4bd6 If macro returned something write it to the response object regardless if
the macro wrote to the response itself or not.
2002-05-24 22:51:19 +00:00
hns
5b862803c6 Pass a clone of the parameter map to macros, so if the macro
modifyes the object we still have the original version.
2002-05-24 14:30:04 +00:00
hns
eb2f292877 minor addition to comment 2002-05-24 14:04:40 +00:00