Commit graph

127 commits

Author SHA1 Message Date
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
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
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
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
2a7462a2eb * Tested and fixed Admin.purgeSites() method
* Fixed global nightly() scheduler method to run only once even if the main scheduler is running many times per minute
 * Fixed call for jala.i18n.setLocaleGetter() method in Global to prevent nasty exceptions in scheduler methods (ie. where res.handlers.site is not set)
 * Fixed bug in Root.getCreationPermission() method
 * Updated i18n template, catalog and message files
 * Minor change in $Site#create skin
2010-01-16 10:57:01 +00:00
80831e6ad7 Modified Site.diskspace_macro() to either output free or used disk space and always show it in $Site#edit skin 2010-01-15 22:18:03 +00:00
5523ab28d2 * Refactored Admin prototype by reducing interface, eliminating lenghty help texts and leaving out meaningless features
* Moved SITENOTIFICATIONPERIOD constant, health property as well as getFormOptions(), commitEntries(), commitRequests(), purgeReferrers(), invokeCallbacks(), updateHealth(), exportImport(), updateDomains(), queue() and dequeue() methods from Root to Admin prototype
 * Renamed Admin.purgeDatabase() method to Admin.purgeSites() and added code for automatic blocking/deletion of restricted/abandoned sites
 * Renamed Root.getScopes() method to Admin.getNotificationScopes()
 * Renamed User.getScopes() method to Admin.getCreationScopes()
 * Added Admin.getPhaseOutModes() method
 * Removed obsolete code
 * Fixed and renamed Admin.privateSites to Admin.restrictedSites collection
 * Finally added simple and reasonable quota implementation
 * Fixed gettext_macro() and ngettext_macro() with check for necessary arguments
 * Removed sender argument from global sendMail() method – instead, the root.replyTo property is used
 * Fixed some i18n messages
 * Moved code setting res.handlers.layout before permission check in HopObject.onRequest() to prevent broken layout in error screen
 * Completely rewrote HopObject.notify() method (hopefully fixing issue 49)
 * Check free disk space before invoking create_action() of Files and Images prototypes
 * Modified output of Membership.toString() method
 * Fixed some linebreaks in Membership.skin
 * Added option to set session.data.error for additonal information in $Root#error skin
 * Slightly modified output of $Root#health skin
 * Replaced Root.phaseOutInactiveSites and Root.phaseOutPrivateSites with Root.phaseOutMode
 * Removed qualifyingDate property from Root
 * Renamed Root.qualifyingPeriod property to Root.probationPeriod
 * Removed autoCleanupEnabled and autoCleanupStartTime properties from Root
 * Added replyTo property to Root
 * Rewrote Root.getCreationPermission() method
 * Added #notify_blocking and #notify_deletion skins to $Site.skin
 * Replaced Site.notifiedOfBlocking and Site.notifiedOfDeletion properties with Site.notified
 * Added Site.diskspace_macro() returning the free disk space in MB
 * Fixed bug in Site.main_action() causing erroneous display of deletion warning
2010-01-15 21:32:11 +00:00
841d17c05e * Edited and rephrased some messages (still needs a lot of work)
* Added gettext calls and macros where missing
 * Removed obsolete LogEntry.remove() method
2010-01-10 16:33:46 +00:00
32c52791fe * Refactored code and skins in respect for comprehensive i18n
* Refactored and unified remove() methods and calls for greater flexibility as well as reliability
 * Added option to remove all comments by a user to Comment.remove() method and $Comment#delete skin
 * Added global #listItemFlag skin as well as listItemFlag_macro() for rendering vertically written text of items in a list view (e.g. closed)
 * Fixed bug in gettext_macro() and ngettext_macro() causing incorrect whitespace
 * Refactored timezone and locale handling
 * Modified automatic translation of untitled links in HopObject.link_macro()
 * Added honeypot to login and registration forms
 * Fixed client-side JavaScript to be evaluated when login or registration form is submitted, not only when the submit button is clicked
 * Removed redundant filter expression from DB mapping of Membership.images collection
 * Added Membership.content collection
 * Changed terminology from open to running polls, thus renaming Polls.open_action() method and Polls.open collection
 * Moved a lot of CSS used in root or administration sections from Site#stylesheet to $Root#stylesheet skin
 * Added Root.updateDomains() method (most likely already obsolete)
 * Removed Root.processHref() method (only necessary for very advanced setup) and obsolete comments
 * Fixed Root.xgettext() method to correctly read UTF-8 encoded data
 * Fixed Site.deleted_macro() to return the date object for late formatting
 * Refactored Site.processHref() for more convenient custom domain name mapping
 * Renamed Skins.advanced_action() method to Skins.all_action()
 * Removed redundant filter from Stories.comments collection
 * Removed unnecessary filter from Story.comments collection
2010-01-10 14:40:36 +00:00
5ec14e5c06 Skin spring cleaning: unified and restructured skin parts and removed obsolete markup 2009-12-13 21:54:58 +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
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
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
c63789a82a * Added label for includeSpam input element in $Site#referrers skin
* Enabled Site.search_action() for GET requests
2008-05-15 16:56:19 +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
1aa5e7f25e * Rounded up LogEntry
* Slightly modified #referrer and #referrers skins of Site and Story
2008-05-15 13:02:50 +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
a920e6fb39 * Fixed stupid bugs in image uploader introduced lately
* Wrapped zipping of layout images in try/catch block to prevent exceptions when there is no thumbnail image
 * Introduced a more elegant way to include necessary script files (jQuery et al.) in Site.main_js_action()
 * Slightly modified jQuery "onload" calls
2008-04-28 12:19:20 +00:00
b006cbdf0b * Fixed formatDate() method
* Extended HopObject.modified_macro to return the date object if no format pattern can be applied (good?)
2008-04-22 15:20:10 +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
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