Commit graph

3702 commits

Author SHA1 Message Date
f73973fabb Fixed skin names for previews 2008-05-09 18:42:22 +00:00
af047f0ec0 Fixed permission for open sites 2008-05-09 17:36:46 +00:00
02f402814d Fixed link to user's personal url when displaying the status of an authenticated user 2008-05-09 09:31:09 +00:00
1d1e350a7b Fixed display of role-based navigation skins for open sites 2008-05-09 08:51:40 +00:00
3bdb117022 Permit (redirection of) Site.mostread_action() 2008-05-09 07:58:47 +00:00
3e32e976db Fixed generic permission model to redirect to login page if anonymous user was not granted access 2008-05-08 17:05:51 +00:00
b3a85c5998 Fixed bug in global image_macro() introduced with latest commit preventing some *other* images from being displayed 2008-05-08 16:15:22 +00:00
550cfc6259 Fixed access names for Images.Default "pseudo" collection 2008-05-08 16:05:03 +00:00
1a6f375d7d Fixed Site.history_macro() to better behave as before 2008-05-08 16:03:32 +00:00
af9fad7153 Allowed error and notfound action in Site.getPermission() method 2008-05-08 15:30:05 +00:00
3b75637528 Added aspects.fixPager() method as aspect for the main_action() methods in Site and Archive 2008-05-08 15:28:10 +00:00
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