Commit graph

3400 commits

Author SHA1 Message Date
hns
27798305ce Renamed renderSkin_as_string() functions to renderSkinAsString() 2001-05-14 14:39:53 +00:00
hns
e944ba1a3b New constructor that takes an InputStream as parameter
for files that are embedded within a zip file
2001-05-14 14:38:51 +00:00
hns
bdf416d1c6 Check for subnode condition when retrieving a subnode as property. 2001-05-14 14:37:54 +00:00
hns
fdced7ceed removed type preservation code in setStringValue() - if the property was
of a different type previously, it is set to STRING instead of trying to
get a boolean, number, date etc. out of the string value.
2001-05-06 18:03:27 +00:00
hns
3009a40358 first implementation of skin file enumeration through
app.skinfiles.
2001-05-06 18:01:32 +00:00
hns
8bf1a54727 Fixed renderSkincalls for untyped objects (virtual, groupby etc).
They are needed in Robert's inspector, for instance.
2001-05-04 11:40:13 +00:00
hns
2caa611434 Use Toolkit.createImage instead of Toolkit.getImage
to avoid that images are shared and that file-not-found
information is cached over calls.
2001-05-03 13:28:54 +00:00
hns
b3c933c74d again compare dbmapping when comparing two ESNodes.
This was temporarily disabled while hunting the compare bug.
2001-05-03 13:27:39 +00:00
hns
0eaf74102b Cleaned up code for generating standard prototype directories, and issue
a warning if one could not be created or is something else than a directory.
2001-04-19 13:14:38 +00:00
hns
ce51acc353 Fixed bug where a normal prototype could set its object prototypes to null
if hopobject directory didn't exist.
2001-04-19 13:14:35 +00:00
hns
27bca8cec1 Changed FESI.Interpreter.EcmaScriptEvaluateVisitor to use .equals instead of
== in equal method for helma.framework.core.ESNode objects, since different  
  wrappers may wrap the same object.
2001-04-19 12:12:28 +00:00
hns
19dfd14aee Removed DbMapping comparison from ESNode.equals().
This is a quick workaround hack to see if this solves
object comparison problems Michi reported on the list.
2001-04-18 14:04:24 +00:00
hns
b9aefba787 The DbSource is now retrieved from the application
as it should, instead of IServer.
2001-04-18 14:01:09 +00:00
hns
322c0b80ac Changed initialization mode of Database extension
for the RequestEvaluator must be able to call
setApplication() on it.
2001-04-18 14:00:20 +00:00
hns
0b648a3830 Fixed bug where renderSkin_as_string didn't work from scheduler.
Also cleaned up scheduler loop in Application so that session cleanup
and scheduler times don't interfere (although it's still the same thread
running both tasks), and the scheduler functionis called
immediately on application startup, while session
cleanup is only started after 60 seconds.
2001-04-17 13:15:19 +00:00
hns
8b947c5d42 Fixed bug where new skins weren't read because updater checked for
scriptExtension instead of skinExtension.
2001-04-13 18:33:30 +00:00
hns
e886594f30 inital check-in of cache replicator 2001-04-06 18:05:59 +00:00
hns
2ff4f8e2e8 Undo accidental check-in of some debugging changes 2001-04-06 18:02:08 +00:00
hns
e6d115f51d *** empty log message *** 2001-04-06 17:56:57 +00:00
hns
2c537cc45d initial check-in, handles zipped app files 2001-04-06 17:56:24 +00:00
hns
6ebaf9b242 made serializable (which wasn't necessary after all) 2001-04-06 17:53:39 +00:00
hns
a436d221d1 Now checks for update before returning a connection.
DbSources are now handled by the application instead of
the server.
2001-04-06 17:53:18 +00:00
hns
045ba6fb41 implemented _extends to express prototype chains 2001-04-06 17:51:01 +00:00
hns
45d3cbec4e minor cleanup - parameterized cacheTime 2001-04-06 17:50:20 +00:00
hns
3d848fb069 fix bug where order was ignored in a certain virtual subnode scenario 2001-04-06 17:49:27 +00:00
hns
8a1fcd56d0 added initial zip file support 2001-04-06 17:48:31 +00:00
hns
61404e7612 Added flexible prototype chaining 2001-04-06 17:47:49 +00:00
hns
2cdb459c2d Moved db source handling from server to application level
Added cache replication functionality
2001-04-06 17:47:04 +00:00
hns
a336ab5955 added replicateCache() method for cache replication 2001-04-06 17:45:52 +00:00
hns
b37cba7fe3 implemented setPrototype() to make prototype changeable. 2001-04-06 17:45:00 +00:00
hns
d918bf0bf5 one more getParent() removed from addNode() 2001-04-03 17:45:37 +00:00
hns
bd24f08040 Removed getParent in addNode and setNode, since the result could
be wrong and would then get cached. Directly access parentID instead.
2001-04-03 17:12:57 +00:00
hns
1f4306ef0e Added serverSocket.close() in shutdown method 2001-04-03 11:55:31 +00:00
hns
c2a80bb151 fixed bug with null node caching and groupby nodes. 2001-03-23 17:49:09 +00:00
hns
df78802f57 added global authenticate() function that authenticates
a user against a standard Unix passwd file.
2001-03-22 17:58:51 +00:00
hns
2ba56a02cb Fixed bug when properties were not updated when
passwd file was removed.
2001-03-22 17:57:56 +00:00
hns
bfc17b11a1 Added crypt files for unix passwd support 2001-03-22 17:29:20 +00:00
hns
485c9572d7 When a groupby node is created, whatever was in the
cache previously with its key is evicted. This fixes
a bug introduced with null node caching.
2001-03-22 15:45:43 +00:00
hns
b4e8ff87fe Minor skinmanager code fix 2001-03-22 15:44:31 +00:00
hns
bf72cbe440 getNameOrID now dares to set anonymous, depending on whether
the parent has propertiesAreSubnodes set and it makes sense in the
context of the current object.
2001-03-11 18:51:29 +00:00
hns
9eb575ea16 getGroupby*Relation now passes along the subnodesAreProperties fiag. 2001-03-11 18:49:33 +00:00
hns
39bdbfd886 re-enabled appsPropFile property and did some
code-shifting from static main() to Server()
constructor.
2001-03-11 16:04:45 +00:00
hns
9bb86fff7c reenabled appHome and dbHome properties 2001-03-11 16:03:52 +00:00
hns
faead64efc avoid sending an SQL statement in updateNode if the only thing
marked as dirty is a virtual node. This used to throw an exception
when adding subnodes to a node that also has a virtual node.
2001-03-11 15:25:34 +00:00
hns
9e2a4f561e first raw version of database-stored skins 2001-03-10 19:38:52 +00:00
hns
5eb8e03d77 added encodeForm functions to global object and
response object. This does HTML encoding, but
leaves newlines untouched.
2001-03-09 18:39:47 +00:00
hns
5f5d111f95 Removed some old db/Node garbage that didn't go along well with the
new parent recognition. Also fixed a bug where a Node could be stored
with an invalid key in setNode().
2001-03-09 18:38:46 +00:00
hns
405555278d Implemented caching of null nodes in getNode (Node, String, Relation). A singleton
nullNode is used to cache Node objects in the application cache if they don't exist.
2001-03-09 16:05:31 +00:00
hns
3f285ac8fd setting a node with null prototype will now set the prototype to the expected
value. If the prototype is already set to a different value, an exception is thrown.
2001-03-09 16:03:53 +00:00
hns
eb05a99a29 parse js and hac files even if they're empty 2001-03-08 18:58:31 +00:00