Commit graph

3182 commits

Author SHA1 Message Date
4ec0ca761a Fixed bug preventing members from unsubscribing from a site 2008-04-27 09:21:21 +00:00
b39cb2d1a0 Fixed skin names in global poll_macro to correctly display a poll in a story or skin 2008-04-27 09:15:03 +00:00
943d7ae4dc Fixed bug allowing anonymous users to create stories, files, images and polls as well as call various actions in Members 2008-04-27 09:10:31 +00:00
60d334c6fe * Renamed Site.lastUpdate to Site.configured
* Renamed Site.webHookLastUpdate to Site.webHookCalled
 * Renamed Site.offlineSince to Site.closed
2008-04-27 08:57:41 +00:00
10ca4fd981 * Prevent XMLHTTP request for user's salt from being cached in the browser
* Added warning when a site sends passwords in clear text
 * Fixed really ugly bug preventing IE(7?) from setting the charset encoding to UTF-8; the hyphen is necessary, UTF8 won't work!
2008-04-23 21:36:43 +00:00
84fc7f073a Temporarily fixed bug in IE7 preventing login: Due to yet unexplicable circumstances a parsererror occurs when the user's salt is retrieved. As the password field was already cleared at that point the server received neither a digest nor a password. The current work-around is to clear the password not before the success method is called. 2008-04-23 17:08:24 +00:00
0296ff4a88 * Fixed skin name of poll editor
* Fixed condition for setting the site modification date on comment update (hopefully this is correct...)
 * Replace site.lastUpdate with site.modified (still needs some more care - what do we do with lastUpdate anyway?)
2008-04-23 08:38:59 +00:00
b006cbdf0b * Fixed formatDate() method
* Extended HopObject.modified_macro to return the date object if no format pattern can be applied (good?)
2008-04-22 15:20:10 +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
4529ef27b2 * Removed trailing slash in archive URLs as there is one too many sometimes (now it's one too little sometimes again) 2008-04-17 06:37:21 +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
06eed430a8 * Refactored Archive due to buggy behaviour of the calendar and general inconsistent code
* Disabled tagging of layout images
 * Disabled "days" page mode (ie. switched to counting stories only)
 * Moved Site.href skin to Site#href (subskin)
 * Fixed minor issues
 * Edited text and messages
2008-04-16 16:42:40 +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
a10cf6bcc9 * Relocated setting of a site's file to create() method in the Files prototype
* Refactored Poll and Polls prototypes (still not really happy)
 * Fixed sorting of sites in Root.updates_xml_action()
 * Allowed access to debug_action in Root
2008-04-15 21:16:21 +00:00
40aec129b8 Adapted modifications in Image to File prototype to achieve similar behaviour (probably Image will be an extent of File, one happy, fine day...) 2008-04-15 15:55:52 +00:00
b1b97ce864 * Removed extra file name handling for images from compatibility layer (which is very nice!)
* Improved image data conversion in updater to only create thumbnail information if there actually is a thumbnail available
 * Fixed some minor issues introduced with the latest changes
2008-04-15 15:19:42 +00:00
578fcfc03a * Replaced relic of setContent() with setMetadata() in Comment.js
* Added $Global.skin as first attempt to move certain skins in a namespace protected from customization
 * Very much improved image editor interface
 * Thoroughly fixed and tested image upload, fetching, thumbnail generation and replacement
2008-04-15 15:01:20 +00:00
fb299aacba * Fixed quotes in welcome text (Root.skin)
* Fixed RSS output and added extra ones for stories and comments
2008-04-14 16:46:39 +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
3a0684640f * Re-added site property to Image for generally being able to group images by site
* Added work-around for Helma bug #607 by calling persist() on creating a story or an image before setting the tags
 * Fixed sequence of clipping/embodying and tag stripping in Story.getTitle()
2008-04-12 12:51:47 +00:00
487e4fc2b6 Fixed display of membership / subscription lists 2008-03-27 15:43:47 +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
dff9ab34c2 Removed debugging code 2008-03-17 19:47:34 +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
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
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
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
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
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
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