Commit graph

3702 commits

Author SHA1 Message Date
76e9388850 * Added several fixes regarding compatibility issues found in various sites
* Commented out ImageMgr code and mappings to check if it's obsolete
 * Added note for features currently not available
2008-04-21 20:48:32 +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
a6e618d721 * Added permission for Members.sendpwd_action just to inform about the impossibility to send passwords any longer
* Removed trailing semicolons after closing curly brackets for good (hopefully :)
2008-04-21 13:52:13 +00:00
eefa9ed990 * Removed grouping in SQL for converting topics to tags
* Fixed SQL for copying the contents of AV_IMAGE to new image table 
 * Removed trailing semicolons after closing curly brackets for good (hopefully :)
2008-04-21 13:50:21 +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
89fbeb5715 Added code to rename default layout directory to "layout" 2008-04-21 08:47:19 +00:00
86c3ba0ad2 Good morning, stupid typo! 2008-04-21 07:52:40 +00:00
103b45f72e * Fixed stupid typos in recent SQL changes
* Check if an image description exists before writing it to metadata
2008-04-21 07:49:25 +00:00
fe969537fd * Replaced calls for id() by preceding/subsequent alter statemtents en/disabling auto_increment on the primary key
* Added key for name in tag table
 * Decreased bulk size of select statements
 * Moved release() call inside bulk loop again in traverse() method
2008-04-20 22:34:17 +00:00
363b0b6dc2 Added constraint to not delete layout images at all when reducing the image table size for testing purposes 2008-04-20 17:30:26 +00:00
ce42c8a2aa * Added aspect for Layout.image_macro() fixing the macro parameter
* Fixed order of arguments in link_filter() call from within Story.content_macro()
2008-04-20 17:28:50 +00:00
7ba80fb9b9 * Removed gettext() call in global renderLink() method
* Fixed bug in Layout.image_macro() preventing the URL from being written
 * Wrapped output of Site.getStaticUrl in encodeURI() call
 * Removed test macro in Site.skin (AAAAAAAAAAAAAAA!)
2008-04-20 17:27:01 +00:00
4071fbeee0 * Fixed some column sizes according to Antville.org's needs
* Fixed syntax error
 * Added delete statements for AV_TEXT and AV_IMAGE to reduce size of database for testing purposes
2008-04-19 20:06:28 +00:00
2e6cd1d522 Modified conversion code for AV_IMAGE and AV_TEXT still trying to gain more speed: now new tables are created and the records are copied from the old table 2008-04-18 23:05:11 +00:00
fad6d218a9 * Merged alter statements going over multiple lines into one single statement (should be faster)
* Trying out new way to drop the index keys from AV_TEXT by creating the content table with its index keys from scratch and copying data from AV_TEXT
 * Fixed bug in error handling preventing output and termination
2008-04-18 17:03:29 +00:00
d5199708a4 Added global clean() method: "I'm in ur string zapping all teh gremlinz!" 2008-04-18 13:39:44 +00:00
5de56bbaca Check skin source name before trimming 2008-04-18 13:10:05 +00:00
b9e3311486 * Moved locks on tag and tag_hub tables to corresponding SQL scripts
* Renamed write() method to msg()
2008-04-18 12:35:21 +00:00
a7b9e0b668 * Trying different arrangement of SQL statements to gain speed
* Fixed typo
2008-04-18 12:06:39 +00:00
ba68c4acf3 * Added table locks
* Rearranged order of statements to (hopefully) increase speed
2008-04-18 09:47:55 +00:00
95b0ec404b Only call finalize() if init() was called before 2008-04-18 09:46:00 +00:00
134a384ab8 Re-enabled logging of update statements 2008-04-17 20:52:14 +00:00
d27f6fe93d * Modified output: log() pipes to app.log and write() only returns short feedback over the web
* Moved blinking status indicator into separate scheduler
2008-04-17 20:35:56 +00:00
0a695bf6a0 Fixed updater to reliably output more meaningful information as well as to correctly exit on failures and when finished 2008-04-17 16:14:18 +00:00
e337cf0569 Fixed log and debug output 2008-04-17 13:51:11 +00:00
712febb8dd * Decreased size of log to requests of the current date
* Fixed conversion of AV_SYSLOG: needs auto_increment in log
2008-04-17 07:10:56 +00:00
4529ef27b2 * Removed trailing slash in archive URLs as there is one too many sometimes (now it's one too little sometimes again) 2008-04-17 06:37:21 +00:00
00c032db2d Fixed b/w compatibility for HopObject.skin_macro 2008-04-17 06:30:03 +00:00
5264ec3987 * Added call for trim() before writing a skin source to file
* Added SQL to remove obsolete indexes and add new ones
  * Finally enabled conversion of AV_ACCESSLOG table (still not finished, though)
  * Cleaned up SQL code
2008-04-16 23:14:38 +00:00
9b4a5bc10e * Updated DB mappings of File/Files getting closer to the one of Image/Images
* Disabled ip address property in LogEntry (will be removed in the long run)
 * Removed custom property from Skin (still needs some care)
 * Removed commented code
2008-04-16 23:11:47 +00:00
29ca787190 * Added RSS output for tagged stories
* Fixe paging of tagged items
 * Fixed permissions of Archive when archive mode is "closed"
 * Fixed global breadcrumbs_macro for Root
 * Fixed default value for pageSize in site preferences to reset to the stored value if available
 * Reactivated Skins.safe_action
 * Removed debugging code
2008-04-16 18:03:41 +00:00
06eed430a8 * Refactored Archive due to buggy behaviour of the calendar and general inconsistent code
* Disabled tagging of layout images
 * Disabled "days" page mode (ie. switched to counting stories only)
 * Moved Site.href skin to Site#href (subskin)
 * Fixed minor issues
 * Edited text and messages
2008-04-16 16:42:40 +00:00
d18a5b95fc * Added extra HopObject.skin_macro rendering subskins by default
* Renamed Skin.restore_action to reset_action
 * Trimmed skin sources before writing them to file
 * Slightly improved skin handling code
 * Removed obsolete code
2008-04-15 22:02:29 +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
40aec129b8 Adapted modifications in Image to File prototype to achieve similar behaviour (probably Image will be an extent of File, one happy, fine day...) 2008-04-15 15:55:52 +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
578fcfc03a * Replaced relic of setContent() with setMetadata() in Comment.js
* Added $Global.skin as first attempt to move certain skins in a namespace protected from customization
 * Very much improved image editor interface
 * Thoroughly fixed and tested image upload, fetching, thumbnail generation and replacement
2008-04-15 15:01:20 +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
f1feaea3a1 Added fix for HopObject's aspects not being applied after startup (strange, indeed) 2008-04-14 16:44:18 +00:00
63b308a3ef * Excluded content of Message.skins et al. from copying to site layouts
* Added final "OK, good" message to update log
 * Removed obsolete SQL statements
2008-04-14 16:43:36 +00:00
22a1d1a458 Extra setting (var)char columns to UTF-8 is not necessary when converting a whole table's character set 2008-04-13 15:04:29 +00:00
80cff664ef Trying to fix some encoding issues by converting tables/columns to UTF-8 2008-04-13 15:01:10 +00:00
fde500c6dd Second try to fix doubled #values subskin 2008-04-13 12:20:30 +00:00
d34534d210 * Hopefully fixed bug causing #values subskin to appear twice (once empty)
* Added support for staticPath from antville's app.properties
2008-04-13 12:12:26 +00:00
98fbd6158b * Edited messages
* Removed obsolete lines from app.properties
 * Re-enabled setting of res.skinpath in HopObject.onRequest
 * Fixed images collection in Tag prototype
2008-04-12 18:55:08 +00:00
7ce90c739e Load jQuery directly from google.com for now 2008-04-12 18:39:34 +00:00
f1e89009d5 * Renamed sql.skin to convert.skin
* Renamed Updater.js to convert.js
 * Added verification of version number and running state
2008-04-12 18:06:42 +00:00
dd5a0de1ba Refactored the updater back to a stand-alone app 2008-04-12 17:31:20 +00:00
efab46c806 Removed Updater prototype due to refactoring the updater to a stand-alone app 2008-04-12 15:12:57 +00:00