Commit graph

3702 commits

Author SHA1 Message Date
66cc313083 Removed line with $URL$ SVN keyword for good 2010-02-07 13:15:39 +00:00
17c0937c19 Initial commit 2010-02-07 13:12:08 +00:00
c837c6190f Enabled Unicode/UTF-8 when connecting to MySQL 2010-02-07 13:06:20 +00:00
969a8cdf09 Enabled translation for two messages in $Skin#compare 2010-02-07 13:05:40 +00:00
26b773a0fb Added check for Site.name containing HTML code in Site.update() method 2010-02-07 13:04:48 +00:00
747231baef Cleaned up code and doc comments 2010-02-07 13:03:04 +00:00
a7b5f4f20b Enabled Unicode/UTF-8 when connecting to MySQL 2010-02-07 13:02:27 +00:00
418c533f61 * Granted permission to display Skin.main_action()
* Prevent spaces in skin names
 * Updated i18n and message files
2010-02-06 22:34:06 +00:00
6d1ea4fa3b Added global NAMEPATTERN constant to check access names for invalid characters according to Jala’s HopObject.getAccessName() 2010-02-06 21:53:03 +00:00
433ccec6dd Updated i18n and message files 2010-02-06 21:45:14 +00:00
a2ff97c588 * Added checks for invalid characters in Skins.create_action() and User.register() methods
* Added Tag.DELIMITER constant used in Story.getFormValue() and Story.tags_macro()
 * Fixed flag in $Skin#listItem skin
 * Added ancestor call to Skin.getFormValue() method
2010-02-06 21:38:49 +00:00
298efff89f Added uploadLimit setting of 10 MB to at least allow a decent size for uploads on a machine most likely used on a local machine. Fixes issue 80 2010-02-06 19:03:51 +00:00
da47d03b24 Reverted last changes in Sql.SEARCH statement back to using “like” insted of regular expressions 2010-02-06 17:20:52 +00:00
e0d45711b6 * Rewrote Sql.SEARCH statement to search for regular expression pattern in text and title field of stories and comments
* Modified Site.search_action() to filter comments of closed stories and increased result limit to 50

Fixes issue 38
2010-02-06 17:03:30 +00:00
d13ac981b3 Updaded i18n and message files 2010-02-06 15:14:19 +00:00
896f5daf28 * Added Membership.comments collection to fix a bug causing display of the number of comments of a user throughout the whole installation instead of those of the member of the site only
* Replaced custom SQL query in Comment.remove() with code using new Membership.comments collection
 * Removed obsolete Sql.COMMENTS statement
 * Added getConfirmText() method to Comment, File, Image, Layout, Membership, Poll, Skin and Story prototypes – which is used in HopObject.delete_action() for more convenient feedback about what is going to be deleted (fixes issue 37 for now)
 * Fully enabled translation in global breadcrumb_macro()
 * Removed obsolete Layout.getTitle() method
 * Disabled translation in HopObject.toString() methods
 * Fixed and added some i18n messages to ease translation
2010-02-06 15:13:39 +00:00
f05fc1ce4f Moved left margin of .label class to the right 2010-02-06 12:28:40 +00:00
3cf2f5803f Modified a message in Site#page skin for easier translation and updated all message files accordingly 2010-02-05 18:24:24 +00:00
249431bb7b Patched MessageParser.getPotString() method with adequate header data 2010-02-05 18:20:55 +00:00
61698313da Re-arranged order of code blocks for consistency 2010-02-05 10:06:07 +00:00
a93e9b9898 * Added disabling of User.salt_macro()
* Moved disabling of User.password_macro() to compatibility layer
2010-02-05 10:04:36 +00:00
f290b04122 Reverted changes made in r3975 and instead added User.email_macro() with check for privileges 2010-02-05 10:01:38 +00:00
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