hns
1cd27f8c1d
Did some fixes in setConstraint() which now checks if the backward
...
mapping is a primitive mapping or an object reference.
Also allow the method to be called for group-by collections, which
is why the new code should be regarded as experimental.
Removed some dead code.
2002-05-14 16:37:14 +00:00
hns
d269727524
Nodes are now inserted/updated in the database in the same order
...
they were marked as dirty in the transactor. This is to avoid
exceptions when databases check for relational constraints in
inserted objects.
2002-05-14 16:35:18 +00:00
77fbf7e5b4
initial check-in
2002-05-14 16:34:49 +00:00
hns
3863edd22f
Fixed remove() method.
2002-05-14 16:34:03 +00:00
hns
86cbedc1d6
added methods to get and set skinpath and translated skinpath.
2002-05-14 16:33:24 +00:00
hns
72308434eb
removed silly comment
2002-05-14 16:32:33 +00:00
a193cbf2b2
added a lot of beautiful comments at the beginning of the file (to inform about the different targets and their purpose)
2002-05-14 16:18:09 +00:00
hns
1bd0fe6c05
merged changes from refactor_scripting_05_02 branch
2002-05-13 17:38:00 +00:00
hns
5a015fbbc5
switched reval field from RequestEvaluator to FesiEvaluator.
2002-05-13 17:19:33 +00:00
9bcef4ca11
removed rss application; instead, added a new target for checking out and zipping any application residing in the cvs [syntax: ant -buildfile file.xml -Dapplication=appName]
2002-05-10 16:01:14 +00:00
hns
fd82482a03
Take id field from parent prototype if it isn't defined in this one.
2002-04-26 15:30:54 +00:00
stefanp
e74c9b22f2
modifed to fit the latest build targets
2002-04-26 15:10:59 +00:00
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
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
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
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