Commit graph

3182 commits

Author SHA1 Message Date
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
a9652e5b58 * Fixed Root.sites_action()
* Added Root.sitemap_xml_action() for trying out with GoogleBot
 * Slightly modified Root permissions; generally only allow "debug" without any restrictions
2008-10-15 08:37:08 +00:00
27ae8eeb51 * Changed output values of threads and cache targets in Root.mrtg_action() to percentages
* Added output of the two missing lines containing uptime and target name for full compliance with MRTG input format
2008-10-10 18:02:18 +00:00
8866896bc0 Modified Root.mrtg_action() according to changes in mrtg.cfg 2008-10-09 19:40:48 +00:00
e65c6fce47 Limited output of story title in to 15 words in Story.main_action() 2008-10-09 19:26:03 +00:00
d54f1ee96f Completely removed code disabled by comments in last commit 2008-10-07 16:45:12 +00:00
ca644d0318 Reduced output of "postings" target to actual postings because the comment query is unnecessarily slowing down MySQL 2008-10-07 16:37:58 +00:00
908298920e Removed obsolete "load" target from Root.mrtg_action() 2008-10-07 08:46:24 +00:00
bb17b8ee89 Hopefully increased performance of counting stories and comments in Root.mrtg_action() 2008-10-05 11:33:51 +00:00
759b4e6e2e Use requests/error per unit instead of totals in Root.mrtg_action() 2008-10-05 10:49:49 +00:00
fcebd371a6 Removed calls for formatNumber() in Root.mrtg_action() because we need unformatted values 2008-10-05 10:47:18 +00:00
d78f046208 Added Root.mrtg_action() for plugging Antville into the Multi Router Traffic Grapher (http://oss.oetiker.ch/mrtg) 2008-10-05 10:44:27 +00:00
928390f5c2 Removed the "Number of" in "Number of queued xyz" 2008-10-04 15:29:01 +00:00
4074fd0d05 Officially enabled access to Site.search_action() for everyone 2008-10-02 18:34:38 +00:00
11685b4818 * Removed translations of most special characters in HopObject.getFromPath() except for ampersand which still is an issue due to Helma bug #625 (reopened)
* Unified HopObject.created_macro() and HopObject.modified_macro()
2008-10-02 18:11:14 +00:00
260f6966af Added display of search box if query is unddefined or no results are found 2008-09-29 10:18:00 +00:00
cc97fa863c Fixed bug in global poll_macro() preventing comments to be added to stories with embedded polls 2008-09-22 10:41:13 +00:00
13c78b8cd9 * Replaced <% api.url %> macro with <% api.href %>
* Added some space after first text section in ugly HTML 3.2 manner
2008-09-21 18:39:33 +00:00
d7d716fa95 * Updated text of $Admin#welcome skin (sites cannot be made the front page so easily, anymore)
* Added setup routine to Root.main_action() which is executed when there is an unconfigured root site or no privileged user (admin)
 * Modified $Image#edit skin: check for Image.fileName property insteaed of "created" when deciding whether to show the name and dimension input fields
 * Added missing res.data.title to $Members#register skin
 * Removed app.log() calls when catching login or registration exceptions
 * Added empty User.onLogout() method to get rid of some "errors" in the log file
 * Removed obsolete code
2008-09-21 17:44:18 +00:00
9f98a10e64 Rearranged order in filter of images collection for consistency with stories collection 2008-09-13 17:13:37 +00:00