Commit graph

3702 commits

Author SHA1 Message Date
2bbb9661c0 Refactored the conversion of the AV_TEXT table to decrease the time consumed by the whole update:
* Each record gets read from AV_TEXT, converted and directly inserted into the newly created content table
 * Each converted record is immediately deleted from AV_TEXT (hopefully, the select statements get even faster the less records are stored in AV_TEXT)
 * tag_hub is updated, too, during the conversion
 * Improved execute() method to allow simple variable substitution
 * Added values() method for easy conversion of JavaScript values to MySQL compatible syntax
 * Added "noOffset" argument to traverse() method to allow switching off the automatically generated "offset ..." MySQL statement
2008-05-01 21:01:18 +00:00
6e1ed8ab1f * Moved pager skin elements in protected skin
* Added grant for viewing an image in Images prototype (for now...)
 * Added temporary work-around for preventing comments of missing stories (due to shrunken database) from throwing an exception
 * Added two more links with short explanation to basic skin page
2008-04-30 14:08:03 +00:00
e0de7701d2 Fixed bug preventing images of the parent layout to be merged into inactive layouts 2008-04-30 12:33:23 +00:00
24290006d5 Trying another fix for constantly getting exceptions when moving/copying files around in antville.org setup 2008-04-30 12:17:04 +00:00
2498e5c396 Still fiddling with exceptions when updating antville.org :( 2008-04-30 11:36:46 +00:00
073b419b14 Added checks to prevent unnecessary exceptions 2008-04-30 11:14:54 +00:00
7d1e5a12a5 * Fixed method name for root conversion
* Modified conversion of root layout skins (not enabled, yet)
2008-04-29 15:06:43 +00:00
22edd8eb31 Fixed list_macro() for "postings" 2008-04-29 14:36:25 +00:00
dc72b7d258 Added convert.root() method to convert the site with the rootId defined in app.properties 2008-04-29 14:16:37 +00:00
683a497f34 Fixed conversion of layout images:
* Correctly copy all layout image properties from AV_IMAGE to new image table
 * Exclude any parent layout's image which was replaced by the user (ie. has the same name as a layout image in the current layout)
 * Correctly copy thumbnails from parent layout to current layout
2008-04-29 13:22:13 +00:00
8f2ed371db Added content type to Site.user_js_action() 2008-04-29 10:58:02 +00:00
b07be82bf1 * Fixed bug causing removal of id attribute in layout image elements
* Fixed name of default collection in Site.history_macro()
2008-04-29 10:57:33 +00:00
15f9f21396 Improved script inclusion by adding Site.user_js_action() which is called from within Site.main_js_action(); this prevents user code in the Site#javascript skin from failing due to yet undefined library code (jQuery) 2008-04-29 10:47:44 +00:00
5d37d06a81 Fixed bug causing comments of closed stories (as well as stories or sites with comments disabled) to be displayed when calling global list_macro() 2008-04-29 10:25:10 +00:00
b521110020 (Hopefully) fixed ugly hidden bug that prevented some sites from getting a full layout 2008-04-28 12:20:35 +00:00
a920e6fb39 * Fixed stupid bugs in image uploader introduced lately
* Wrapped zipping of layout images in try/catch block to prevent exceptions when there is no thumbnail image
 * Introduced a more elegant way to include necessary script files (jQuery et al.) in Site.main_js_action()
 * Slightly modified jQuery "onload" calls
2008-04-28 12:19:20 +00:00
3d7172c89c * Added SQL code to set the default site's name to "www" to make sure the necessary static files will be found
* Updated code according to changes in main application
2008-04-28 10:19:18 +00:00
6e8d22b3dd Removed obsolete default static files 2008-04-28 10:07:44 +00:00
3ca69384d2 * Upgraded jQuery to version 1.2.3
* Removed obsolete default static files
2008-04-28 10:04:00 +00:00
2211c6a662 Fixed name of collection containing stories and comments in global list_macro() 2008-04-28 09:02:34 +00:00
3f496439a2 Fixed Site.history_macro to display comments only, too 2008-04-28 08:27:53 +00:00
fdc7788253 Fixed bug causing wrong display of preview/next links 2008-04-27 19:51:09 +00:00
513a15371d * Fixed actions in story pager
* Slightly modified wording
2008-04-27 19:40:03 +00:00
f2ebf2a205 Fixed Layout.export_action to only add customizable skins 2008-04-27 19:31:51 +00:00
add03a5410 Added check to prevent unresized image file from being unnecessarily compressed 2008-04-27 16:23:00 +00:00
dcd67540a5 Fixed display of closed and all stories 2008-04-27 15:46:29 +00:00
c934ba3bee * Wrapped layout import into try/catch block
* Added check if a layout package was uploaded
2008-04-27 15:35:49 +00:00
c3be7cecb9 * Fixed skin name of file editor
* Fixed layout import
2008-04-27 15:28:16 +00:00
4ab0d8b221 Fixed bug preventing anyone from downloading a linked file 2008-04-27 14:52:42 +00:00
75ff272950 * Fixed and finalized Layout.reset_action() as well as Layout.remove() and Skin.remove() methods
* Completely render skin outline and drop down menu from application directory
 * Moved remaining skins into protected (ie. non-customizable) skin files
 * Removed obsolete skin files
 * Removed obsolete code
2008-04-27 14:35:35 +00:00
dff39778a6 * Added check if remove() method exists in a prototype's constructor
* Fixed bug that caused exception when calling Layout.reset() due to undefined main skin of a third-party prototype (e.g. Feed)
2008-04-27 10:54:07 +00:00
271e48eaa9 Modified necessary permission for creating stories, files, images and polls to only allow subscribed users 2008-04-27 10:33:11 +00:00
e7d796000c Fixed accidental permutation of arguments in Image.constrain() method 2008-04-27 09:52:05 +00:00
4ec0ca761a Fixed bug preventing members from unsubscribing from a site 2008-04-27 09:21:21 +00:00
b39cb2d1a0 Fixed skin names in global poll_macro to correctly display a poll in a story or skin 2008-04-27 09:15:03 +00:00
943d7ae4dc Fixed bug allowing anonymous users to create stories, files, images and polls as well as call various actions in Members 2008-04-27 09:10:31 +00:00
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