Commit graph

  • 808a1e8f00 Checking in Mckoi 0.94h hns 2002-11-28 15:57:57 +00:00
  • fb5bc6306e Oops, checked in as text again. hns 2002-11-28 15:55:06 +00:00
  • 9584004de5 Moving Mckoi 0.94g from lib to lib/ext hns 2002-11-28 15:51:25 +00:00
  • 91101092f4 Updated to org.mortbay.jetty-jdk1.2.jar from the Jetty 4.2.2 distribution. hns 2002-11-28 15:34:17 +00:00
  • 9adf11a9d6 # Make check for jar files in lib/ext case insensitive. # Add files in lib/ext before lib/apache-dom.jar so if xerces jar files are added they override the partial xerces in apache-dom.jar. hns 2002-11-28 13:43:15 +00:00
  • f90f8d678b Fixed encoding in XML declaration (Xerces complained) hns 2002-11-28 13:18:11 +00:00
  • 03af43fd40 Moved JDBC MySQL 2.0.14 from lib to lib/ext hns 2002-11-28 13:02:13 +00:00
  • c44446023d Put pushStringBuffer() and popStringBuffer() back in because they are needed by the template_as_string() functions. hns 2002-11-28 12:55:21 +00:00
  • d79cb11bda j2sdk1.4.1 strangely complained about a comment in the last line of the file stefanp 2002-11-28 11:02:08 +00:00
  • d9c4b3d6f3 Tentative fix for Java reflection bug where we're unable to call public methods declared in non-public classes. hns 2002-11-27 17:22:53 +00:00
  • 63f7a2e4df ImageGenerator does no longer extend java.awt.Window. Should work in headless mode now. hns 2002-11-27 15:52:33 +00:00
  • c07fc06de4 Add public getters for application and server directory hns 2002-11-26 17:43:24 +00:00
  • 050438c80a Add jars to classpath without checking if they exist. hns 2002-11-26 17:42:30 +00:00
  • 8cbcbd82ca use launcher.jar hns 2002-11-26 17:41:28 +00:00
  • 269aeda187 use launcher.jar, changed newline encoding back to windows mode (hopefully) minor fixes. hns 2002-11-26 17:41:14 +00:00
  • 2a9515663a Update version, copy launcher.jar hns 2002-11-26 17:35:17 +00:00
  • c0b8abaa0b Since an app's documentation/introspection depends on its scripting language , the task of getting the documentation/introspection object used by the management app is now delegated to the app's scripting engine. hns 2002-11-26 15:05:25 +00:00
  • d864dc37fe Added getInspector() method that returns a inspector/documentation class for the engine's application. For helma.scripting.fesi.FesiEngine this method returns an instance of helma.doc.DocApplication. hns 2002-11-26 15:02:34 +00:00
  • 30d593119b Filter helma.doc package from main classloader. This is because helma.doc actually depends on FESI, i.e. if it is loaded via the main classloader, so will some classes in FESI, and we want to prevent that. hns 2002-11-26 14:59:56 +00:00
  • 94e9a8efab Removed boolean inherit argument from INode.get*() methods because it was never used. hns 2002-11-26 14:00:04 +00:00
  • ab349a1c3c Always set evaluator.thread field in invoke(). Otherwise a TimeoutException will be thrown if invoke() is called before the execution context is entered, which is the case when resolving request paths via scripted getChildElement() functions. hns 2002-11-26 13:24:17 +00:00
  • a6516af320 Rewrote cookie setting to be more flexible and allow setting of path and domain. hns 2002-11-26 13:22:27 +00:00
  • c8690f49d3 Renamed evaluator field to eval to avoid abiguities hns 2002-11-25 13:18:23 +00:00
  • b57b024082 Re-added getRootHref() method, which was removed because it's not used by Helma code. Turns out the manage application needs it. hns 2002-11-25 10:33:07 +00:00
  • e81bb842c7 Updated version string hns 2002-11-22 19:33:02 +00:00
  • 452cf28676 Some minor changes in getNodeHref() and getDataRoot() hns 2002-11-22 19:31:30 +00:00
  • 4757fa93a8 Changed the name of the scripting engine property to scriptingEngine. Do not print stack trace when an exception is thrown since this is already done in the scripting engine. hns 2002-11-22 19:28:35 +00:00
  • 83d997477c Major cleanup all over the helma.objectmodel.db package. Fixes bug 151. Some optimization in getElementName(). Removed cases where user prototype was treated as a special case. hns 2002-11-22 19:26:39 +00:00
  • b052ee89a7 Removed one unused line hns 2002-11-22 19:05:29 +00:00
  • 78875ea8e1 Scripting exception can now wrap the original exception. hns 2002-11-22 19:04:44 +00:00
  • 0ce0f3f0eb Call getChildElement() instead of getSubnode() as fallback in getProperty(). Fixed bug 155. hns 2002-11-22 14:41:39 +00:00
  • 4babc5c850 * Do not print out exception messages multiple times. * Create a scripting exception wrapping the original exception. hns 2002-11-22 14:40:51 +00:00
  • 4505fb1ffc - click on showApi-button calls docapplication/read_action to re-read the application each time a user enters the doc-frameset. - function docfiles aren't stored in their own directory each but moved up to the prototype directory, further regex-parsing of the resuting html-code necessary stefanp 2002-11-22 14:32:46 +00:00
  • c709dd4c59 server password is now encoded as one single entry in server.properties (adminAccess instead of adminUsername+adminPassword) stefanp 2002-11-22 14:31:28 +00:00
  • 917502ba56 use higher request timeout because rendering the apidocs might take more than one minute on a slow computer stefanp 2002-11-22 14:29:28 +00:00
  • c1338c3d67 Avoid printing out exception twice in printStackTrace(). hns 2002-11-22 14:21:43 +00:00
  • 8edec30f84 Fixed type (contructor -> constructor) hns 2002-11-22 14:01:15 +00:00
  • 16bc1ab07b Do not prepend "Runtime error" in EcmaScriptExceptions. hns 2002-11-22 14:00:12 +00:00
  • 7bd5803a33 simplified editing of server authentication. as changes to server.properties are now immediately read and accessible from the manage-application we just have a md5-encoding utility and leave it to the admin to add the values to the server.properties file. this makes sure that nothing can be changed via the web. stefanp 2002-11-22 11:58:37 +00:00
  • cd8ebdd41b re-added access check to actions stefanp 2002-11-22 11:55:42 +00:00
  • 604ab4f8ba lots of formatting fixes, added functionindex to docapplication stefanp 2002-11-22 11:39:11 +00:00
  • ac03362a52 re-added for use in DocApplication.listFunctions () stefanp 2002-11-22 11:37:51 +00:00
  • 99b0d50d71 don't add hopobject as a parent prototype to global stefanp 2002-11-22 11:37:29 +00:00
  • 5bd8b44ee7 added listFunctions() stefanp 2002-11-22 11:37:07 +00:00
  • 63f3faf811 use app.getCacheUsage() instead of accessing NodeManager stefanp 2002-11-22 09:56:40 +00:00
  • 1d8329cfde parse DocApplication when it's first accessed. added getCacheUsage() stefanp 2002-11-22 09:55:55 +00:00
  • 7633e98eea major overhaul of the manage app's api-documentation functions. things can now be rendered to static html, new helma features are supported (prototype extension), everyhting is done in a nice and clean way with skins. stefanp 2002-11-21 18:36:03 +00:00
  • 520a32fe80 some tiny fixes stefanp 2002-11-21 18:32:47 +00:00
  • 4372b62ad2 Minor change in log message hns 2002-11-21 16:03:51 +00:00
  • a5ed324daf FesiEvaluator was renamed to FesiEngine. hns 2002-11-21 16:00:31 +00:00
  • ffbed8751e ScriptingEngine interface got an additonal init() method. FesiEvaluator was renamed to FesiEngine. Some naming cleanups. hns 2002-11-21 15:57:35 +00:00
  • 039ab180be merge in classloader branch hns 2002-11-21 15:55:32 +00:00
  • 75afb61744 Added getContentType() and getContentLength() methods hns 2002-11-21 15:47:44 +00:00
  • c1c7f6af38 Moved auto-ETag generation out of String encoding block so that ETags are generated for binary responses. Some minor fixes in auto-ETag gen. hns 2002-11-21 15:46:58 +00:00
  • 8de915b1bb Remove dead code, fix indentation hns 2002-11-21 15:38:44 +00:00
  • 424b2f8021 several bugfixes added tags deprecated, overrides DocSkin now only looks for handlers response, request, param, session stefanp 2002-11-21 14:27:36 +00:00
  • b8cf9b2e4c Fetch database records in natural order hns 2002-11-20 19:31:31 +00:00
  • 79255d217e Call ResultSet.next() when creating an ID from a sequence. hns 2002-11-20 18:15:23 +00:00
  • 9bd47012c5 restructured the whole helma.doc-package. - implemented latest helma features (function_action for actions etc) - removed double code, nicer hierarchy, all elements can be used alone - removed possibility to run from command line, rendering is now only done through manage application - streamlined supported tags stefanp 2002-11-20 16:00:41 +00:00
  • b9b7e9988d Encode IP address in session cookie and check if it matches. hns 2002-11-19 17:12:35 +00:00
  • 1e7dee5c80 Generate launcher.jar. hns 2002-11-18 16:09:04 +00:00
  • a077975a28 Initial check in for launcher class/jar hns 2002-11-18 16:08:04 +00:00
  • 396a2ce634 Backpedal on previous changes. Instead, check if value returned by ResultSet.getBigDecimal() is null. hns 2002-11-18 14:58:30 +00:00
  • b2159e9aef Work around missing functionality in ResultSet implementations. hns 2002-11-18 14:16:40 +00:00
  • 8c25c9f30b Do not use ResultSet.isLast() since Oracle JDBC driver does not implement it. hns 2002-11-18 14:11:05 +00:00
  • 0f84163d78 Render format date more often hns 2002-11-14 17:35:16 +00:00
  • 0030004f37 Use getTableName() in getSelect(). Fixes bug 161. hns 2002-11-14 17:09:45 +00:00
  • 5123d254d4 Update to Servlet 2.3 API hns 2002-11-14 16:48:21 +00:00
  • 6945dc3774 Updated to org.mortbay.jetty-jdk1.2.jar from the Jetty 4.1.3 distribution. hns 2002-11-14 16:43:13 +00:00
  • 09d0bf57b9 Reworked class to actually use itself as propertie container instead of a delegate properties object. hns 2002-11-13 16:35:13 +00:00
  • a41483168a Column names are stored as upper case in the column-to-relation map. hns 2002-11-11 19:31:46 +00:00
  • e37d26f94d Do not append "WHERE" when calling Relation.buildQuery() because the relation may not need a where clause. Also returned to the way things were before when getting a node using a hand-set subnodeRelation. hns 2002-11-11 19:20:26 +00:00
  • 667dfb8544 Load additional properties through an instance of SystemProperties so the keys are transformed to lowercase. Otherwise lookup will not work for keys that contain upper case characters. hns 2002-11-11 18:59:57 +00:00
  • 62d38fcef6 Added missing 'order by' to getNodes() hns 2002-11-09 22:29:21 +00:00
  • 18fc2e8cd2 Check if scriptingEngine is not null in abort(). hns 2002-11-08 14:19:57 +00:00
  • 59330c9a01 use logEvent() instead of System.err.println() hns 2002-11-08 14:19:15 +00:00
  • b90ef71017 Do some real cleanup work at shutdown. Apps are now stopped and Loggers are flushed and closed. Still to do: Close server ports. hns 2002-11-06 12:08:49 +00:00
  • fd74552857 Added a wakeup() method that allows us to ping the Logger thread to resume running immediately. Also decreased the sleep interval to 250 millis, so logging output should be more fluent now. Reformatted innger GZipper class. hns 2002-11-06 12:07:53 +00:00
  • a080342079 Made response compression switchable via appname.responseEncoding = true Added stopAll() method which cleans up at system shutdown. hns 2002-11-06 12:05:52 +00:00
  • 3472ea06c1 Only rotate log files if the existing file is not empty. hns 2002-11-06 11:13:18 +00:00
  • 2b5057e136 Created initial shutdown hook that does nothing hns 2002-11-06 11:00:48 +00:00
  • dfc2431343 Use JDBC API directly for all queries. The only place where Village is still used is for inserts and updates. hns 2002-11-06 10:49:41 +00:00
  • 4529071cf4 *** empty log message *** hns 2002-11-06 10:06:05 +00:00
  • 37d645663d updated to versions as is build/main p3k 2002-11-06 09:29:49 +00:00
  • 5d021c5e0f Handle quotation mark escapes. hns 2002-11-05 19:12:47 +00:00
  • 7f9c5d65c0 Reworked encode() method: The hierarchy of HTML tags, macro tags and HTML comments is now right. Also made the method perform a bit faster by not creating in intermediate char array. Fixes bug 152. hns 2002-11-05 18:52:30 +00:00
  • 1daa648bea Remove title, head and body fields hns 2002-11-01 22:48:02 +00:00
  • ac5d1a6cc4 Render message and error from response object hns 2002-11-01 22:47:17 +00:00
  • a54344d79a Removed obsolete adoptName field hns 2002-11-01 21:45:03 +00:00
  • a60b7ff548 Minor optimization in needsUpdate(). hns 2002-10-31 15:27:50 +00:00
  • f04fbc1c3e Set lastmod in constructor since it's all that's missing to have an updated ActionFile. hns 2002-10-31 15:18:37 +00:00
  • 3b6c99a2f5 Do not cache processed template content. It is rarely needed and not that expensive to produce. Also fixes bug 149, hsp templates not updated. hns 2002-10-31 15:17:14 +00:00
  • 1cdb1d6199 Added GNU Diff class from http://www.bmsi.com/java/#diff hns 2002-10-31 08:39:34 +00:00
  • c04096e65c Fixed bug in node validation: We did not check if group nodes are still contained by their parents unless they use an accessname, which is often not the case. hns 2002-10-30 19:23:17 +00:00
  • 3e278641a1 Added session object as standard macro handler. Made the full macro name an instance field so it doesn't have to be composed on request. hns 2002-10-30 18:11:28 +00:00
  • 3c51a22b21 Change date format to display full hours when returning a date property as string. hns 2002-10-30 18:06:32 +00:00
  • 8f684b6ec9 Consult the macro handler map in the response object rather than the request path when resolving macro handler names. By default the new handler map contains the objects from the request path, but it lets the developer add or remove handlers. hns 2002-10-30 17:45:38 +00:00
  • 2faba077fa Add request path elements to the macro handler dictionary in the response object. Plus a few minor additional cleanups. hns 2002-10-30 17:43:16 +00:00
  • 3a6cffaf83 Return macro handlers map ("handlers") to let programmers add/remove macro handlers. hns 2002-10-30 17:37:57 +00:00
  • 5b51be761f Throw a RuntimeException when a property is not defined or not accessible instead of returning an error message. hns 2002-10-30 17:37:02 +00:00