Commit graph

1265 commits

Author SHA1 Message Date
p3k
cf01737f8f added application manager 2002-03-21 17:04:57 +00:00
hns
c503592c49 Removed the need to register application servlets for the internal web server
with both appname+"/" and appname+"/*", because Acme Serve now appends
dual dummy slashes to the URI path if the servlet for a request isn't found.
2002-03-21 15:49:02 +00:00
hns
b68fb4764c Treat VARBINARY and LONGVARBINARY as string types
(for our purposes, i.e. put values inside quotes).
2002-03-19 20:45:31 +00:00
hns
c39def352c updated server version date info. 2002-03-19 19:36:30 +00:00
hns
027b63bde6 Run endless loop in separate new thread, otherwise the
server field will never be assigned the Server object (because
the Server constructor never returns, because the calling thread
ends up in the loop checking for updates in apps.properties).
2002-03-19 19:35:40 +00:00
hns
95ed052f76 removed newlines at end of file 2002-03-19 19:26:44 +00:00
hns
a5547d8d0a removed dead code. 2002-03-19 19:26:29 +00:00
hns
c6b7f10d11 First simple and not very efficient implementation of res.skinpath,
which can contain one singel directoy in which to look for skins.
The skin resolution looks like this now:

 1) res.skinpath (directory)
 2) nodemanagers (internal HopObjects marked as skinmanagers)
 3) application directory
2002-03-19 19:26:07 +00:00
hns
c56befd4d4 Scripted Java objects now have a prototype that only has the
href() and renderSkin() functions, without all the other functions in
Helma objectmodel Nodes that don't apply to Java objects. This
was a problem because it "covered" methods in the Java objects
with the same name, e.g. list(), delete() etc.
2002-03-19 19:24:30 +00:00
hns
f3ea5d79a2 added skinpath field to set skin resolution path from properties
or from application code.
2002-03-19 19:14:09 +00:00
hns
b76447298b Fixed bug #65: redirect() doesn't work in onRequest() function.
http://helma.org/bugs/show_bug.cgi?id=65
2002-03-19 14:10:06 +00:00
hns
63eb24bae6 Support for version 1.2 of object-relational mapping format.
See http://helma.org/rfc/mapping12new/
2002-03-13 23:40:48 +00:00
hns
3f7180ae21 minimal formatting fix 2002-03-13 23:38:47 +00:00
hns
d8697dd762 Append the charset to the content type in method getContentType(),
suitable to the HTTP spec.
2002-03-13 23:38:13 +00:00
hns
77f29e6dfd Use getContentType() method instead of directly accessing the
contentType field in ResponseTrans. The method will append the
charset to the content type.
2002-03-13 23:37:18 +00:00
stefanp
0a68003361 fixed typo bug 2002-03-11 14:48:17 +00:00
hns
2896aaf82c Removed boolean self parameter from calls of start() and register()
methods in ApplicationManager.
2002-03-07 17:15:23 +00:00
hns
5b7495dca3 ° An app is now mounted as / on the embedded webserver if the
app name is "base", not when it scripts Helma self. This means
that it is now possible to have more than one applications scripting
the Helma server itself (e.g. a simple overview app in / and a
sophisticated admin app in /admin).

° Removed self boolean parameter from start() and register(), since this is
now determined just once and doesn't have to be carried around. Also,
callers of these methods from outside didn't really know about this parameter.
2002-03-07 17:14:46 +00:00
stefanp
f7ec5f3bbd byte-array of the helma-logo 2002-03-07 14:46:23 +00:00
stefanp
4fec331e8d handle http-header for authentication 2002-03-07 14:41:00 +00:00
stefanp
3c16c722a7 implemented IPathElement
added public functions for base app: static getServer, startApplication, stopApplication, getAppsHome, getProperties, getProperty, getApplication
2002-03-07 14:39:07 +00:00
stefanp
b52c3e54b4 added getApplication(String name)
removed private status from start/stop/register
2002-03-07 14:33:58 +00:00
stefanp
86388ccfa2 added methods for http authorization getUsername() + getPassword() 2002-03-07 14:32:36 +00:00
stefanp
cdd4a205ba added field realm for http authorization 2002-03-07 14:31:12 +00:00
stefanp
a45d7e9332 implemented IPathElement
added some public methods for introspection (clearAppCache, getProperties, getAppDir)
2002-03-07 14:29:29 +00:00
stefanp
0895856429 implemented IPathElement 2002-03-07 14:19:33 +00:00
stefanp
8bc447ad05 replaced DocFunction.getPrototype() with DocFunction.getDocPrototype() so that we can implement IPathElement 2002-03-07 14:18:20 +00:00
stefanp
8557f20d21 no message 2002-03-07 14:17:30 +00:00
stefanp
b86c3cd693 implemented IPathElement
replaced DocFunction.getPrototype() with DocFunction.getDocPrototype()
2002-03-07 14:16:15 +00:00
stefanp
4a373e8a09 added default values to fields 2002-03-07 13:58:07 +00:00
stefanp
d165ce1c28 no message 2002-03-07 13:54:06 +00:00
stefanp
393a30e083 added properties for running new base/admin application 2002-03-07 13:35:28 +00:00
hns
8d1e549e72 Update to MinML 1.7 from http://www.wilson.co.uk/xml/minml.htm 2002-03-07 13:03:46 +00:00
hns
07e27b05ef Update to mm.mysql-2.0.11-bin.jar from http://sourceforge.net/project/showfiles.php?group_id=15923
The reason for the update is bug 64 which might be related to the MySQL driver:
http://helma.org/bugs/show_bug.cgi?id=64
2002-03-07 13:00:38 +00:00
hns
c9b927af09 Work on type.properties v. 1.2 support. 2002-03-06 15:01:15 +00:00
hns
5cf87fab38 Added code to check whether a value is a string type and should be put in
quotes when building a query. Previously, also
number values were quoted in SQL queries since neither Oracle nor
MySQL seemed to care, but Sybase doesn't like quoted number vaules.

Also, some bits and pieces for version 1.2 type.properties reading.
(see http://helma.org/rfc/mapping12new/ )
2002-03-06 13:07:50 +00:00
hns
802d66ee80 Added isStringColumn method that lets us check whether a column is
a string type and values therefore need to be quoted. Previously, also
number values were quoted in SQL queries since neither Oracle nor
MySQL seemed to care, but Sybase doesn't like quoted number vaules.
2002-03-06 13:05:40 +00:00
hns
00a396c2f5 Omit quotes from where-clause of getNodeByKey, since the
id value is always an integer. Using quotes used to work fine for
Oracle and MySQL, but it seems to cause problems on Sybase.
2002-03-01 17:57:38 +00:00
hns
fed45aa542 Added try/catch statements to all calls of close() methods in
statement and tableset classes. This seems to be necessary when
using Sybase, as reported by Georg Backer <gbacker@lionhead.com>
on the list.
2002-03-01 16:05:00 +00:00
hns
1ef841f9c0 Foundation for new type mapping support in DbMapping class. 2002-02-26 16:56:13 +00:00
hns
48205c183e Backpedal on previous change to include Servername ("Helma")
again instead of printing only the version number.
2002-02-25 16:13:37 +00:00
hns
1db50720f7 Use Server name and version directly from helma.main.Server.version
instead of having a separate server anme and version fields.
2002-02-25 16:02:10 +00:00
hns
41abbaa3ad updated version info 2002-02-25 16:00:53 +00:00
hns
4a3879b0ee Check for readonly flag in putProperty method so that write protected
properties can't be modified from script code.

Deleted stuff that was permanently commented out:
  * setNode() method
  * readonly check for created and lastmodified props
2002-02-25 14:48:11 +00:00
hns
4e192c39c0 added public isReadonly() method to check the readonly flag from
other packages.
2002-02-25 14:45:54 +00:00
hns
3fee354352 ° Cut off _action suffix when setting the action property the reqest object
° Unset done flag when processing an error to make sure it is actually processed
2002-02-22 16:26:04 +00:00
hns
8bab32a94c suppress log message if onRequest() function is not defined. 2002-02-20 16:57:26 +00:00
hns
e966459776 commented out mildly annoying log message for static file requests 2002-02-20 16:15:26 +00:00
hns
69cb0cb711 just testing the setup 2002-02-20 16:02:15 +00:00
hns
ced9315833 Generate multiple valid IDs in generateMaxID() when the
prototype's table is empty. Previously, new IDs for empty
tables always returned 0.

This fixes bug 59.

http://helma.org/bugs/show_bug.cgi?id=59
2002-02-01 15:20:22 +00:00