Commit graph

3182 commits

Author SHA1 Message Date
51a2078b79 Removed story title from gettext() call in Story.edit_action() 2010-04-26 11:42:49 +00:00
5504a7b7c3 Moved call for HopObject.onCodeUpate() from compatibility layer to onStart() method 2010-04-26 11:27:11 +00:00
e2588ce657 Fixes issue 105. (This time really :) 2010-04-26 11:18:31 +00:00
da9feebfff * Concatenated some messages which were too nested for reasonable translation – however, with the disadvantage of having HTML markup included now. Fixes issue 105. Fixes issue 106.
* Adapted Admin.link_macro() according to recent changes in HopObject.link_macro()
 * Slightly modified HopObject.link_macro() in the compat layer to work with changes in Admin.link_macro()
 * Updated and rebuilt i18n and message files
2010-04-26 11:12:47 +00:00
9917068dc7 * Modified order of actions in item list views
* Slightly modified the message informing about successful deletion of an object
 * Fixed type when calling Membership.remove() in Site.unsubscribe_action() method
 * Fixed bug causing exception when calling Membership.remove() method with no arguments
 * FIxed still incorrect permissions for editing and deleting a membership
2010-04-26 00:22:20 +00:00
cf911054a5 Slightly adjusted the sizes of some input elements 2010-04-25 22:48:33 +00:00
285f7c1c75 Fixed security hole which allowed unauthorized users to edit memberships of a site 2010-04-25 22:29:51 +00:00
741b00c1ff Slightly modified wording 2010-04-25 20:36:43 +00:00
259bd2c68b Replaced hard coded file upload element with Antville enhanced one :) 2010-04-25 20:19:32 +00:00
1b8bf37675 * Added Layout.getTitle() method to compatibility layer always returning “Layout” to prevent display of remaining title properties in older databases
* Slightly increased sizes of some input elements for convenience
 * Added SQL patch updating constraints of the membership role column (MySQL)
 * Removed obsolete title and description properties from Layout
 * Minor layout enhancements and wording edits
2010-04-25 20:11:16 +00:00
45ff61699e Fixed macro syntax in Site#navigation skin 2010-04-25 19:20:09 +00:00
669f5fe550 Slightly modified wording of subscriptions views 2010-04-25 18:45:21 +00:00
8eb78b4462 Slightly modified order of collection filters to start with the link to the list of the member’s items 2010-04-25 18:43:12 +00:00
2a1fd9f5ae Added optional site argument to Membership.getByName() to ease the pain of redefined res.handlers.site property running havoc 2010-04-25 18:10:17 +00:00
90eac20152 Fixed bug causing subscriptions being displayed with the corresponding site’s locale instead of the current site’s one 2010-04-25 18:01:37 +00:00
9605a3ca31 * Updated User.properties due to the modified margettext() calls 2010-04-25 17:50:54 +00:00
12309653a5 * Decentralized markgettext() calls by moving them from i18n.js to the places where the messages actually are defined
* Added markgettext_macro()
 * Readjusted Admin.dropdown_macro() and the global defineConstants() methods to work with the modified markgettext() calls
 * Updated Members.properties and added SQL patch for lowercasing all membership status due to the modified margettext() calls
 * Added Membership.role_macro() as convenience method
 * Removed syntactic sugar from HopObject.link_macro() and moved it to the compatibility layer to prevent current layouts from breaking
 * Removed obsolete permission for non-existing Image.replace_action()
2010-04-25 17:31:44 +00:00
7b4cfc6229 * Added cgettext() method for context-dependent translation (e.g. “open” as verb vs as noun)
* Moved redefined and additional i18n methods from Global.js to i18n.js
2010-04-25 11:42:21 +00:00
5e5c4e38c2 Fixed tiny bug preventing referrers from being recorded when a site URL does not start with “http” 2010-04-24 15:17:53 +00:00
2505612a37 Switched to PostgreSQL as database of choice and added compatibility files to db/my.compat 2010-04-24 14:27:31 +00:00
bb28dba8fb Fixed bug causing exceptions in scheduler() due to undefined req.servletRequest 2010-04-24 13:58:40 +00:00
2ff807e868 Fixed bug preventing story referrers from being logged; might be caused by recent changes in Helma... 2010-04-24 13:54:33 +00:00
01b15b36f0 * Added stop button to export/import features, cancelling a previously started job
* Added some messages to the export/import features
 * Added routine to remove the corresponding file after successful import
2010-04-24 12:28:29 +00:00
081d601cea Only set site.export_id if export is successful 2010-04-23 23:07:50 +00:00
3dc7533d62 Closing the XML output file is necessary before adding it to the site, otherwise we get truncated XML data! 2010-04-23 22:52:09 +00:00
d6ca04c34f Replaced common date format string with equivalent constant 2010-04-23 19:52:34 +00:00
65c139bc6e * Rewrote global Importer() and Site.import_action() for compatibility with Blogger.com export format using Rome parser
* Simplified Site.export_action()
 * Wrapped run() method of Importer and Exporter in try/catch clause
2010-04-23 19:51:40 +00:00
b2d3d67886 Remove previously exported data from the files collection if available 2010-04-20 16:44:36 +00:00
4c79205e63 Rewrote Exporter for writing XML data compatible to blogger.com’s syndication format; see http://code.google.com/apis/blogger/docs/2.0/reference.html#Elements for details 2010-04-20 16:29:10 +00:00
5d710ed6d7 * Added Admin.Job prototype representing objects suitable for persistent asynchronous tasks
* Refactored Admin.queue(), Admin.dequeue() and Admin.purgeSites() methods to use new Admin.Job prototype
 * Refactored Exporter and Importer objects to use new Admin.Job prototype (the way sites are im/exported still needs to be rewritten)
 * Refactored resetting and importing a layout to always backup the current layout in a temporary ZIP file
 * Moved import_action() method along with corresponding skins from Root to Site
 * Moved #create skin from $Root to $Site
 * Added the root site itself to the Root.sites collection
 * Permitted deletion of the root site by adding appropriate checks and treatment in Site.remove()
 * Moved call for Admin.dequeue() from scheduler() to nightly() method
 * Removed obsolete Admin.importExport() method
 * Removed obsolete app.data.exports and app.data.imports properties
2010-04-10 21:53:53 +00:00
Christoph Leutner
cb9cbad111 Removed site status explanation from the user interface cf revision 4059 2010-04-08 12:40:29 +00:00
Christoph Leutner
053b8d2ef5 Add an explanation what the site status options mean. 2010-04-07 03:57:59 +00:00
Christoph Leutner
a5f3dbc510 Capitalize URL in message. 2010-04-07 00:03:54 +00:00
Christoph Leutner
184ba9a19d Changed wording of image upload error message and corrected two typos. 2010-04-06 20:11:34 +00:00
35d4df1340 Enabled comments of a new site by default. Fixes issue 100. 2010-04-06 14:28:22 +00:00
Christoph Leutner
ddd4ddc01c Changed wording for error message when a file cannot be uploaded as an image; hope that fixes issue 57. 2010-04-06 12:18:51 +00:00
eab69cd022 Fixed bug causing duplicate display of replies. (No clue how this slipped in.) 2010-04-05 14:14:57 +00:00
4ecc50937f Exclude non-members from batch deletion. Fixes issue 88. 2010-04-05 12:41:38 +00:00
Christoph Leutner
16f1001a8e Site preferences page: comment out the useless (and therefore ugly) dropdown menu in the 'paging' dialogue 2010-04-04 02:08:10 +00:00
Christoph Leutner
b7ad105819 Added information to the tags input forms (because 'separated by commas' is usually translated as 'durch Komma getrennt', I chose that over the plural (Kommata)); fixed typos 2010-04-03 22:16:39 +00:00
Christoph Leutner
a9f2f68684 Slightly changed wording of password reset 2010-04-03 11:31:42 +00:00
Christoph Leutner
314a99e2eb Changed wording of notification that JavaScript is necessary to see the referrers and backlinks - the old 'To prevent spam abuse...' led to the misconception that backlink spamming should be in fact prevented. 2010-04-03 00:56:02 +00:00
df87eec8ea * Slightly modified Root.mrtg_action()
* Only allow privileged users to import sites
2010-04-02 16:54:24 +00:00
7f55e15bf0 * Added default sorting for Admin.users collection
* Applied new order of sort options to Admin.filterUsers() method
2010-04-02 16:11:28 +00:00
0a0e3f4169 Show the hide/show link in replies, too 2010-04-02 14:21:31 +00:00
df4d7a5cac Added missing Comment.text_macro() method with check if the comment is deleted (or rather: hidden) 2010-04-02 14:13:04 +00:00
e5582d8004 Replaced ugly scripted filtering of Stories.comments collection with equivalent filter definition in Stories.properties 2010-04-02 13:54:29 +00:00
2835f03425 Added soft comment deletion. Updates issue 43. 2010-04-02 13:50:15 +00:00
64f2966b56 * Validate e-mail address when registering a new user account. Fixes issue 87.
* Simplified code in User.update() method
2010-04-02 13:13:59 +00:00
356364bda3 * Added Site.comments collection and use it in $Admin#editSite skin. Fixes issue 89.
* Modified default sorting of user list in $Admin#users skin. Fixes issue 70.
 * Added property argument to HopObject.self_macro() to allow access to subnodes of the HopObject
 * Replace macros directly accessing HopObject subnodes with <% this.self property %> ones
 * Reverted changes made in r4026
2010-04-02 12:45:27 +00:00