Commit graph

3039 commits

Author SHA1 Message Date
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
4a201fa476 * Fixed name of Membership#listItem skin in Members prototype
* Fixed default permission in Membership prototype
2008-01-19 18:50:44 +00:00
1ed7a19779 Disabled many compatibility methods due to improvements in update app already renaming or eliminating the incompatibilities 2008-01-19 18:48:45 +00:00
ce76bd48b5 Added code to replace layout.XXX macros with corresponding value macros and thus, sparing the compatibility layer some transformations 2008-01-19 18:44:44 +00:00
22308dd329 Added special hack to link from Membership back to Members in some subskins 2008-01-19 18:30:45 +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
5044e3610a Improved renaming algorithms to move skin sources from the database to their new places as well as replacing their macro calls with the updated prototype and skin names. (This looks like the way to go, yay!) 2008-01-19 11:18:55 +00:00
0e26b83eb5 Removed the ugly work-around to correctly render compatible skins introduced with a recent commit. Instead, the updater application takes care of already producing usable skin files (ie. all skins go as subskins in a file named after the corresponding prototype) 2008-01-18 19:39:40 +00:00
77255296dc * Replaced most remaining occurrences of getMessage() method calls with adequate gettext() method calls
* Removed obsolete Root.getSiteList() method
 * Moved searchview.skin as #result subskin into Story.skin
 * Fixed alignment of calendar month
2008-01-13 16:44:09 +00:00
78b2261e88 Fixed display and syntax of welcome messages on default site 2008-01-13 02:04:52 +00:00
7bd9c40b01 Moved referrerItem and referrers skins as subskins into Site.skin 2008-01-13 01:56:42 +00:00
2f5d8c4dff * Fixed inheritance of createtime and modifytime macros with a simpler solution (removed all those "delete ..." statements)
* Added HopObject.peel_macro() method that renders a skin depending on its availability in a certain skin path
 * Added a few old school skins as a rather twisted solution for keeping the renamed skins b/w compatible
2008-01-13 01:50:19 +00:00
264306f0fb Replaced remaining occurrences of pagenavigation with pager 2008-01-13 01:44:36 +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
13c783ac34 Whitespace changes only 2008-01-11 23:49:26 +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
750f836e1c * Had to revert potential fix for incorrect date formats in compatibility layer of stories (Global.addPropertyMacro); still diggin'...
* Added listReferrers_macro() method to Site
2008-01-11 23:31:12 +00:00
ac730a5035 Added missing files for Root site ("www") 2008-01-11 23:13:32 +00:00
9f2c727575 * Added global getCompatibleSkin() method to compatibility layer
* Added global link_macro() method to compatibility layer overwriting the one defined in the application
 * Disabled deletion of createtime_macro() and modifytime_macro() methods in compatibility layer (marked with FIXME since I still got an odd feeling about this)
2008-01-11 21:16:37 +00:00
ca68f811f8 Removed obsolete brackets in boolean expression 2008-01-11 21:11:42 +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
65ed5b5a70 * Fixed aspect method setTopics() to map topics to tags in Image and Story prototypes
* Removed obsolete aspect methods for Stories and ImageMgr prototypes
 * Restored Metadata.createInputParam() and Metadata.createCheckBoxParam() methods (removed too quickly)
 * Fixed further compatibility methods in Root and Site prototypes
2008-01-09 22:53:51 +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
ece3bedc6d * Moved some compatibility fixes from main application code to compatibility layer (aspects)
* Moved complete navigation from Site's page.skin to Site#navigation skin
 * Fixed compatibility macros with checks for deprecated skins
 * Fixed bug preventing layout directory from being removed and overwritten with current layout files when dumping skins in updated application
2008-01-06 14:15:55 +00:00
36cc8c32a8 * Removed module-related methods (module engine will be rewritten from scratch)
* Fixed searching for empty/null string (ie. no form data)
 * Removed inherited methods in Root prototype of compatibility layer
 * Fixed compatibility methods of Skin and Topics prototypes
 * Fixed most compatibility methods of Root, Site and Story prototypes
2008-01-06 00:47:19 +00:00
65359c0482 * Improved HopObject.link_filter() method to fallback to main action by default - unlike HopObject.link_macro()
* Added missing cases for Tags and Root prototypes in Images.getPermission() and Images.main_action()
 * Extended Story.url_filter() to display files as link followed by the host in brackets
 * Renamed type.properties to ImageMgr.properties in compatibility layer
 * Fixed most compatibility methods of File, HopObject, Image, Members, Membership, Metadata prototypes
 * Fixed a few compatibility methods in Root, Site and Story prototypes
 * Fixed creation of Image.thumbnailName in updater
 * Added setting of Image.contentType in updater
 * Fixed creation of thumbnail information in SQL for image conversion
 * Added target to create log table in case ACCESS_LOG is too big to be dumped from original database
2008-01-05 17:57:39 +00:00
9637ccceae Fixed calculation of limit (5 is default, 1 minimum, 20 maximum) 2008-01-05 00:53:43 +00:00
2f09225b2f * Added SVN header and all aspect-related code to global aspects.js
* Replaced and reduced most of the global compatibility code with calls for newly introduced methods (ie. there's a lot broken now)
2008-01-05 00:48:04 +00:00
5bec96cd9f * Fixed a few issues in global list_macro() method
* Renamed tags collection to $tags in Root
 * Fixed a few links in page.skin and Site.skin of Site
 * Added CSS class for selected calendar day
 * Fixed skin name for rendering tag items
 * Fixed default skin name for rendering tag items
 * Removed obsolete Tag.properties file
2008-01-05 00:44:34 +00:00
a55937fcaf * Added SVN headers wherever missing
* Fixed compatible rendering of search box
 * Marked calls for navigation_macro() with FIXME
 * Renamed Site's type.properties to Site.properties
2008-01-04 17:34:04 +00:00
8a70b51e71 * Added jala.ListRenderer repository (needed by Tags)
* Fixed calendar layout (yet to be tested with other browsers)
 * Fixed display of stories per tag (wrong skin name)
 * Replaced relic of res.handlers.context with res.handlers.site
2008-01-04 17:30:07 +00:00
874d8c6b58 * Added fix to remove whitespace before "px" in CSS values
* Lowercased keys of basic layout information
2008-01-04 14:10:30 +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
bf93e608e4 Dump active skins to new (single) layout directory 2007-12-07 16:53:04 +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
4e2a6fe465 * Defined getter method for jala.i18n to retrieve a site's locale
* Small change in Images.Default procedure
2007-11-03 22:02:30 +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
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
8b41993ced * Fixed debug code to be present in HTML output only
* Removed obsolete debug code
 * Added content type to JavaScript / CSS output
 * Moved client-side JavaScript code from Root/javascript.skin to static directory
 * Removed hack in Site.main_action() to provide jQuery
 * Added debugging CSS classes for skins
 * Fixed b/w compatible logo_macro()
 * Removed option to set a layout value in compatibility module
 * Call global link_macro() when argument in HopObject.link_macro() contains a colon (probably not sufficient)
2007-11-02 18:13:01 +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
1df1c87525 * Added version headers
* Renamed status_js_action() to out_action()
 * Fixed column names when setting metadata of Site objects
 * Renamed print() method to log()
 * Replaced println() method with debug() which is a wrapper for log() when debug is set to "true" in app.properties
 * Fixed SQL scripts
 * Re-arranged order of SQL rename statement (comes first now)
 * Moved update of AV_SYSLOG table to last position because it already needs the updated user table
2007-10-19 18:59:04 +00:00
2578fcd36f * Finalized user and skin conversions
* Fixed output encoding
2007-10-18 02:15:10 +00:00
00a6aa86a1 Initial commit of Updater app 2007-10-18 00:33:05 +00:00
1c3c51a0e1 * Added User.popLocation() and User.popLocation() methods for temporarily storing a user's location, ie. to get back where the user came from when it was necessary to login
* Removed Root.searchSites() method (will be back later)
 * Added checks for empty searches in Site.search_action()
2007-10-17 16:25:01 +00:00
3d0fae4302 * Fixed bug in Admin.renderItem accidentally introduced in one of the last commits
* Slightly elaborated on what happens when a site or a user is blocked
 * Fixed some permission issues
 * Removed some more obsolete skin files
 * Re-introduced Root.search_action() method with minimal output
 * Switched search method from GET to POST
 * Added User.logout() method
 * Fixed User.require() method (check for TRUSTED constant was missing)
2007-10-16 21:36:41 +00:00
75644bde63 * Re-implemented autosave feature (ie. automatic backup / restore) for stories and comments
* Removed obsolete rescue methods
 * Moved contents of many individual skin files as subskins in the corresponding prototype skin file
 * Moved commentform_macro of Story prototype into compatibility module
2007-10-16 16:48:14 +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