Commit graph

993 commits

Author SHA1 Message Date
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
c202e31ea3 Set default uploadLimit.
Avoid hanging in in.read() when uploadLimit is exceeded.
2002-07-15 16:15:47 +00:00
hns
101e3ee58a Start embedded XML database without the db file name parameter, which doesn't
exist anymore and wasn't used anyhow.
2002-07-15 14:34:19 +00:00
hns
0128e07d69 Removed code to retrieve prototype from propertiy map in getPrototype().
(This was a backwards compatibility feature for when prototype was stored as
a generic property.)
2002-07-15 14:33:32 +00:00
hns
54f2a0e317 Issue a message to the Server log when moving applications on the
embedded web server.
2002-07-12 19:17:20 +00:00
hns
6978b08841 Specifying the mountpoint for applications on the embedded web server
now actually works. (Servlet path translation was broken).
Application manager is now able to move applications on the embedded web server,
i.e. if appname.mountpoint is modified, the application is re-mounted at the new
location.
2002-07-12 18:57:07 +00:00
hns
17a0a7a93c Cleaned up class quite a bit.
Added -x parameter to specify port of XML-RPC server independently from
RMI server port.
2002-07-12 17:53:08 +00:00
hns
48a7b536a0 * Avoid duplicate child-text-to-property assignment.
* Parse children in sparse mode even if we don't convert the element itself.
* Avoid assigning element text as property "text" in sparse mode.
2002-07-11 12:03:29 +00:00
hns
d41c6d5657 Fixed bug that caused NullPointerException.
Added option to add selected elements to the default subnode
collection via element.childelement = prototype._children.
2002-07-10 18:30:56 +00:00
hns
d6d7141350 First sketch to implement sparse and deep parsing.
The old demo app examples still work.
The new features may require some more tweaking, possibly
also on the mapping prototype file syntax.
2002-07-10 16:56:15 +00:00
hns
7088254cb1 Do not create applications with "." in the application name
when apps.properties is modified.
2002-07-10 13:24:14 +00:00
hns
8ee53d5a25 Replaced (String)props.get() with props.getProperty().
Removed toLowerCase() because XML is supposed to be case
sensitive (or am I missing something here?)
2002-07-05 15:53:58 +00:00
hns
649aac3f7c Use the updatePrototype() method in type manager that takes the
prototype object instead of the prototype name.
2002-07-05 15:07:01 +00:00
hns
65686330fc Update the prototype before returning the skinfiles. 2002-07-05 15:05:55 +00:00
hns
9c3cbea82f Provide a variant of the updatePrototype() method that takes a
prototype object instead of the prototype name.
2002-07-05 15:05:10 +00:00
hns
443dd18158 fixed formatting and indentation. 2002-07-05 13:28:42 +00:00
hns
47ab428371 Check if prototype exists in hasFunction(...). 2002-07-04 18:44:51 +00:00
hns
fab876e2e7 Some cleanup, fixed bug where a zip file with entries for a prototype
would prevent stuff in the prototype's directory to be ignored.  (use
getLastCheck() instead of getLastUpdate() to find out if we should
look for new files in directory)
2002-07-04 18:31:11 +00:00
hns
894c544174 Added javadoc comments, made some fields final. 2002-07-04 18:28:35 +00:00
hns
a85ac92e2b Added private makeNodeHandle method that honors the
prototyperef attribute when converting an XML tag to a NodeHandle.
2002-07-04 17:35:22 +00:00
hns
df4d199072 added getDbMapping(typename) method that gets the DbMapping for
a prototype name.

changed sql argument encoding utility method: single quotes are now
encoded as '' instead of \'
2002-07-04 17:33:56 +00:00
hns
d66a280200 changed sql argument encoding utility method: single quotes are now
encoded as '' instead of \'
2002-07-04 17:33:20 +00:00
hns
47a3202ba8 fixed formatting and indentation. 2002-07-04 17:05:52 +00:00
hns
c9707a83b8 Added appname.mountpoint option for entries in apps.properties
to define where an application should be mounted on the
embedded web server.
2002-07-02 15:16:08 +00:00
kmfdm
2c7bef0c8e fixed typo 2002-06-28 15:14:22 +00:00
hns
fd441f1521 Still checking to see if commit mails are working... 2002-06-27 15:41:00 +00:00
hns
97b4f8b7e9 Updated version date and checking to see if commit mails are working again. 2002-06-27 15:37:09 +00:00
hns
2f722912b5 made getLogger() method public. 2002-06-27 15:28:21 +00:00
hns
a6eb8d62ca Kill Threads the hard way when timeouts occurr.
Eventually, we might want to add a method in the ScriptingEngine
interface for that purpose, i.e. to let scripting engines kill threads in
a soft + specific way.
2002-06-27 14:19:59 +00:00
stefanp
390184871f bugfix: xml-child hop:parent was accidentally read into properties-map too,
after being used for parentHandle.
2002-06-25 13:59:07 +00:00
hns
6bb8d54587 Moved scriptingEngine.updatePrototypes() invocation to the
beginning of the loop in the run() method.
2002-06-21 15:31:02 +00:00
hns
f3e9f21bb3 Added updatePrototypes() method to ScriptingEngine interface. 2002-06-21 15:28:40 +00:00
hns
e47b5ca388 Fixed <> encoding inside Helma macro tags. 2002-06-21 15:26:31 +00:00
hns
962b2b6e6c HTML encoding is now smarter about encoding &, < and >.
If they are part of a valid HTML entity reference, an HTML tag or
a Helma macro they are passed through unchanged, otherwise
they are encoded to &amp;, &lt; or &gt;.

Another new feature that should make writing documentation on
Helma easier is that everything is encoded if it is placed within
a <code> tag.
2002-06-21 13:41:29 +00:00
hns
e949582026 updated version info 2002-06-18 10:48:47 +00:00
hns
05c8263281 Add support for private properties of hopobject, which don't cause
object indexes to be reloaded when modified.
2002-06-18 10:47:58 +00:00
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