Commit graph

28 commits

Author SHA1 Message Date
ab57de955f * Added static Skin.getByName() method
* Modified Skins.getSkin() method to make use of Skin.getByName()
 * Re-enabled controls in Tag#main skin
 * Cleaned up and reorganized code
 * Added some remarks to explain the most illicit code
 * Removed a lot of obsolete code
2008-05-02 21:33:40 +00:00
6e1ed8ab1f * Moved pager skin elements in protected skin
* Added grant for viewing an image in Images prototype (for now...)
 * Added temporary work-around for preventing comments of missing stories (due to shrunken database) from throwing an exception
 * Added two more links with short explanation to basic skin page
2008-04-30 14:08:03 +00:00
a920e6fb39 * Fixed stupid bugs in image uploader introduced lately
* Wrapped zipping of layout images in try/catch block to prevent exceptions when there is no thumbnail image
 * Introduced a more elegant way to include necessary script files (jQuery et al.) in Site.main_js_action()
 * Slightly modified jQuery "onload" calls
2008-04-28 12:19:20 +00:00
75ff272950 * Fixed and finalized Layout.reset_action() as well as Layout.remove() and Skin.remove() methods
* Completely render skin outline and drop down menu from application directory
 * Moved remaining skins into protected (ie. non-customizable) skin files
 * Removed obsolete skin files
 * Removed obsolete code
2008-04-27 14:35:35 +00:00
0d84e21291 Removed trailing semicolons after closing curly brackets for good (hopefully :) 2008-04-21 13:57:01 +00:00
124e6f4257 * Added protected skin files (currently prefixed with "$") that cannot be customized or overwritten by the user
* Removed obsolete skin files (ie. content moved to the protected skin file)
 * Moved contents of Messages.skins to their protected siblings
 * Prefixed notification skins (used in e-mails) with "notify_"
 * Fixed and simplified a whole bunch of issues in compatibility layer
2008-04-21 13:35:50 +00:00
9b4a5bc10e * Updated DB mappings of File/Files getting closer to the one of Image/Images
* Disabled ip address property in LogEntry (will be removed in the long run)
 * Removed custom property from Skin (still needs some care)
 * Removed commented code
2008-04-16 23:11:47 +00:00
29ca787190 * Added RSS output for tagged stories
* Fixe paging of tagged items
 * Fixed permissions of Archive when archive mode is "closed"
 * Fixed global breadcrumbs_macro for Root
 * Fixed default value for pageSize in site preferences to reset to the stored value if available
 * Reactivated Skins.safe_action
 * Removed debugging code
2008-04-16 18:03:41 +00:00
d18a5b95fc * Added extra HopObject.skin_macro rendering subskins by default
* Renamed Skin.restore_action to reset_action
 * Trimmed skin sources before writing them to file
 * Slightly improved skin handling code
 * Removed obsolete code
2008-04-15 22:02:29 +00:00
98fbd6158b * Edited messages
* Removed obsolete lines from app.properties
 * Re-enabled setting of res.skinpath in HopObject.onRequest
 * Fixed images collection in Tag prototype
2008-04-12 18:55:08 +00:00
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
12556fdc2d * Improved skin editor to finally go into the right direction
* Fixed layout import/export
 * Added Root.VERSION as version reference (currently used in layout import/export)
2008-03-26 12:33:54 +00:00
e72cf84ce4 * Fixed gettext call in HopObject.delete_action
* Renamed HopObject#delete skin to #confirm
 * Added client-side code for adding layout values
 * Improved skin management (compare aka diff is available again!)
2008-03-21 22:16:54 +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
adfef8a635 * Fixed permissions in Images, Layout, Skins and Tags prototypes
* Removed obsolete links in Images.skin
 * Added comment to Skin.js reminding of the inconsistency between renderSkin() and app.skinfilesInPath() methods
 * Disabled custom href() method in Skins prototype (still marked with FIXME)
 * Zapped a gremlin in Comments.js!
2008-01-11 21:09:44 +00:00
1809b27949 * Added global quote() method which wraps quotes around any string containing whitespace
* Moved data created by the global value_macro() into res.meta.values namespace
 * Ignore case of res.meta.values keys
 * Added reset_action() to Layout
 * Write/retrieve basic layout information into/from Layout#values subskin
 * Renamed key names of basic layout information for convenience (eg. "background color" instead of "bgcolor")
 * Fixed Layout.remove() method according to generic approach
 * Fixed digest generation for main.css and main.js output
 * Added Skin.render() method (ie. to the application prototype, NOT Helma's internal Skin class)
 * Removed obsolete code
 * Removed obsolete files
2008-01-04 14:05:58 +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
a63f1725b3 * Added Messages.skin file to Admin prototype
* Removed obsolete skin files
 * Removed obsolete onclick handler of default images
 * Modified handling of Images.Default once again to fix wrong URLs
 * Made some progress in layout management: every skin can be edited via one persistent URL; skin outlines are working again
2007-11-03 20:18:18 +00:00
504260650e * Reactivated mail queue as app.data.mails
* Reactivated request log as app.data.stories
 * Removed many obsolete methods
 * Fixed and added HTML tags for RSS feeds to page.skin
 * Added Stories.flushRequests() method
 * Renamed Story.incrementReadCounter() method to Story.logRequest()
 * Moved many methods to compatibility module
2007-10-12 19:05:33 +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
77845f0121 * Fixed Admin prototype according to recent changes (not finished yet) 2007-10-11 13:24:50 +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
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
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