Commit graph

35 commits

Author SHA1 Message Date
f2ebf2a205 Fixed Layout.export_action to only add customizable skins 2008-04-27 19:31:51 +00:00
c934ba3bee * Wrapped layout import into try/catch block
* Added check if a layout package was uploaded
2008-04-27 15:35:49 +00:00
c3be7cecb9 * Fixed skin name of file editor
* Fixed layout import
2008-04-27 15:28:16 +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
91def0b843 * For now only import layouts with exact the same version strings
* Fixed password reset feature: before any other action is taken a confirmation e-mail will be sent
2008-04-22 14:57:18 +00:00
239af7195b * Fixed list_macro (but still list rendering is really inconsistent throughout the whole application!)
* Fixed various b/w compatibility issues found in some sites
 * Fixed pager action in Images
 * Added confirmation dialog before resetting a layout
 * Added collection containing updated sites in reverse chronological order
 * Modified site listing (still work in progress)
 * Save site name as title if no title is entered
 * Removed some res.debug() calls
2008-04-21 20:46:29 +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
7ba80fb9b9 * Removed gettext() call in global renderLink() method
* Fixed bug in Layout.image_macro() preventing the URL from being written
 * Wrapped output of Site.getStaticUrl in encodeURI() call
 * Removed test macro in Site.skin (AAAAAAAAAAAAAAA!)
2008-04-20 17:27:01 +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
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
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
47801bbfa3 * Renamed list_macro to stories_macro in Archive and Site (still undecided with the naming, obviously)
* Commented out redundant rendering of layout values
 * Added static Layout.VALUES array
 * Commented out READONLY mode of comments for now
 * Fixed custom content handling in Story (however, content_macro still needs to be fixed!)
 * Fixed rendering of date header by correcting references to Story#date skin
 * Added aspects for b/w compatible story editing
 * Cleaned up aspects
 * Fixed deprecated Story macros for b/w compatibility
 * Added missing entries to translation table of updated app
2008-03-04 17:01:31 +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
e94340c279 * Simplified redirecting to anchored comments by removing the custom href() method and fixing the URL in the main_action() only
* Added option to retrieve the redirect URL from the static remove() method of a prototype
 * Added Layout.getMacroHandler() method to enable linking the Skins prototype from here
 * Fixed the (in)correct spelling of req.data.referer in the LogEntry() constructor method
 * Fixed referrer display by correcting the skin name for the referrer item and the variable name for the referrer count
 * Fixed link to galleries (ie. image tags)
 * Fixed output of RSS feed when there's no site tagline
 * Disabled moderated comments for now
 * Modified permission check for displaying tags to always refer to the site's permissions
2008-01-11 23:46:44 +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
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
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
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
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
ec700a655f * Removed obsolete getStaticDir() methods
* Implemented support for web hooks
 * Added default_hook_action() method to Root
 * Renamed webHookEnabled to webHookMode in Root prototype
 * Moved currently obsolete module code, macros and skins to compatibility module
 * Disabled notification of updates (probably forever)
2007-10-16 13:33:10 +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
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
7eb13bd43a * Renamed SysMgr to Admin
* Added handleMetadata method to define getters and setters for metadata properties
 * Reduced and renamed value() method to map()
 * Renamed most of the sys_* properties
2007-09-14 23:25:23 +00:00
c7d828aae9 * Extended Root from Site prototype (still buggy due to http://helma.org/bugs/show_bug.cgi?id=553)
* Overhauled Membership prototype (generic framework, DB structure)
 * Added necessary compatibility code
 * Started re-implementation of permission framework (looks promising!)
2007-09-14 00:16:06 +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
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