Commit graph

2767 commits

Author SHA1 Message Date
d07a749608 removed invalid "as" html attribute from param2 in commentcounter_macro 2004-04-22 13:16:01 +00:00
9f0c544f8f * fixed rootProtoype property according to first-letter uppercase prototype Site 2004-04-21 17:52:46 +00:00
Robert Gaggl
35c24f42b8 modified main_action(): first argument to renderList is now an array containing
all images of the layout chain (but without duplicates)
2004-03-22 19:24:42 +00:00
Robert Gaggl
041c1deb6b added mergeImages() to merge the images of a layout with the ones of its
parent layout (images of the current layout override those of the parent layout
and won't be displayed in the list of all images)
2004-03-22 19:23:36 +00:00
Robert Gaggl
1515f5b56f fixed comment 2004-03-22 19:20:37 +00:00
Robert Gaggl
2de21beba1 moved replacelink_macro() to Image 2004-03-22 19:05:27 +00:00
Robert Gaggl
7e98da73b2 moved replacelink_macro() from ImageMgr to Image 2004-03-22 19:05:15 +00:00
Robert Gaggl
ea84db892c bugfix: replacelink is a macro of image, not of imagemgr 2004-03-22 19:04:55 +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
11f44fb460 moved firstOption for prototype choose from message file to skin 2004-03-21 16:14:40 +00:00
Robert Gaggl
8fbe6da3bc modified evalSystemSetup(): added module hook. loop over all modules and
apply their method evalSystemSetup() to the SysMgr object. with this a module
is responsible for evaluating and storing the system properties needed.
2004-03-21 15:23:03 +00:00
Robert Gaggl
cd5814437b modified evalPreferences(): added module hook. loop over all modules and
apply their method evalPreferences() to the site object. with this a module
is responsible for evaluating and storing its site preferences
2004-03-21 15:22:26 +00:00
Robert Gaggl
7bad934fe1 added call of modulePreferences macro 2004-03-21 14:31:47 +00:00
Robert Gaggl
fce50e87f2 added moduleSetup_macro() to embed any module specific system setup form 2004-03-21 14:30:59 +00:00
Robert Gaggl
37e9e85025 - modified navigation_macro(): it now embeds module specific navigation
if called with appropriate parameters
- added moduleNavigation_macro() to allow free placement of module
specific navigation in a skin
- added modulePreferences_macro() to embed any module specific preferences
in site preferences
2004-03-21 14:28:05 +00:00
Robert Gaggl
5a95b12ff1 added applyModuleMethod(): using this we can apply any module specific method to a HopObject 2004-03-21 14:26:24 +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
Robert Gaggl
617354602f modified navigation macro calls to embed any module specific navigation 2004-03-21 14:24:47 +00:00
Robert Gaggl
f98828c8ea bugfix: constructors are mixed case now (SysMgr instead of sysmgr) 2004-03-21 14:24:21 +00:00
Robert Gaggl
3e69d2d746 modified allowTextMacros():
- added hook to enable registering text macros defined in modules
- removed allowing of global shortcut macro
2004-03-21 14:23:38 +00:00
Robert Gaggl
b7d1e257bb added call of moduleSetup macro (to embed any module specific system setup form) 2004-03-21 14:22:19 +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
01cae4b46b restored accidentally committed app.properties file 2004-03-21 10:54:14 +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
ee2210d90f 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:26:28 +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
7da9efeb53 fixed bug that caused "allow comments" checkbox to be checked all the time 2004-03-20 12:07:50 +00:00
b3659ac422 sync'd with updated library 2004-03-20 12:07:23 +00:00
8c9c36e2df applied michael platzer's patches to the weblog apis
[see http://grazia.helma.at/pipermail/antville-dev/2004-March/000517.html and
http://grazia.helma.at/pipermail/antville-dev/2004-March/000518.html]
2004-03-20 12:02:26 +00:00
Robert Gaggl
bd77f5bf84 added text of replacelink 2004-03-15 07:38:15 +00:00
Robert Gaggl
91bb15d507 included replacelink 2004-03-15 07:38:01 +00:00
Robert Gaggl
1f3222cb0e added replacelink_macro() contributed my matthias platzer 2004-03-15 07:37:49 +00:00
Robert Gaggl
c725b88a71 updated to latest version 2004-03-15 07:36:48 +00:00
Robert Gaggl
56c46abe99 changed custom_action(): call getCustomSkins() to get the list containing
the layouts custom skins plus all of any parent layout in the chain
2004-03-15 07:36:37 +00:00
Robert Gaggl
51c5d3ece6 changed "all skins" to "default skins" (since the tree view doesn't contain
custom skins)
2004-03-15 07:35:30 +00:00
Robert Gaggl
fcada99e8b added methods
- getOriginalSkin()
- getCustomSkins() returns all custom skins of a layout plus those of
any parent layout in the chain.
2004-03-15 07:34:50 +00:00
Robert Gaggl
f6ff31d185 modified renderList(): it now accepts either a hopobject collection or an array 2004-03-15 07:33:02 +00:00
Robert Gaggl
1d567764ef using difflink- and deletelink macros instead of unconditional links 2004-03-15 07:32:32 +00:00
Robert Gaggl
b07f7d74d4 added difflink_macro() and deletelink_macro() 2004-03-15 07:32:03 +00:00
Robert Gaggl
372611b5fb fixed some message property names according to root.sys_allowEmails_macro 2004-02-29 21:34:09 +00:00
Robert Gaggl
e844686124 bugfix in deleteImage(): check if image is a site image (not a layout one) before decrementing diskusage 2004-02-29 20:36:56 +00:00
Robert Gaggl
ff26a78f66 changed content_macro(): use images.get(), otherwise an image whose name is a number (eg. 1001) won't be found
(fixes http://helma.org/bugs/show_bug.cgi?id=328)
2004-02-29 16:53:56 +00:00
Robert Gaggl
c5e89b3e11 modified getRenderedContentPart(): it now accepts a second parameter defining any special formatting of the content part (currently "plaintext" and "alttext") 2004-02-29 16:16:37 +00:00
Robert Gaggl
db341b6b52 modified content_macro(): pass param.as to getRenderedContentPart() since the latter now accepts different text formats (plaintext, alttext ...) 2004-02-29 16:15:14 +00:00
Robert Gaggl
b1f764e855 removed assignment of cache.modifytime in updateComment(): this timestamp was used to check if the content of a comment/story was updated, but isn't used anymore 2004-02-29 16:14:12 +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
c4683f8110 added method getLastModified() that returns the internal __lastModified__ property of the property manager's cache 2004-02-29 16:11:53 +00:00