Commit graph

3166 commits

Author SHA1 Message Date
8d97041dae Switched to lowercase "blogger" namespace 2008-05-05 00:35:28 +00:00
4a8b6ccb4f Re-implemented Blogger API according to new application logic and using new-style Helma XML-RPC scheme 2008-05-05 00:30:17 +00:00
567d681ae1 * Removed obsolete settings from app.properties (mostly XML-RPC related)
* Added Membership.toString() method for human-readable output
 * Assigned Membership.valueOf() method original toString() method
 * Fixed output of site list in userland
 * Added mountpoint for Api prototype in Root
 * Added trimming for Story text and title input
2008-05-05 00:27:43 +00:00
11fdd18af9 For now, do not create tables with or convert them to UTF-8 encoding / collation (there seems to be too much trouble ahead with MySQL 4.1) 2008-05-04 16:33:50 +00:00
4805dfc44f * Added check for undefined description in File conversion
* Fixed column name used for image description
 * Set creator and creation date of image layouts to site creator and creation date, resp.
 * Fixed SQL statement for Elise's version 4 server (hopefully there is not more like this to come...)
2008-05-04 14:32:13 +00:00
54961af438 * Re-enabled conversion of fileName for AV_FILE table
* Fixed conversion of Story mode and status 
 * Removed quote() call in execute() calls since quoting is done in the value() method already
 * Removed obsolete code for tag conversion
2008-05-02 22:04:47 +00:00
0f31e93722 Fixed skin name 2008-05-02 21:48:06 +00:00
bb6d35f7c9 * Removed compatibilty for file names since File/Image.fileName is a fully supported property again
* Updated methods by assignin and applying their successor methods
 * Removed a lot of obsolete code
 * Removed obsolete ImageMgr prototype
 * Cleaned up code
2008-05-02 21:47:11 +00:00
8c6b5cae6d 2008-05-02 21:36:43 +00:00
ab57de955f * Added static Skin.getByName() method
* Modified Skins.getSkin() method to make use of Skin.getByName()
 * Re-enabled controls in Tag#main skin
 * Cleaned up and reorganized code
 * Added some remarks to explain the most illicit code
 * Removed a lot of obsolete code
2008-05-02 21:33:40 +00:00
fdc60acd69 Added < and > to set of filtered characters in File.getName() 2008-05-02 18:14:02 +00:00
62dae28c06 * Re-implemented alphanumeric (and even more) names for files and images; hopefully, catching all the troublesome characters which put at risk correctly writing to and reading from disk as well as accessing by URL
* Added File.getName() method removing any characters troubling the file system or the web server
 * Slightly modified global quote() method to wrap a string in double quotes (") if it contains any non-word or non-digit character
 * Set Story.name to empty string by default (until we do something with it :)
2008-05-02 18:06:05 +00:00
a4a4d8a956 * Fixed faulty conversion of layout images for inactive layouts with a hilarious select statemtent (fingers crossed!)
* Removed obsolete code
2008-05-02 13:45:55 +00:00
ecc7e81624 Applied similar optimization for AV_IMAGE table as was done for AV_TEXT 2008-05-02 00:27:18 +00:00
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