Commit graph

3182 commits

Author SHA1 Message Date
ad147d2205 Improved some i18n messages 2010-01-15 23:38:19 +00:00
40e6243343 * Renamed $Global#disclaimer skin to $Global#mailFooter
* Added some linebreaks between message text and footer in global sendMail() method
2010-01-15 22:59:29 +00:00
80831e6ad7 Modified Site.diskspace_macro() to either output free or used disk space and always show it in $Site#edit skin 2010-01-15 22:18:03 +00:00
5523ab28d2 * Refactored Admin prototype by reducing interface, eliminating lenghty help texts and leaving out meaningless features
* Moved SITENOTIFICATIONPERIOD constant, health property as well as getFormOptions(), commitEntries(), commitRequests(), purgeReferrers(), invokeCallbacks(), updateHealth(), exportImport(), updateDomains(), queue() and dequeue() methods from Root to Admin prototype
 * Renamed Admin.purgeDatabase() method to Admin.purgeSites() and added code for automatic blocking/deletion of restricted/abandoned sites
 * Renamed Root.getScopes() method to Admin.getNotificationScopes()
 * Renamed User.getScopes() method to Admin.getCreationScopes()
 * Added Admin.getPhaseOutModes() method
 * Removed obsolete code
 * Fixed and renamed Admin.privateSites to Admin.restrictedSites collection
 * Finally added simple and reasonable quota implementation
 * Fixed gettext_macro() and ngettext_macro() with check for necessary arguments
 * Removed sender argument from global sendMail() method – instead, the root.replyTo property is used
 * Fixed some i18n messages
 * Moved code setting res.handlers.layout before permission check in HopObject.onRequest() to prevent broken layout in error screen
 * Completely rewrote HopObject.notify() method (hopefully fixing issue 49)
 * Check free disk space before invoking create_action() of Files and Images prototypes
 * Modified output of Membership.toString() method
 * Fixed some linebreaks in Membership.skin
 * Added option to set session.data.error for additonal information in $Root#error skin
 * Slightly modified output of $Root#health skin
 * Replaced Root.phaseOutInactiveSites and Root.phaseOutPrivateSites with Root.phaseOutMode
 * Removed qualifyingDate property from Root
 * Renamed Root.qualifyingPeriod property to Root.probationPeriod
 * Removed autoCleanupEnabled and autoCleanupStartTime properties from Root
 * Added replyTo property to Root
 * Rewrote Root.getCreationPermission() method
 * Added #notify_blocking and #notify_deletion skins to $Site.skin
 * Replaced Site.notifiedOfBlocking and Site.notifiedOfDeletion properties with Site.notified
 * Added Site.diskspace_macro() returning the free disk space in MB
 * Fixed bug in Site.main_action() causing erroneous display of deletion warning
2010-01-15 21:32:11 +00:00
cb5ba5f78c * Added the username as well as the number of comments to be deleted to the confirmation dialogue when deleting a comment
* Fixed typo in Site#navigation skin of Root
2010-01-11 08:29:12 +00:00
5161d33029 Fixed typo in class name of $Admin#LogEntry skin 2010-01-10 17:09:42 +00:00
fc050e4a90 Removed obsolete translation 2010-01-10 16:53:43 +00:00
00aaa952a4 Restructured app.properties file 2010-01-10 16:34:20 +00:00
841d17c05e * Edited and rephrased some messages (still needs a lot of work)
* Added gettext calls and macros where missing
 * Removed obsolete LogEntry.remove() method
2010-01-10 16:33:46 +00:00
c4fcb7ec80 * Replaced custom code in Poll.remove() and Choice.remove() with call for HopObject.remove()
* Extended HopObject.remove() to automatically remove nodes with their prototype’s remove() method if no options are given
2010-01-10 16:29:37 +00:00
32c52791fe * Refactored code and skins in respect for comprehensive i18n
* Refactored and unified remove() methods and calls for greater flexibility as well as reliability
 * Added option to remove all comments by a user to Comment.remove() method and $Comment#delete skin
 * Added global #listItemFlag skin as well as listItemFlag_macro() for rendering vertically written text of items in a list view (e.g. closed)
 * Fixed bug in gettext_macro() and ngettext_macro() causing incorrect whitespace
 * Refactored timezone and locale handling
 * Modified automatic translation of untitled links in HopObject.link_macro()
 * Added honeypot to login and registration forms
 * Fixed client-side JavaScript to be evaluated when login or registration form is submitted, not only when the submit button is clicked
 * Removed redundant filter expression from DB mapping of Membership.images collection
 * Added Membership.content collection
 * Changed terminology from open to running polls, thus renaming Polls.open_action() method and Polls.open collection
 * Moved a lot of CSS used in root or administration sections from Site#stylesheet to $Root#stylesheet skin
 * Added Root.updateDomains() method (most likely already obsolete)
 * Removed Root.processHref() method (only necessary for very advanced setup) and obsolete comments
 * Fixed Root.xgettext() method to correctly read UTF-8 encoded data
 * Fixed Site.deleted_macro() to return the date object for late formatting
 * Refactored Site.processHref() for more convenient custom domain name mapping
 * Renamed Skins.advanced_action() method to Skins.all_action()
 * Removed redundant filter from Stories.comments collection
 * Removed unnecessary filter from Story.comments collection
2010-01-10 14:40:36 +00:00
c495dca93c * Added logger for writing to helma’s SQL log
* Renamed SqlData.update() method to SqlData.next()
2010-01-09 14:30:50 +00:00
3ab88172c7 * Added small feauture to erase all contributions of a member when its membership is removed from a site
* Added kind of callback skin to HopObject#delete skin to include prototype-specific options in confirmation dialog
 * Added content collection to Membership.properties
 * Added check for req.postParams.mode in Membership.remove() – if it is set to "exhaustive" all contributions of the member to the site are going to be erased
2010-01-07 16:19:51 +00:00
139f8eaea4 Fixed closing tag for <a name> element 2009-12-28 15:07:41 +00:00
93e94ac65c Fixed closing tag for <a name> element 2009-12-28 15:07:14 +00:00
6eaed52783 Excluded sites scheduled for deletion from Root.sites and Root.updates collections 2009-12-27 19:05:08 +00:00
f8974735e3 Revamped the backup/restore feature for the story editor 2009-12-27 17:51:19 +00:00
dfe2e54fa1 * Improved eTag creation in main_js_action(), user_js_action() and main_css_action() methods of Site
* Removed obsolete modSorua.skin (we will do shared authentication right one day)
2009-12-27 15:35:50 +00:00
d0720d7c53 Fixed quotes to work with gettext 2009-12-27 14:31:28 +00:00
cca6673e8d Slightly rearranged macros in $listItem skin 2009-12-18 21:28:23 +00:00
077e72eb31 Small modifications to make the API work with TextMate’s Blogging bundle 2009-12-18 21:27:31 +00:00
8ea21a1038 Moved .nowrap CSS class from Site#stylesheet to $Root#stylsheet skin 2009-12-14 14:41:23 +00:00
2048cf28df * Added Admin.deletedSites collection
* Added first draft of asynchronous site deletion using persisting, file-based job queue
 * Moved programmatically created nightly cronjob to from global onStart() method to app.properties file
 * Added helma.File.copyDirectory() method
 * Revamping global breadcrumbs_macro() – WORK IN PROGRESS!
 * Minor changes in global link_filter() and poll_macro() methods
 * Added Root.SITEREMOVALGRACEPERIOD defining the grace period between request and actual time of site deletion
 * Added Root.queue() and Root.dequeue() methods for handling job queue
 * Slightly modified notfound_action() and error_action() of Root
2009-12-13 22:40:16 +00:00
cca8f2c03a * Modified some res.data.title and res.messages assignments
* Added second argument to HopObject.remove() method; if set to true, any object will be removed without any checks for permissions or the like
 * Enhanced notfound and error screens
 * Removed obsolete Image.site property
 * Added missing LogEntry.remove() method
 * Added Site.deleted property
 * Fixed missing calls for remove() methods of some collections in Site.remove()
 * Added Root#stylesheet skin for future CSS classes necessary for GUI elements
 * Added missing Site.entries collection
 * Removed troublesome if condition in Skin.remove()
 * Generally deny access to Skin.main_action
 * Added missing Skin.getFormValue() method
 * Added check in Skin.update() if the Site#page skin contains the <% response.body %> macro 
 * Added Skins.onRequest() method checking if we are in-between two Skins objects
2009-12-13 22:29:21 +00:00
306771f49a 2009-12-13 21:56:50 +00:00
5ec14e5c06 Skin spring cleaning: unified and restructured skin parts and removed obsolete markup 2009-12-13 21:54:58 +00:00
b032ec04f3 Check URL for "main" or "." and replace it with the empty string to avoid NON_INITIAL_DOT_SEGMENT in PATH errors by validator.w3.org 2009-11-11 13:00:02 +00:00
a3d4015b04 Added call for java.net.IDN.toASCII() to ensure that (yet) exotic site names can be used, too 2009-11-05 20:31:23 +00:00
1a317c1677 * Added Layout.reset() method to reliably copy the desired skins into a site’s layout directory
* Moved the private copy() method in Root.create_action() to helma.File.copyDirectory() in Global.js (will be committed later)
 * Replaced the copy routine with call for Layout.reset()
2009-11-04 14:12:01 +00:00
8d7430ab2f * Included formerly added default images to the Images.Default collection
* Replaced vintage Helma typogramm with new logo
2009-11-04 13:46:45 +00:00
264f5c0a28 Added ant.png and ant-icon.png to the default collection of images 2009-11-03 22:16:26 +00:00
24f25c8436 * Added missing title and cancel link to layout import
* Edited wording of error messages in Layout.import_action()
 * Added redirect to import action if an error occurred
2009-11-03 18:08:09 +00:00
0e3b954b76 Fixed ugly bug causing sites to lose their layout on import or reset 2009-11-03 15:12:39 +00:00
dcc9cbcfc8 * Added basic doctags to the code
* Removed obsolete code
2009-11-02 16:16:41 +00:00
868dff8a80 * Moved Root/Site.skin from compat to code to re-establish accustomed behaviour of root site
* Removed commented code artefacts
2009-11-01 13:19:11 +00:00
c5bccaee7e Removed import of currently unnecessary Search.js module 2009-11-01 12:50:08 +00:00
b86ea5c736 * Modified SQL statements for compatibility with H2 database (experimental)
* Hopefully fixed redirect loop bug of XSS check in HopObject.onRequest()
 * Added Root.xgettext() method as a more reliable way of extracting gettext call strings (esp. from skins)
2009-11-01 11:22:33 +00:00
fd653c4198 * Fixed tiny bug causing confusing display of subscriptions and privileges in Members prototype
* Modified site permissions to allow unsubscribing one site from within another. (It’s complicated, I know.)
2009-10-31 20:25:08 +00:00
0089ffca35 Fixed a nasty bug that caused the layout to disappear on reset 2009-10-30 23:01:32 +00:00
5bfa8a1ba3 Added repositories for english and german messages (still to be translated) 2009-10-30 22:48:57 +00:00
063d7b89cb Added check for site.layout before removing it in Site.remove() method 2009-10-30 14:23:42 +00:00
ba0b2881b0 Minor changes in display of code block 2009-10-28 15:07:10 +00:00
091de300c7 Defined res.handlers.example in Root.create_action() to provide a working example URL in description of $Site#create skin 2009-10-28 15:03:42 +00:00
86ade4f962 Updated reference URL for filter patterns (regular expressions) 2009-10-28 14:39:48 +00:00
499f11c7b8 * Edited wording of $Root#main skin
* Added sorting and caching routine for alphabetical output of sites in Root.sites_action()
 * Fixed quotes in $Site#create skin
2009-10-28 14:34:37 +00:00
1351af1c26 Enable Root.getCreationPermission() method in Root.getPermission() 2009-10-28 10:42:50 +00:00
ce20fb331e Slightly modified order of if-conditions 2009-10-28 10:28:13 +00:00
3a2ff3d932 Fixed site deletion 2009-10-28 09:35:06 +00:00
2a9fddb66b Reduced length of res.data.title to 5 words in Story.main_action() 2009-10-28 01:13:06 +00:00
59ec04f472 Revoked access permissions for sitemap.xml from Site.getPermission() 2009-10-28 00:18:19 +00:00