Commit graph

4080 commits

Author SHA1 Message Date
b86e0e8a23 Added work-around for displaying e-mail addresses in Admin skins due to the User.email_macro() being disabled by default. Fixes issue 78. 2010-02-04 08:45:35 +00:00
09884674fb Fixed syntax error in XML 2010-02-04 08:32:10 +00:00
b3eaa8e820 Do not move but copy the h2.txt file to the target directory 2010-02-04 08:26:47 +00:00
1f672c30ab Updated README file 2010-02-03 11:57:41 +00:00
678f6a1f53 Ignore external repositories when exporting Antville 2010-02-03 11:57:26 +00:00
66dfe39e9b Moved license file h2.txt from legal to build/extra (only needed in AntClick package) 2010-02-03 11:37:06 +00:00
d56a9b4140 Reformatted XML 2010-02-03 11:26:02 +00:00
f07681a72d Fixed wrong URL for external wiki repository 2010-02-03 11:21:12 +00:00
3c55faaafa * Added default apps.properties file to extra dir for convenience
* Updated INSTALL file
 * Added instruction to move build/extra/antclick w/o db.properties to extra/postgre for convenient inclusion in apps.properties when using PostgreSQL
2010-02-03 11:18:08 +00:00
028815249b Moved external definiton from root directory to docs 2010-02-03 10:09:33 +00:00
9a3fd14da4 Cleaned up svn:ignore properties 2010-02-03 10:02:58 +00:00
6778692e86 * Delete some more files before packing AntClick
* Reformatted XML
2010-02-03 10:01:38 +00:00
03038334f2 Set Root.created to current date when installation is activated 2010-02-03 09:52:59 +00:00
8c772bc8cd Modified paths in build.xml according to kinomu and got rid of build.sh/.bat files; build is now
invoked from the base directory directly with the ant command.
2010-02-03 09:11:40 +00:00
c20dde46cf Do not rely on Images._parent for the site as it also could be a layout (fixes issue 79) 2010-02-01 14:13:40 +00:00
70dfe34b2f * Fixed typo in start.bat preventing it from running
* Removed -server and -Xmx256m options from JAVA_OPTIONS string in start.sh and start.bat to prevent errors when server JVM is not installed (memory setting is not faulty but not necessary for desktop installations either)
2010-02-01 13:54:27 +00:00
3d3bfe7ee0 Lowercase column names in SqlData prototype to prevent errors with case-sensitive H2/PostgreSql databases 2010-01-20 15:22:25 +00:00
24630b91c7 Added H2 trace file as well as dist and work dirs to svn:ignore 2010-01-20 15:20:38 +00:00
f4f4245aaf Added H2 trace file as well as dist and work dirs to svn:ignore 2010-01-20 15:19:30 +00:00
2b7a8c2453 Reset H2 database once more 2010-01-20 15:16:03 +00:00
7877a16892 Fixed typo in name of Jala’s test directory 2010-01-20 14:42:44 +00:00
1d1942de14 * Replaced extra Admin.purgeReferrers() action with extra Sql.PURGEREFERRERS constant
* Updated H2 database for AntClick
 * Added some settings to Jdbc connection string in db.properties
 * Added license header to db.properties
2010-01-20 14:39:50 +00:00
ee4fb92f53 * Generalized H2 database script for PostgreSql
* Renamed database script and properties files
2010-01-20 14:30:00 +00:00
b2be44fabf * Rewrote direct Database access in Archive.stories_macro(), Archive.getSize(), Archive.getFilter(), Members.search() and Root.mrtg_action() methods using the Sql prototype and trying to make the statements work in all MySql, PostgreSql and H2 databases
* Added default setting for root.replyTo when first setup is encountered in Root.main_action()
 * Renamed user table to account in User.properties (“user” is a reserved keyword in PostgreSql)
2010-01-20 14:28:17 +00:00
b20a414727 Had to move the Sql constants to Sql.js due to Sql being undefined in Global (files are compiled in alphabetical order!) 2010-01-19 22:06:40 +00:00
33ef009f20 * Moved all direct SQL statements as constants into Sql object
* Removed redundant call for HopObject.log() in Admin.update() method
2010-01-19 22:01:39 +00:00
499e8d97b9 * Added missing source field to skin table in H2 database
* Added Admin.purgeReferrers() method for AntClick to overrule the original code with appropriate SQL for H2 database
 * Removed outdated bookmarklet.txt and Skin.java.patch files (the latter is in Helma trunk)
 * Added license headers where missing
2010-01-19 21:46:54 +00:00
f7fcc73342 Added layout to list of files ignored by SVN 2010-01-17 15:21:48 +00:00
34a3ead152 Commit of modified SVN properties (ignored files) 2010-01-16 21:55:03 +00:00
782e729fb9 * Added call for Layout.reset() in Root.main_action() when called for the first time
* Ultimately removed static root layout directory from versioning
2010-01-16 21:47:24 +00:00
ca7c580360 * Added call for Layout.reset() in Root.main_action() when called for the first time
* Ultimately removed static root layout directory from versioning
2010-01-16 21:46:22 +00:00
8940facd31 Added Site.getQuota() method for convenience 2010-01-16 11:56:08 +00:00
0795498b92 * Added quota argument to Site.getDiskSpace() method; if given, the difference between it and the used disk space will be returned
* Reverted last commit and added check whether site is trusted to Site.diskspace_macro()
2010-01-16 11:23:18 +00:00
b9c03e4f2c Ignore disk quota of trusted sites when trying to create files or images 2010-01-16 11:09:27 +00:00
67fbcaccae Updated i18n template, catalog and message files 2010-01-16 10:57:24 +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
44b409bec8 Updated i18n template, catalog and message files 2010-01-16 00:00:45 +00:00
473d5a9e18 Updated API docs 2010-01-15 23:43:04 +00:00
a8edcb9b03 Updated i18n template, catalog and message files 2010-01-15 23:38:54 +00:00
ad147d2205 Improved some i18n messages 2010-01-15 23:38:19 +00:00
40e6243343 * Renamed $Global#disclaimer skin to $Global#mailFooter
* Added some linebreaks between message text and footer in global sendMail() method
2010-01-15 22:59:29 +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
cb5ba5f78c * Added the username as well as the number of comments to be deleted to the confirmation dialogue when deleting a comment
* Fixed typo in Site#navigation skin of Root
2010-01-11 08:29:12 +00:00
6cc4d77dfb Added client-side scripts for hiding form honey pots and more convenient rendering of timezone drop-down menu 2010-01-10 19:56:50 +00:00
5161d33029 Fixed typo in class name of $Admin#LogEntry skin 2010-01-10 17:09:42 +00:00
eca85e17f6 Updated template, catalog and message files 2010-01-10 16:54:49 +00:00
fc050e4a90 Removed obsolete translation 2010-01-10 16:53:43 +00:00
00aaa952a4 Restructured app.properties file 2010-01-10 16:34:20 +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