Commit graph

3423 commits

Author SHA1 Message Date
stefanp
c9c85a67c7 separated building of snapshot and of distribution.
"build package" now works in helma/work-directory only.
added targets "build snapshot" and "build snapshotcompile" to build helma.jar
added target "build helmadocs" to download documentation from helma.org.
2002-04-25 14:08:48 +00:00
stefanp
0e9738e95d updated to fit the last changes 2002-04-24 16:04:29 +00:00
hns
c7071ce55d Changed order of reading request properties. Previously, HTTP parameters
where set after HTTP variables/headers, which caused a security problem
with HTTP variables being overridable by parameters. (bug #77)
2002-04-23 16:07:51 +00:00
stefanp
8ddc2b2e4f bugfix http://www.helma.org/bugs/show_bug.cgi?id=55
login() now returns false if authenication fails, not only
if heavier exceptions appear.
2002-04-23 14:36:03 +00:00
p3k
52822f59e3 moved description from text file description.txt to property "description" in app.properties 2002-04-23 11:46:23 +00:00
stefanp
2363def4f7 use _attribute instead of attributes 2002-04-19 17:16:50 +00:00
stefanp
0fbaf447e8 use _prototype instead of prototype 2002-04-19 16:45:30 +00:00
stefanp
ddf1a9a88e initial checkin xml/dom-extension 2002-04-19 15:54:14 +00:00
stefanp
0524f54a47 failure to catch an empty enumeration from javascript caused a bug when
an application had no app.properties. workaround: check against new
method SystemProperties.size().
2002-04-18 09:37:55 +00:00
stefanp
8e96f6fee8 added wrapper for Hashtable.size()-method 2002-04-18 09:35:54 +00:00
stefanp
ce27d2124b "=self"-tag for self scripting applications in apps.properties is no longer supported. use class.properties file instead and define helma.main.Server as the main class. 2002-04-08 09:00:52 +00:00
stefanp
1bd0f474b6 for security reasons: removed default adminUsername and adminPassword properties. manage-application will ask for these properties once if they are not set at startup. 2002-04-08 08:57:08 +00:00
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