Commit graph

277 commits

Author SHA1 Message Date
84492cc922 * Modified HopObject.link_macro() to automatically capitalize the default link text
* Added global i18n.js file containing markgettext() calls
 * Wrapped messages with gettext macros wherever found missing
 * Moved contents of remaining diff skin files to Skin.skin
 * Removed Layouts prototype
 * Removed obsolete files
2008-03-27 15:10:31 +00:00
739de8c972 * Fixed some annoying issues with properties written by Helma's built-in Xml object when exporting / importing layouts
* Show welcome message to privileged users in root site only
2008-03-24 16:09:56 +00:00
1b00d4fdeb * call clearCache() after updates in Story / Comment
* Added work-arounds for tagging problem in Story, Stories, Image and Images until Helma bug #607 is fixed
 * Deprecated getData and setData methods in Metadata
2008-03-17 19:41:10 +00:00
0ba8805d02 * Fixed skin names according to issue #16
* Fixed rendering of values stored in res.meta.values
 * Removed obsolete code (mostly disabled by comments already)
2008-01-19 17:36:33 +00:00
9b7af5620a * Finally moved page.skin, stylesheet.skin and javascript.skin as subskins into Site.skin
* Disabled file tags for now
 * Renamed global renderPageNavigation() method to renderPager()
 * Added support for rendering the list of updated sites in global list_macro()
 * Fixed return point when cancelling a file edit action
 * Fixed nasty bug in deletion routine
 * Implemented sorting of values in Layout.values_macro()
 * Disabled layout title, description, origin and sharing for now
 * Renamed list_action() to sites_action() in Root prototype
 * Enabled filter of root site in default collection
 * Moved Root's list.skin as subskin in Root.skin
 * Added experimental Root.search_xml_action()
 * Renamed "unpublish" link to "close" in Story list
 * Reduced display of backlinks to last 24 hours
 * Removed obsolete skin files
2008-01-13 01:39:01 +00:00
0e2434d325 * Fixed loop through form keys in Story.getContent() and Story.getDelta() methods
* Fixed name of array containing separated tags in Image.update() method
2008-01-09 22:49:32 +00:00
0f44265d26 * Moved setTags(), addTag() and removeTag() from Story to HopObject prototype
* Added HopObject.getTags() method which returns the list of an object's tags as array
 * Fixed TagHub.skin to always display the skin corresponding to the tagged object
2008-01-09 22:21:40 +00:00
da25a7bfdc * Re-enabled setting of tags in Story and Image prototype
* Added custom Layout.href() method to prevent the URL from being corrupted with the layout ID (which strangely happens from time to time)
 * Uncommented $tags collection in Root.properties to prevent conflict with collection in Site having the same name
 * Fixed output of tags list in Story.getFormValue() method
2008-01-09 21:34:21 +00:00
8c1aca06be * Renamed global meta_macro back to value_macro (back and back and forth and forth)
* Added Layout.values_macro
 * Removed obsolete code
 * Moved value_macros from Site's stylesheet skin to Site#values
 * Render Site#values skin before stylesheet skin
2007-11-25 16:24:07 +00:00
3efbd63046 * Moved value_macro from Layout to Global.meta_macro (still thinking)
* Removed some lines of obsolete code
 * Reduced layout functionality to 1 (one!) layout per site as a first step to eliminate future obstacles of backwards compatibility
 * Fixed Images.main_action for layout images
 * Aggregated functionality of layout export in one method (Layout.export_action)
 * Extended functionality of layout import to every layout (ie. any comptabile layout can be imported to any site)
 * Fixed some minor bugs
2007-11-23 17:57:59 +00:00
6c38fdba68 * Added actual Image objects to Images.Default to enable common rendering of all images
* SLightly modified Image.constructor() method to allow creation of Image objects on code compilation
 * Added links to Antville and Helma logo images in Site/page.skin
2007-11-03 11:51:49 +00:00
aa11e5db88 * Replaced occurrences of User.visisted with User.modified
* Set application's charset to UTF8
 * Added Layout.getFile() method returning the layout's directory as helma.File
 * Simplified Layout.getSkinPath() method (still work in progress)
 * Replaced occurrences of Site.language with Site.locale
 * Modified some wording
 * Added slight b/w compatibility fix in Story.macro_filter() method
 * Added timex factor in Story.getDelta() method to prevent counting  edits as site updates in-beteen 10 minutes
 * Moved site-related aspect hooks to Site prototype of compatibility module
 * Removed obsolete conversion code in compatibility module (has moved to updater app)
 * Re-included spacer_macro() method in compat. module
 * Temporarily overwrote HopObject.renderSkin() method to debug skin rendering process
 * Replaced individual legacy macros of Layout prototype by appropriate code in onUnhandledMacro() method (compat.)
 * Reflect legacy macros of Layout prototype in value() method of compat. module
 * Added and improved compatibility methods
 * Implemented support for renamed prototypes in updater app (still needs to be applied for database, too)
2007-10-21 16:49:16 +00:00
df9017ab77 * Fixed reference to parent site in Archive
* Fixed _children.filter in Archive
 * Added missing permission checks
 * Modified global defineConstants() method to return the getter function instead of automatically defining it with given argument
 * Added HopObject.macro_macro() method to display userland macro code
 * Removed colorpicker (will be replaced by third-party library)
 * Removed obsolete global constants and functions
 * Overhauled and tested global userland macros like story_macro(), image_macro() etc.
 * Implemented global list_macro() to replace any special listFoobar_macro() methods
 * Moved global autoLogin() method into User prototype
 * Overhauled global randomize_macro()
 * Renamed global evalURL() method to validateUrl() as well as evalEmail() to validateEmail()
 * Re-added accidentally removed subskins to Members.skin
 * Fixed some skin names which were changed recently
 * Remove delete_action() from Membership
 * Fixed foreign key of images collection in Membership
 * Removed global username_macro() and replaced it with appropriate membership macros
 * Moved contents of systemscripts.skin into javascript.skin in Root prototype
 * Removed main_css_action(), main_js_action() and sitecounter_macro() methods from Root
 * Added accessname to sites collection in Root
 * Upgraded jQuery to version 1.2.1
 * Replaced call for global history_macro() with corresponding list_macro() call
 * Renamed "public" collection of Stories prototype to "featured"
 * Moved a lot of styles from Root's style.skin to the one in Site
 * Added comments collection to Site
 * Moved embed.skin as subskin #embed into Site.skin
 * Fixed some minor issues in Story.js (removed check for creator before setting the story's mode)
 * Defined cookie names as constants of User which can be overriden via app.properties userCookie and hashCookie
 * Moved a lot of code into compatibility module
2007-10-11 23:03:17 +00:00
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