Commit graph

3411 commits

Author SHA1 Message Date
stefanp
3360a56ee4 removed =self tag for self scripting applications base and manage.
this is done in app's class.properties files now
2002-04-08 08:56:22 +00:00
stefanp
a48d2fefc9 make app work again with new way of retrieving a custom root object (helma.main.Server, that is) 2002-04-08 08:49:41 +00:00
stefanp
08f702bd40 improved creation of custom root object:
- definition of root class is moved from app.properties to class.properties file.
- optional use of fields "root.factory.class" and "root.factory.method" in class.properties to retrieve an instance of the root object.
2002-04-08 08:43:30 +00:00
hns
ca66d7ba90 reverted scripting environment refactoring from HEAD branch,
will go into separate branch.
2002-04-05 17:09:25 +00:00
hns
b46b664d94 Halfway through refactoring of scripting framework, getting everything that
has to do with FESI out of helma.framework and into helma.scripting.fesi.
2002-04-02 17:19:52 +00:00
hns
1108e386e0 Renamed .groupby option to .group, according to spec, in the
parsing of db mapping when using the new format.
2002-04-02 13:30:50 +00:00
hns
337928ee4a Fixed bug 66: setParent() doesn't overrule _parent anymore
This was caused by lastParentSet not being set not being updated
in the setParent() method called from JavaScript, so if it hadn't already been
set before, getParent would still do its whole parent evaluation
work, overwriting the previously set parent.

Fixed bug 68:  _extends does not allow additional property mappings

The problem was that the standard (parent) prototype mapping was alweys
used to initialize new Nodes from a SQL result set in the relational Node
constructor. The right sub-prototype was determined at the beginning,
but since both the method parameter and the class fields were called dbmap,
the local parameter was used for initializing the node's properties.
2002-03-28 16:22:06 +00:00
stefanp
8f6503ae6b changed instructions 2002-03-26 19:00:25 +00:00
stefanp
0dbab772a6 saving of username and password now works through appending and not by saving the whole properties list. 2002-03-26 19:00:03 +00:00
stefanp
660ea666d9 makekey now uses createAuth() and shows a nice form. 2002-03-26 16:11:18 +00:00
stefanp
ddd6149251 added createAuth()
if no username/password are set and request comes from localhost checkAuth() now goes into createAuth() to let user enter uname/passwd combination.
2002-03-26 16:10:28 +00:00
stefanp
2a25fd3054 very basic skin 2002-03-26 16:08:03 +00:00
stefanp
9e8d43a015 html-form to set adminUsername and adminPassword 2002-03-26 16:07:48 +00:00
stefanp
41fdae647f added style-class formEl 2002-03-26 16:04:45 +00:00
hns
12e5fd0846 Make lookups by column name case insensitive. Also, hide the
column to property map from the outside world so nobody can
do a case sensitive lookup by fault.
2002-03-26 15:19:52 +00:00
hns
b294dabc90 Always do case insensitive comparison when checking if a
column name is the primary key column of a table.
2002-03-26 15:18:09 +00:00
hns
d13d2087f4 Use columnNameToProperty to look up property names for columns
instead of doing it myself. DbMapping does takes care to make the
lookup case insensitive.
2002-03-26 15:16:58 +00:00
hns
0ec0e17485 Run Logger with default priority. 2002-03-26 13:12:49 +00:00
hns
870c8eb527 Removed obsolete chooser() and multiChooser functions for HopObjects. 2002-03-26 13:09:13 +00:00
stefanp
fb264c63e5 replaced javascript-md5-library with method in helma.util.MD5Encoder 2002-03-26 12:47:49 +00:00
hns
4b09e5f1c3 update server version 2002-03-26 12:14:57 +00:00
hns
78c56ac382 Just be a little bit more precise in the kind of exception we throw. 2002-03-26 12:10:49 +00:00
hns
0fa15992cf Implement override toString method to do what you'd expect it to
do (generate a string representation of the properties).
2002-03-26 12:10:16 +00:00
hns
c88ac35c17 Try both Unix crypt and Stefan's new MD5 encoding for authentication. 2002-03-26 12:09:32 +00:00
hns
7041bf08e7 Initial implementation of new skin path resolution schema and
public skins.

Some further work needed in both areas.
2002-03-25 18:55:38 +00:00
hns
1a777b5c5a Added constructor without Prototype parameter to make it possible
to have SkinFiles which don't know or care about what prototype
they belong to.
2002-03-25 18:54:07 +00:00
hns
77da4999aa Added skinExtensions properties for support of public skins.
This is a property file, for now called mime.properties, that
mapps file extension names to MIME types.
2002-03-25 18:53:10 +00:00
hns
3712b51628 res.skinpath is now an object property (holding an array of
HopObjects or directory names) instead of a string property.
2002-03-25 18:51:21 +00:00
stefanp
7d607250b6 added link to helma.org, aehm 2002-03-25 18:50:29 +00:00
hns
847f2542d3 Removed everything related to the _skinmanager property
which isn't used anymore.
2002-03-25 18:49:41 +00:00
stefanp
4e0182bfda bug fixed in helma.main.Server 2002-03-25 18:37:49 +00:00
stefanp
078769bb43 no message 2002-03-25 18:37:19 +00:00
stefanp
bf86d54c67 removed obsolete functions: calling href() on Java objects does indeed work. The problem
was that getParentElement() method in Application always returned
null (due to a very hard to find bug in helma.main.Server).
2002-03-25 18:36:56 +00:00
stefanp
891b5056c8 no message 2002-03-25 17:58:45 +00:00
stefanp
15221babdc typo 2002-03-25 17:58:28 +00:00
stefanp
fd73f252a0 bugfixed and improved calculation of 5-minute request count 2002-03-25 17:58:19 +00:00
stefanp
eb6f593913 obsolete after switch to helma embedded md5-function 2002-03-25 17:57:38 +00:00
stefanp
6374ce94fc improved addressFilter, switched to helma embedded md5-function 2002-03-25 17:56:26 +00:00
stefanp
cc36746efb changed typo 2002-03-25 17:55:25 +00:00
stefanp
66f7b97e40 utility class for java md5-methods 2002-03-25 17:46:44 +00:00
p3k
5fb400ec4c added zipped application manager 2002-03-21 17:33:14 +00:00
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
c8be51599b Calling href() on Java objects does indeed work. The problem
was that getParentElement() method in Application always returned
null (due to a very hard to find bug in helma.main.Server).
2002-03-19 19:33:49 +00:00
hns
b46c2f1f4f The duplicate clearAppCache() method in Application() isn't necessary
anymore because a JavaScript prototype without all the HopObject
crap is used for scripting Java objects now. Calling clearCache()
will reach through to the Java method.
2002-03-19 19:32:41 +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