Commit graph

364 commits

Author SHA1 Message Date
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
8db348f368 Added status information to Root#importItem skin 2008-12-14 22:04:47 +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
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
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
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
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
b4c6ad38f8 Fixed and cleaned up admin section 2008-06-15 20:28:25 +00:00
3d8ad6984c * Renamed app.data.log to app.data.entries
* Renamed Root.commitLog() method to Root.commitEntries()
2008-06-15 17:42:49 +00:00
94a6a87c84 * Renamed app.data.referrers to app.data.log
* Renamed Root.commitReferrers() method to Root.commitLog()
2008-06-15 17:22:44 +00:00
065828abf5 Fixed implemenation of backup/restore feature for stories and comments 2008-06-12 15:33:11 +00:00
4c4e26e5e8 * Renamed Site.queueCallback() method to Site.callback()
* Added output of queued requests and referrers to Root.health_action()
 * Fixed POST arguments in Root.invokeCallbacks() method
2008-06-12 14:41:30 +00:00
b0b126a992 * Replaced all occurrences of "webHook" with "callback"
* Dropped obsolete Site.webHookCalled property
 * Renamed Site.hitchWebHook() method to Site.queueCallback()
 * Renamed default callback method Root.default_hook_action() to Api.callback_action()
 * Implemented callback queue in favor of immediate invocation
 * Added basic documentation about callbacks
2008-06-12 14:02:42 +00:00
9731dd4399 Granted permission to view API page for anyone 2008-06-12 09:40:39 +00:00
1138c189b4 Fixed escaped newlines 2008-05-15 15:20:32 +00:00
462b12f3a8 Replaced Root.referrers collection with call for persist() in Root.commitReferrers() 2008-05-15 15:15:08 +00:00
46b50db3d4 Added maxSize to Root.referrers property to prevent Helma from loading the whole collection every time it changes (pls. note the FIXME for an alternative solution) 2008-05-15 14:27:01 +00:00
b2cf3ece2d Fixed SQL statement in Root.purgeReferrers() 2008-05-15 13:59:53 +00:00
92c4089df7 * Fixed bug in Root.commitReferrers causing method to abort after first item without referrer
* Reverted to GET method in Site.referrers_macro() because otherwise the display of filtered spam won't work (Antville.Query cannot handle POST requests)
2008-05-15 13:47:58 +00:00
af8b05d1bd * Added HopObject.log() method currently caching referrers of story and site requests
* Modified LogEntry to fit into the new logging mechanics
 * Added commitRequests(), commitReferrers() and purgeReferrers() to Root prototype
 * Added referrers collection to Root
 * Re-added Site.spamfilter property for now
 * Refactored Site.referrers_macro() and Story.referrers_macro() (formerly backlinks_macro, but compatibility is granted)
 * Removed obsolete method Stories.flushRequests()
 * Reactivated referrers (thus, including backlinks) for privileged users for testing purposes
 * Added global nightly() method which is called from a new cronjob at 5 am
 * Added calls for referrer purge and commit methods in Root to scheduler
 * Added Story.count() method to increment the request counter; overwrites Helma's built-in HopObject method but it's anyway redundant with HopObject.size()
 * Added utility methods for database access in Sql.js
2008-05-15 12:58:26 +00:00
caefca42a6 Added title for status table 2008-05-14 14:02:28 +00:00
c4378138c7 * Added Root.skin
* Modified Skin.getPrototypeOptions() to only include root skins for the root site
 * Include Root#status skin from within $Root#health skin
2008-05-14 13:48:28 +00:00
3aa906b59a Added inclusion of custom Site#health skin from within $Root#health skin 2008-05-14 13:37:05 +00:00
e2d02fb5ab * Added further Number formatting to health display
* Added the site's locale to call of Number.format() in global formatNumber() method
2008-05-14 13:30:28 +00:00
eb66ac9ccf Added formatNumber() calls wherever useful 2008-05-14 13:16:12 +00:00
17a116d98f * Added fix to prevent exception on start in Root.health_action()
* Fixed NaN errors in Root.updateHealth()
2008-05-14 12:54:44 +00:00
7f5efd44fd Improved counting requests and errors of the last 5 min in Root.updateHealth() 2008-05-14 12:42:31 +00:00
096f7ef572 Added health viewer (aka status) to Root prototype 2008-05-14 12:25:15 +00:00
ae694946fa * Added status code and full path to Root.notfound_action()
* Added status code to Root.error_action()
 * Moved notfound.skin and error.skin as subskins into $Root.skin
 * Removed obsolete <script>-Element from Site#page skin
2008-05-14 11:11:56 +00:00
edf51f4519 Fixed site collection in Site.updates_xml_action() 2008-05-09 20:50:45 +00:00
567d681ae1 * Removed obsolete settings from app.properties (mostly XML-RPC related)
* Added Membership.toString() method for human-readable output
 * Assigned Membership.valueOf() method original toString() method
 * Fixed output of site list in userland
 * Added mountpoint for Api prototype in Root
 * Added trimming for Story text and title input
2008-05-05 00:27:43 +00:00
75ff272950 * Fixed and finalized Layout.reset_action() as well as Layout.remove() and Skin.remove() methods
* Completely render skin outline and drop down menu from application directory
 * Moved remaining skins into protected (ie. non-customizable) skin files
 * Removed obsolete skin files
 * Removed obsolete code
2008-04-27 14:35:35 +00:00
91def0b843 * For now only import layouts with exact the same version strings
* Fixed password reset feature: before any other action is taken a confirmation e-mail will be sent
2008-04-22 14:57:18 +00:00
239af7195b * Fixed list_macro (but still list rendering is really inconsistent throughout the whole application!)
* Fixed various b/w compatibility issues found in some sites
 * Fixed pager action in Images
 * Added confirmation dialog before resetting a layout
 * Added collection containing updated sites in reverse chronological order
 * Modified site listing (still work in progress)
 * Save site name as title if no title is entered
 * Removed some res.debug() calls
2008-04-21 20:46:29 +00:00
0d84e21291 Removed trailing semicolons after closing curly brackets for good (hopefully :) 2008-04-21 13:57:01 +00:00
124e6f4257 * Added protected skin files (currently prefixed with "$") that cannot be customized or overwritten by the user
* Removed obsolete skin files (ie. content moved to the protected skin file)
 * Moved contents of Messages.skins to their protected siblings
 * Prefixed notification skins (used in e-mails) with "notify_"
 * Fixed and simplified a whole bunch of issues in compatibility layer
2008-04-21 13:35:50 +00:00
a10cf6bcc9 * Relocated setting of a site's file to create() method in the Files prototype
* Refactored Poll and Polls prototypes (still not really happy)
 * Fixed sorting of sites in Root.updates_xml_action()
 * Allowed access to debug_action in Root
2008-04-15 21:16:21 +00:00
b1b97ce864 * Removed extra file name handling for images from compatibility layer (which is very nice!)
* Improved image data conversion in updater to only create thumbnail information if there actually is a thumbnail available
 * Fixed some minor issues introduced with the latest changes
2008-04-15 15:19:42 +00:00
fb299aacba * Fixed quotes in welcome text (Root.skin)
* Fixed RSS output and added extra ones for stories and comments
2008-04-14 16:46:39 +00:00
84492cc922 * Modified HopObject.link_macro() to automatically capitalize the default link text
* Added global i18n.js file containing markgettext() calls
 * Wrapped messages with gettext macros wherever found missing
 * Moved contents of remaining diff skin files to Skin.skin
 * Removed Layouts prototype
 * Removed obsolete files
2008-03-27 15:10:31 +00:00
12556fdc2d * Improved skin editor to finally go into the right direction
* Fixed layout import/export
 * Added Root.VERSION as version reference (currently used in layout import/export)
2008-03-26 12:33:54 +00:00