Commit graph

3617 commits

Author SHA1 Message Date
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
36c600e2f9 Fixed bug in regular expression and restored debugged code 2008-12-11 17:41:25 +00:00
6750cb8984 Added patch to fix <% if <% comment.created %> %> macros 2008-12-11 17:36:42 +00:00
f286a1635e * Fixed bugs in convert.images and convert.layoutImages causing missing ids and/or wrong prototype settings
* Replaced all int(11) definitions with "int(10) unsigned" in SQL statements
2008-12-11 17:32:07 +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
789d07f5c4 Revamped MRTG configuration file according to latest findings 2008-10-10 18:03:03 +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
acbb3c5a32 Commit of patch with adjustments made at Antville.org server 2008-10-09 19:51:05 +00:00
369c4e7779 Modified value of oldDatabase: replaced "antville_org_1_1" with "antville_1_1" 2008-10-09 19:48:29 +00:00
533b71a4bb Adjusted mrtg.cfg according to latest results from output at Antville.org 2008-10-09 19:42:50 +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
352e08bcf3 * Replaced targets requiring SNMP agent with procfs-based ones (only works with operating systems having /proc mounted)
* Slightly modified some settings and options
2008-10-08 13:11:25 +00:00
866a4cb369 Initial commit of example configuration file for MRTG 2008-10-08 13:07:08 +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
ab6ea55d4a For safety reasons disabled calls applying modification of skins et al. 2008-10-02 18:18:59 +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
35be86763d Fixed link URLs in Site.monthlist_macro() method (slash was missing between "archive" and year) 2008-09-14 19:08:32 +00:00
e5efdb017a Added Root.nonames_action() for fixing files and images with no name (ie. empty string or the like) 2008-09-13 21:20:49 +00:00
bc4e901415 Added patch for fixing corrupted history macro as well as macro handlers in skins shared between Story and Comment prototype 2008-09-13 17:20:35 +00:00
9f98a10e64 Rearranged order in filter of images collection for consistency with stories collection 2008-09-13 17:13:37 +00:00
40b860da45 * Added global status() method for conveniently setting and getting app.data.status
* Extracted stringf() method from execute() replacing $foo variables in a string (additionally, a callback method can be set as optional argument which will be executed for each substitution)
 * Added Root.galleries_action() for fixing the image tags that got lost in the last big update
2008-09-13 12:01:31 +00:00
b2ce07cad2 Fixed issue #22: "Image upload is broken in Safari". 2008-08-05 13:35:12 +00:00
b666f3861a Fixed two tiny bugs concerning Story.commentMode 2008-08-04 09:11:23 +00:00
c94de58429 Fixed display of creation date by checking for <% story.creator %> instead of <% story.created %> 2008-07-22 18:40:56 +00:00
81311f0074 * Fixed Site.history_macro() method to check whether the "show" parameter refers to the collection limit or the collection itself
* Replaced "createtime" property with "created" in Story.createtime_macro() method
2008-07-22 18:24:09 +00:00
59c8556288 * Fixed formatDate() method to use per-site date format patterns
* Fixed Story.skin to display creation date only if available
2008-07-22 18:21:30 +00:00
9923ee3e3d Fixed typo in log message 2008-06-29 12:57:59 +00:00
5d52c9ff61 Replaced cancel button with link 2008-06-29 12:54:35 +00:00