Commit graph

196 commits

Author SHA1 Message Date
1e520c248a * Merged source code files of one prototype into one single file named after the prototype
* Applied ECMAScript compliant syntax to prototype member definitions
 * Cleaned up directory structure
2007-06-23 14:53:39 +00:00
Christoph Lincke
d06cd04072 removed image topics 2005-10-04 14:10:47 +00:00
Robert Gaggl
a86cb101c1 * reworked layout export: image-metadata is exported even if the file itself is missing, cleaned up code
* fixed bug 409 (http://helma.org/bugs/show_bug.cgi?id=409)
2005-02-13 13:58:41 +00:00
Robert Gaggl
f8b9d1d161 bugfix in show_macro(): delete param.as, otherwise it's rendered in the image tag 2004-10-05 12:26:43 +00:00
Robert Gaggl
4dd5429966 bugfix in editlink_macro(), deletelink_macro() and replacelink_macro(): renderImage is a global method, not a site's one 2004-08-01 12:22:15 +00:00
Robert Gaggl
c965e1790e fixed bug in topicname evaluation: directly test the urlpattern instead of using
isURL() since the latter uses java.net.URL to test
2004-06-08 08:22:38 +00:00
Robert Gaggl
d92eba0f3b createLinkParam() now clones the param object, so there's no need to store the text defined in a variable 2004-05-08 16:53:44 +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
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
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
91bb15d507 included replacelink 2004-03-15 07:38:01 +00:00
Robert Gaggl
089610b27b committed Michi Platzer's patch that implements
- diskquota-limits per site
- limits for site-alias and username (30 characters)
- display of last stories/comments of a user in system manager

(see http://grazia.helma.at/pipermail/antville-dev/2004-February/000488.html)
2004-02-18 17:53:02 +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
e559f5d470 cleaned up code 2004-01-13 14:20:44 +00:00
32323abe65 cleaned up code 2004-01-12 16:44:25 +00:00
304e1cc0be modified delete_actions and corresponding delete.skin 2004-01-12 12:47:18 +00:00
Robert Gaggl
47f55e01e3 changed because the attribute "what" was renamed to "as" in show_macro() 2004-01-06 16:18:30 +00:00
Robert Gaggl
1f54fa20a9 re-added preview.skin, this one is used for rendering images in a gallery 2004-01-06 16:16:12 +00:00
a8498b46c5 modified layout to achieve more consistency 2004-01-03 17:32:00 +00:00
956912eea0 copied topic_macro from story to gallery_macro 2004-01-02 22:17:08 +00:00
419ca9c8c6 retouched layout to become more concistent 2004-01-02 22:06:37 +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
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
666a8734ac initial check-in 2003-12-08 22:59:01 +00:00
Robert Gaggl
8da39d7053 renamed to mgrlistitem.skin 2003-12-08 22:55:43 +00:00
Robert Gaggl
1bb182ba72 - added method getFile() which returns a File object representing the image on disk
- modified getPopupUrl(): use res.push()/res.pop() instead of a StringBuffer (for performance reasons)
- modified getUrl(): ditto
- renamed dump() to dumpToZip()
2003-12-08 21:23:41 +00:00
Robert Gaggl
a28bec93fb fixed a bug that would display "on" even if there's no image createtime (which is the case for imported images) 2003-12-08 21:08:50 +00:00
Robert Gaggl
f4a90271d7 removed pixel.gif 2003-12-08 20:50:32 +00:00
Robert Gaggl
b8e4b3d780 - evalImgType is now a global function
- renamed popupUrl() to getPopupUrl()
- renamed getStaticUrl() to getUrl() and changed it to use the site's method getStaticUrl()
- added method dump() which creates a temporary HopObject containing the metadata of the image (and its thumbnail if existing)
2003-11-23 19:23:46 +00:00
Robert Gaggl
c4b620de10 - modified _parent definition (the _parent definition for layoutimages is done in layoutimage/type.properties)
- added object mapping for layout
2003-11-23 19:07:56 +00:00
Robert Gaggl
f2feb1006c - changed final redirect to _parent (since an image can also belong to a layout object now)
- fixed a typo
2003-11-23 18:58:33 +00:00
Robert Gaggl
9ccce682ae - instead of manually constructing the image-code call code_macro()
- fixed creator/createtime line since images might not have a creator (after import)
- minor change in layout
2003-11-23 18:53:35 +00:00
Robert Gaggl
2eddfe5d9b added linkedpath on top, replaced the code of the image with a call of image.code_macro() 2003-11-23 18:27:46 +00:00
Robert Gaggl
7335bbf21e - url_macro() is now just a wrapper of getUrl()
- modified deletelink_macro() to call checkDelete() instead of checkEdit()
- getStaticUrl() was renamed to getUrl()
- added code_macro() that generates the macro-code for embedding an image (either layoutimage or image)
2003-11-23 18:15:28 +00:00
Robert Gaggl
5d6a3e346e - reformatted html code
- fixed creator/createtime line since images might not have a creator
2003-11-23 18:04:07 +00:00
Robert Gaggl
9eecb1fdec using new res.handlers.context object for rendering page.skin (res.handlers.context either contains root or a site object) 2003-11-23 17:47:30 +00:00
Michael Platzer
22c1e4c5ef (finally) merged imagetopics branch to HEAD 2003-11-01 15:24:07 +00:00
Michael Platzer
268c998b5a fixed tiny typo in comments 2003-10-29 16:25:34 +00:00
Hannes Wallnöfer
e8adb95a2c Added support for skinsets:
* Skins are attached to skinset rather than site objects
 * Each site can have multiple skinsets
 * Skinsets can inherit from each other
 * Added subclasses of imagemgr and skinmgr that mount on root/manage
2003-10-07 15:14:47 +00:00
Robert Gaggl
4b3ce773a8 - modified editlink_macro() and deletelink_macro() since checkXxx now throws a DenyException
- fixed some comments
- removed unused hasthumbnail_macro()
2003-09-07 21:06:36 +00:00
Robert Gaggl
570c419ea1 rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object 2003-09-07 21:02:26 +00:00
Robert Gaggl
1bb142aa57 initial check-in: merged former .hac files into single actions.js files 2003-08-02 12:20:05 +00:00
Robert Gaggl
b1d3bb6870 modified comments 2003-08-02 12:19:11 +00:00
Robert Gaggl
ead9d08495 - added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
- added method isDeleteDenied()
2003-08-02 12:06:22 +00:00
Robert Gaggl
ee45995b9a - changed to use AntvilleLib methods
- added constructor function
- modified/simplyfied image handling methods
- removed caching from getStaticUrl()
2003-08-02 11:28:33 +00:00
Robert Gaggl
480815bc75 slightly modified code-text 2003-08-02 11:11:30 +00:00
Robert Gaggl
91aa97ea77 - changed to use AntvilleLib methods 2003-08-02 11:01:25 +00:00
Robert Gaggl
bec9671d2b - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
2003-08-02 10:40:41 +00:00