Commit graph

755 commits

Author SHA1 Message Date
stefanp
c0d7a163ba checkout now gets only the sources, checkoutfull gets everything needed
for building.
2002-04-26 15:09:36 +00:00
hns
653de0713c Removed try/catch clause from getLogger() method.
Increased version string to "pre3 2002/04/26".
2002-04-26 14:47:10 +00:00
hns
b49b50449e Formatting fixes 2002-04-26 14:05:47 +00:00
stefanp
8c4e0ed609 added a trim() method to fesi string objects 2002-04-26 13:44:52 +00:00
hns
4e3cc523e4 Logger.getLogger(...) doesn't throw an IOException anymore if
it can't open the requested log file. Instead it displays an error message
and sees if the file becomes writable. So there's no use in catching the
Exception and getting a Logger to std out/err anymore.
2002-04-26 12:48:51 +00:00
hns
86eb2c075a Do not throw IOException on getLogger(...) anymore. Instead,
display an error message on standard out, try again and again
to open and write to the log file, and discard queued
log messages and display a warning message every now and then.
2002-04-26 12:47:04 +00:00
hns
3a0a234d50 Pretty much rewrote the Logger class.
- Applied patch From Stefan Pollach that results in better log file rotation
 and gzips old log files
- Added sanity checks that re-creates a log file if it has been moved or
  deleted
- Added sanity check that closes a logger that can't write to its file.
- Added some method for real time introspection of logging system

Todo: Decide what should happen when a Logger can't write to its file.
2002-04-25 16:39:37 +00:00
p3k
f99abd660d added rss application to checkout 2002-04-25 15:37:16 +00:00
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
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
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
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
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
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
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
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
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
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