Commit graph

383 commits

Author SHA1 Message Date
Robert Gaggl
cb4034391d fixed a typo in SKINSET constant: it's StoryMgr, not Storymgr 2004-08-01 22:57:47 +00:00
Robert Gaggl
b1fc385d9e modified imagelist_macro(): it's not a wrapper for the (recently removed) imagelist_macro() of ImageMgr anymore, but does all on its own 2004-08-01 12:21:00 +00:00
94cb4c0a22 * check for param.as == "url" and/or param.as == "link" wherevery it (hopefully) makes sense
* cleaned up a little bit (code, comments)
2004-07-30 13:34:13 +00:00
Robert Gaggl
dee81ecc21 modified image_macro(): changed "onClick" to "onclick", otherwise pages wouldn't validate 2004-07-28 15:44:48 +00:00
e57317d759 removed call of flushMailQueue in scheduler because this function will be called from within the sendmail cron job (at least if it's enabled in app.properties) 2004-07-28 12:53:46 +00:00
acd20c426b fixed bug that caused exception due to referrer being an java.net.URL object in
logAccess function
2004-05-30 21:47:03 +00:00
e7adf37c2c added new libraries, removed old AntvilleLib 2004-05-30 21:06:35 +00:00
98a1b98172 make use of Http.evalUrl method in logAccess function to prevent similar URLs
(trailing slash)
2004-05-30 21:04:29 +00:00
Robert Gaggl
40538d5ae6 re-added now_macro() since the version in AntvilleLib doesn't know how to handle
the special "format patterns" ("long", "short")
2004-05-08 15:54:44 +00:00
b40b4cbaa8 fixed bug that caused newline to be appended at the end of a file all the time in Helma.File.prototype.readAll 2004-03-21 16:15:29 +00:00
Robert Gaggl
05d5511da0 - moved onStart() and scheduler to beginning of file
- added hook for modules in onStart() (call any module specific onStart method)
2004-03-21 14:25:43 +00:00
d9819d6f06 added removeDir, listRecursive, hardCopy and move methods to Helma.File prototype 2004-03-21 12:16:06 +00:00
7261a14353 * added check if directory exists before creating it in Helma.File.prototype.mkdir 2004-03-21 11:27:25 +00:00
01f4172303 * replaced all occurences of File methods with Helma.File methods (except where File refers to the HopObject prototype) 2004-03-21 11:26:40 +00:00
eaa0573329 fixed bug in Helma.File.prototype.list() 2004-03-21 10:54:53 +00:00
371da1e94b re-renamed Asset and Picture (incl. manager protos) to their original names (ie. File and Image) and instead added a global Helma object containing JavaScript wrapper methods around the helma.image.ImageGenerator and java.io.File classes 2004-03-20 22:30:35 +00:00
ee5a969fc2 renamed prototypes to uppercase first letter names; this implied renaming of file to Asset and of image to Picture to prevent clashes with helma's internal Image and File prototypes (including management mountpoints) 2004-03-20 18:13:50 +00:00
Robert Gaggl
991839a7c2 modified renderImage(): exchanged param.description with param.alt so that users can override the alttext of an image in the calling macro tag 2004-02-29 16:12:48 +00:00
Robert Gaggl
588927e333 committed matthias platzer's language patch
(see http://grazia.helma.at/pipermail/antville-dev/2004-February/000489.html)
2004-02-16 17:51:26 +00:00
254bb40537 tried to fix the still immanent file naming behaviour (this might need more involvement) 2004-01-14 15:52:39 +00:00
da8cba6094 fixed bug that caused empty aliases being created from file names starting with a period (e.g. ".htaccess") 2004-01-14 13:30:46 +00:00
12ee21ddc3 fixed macro help to finally work one day... 2004-01-13 15:39:51 +00:00
fd9d0b503f * re-added hopobject.url_macro as user-friendly wrapper for hopobject.href_macro
* replaced all xxx.href macro calls to xxx.url
2004-01-13 15:36:23 +00:00
b4a6f23d1f cleaned up code 2004-01-13 12:25:53 +00:00
6e432aa543 * added skinmgr.globalmacros_macro and prevented output of global macros in skinmgr.macros_macro
* fixed bug that caused exception in skinmgr.skinmacros_macro when displaying a custom skin
* fixed default prototype names according to latest helma changes (starting with uppercase)
2004-01-13 10:56:44 +00:00
32323abe65 cleaned up code 2004-01-12 16:44:25 +00:00
29800df812 updated the contents of the global help.js file to reflect the current macros and skins and by the way removed code which was either obsolete, deprecated or went into antvillelib 2004-01-12 15:47:38 +00:00
436fc1061f rewrote skin help by moving content of the macro.help file into a readable object structure which is transformed into a more scripting-compatible object tree at startup 2004-01-09 19:48:59 +00:00
09e60c0f8a removed obsolete skin references 2004-01-09 19:39:38 +00:00
Robert Gaggl
4d4e9898b1 changed SKINSETS constant to use mixed case prototype names for root, global and hopobject 2004-01-08 11:03:43 +00:00
Robert Gaggl
cc62ca4364 - changed "user" to "User" since the constructor is called User() now
- changed to reflect the latest changes of the application skins
2004-01-08 10:10:01 +00:00
Robert Gaggl
158367fec9 changed membermgr skinset (memberlist.skin was removed, membermgr.new added) 2004-01-04 15:46:06 +00:00
f936937912 enabled renderList function to process arrays, too 2004-01-03 17:03:25 +00:00
103ea6d0b4 fixed bug that prevented page links from being rendered 2004-01-03 15:58:53 +00:00
aaa58baa6f removed obsolete check of a hex color string's length / already done by String.isHexColor in antvillelib 2004-01-02 22:16:11 +00:00
f4bda5765f replaced eMail with e-mail 2004-01-02 22:14:57 +00:00
4110c9a515 replaced default separator ">" with ":" in linkedpath_macro 2004-01-02 22:12:25 +00:00
Robert Gaggl
9199bad197 added constants for different "editableby" values 2004-01-02 10:45:42 +00:00
Robert Gaggl
42a108aed5 modified since FileLib methods are now methods of File prototype (FileLib object is deprecated) 2003-12-30 13:04:45 +00:00
Robert Gaggl
8eaaab2ec9 changed since the signatures of some AntvilleLib methods have changed:
- Html.dropDown (first argument must be an object containing all attributes of the opening select tag).
- Html.link and Html.linkAsString (first argument must be an object containing all attributes of the a tag).
2003-12-17 22:04:38 +00:00
Robert Gaggl
52de311062 changed since the signature of Html.link(AsString) has changed (first argument must be an object containing all attributes of the a tag). 2003-12-17 22:04:16 +00:00
Robert Gaggl
3d10204c05 - added method getLanguages() that returns the languages to use for retrieving a message as array
- modified getMessage() to use getLanguage()
2003-12-12 12:44:01 +00:00
Robert Gaggl
6ce82fdcab bugfix: call color macros of layout, not of site 2003-12-10 11:52:48 +00:00
Robert Gaggl
4ddc9cde1e stylesheet.css was renamed to main.css, also use context.href instead of site.url (since there might be no site in path) 2003-12-10 11:34:26 +00:00
Robert Gaggl
90efa2aa09 DEFAULTIMAGES was renamed to DefaultImages 2003-12-10 11:00:05 +00:00
Robert Gaggl
c5e072b55b renamed DEFAULTIMAGES to DefaultImages 2003-12-10 10:59:27 +00:00
Robert Gaggl
e3dcfb46d9 modified skinset site.mails since the names of the skins have changed 2003-12-09 19:56:47 +00:00
Robert Gaggl
a73f862797 changed from using StringBuffer to res.push()/res.pop() 2003-12-08 22:37:09 +00:00
Robert Gaggl
c7548b8536 simplyfied html code 2003-12-08 22:32:31 +00:00
Robert Gaggl
98f81924bc - modified getPoolObj() since there are no "root images" anymore (their metadata is now the business of the global DEFAULTIMAGES object)
- minor code formatting
2003-12-08 21:21:12 +00:00