Commit graph

3182 commits

Author SHA1 Message Date
6b00ab1fc7 * Fixed bug that caused exception and database mess when trying to rename a tag to the same name
* Additionally, added checks to avoid inaccessible tag names
2008-05-10 10:33:17 +00:00
85137389c5 * Fixed bug causing immediate or minor story and comment updates to wrongly set the modification dates
* Added casting and trimming to File.getName() method
 * Fixed permissions in Membership
2008-05-10 09:08:55 +00:00
dc1b3a071e Added some space before site list in User#sites skin 2008-05-09 21:29:11 +00:00
edf51f4519 Fixed site collection in Site.updates_xml_action() 2008-05-09 20:50:45 +00:00
3fd3a65fd9 Modify occurrences of subskin syntax in skins to a skin comment to prevent surprising effects 2008-05-09 20:02:31 +00:00
a3ec837524 Fixed global quote() method 2008-05-09 19:04:18 +00:00
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
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
af9fad7153 Allowed error and notfound action in Site.getPermission() method 2008-05-08 15:30:05 +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
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
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
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
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
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
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
22edd8eb31 Fixed list_macro() for "postings" 2008-04-29 14:36:25 +00:00
8f2ed371db Added content type to Site.user_js_action() 2008-04-29 10:58:02 +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
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
2211c6a662 Fixed name of collection containing stories and comments in global list_macro() 2008-04-28 09:02:34 +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