Commit graph

3201 commits

Author SHA1 Message Date
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
b9529de94e Added work-around in Site.getXml() to prevent org.jdom.IllegalDataException caused by some ASCII control characters most likely inserted by some kind of evil text processor 2009-10-28 00:12:49 +00:00
9fdc43d001 * Removed redundant redirect from Layout.import_action()
* Added definition of res.data.title property in Tag.main_action()
2009-10-27 23:59:36 +00:00
323254321d * Added some missing and fixed some incorrect res.data.title properties
* Moved code removing the current layout *after* the one backing it up
2009-10-27 22:58:07 +00:00
b34390b9a9 * Added missing code for a linked list of tags to Story.tags_macro() – fixes issue #33
* Fixed small issue with trailing colon in $Story#listItem skin
2009-10-27 16:29:34 +00:00
a4aac4fa93 * Moved Philipp’s RegExp pattern from validation methods to static String properties
* Added global default_filter() method as alternative (and fix in some cases) for the “default” macro parameter
 * Do not show a story’s summary in top stories view but instead try the title and apply the newly introduced default_filter() method with the clipped story text to it
2009-10-27 12:18:08 +00:00
b710a221f0 Display a story’s summary in top stories view instead of the title only 2009-10-27 11:15:56 +00:00
517f6ce067 * Added various fixes for issues observed in the event log of Antville.org
* Added ugly hack for providing support of rssCloud and PubSubHubbub in XML feeds
2009-09-30 09:48:23 +00:00
7d6acf37e3 * Re-introduced link for site creation
* Decreased space in menu box
2009-09-21 17:04:59 +00:00
2ec2404b03 Encode referrer string before rendering the HTML as fix for issue #32 2009-09-21 15:29:12 +00:00
98223ef94d Respect the application’s SMTP settings when sending mail 2009-09-21 14:07:20 +00:00
05cb186fd1 Disabled work-around for story handlers in Comment skins in Site.getXml() method 2009-09-21 13:31:41 +00:00
23c6f91f5f * Moved exportImportIsRunning flag from root to app.data
* Enabled copy() method in Root.create_action() to provide layout files when creating a new site
2009-09-21 13:24:37 +00:00
484b80cf7e * Updated to final Rome version
* Added Root#welcome skin to Root/Site.skin (compatibility)
 * Cleaned up directory structure and removed obsolete files
 * Updated mrtg.cfg
2009-09-21 13:04:14 +00:00
Philipp Naderer
9111aefcdd Added tobi's fix from Minnegard. 2009-05-15 20:44:55 +00:00
Philipp Naderer
53d5c40e50 Better validation for URLs and e-mail addresses. 2009-04-09 22:39:32 +00:00
Philipp Naderer
35c40dfd13 Fixed a bad typo bug reported by Hannes. 2009-04-09 22:37:45 +00:00
Philipp Naderer
62fe723b2b Workaround to stop auto-resize to 400px after edit. 2009-04-09 22:36:58 +00:00
f265d4cc34 * Fixed skin for rendering <% list tags %> macro in global list_macro()
* Added support for limit parameter in Tags.list_macro()
2008-12-18 19:07:17 +00:00
d693f4368d Renamed export.log to error.log in Exporter 2008-12-15 15:17:14 +00:00
2b9a311c6d * Fixed bug in File.getFile() causing exception in Exporter
* Added export.log file recording export errors
2008-12-15 15:04:46 +00:00
444371b9b4 * Fixed bug caused by null value of "name" parameter in HopObject.getFromPath()
* Removed work-around for Helma bug #625 in HopObject.getFromPath()
2008-12-15 14:20:48 +00:00
8db348f368 Added status information to Root#importItem skin 2008-12-14 22:04:47 +00:00
2c3b0fb70d Reverted changes in Membership.getPermission() fixing potential security issue introduced with latest commit; instead, the additional check for the privileged permission is done in Membership.remove() to allow site deletion in Admin prototype 2008-12-14 21:14:45 +00:00
4317d9f1e3 * Fixed some nasty bugs in Importer.js
* Added removal of layout in Site.remove()
2008-12-14 20:46:27 +00:00
05ba5e4b13 * Fixed bug in Admin.site_action() preventing deletion of a site
* Improved import/export feature to run asynchronously amongst other things
 * Remvoved exclusion of root site in Root's default collection (fingers crossed that this has no negative side effects)
2008-12-14 19:49:12 +00:00
88d4970ae4 Added missing files for export/importing 2008-12-14 15:32:17 +00:00
674ec8bf9b Implemented basic functionality for site export and import (CAVEAT: this is an intermediate commit for testing purposes on p3k.org only) 2008-12-14 15:27:47 +00:00
31251b6809 * Fixed notifcation skins in HopObject to prevent ugly "null" output; from now on only the ID of the created/modified object is displayed.
* Fixed bug in Story.summary_macro() preventing additional arguments from being used to render metadata content
 * Added root.sites to _parent mapping in Site.properties
2008-12-14 12:50:52 +00:00
b5f3128757 Fixed search for special characters 2008-12-12 10:54:58 +00:00
7444d1b227 * Replaced <% comment.created %> with <% comment.creator %> macro in <% if %> macro of Comment#edit skin (fixes issue #27)
* Wrapped display of creation and modification dates in <% if %> macros in Comment#edit skin
 * Slightly reduced code in global formatDate() method
 * Modified HopObject.created_macro() to prevent creation dates of  transient objects from being displayed or formatted incorrectly
 * Modified HopObject.modified_macro() accordingly
 * Added width attribute to CSS definition for fieldset elements
 * Reduced macro code in Story#edit skin
2008-12-11 18:08:51 +00:00
02fcfd6d4d Fixed bug introduced with change in Helma trunk (HopObject properties became case-sensitive) 2008-10-21 11:25:27 +00:00