* 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
41 lines
1.2 KiB
Properties
41 lines
1.2 KiB
Properties
##
|
|
## The Antville Project
|
|
## http://code.google.com/p/antville
|
|
##
|
|
## Copyright 2001-2007 by The Antville People
|
|
##
|
|
## Licensed under the Apache License, Version 2.0 (the ``License'');
|
|
## you may not use this file except in compliance with the License.
|
|
## You may obtain a copy of the License at
|
|
##
|
|
## http://www.apache.org/licenses/LICENSE-2.0
|
|
##
|
|
## Unless required by applicable law or agreed to in writing, software
|
|
## distributed under the License is distributed on an ``AS IS'' BASIS,
|
|
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
## See the License for the specific language governing permissions and
|
|
## limitations under the License.
|
|
##
|
|
## $Revision:3333 $
|
|
## $LastChangedBy:piefke3000 $
|
|
## $LastChangedDate:2007-09-15 01:25:23 +0200 (Sat, 15 Sep 2007) $
|
|
## $URL$
|
|
##
|
|
|
|
entries = collection(LogEntry)
|
|
entries.filter = action <> 'main'
|
|
entries.order = created desc, id desc
|
|
entries.maxSize = 500
|
|
|
|
sites = collection(Site)
|
|
sites.accessname = name
|
|
sites.order = created desc
|
|
|
|
restrictedSites = collection(Site)
|
|
restrictedSites.filter = mode = 'restricted' and status <> 'blocked'
|
|
|
|
deletedSites = collection(Site)
|
|
deletedSites.filter = mode = 'deleted'
|
|
|
|
users = collection(User)
|
|
users.accessname = name
|