Commit graph

264 commits

Author SHA1 Message Date
ded7f5fcea Renamed type.properties according to prototype naming scheme recently introduced in Helma (s. http://helma.org/bugs/show_bug.cgi?id=533) 2007-10-11 13:38:29 +00:00
d710703965 * Merged most single skin files as subskins into one single skin named after the prototype
* Renamed some subskins to better reflect their purpose
 * Removed all obsolete skins
2007-10-09 15:09:06 +00:00
3cccb901f2 * Extensively tested and aligned new permission framework for the first time
* Changed order of filters in collection handlers (member items go first, all items last)
 * Fixed global file_macro and image_macro methods
 * Reactivated Images.Default
 * Added Layout.value_macro to allow per request definitions of variables for the CSS stylesheet (still experimental)
 * Finally removed PropertyMgr (replaced by Metadata)
 * Renamed a bunch of collections, mountpoints and variables
 * Reduced commentsMode options to "enabled" and "disabled" in Site prototype
 * Renamed "shared" mode to "restricted" in Site prototype
 * Moved a lot of stuff into the compatibility module
2007-10-08 23:55:29 +00:00
52a4470259 Reworked permission framework getting on the right track 2007-10-01 21:52:25 +00:00
c3a9a9c79d * Big improvements of generic framework in Story, Skins, Skin, Images, Image, Layouts and Layout prototypes
* Added first story formatting filters
 * Fixed global breadcrumbs_macro
 * Improved distinction check for layout images
 * Re-added accidentally removed replace action for layout images
 * Moved mostread_action from Site to Stories.top_action
 * Replaced links to topics with those to tags
 * Re-enabled referrers
 * Switched default permission poplicy from allow to deny in some prototypes
 * Added redirect from main_action of a skin to its edit_action (that's where all editing is taking place now)
 * Merged default and custom skin editor (still needs tweakin' of potential moving / renaming issues)
 * Renamed getNavigationName() methods to getTitle()
2007-09-30 23:59:13 +00:00
4b8d6a823b Intermediate commit:
* Continued work on Story prototype
 * Fixed some minor issues introduced with recent commits
2007-09-27 17:39:02 +00:00
83da4c933b Intermediate commit:
* Started implementation of new framework on Story prototype / text table
 * Continued work on layout prototypes
 * Fixed some issues introduced lately
2007-09-26 22:22:37 +00:00
ba57bb7be0 Intermediate commit: 2007-09-24 22:00:46 +00:00
0d3d1d27a3 Intermediate commit:
* Renamed ImageMgr to Images
 * Fiddled with more elegant context switch between Layout and Site images (still a little bit messy)
 * Added getUrl and getDirectory methods to File and Image
 * Moved global getPoolObj to HopObject.getFromPath
 * Moved global renderImage to Image.render
 * Moved global DefaultImages to Images.Default
 * Moved global thumbnail constants to Image
 * Moved global evalImageType to Image.validate
 * Streamlined image_macro (good-bye pop-ups!)
 * Added HopObject.upload_macro to support file upload form element
 * Added conversion and compatibility scripts for images and layouts
2007-09-22 21:48:33 +00:00
4fc7aa9f60 Intermediate commit:
* Implemented first basic version of skin management using subskins
 * Added remove() method to HopObject and most object prototypes which are automatically called after confirmation in HopObject.delete_action()
 * Enhanced support for various form elements via HopObject macros
 * Added HopObject.removeChildren() method
 * Removed color and font settings in layouts (maybe just temporarily)
 * Implemented generic framework for layouts and skins
 * Renamed LayoutMgr to Layouts and SkinMgr to Skins
 * Renamed "properties" property to "metadata" (finally)
 * Added conversion and compatibility code for the changes
2007-09-21 13:54:30 +00:00
e9a7800a87 * Fixed security issue caused by sensitive property in req.data
* Fixed issue caused by setting a Metadata property to a Java value, e.g. java.net.URL instance becomes string without quotes. (Could this be a Rhino bug?)
 * Finalized conversion of AV_USER table to simple naming scheme ("user")
 * Added global getTitle() method which returns either site.title or root.sys_title
 * Implemented universal HopObject.value() method
 * Rededicated User.update() method since its previous functionality is now taken over by User.value()
 * Restructured login and register functionalities in User and MemberMgr
 * Replaced first occurrences of Exception with Error
 * Introduced i18n via gettext in User and MemberMgr
 * Removed getMessage() and Message in User and MemberMgr
 * Added first possible implementation of global getPermission() method
 * Modified code of global evalEmail() and evalURL() methods to work with Helma modules
 * Simplified global sendMail() method by not throwing any MailException anymore and returning the status code only
 * sendMail() now is using helma.Mail (so we can debug message output)
2007-08-23 17:17:40 +00:00
9d08dc89aa * Removed all backwards-compatible topic-related code (will be added via aspects from the compatibility module)
* Fixed security issue in notfound.skin again(?)
2007-08-16 15:06:50 +00:00
7d44d4560c * Fixed backwards compatibility for topics
* Added missing topic and tag management when creating an image
2007-08-09 15:36:32 +00:00
09b39b2af3 Intermediate commit:
* Improved tag framework 
 * Added support for image tags
 * Moved most code of StoryMgr.evalNewStory to Story.evalStory to decrease redundancy
 * Added compatibility module (including drafts for database conversions)
 * Moved code for topics to compatibility module
 * Removed obsolete code
2007-08-03 19:41:51 +00:00
d5c59cf2ec Intermediate commit of changes concerning
* file-based skins
 * basic tag implementation
 * new metadata container
 * generic object/collection mappings
2007-07-29 10:16:10 +00:00
aaaf55ea0a Added header to and cleaned up property files 2007-06-30 19:25:35 +00:00
97c39e039f * Incorporated LayoutImage and LayoutImageMgr into the Image and ImageMgr prototypes, resp.
* Removed double semicolons
2007-06-30 18:43:41 +00:00
36e0faf467 Testing new Helma features of generic object references and collections with the Image prototype 2007-06-24 17:11:06 +00:00
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