Commit graph

3166 commits

Author SHA1 Message Date
67aed15298 Fixed compatibility bug causing display of creation date in lastupdate_macro 2008-04-27 08:58:42 +00:00
60d334c6fe * Renamed Site.lastUpdate to Site.configured
* Renamed Site.webHookLastUpdate to Site.webHookCalled
 * Renamed Site.offlineSince to Site.closed
2008-04-27 08:57:41 +00:00
b69b3e3cd8 * Convert / create tables using utf8_bin collation
* Fixed conversion of inherited layout images
2008-04-23 21:37:27 +00:00
10ca4fd981 * Prevent XMLHTTP request for user's salt from being cached in the browser
* Added warning when a site sends passwords in clear text
 * Fixed really ugly bug preventing IE(7?) from setting the charset encoding to UTF-8; the hyphen is necessary, UTF8 won't work!
2008-04-23 21:36:43 +00:00
84fc7f073a Temporarily fixed bug in IE7 preventing login: Due to yet unexplicable circumstances a parsererror occurs when the user's salt is retrieved. As the password field was already cleared at that point the server received neither a digest nor a password. The current work-around is to clear the password not before the success method is called. 2008-04-23 17:08:24 +00:00
e858699e52 Fixed bug in Images.getPermission aspect 2008-04-23 15:48:21 +00:00
0296ff4a88 * Fixed skin name of poll editor
* Fixed condition for setting the site modification date on comment update (hopefully this is correct...)
 * Replace site.lastUpdate with site.modified (still needs some more care - what do we do with lastUpdate anyway?)
2008-04-23 08:38:59 +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
c8abc26308 * Added Root.VERSION constant overwriting the one from the main application
* Removed obsolete Layouts prototype
2008-04-22 15:00:00 +00:00
91def0b843 * For now only import layouts with exact the same version strings
* Fixed password reset feature: before any other action is taken a confirmation e-mail will be sent
2008-04-22 14:57:18 +00:00
4a59353b6f Fixed bug introduced in latest commit producing a directory named after the file name 2008-04-22 13:13:37 +00:00
3c55710d08 Fixed bug caused by non-existing directory for default layout 2008-04-22 13:09:11 +00:00
ce6f218951 * Added conversion for inherited layout images (almost forgotten!)
* Added output of (log) messages showing durations of retrievals and updates
2008-04-22 12:58:39 +00:00
fb6d130603 Enabled SQL statements for removing legacy data 2008-04-21 20:49:30 +00:00
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