Commit graph

4691 commits

Author SHA1 Message Date
f5eb1bb76f Fixed URL in redirect of Site.rss_action() method 2008-05-08 13:28:35 +00:00
1328bbac93 Fixed skin for list of updated sites in Members prototype 2008-05-08 13:27:44 +00:00
32ac6bd972 Added message about disabled search 2008-05-08 00:37:28 +00:00
50f052a305 Removed message about disabled backlinks; it's too invasive. 2008-05-08 00:36:06 +00:00
1d64a05217 Added support_macro() but left it empty since ASOC’07 is now officially over 2008-05-08 00:32:35 +00:00
3925716087 Added short note about disabled backlinks and referrers 2008-05-08 00:32:01 +00:00
229cdae10c format() is more suitable than encode()... 2008-05-07 23:43:42 +00:00
4cb2e3cb61 Added call for encode() as default in Story.format_filter() method 2008-05-07 23:42:10 +00:00
2387aa90a1 Changed necessary user role for accessing a restricted site back to contributor to avoid sudden exposure of restricted content to subscribers 2008-05-07 16:06:34 +00:00
3d5af261d2 Solved the Gordic Layout Images Query (GILQ); at least for Antville.org :) 2008-05-07 15:19:12 +00:00
ffd3ab0196 Removed or disabled creation of index keys which are either redundant (e.g. due to a compound index) or inefficient (due to segmentation ratio less than ~20%) 2008-05-07 14:05:10 +00:00
5d02e4fcca Removed redundant semicolon 2008-05-07 10:05:17 +00:00
761efff044 Switched to new method for converting big tables: instead of deleting records from the source table a "colum < $min and colum >= $max ... order by column" where clause is added and $min and $max are automatically replaced with appropriate numbers by the traverse() method 2008-05-07 09:01:18 +00:00
38bbdac260 Added check for contents of text and title data before applying trim() in Story.update() method 2008-05-07 08:05:52 +00:00
c6877c485a * Extended traverse() method to accept a third argument specifying the column which can be used in a "[column] > x and [column] < y" where clause to gain speed
* Added potential fix for upgrading the calendar layout
 * Disabled fix for that strange image record causing duplicate key errors when trying to set AV_IMAGE to auto_increment (not necessary anymore because the whole table contents are copied to a new table now)
 * Removed commented, obsolete code
2008-05-07 08:04:22 +00:00
61bec959cc Removed second argument from traverse() call in convert.layoutImages() since we do not remove the converted images from the old database anymore 2008-05-06 21:54:06 +00:00
9cdb41fad9 * Fixed really stupid bug causing root layout images to disappear from the database just right after it has been copied to one site layout. (5€ fine into the pillock cash box!)
* Fixed column name for site id of a root layout image
2008-05-06 21:44:21 +00:00
c3d1e3cf3a Fixed stupid type 2008-05-06 10:26:49 +00:00
e79e9ad840 Also allow privileged users to see the deprecated role-based navigation 2008-05-06 10:26:20 +00:00
5abaab46e9 Added missing check for permissions before displaying the deprecated role-based navigation skins 2008-05-06 10:22:43 +00:00
eaccff79a9 Unified thumbnail_macro() and render_macro() of Image prototype 2008-05-06 09:19:05 +00:00
126a1dd5c2 Re-added support for popup images in global image_macro(). In fact, this belongs to the compatibility layer, but unfortunately this would mean to clone the image_macro completely :/ 2008-05-06 09:17:04 +00:00
9889e87954 * Fixed potential bug caused by null or undefined values when calling String.md5() method with user salt and password
* Fixed name of notification-on-addition skin in Membership
2008-05-05 10:20:59 +00:00
c1ed44d7c1 Fixed some minor bugs in Blogger API 2008-05-05 10:07:22 +00:00
4d1dc16e34 Fixed URL in Story.commentcounter_macro 2008-05-05 09:43:20 +00:00
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