Commit graph

2901 commits

Author SHA1 Message Date
ee01a29997 Fixed broken image in Image#edit skin when creating a new image 2008-05-12 17:45:19 +00:00
d44e34dd1d * Renamed User.pushLocation() method to User.setLocation() and User.popLocation() to User.getLocation()
* Modified location setting and getting to achieve adequate redirection after logging in, unsubscribing etc.
 * Removed obsolete code
2008-05-12 17:37:17 +00:00
e2a849b2cc * Simplified User.pushLocation() and User.popLocation() methods
* Added location pushing / popping to Members.login_action() method
2008-05-12 16:12:03 +00:00
f2aa28ead2 Increased maximum of items in global list_macro() and Site.history_macro() to 50 2008-05-12 15:46:36 +00:00
781b050cc7 Removed debug messages 2008-05-12 15:39:26 +00:00
4522c3b308 Re-imported the regular expression for URLs from AntvilleLib's String.activateURLs() method 2008-05-12 15:35:38 +00:00
7ce924ead0 * Fixed res.handlers.membership when sending notifications
* Removed obsolete code
2008-05-12 15:06:20 +00:00
bbf33a214b Fixed tiny bug to prevent returning "undefined" values 2008-05-12 14:18:50 +00:00
86145cd8f7 * Added short text to Members.add_action()
* Changed order of roles in $Members.main skin
 * Removed obsolete addRepository() calls in Global.js
2008-05-12 14:04:33 +00:00
78fb0eddfa Reverted back to format() call in Story.format_filter (otherwise HTML structures in stories/comments will be compromised) 2008-05-12 13:05:18 +00:00
316da71c36 * Added check whether parent comment/story should be displayed and removed redundant <a> anchor in Comment#edit skin
* Added comment.comments macro to Comment#comment skin
2008-05-12 12:51:39 +00:00
b969251923 Fixed redirect to newly created comments 2008-05-12 12:43:58 +00:00
6994642a0a Reverted change to discrete instead of anchored URL in Comment prototype; the side effect of having to reload the page e.g. with each click on a comment link in the history is not bearable. 2008-05-12 12:10:11 +00:00
c02f667a55 Fixed missing linebreaks in Story.format_filter() method to compensate previously removed call for global format() method 2008-05-12 11:46:28 +00:00
aed81e62b1 * Fixed permissions for authenticated users to create images, files and polls in open sites
* Fixed name of list item skin in Poll prototype
 * Fixed fallback to _id property in HopObject.macro_macro() method
 * Fixed bug in Membership.getPermission() method causing a subscriber getting the "Owner is not allowed to unsubscribe" error message when trying to unsubscribe from a site
 * Removed relics of tests with ColourMod jQuery plugin in Site#page skin
2008-05-12 11:33:53 +00:00
1f4c87e4d1 * Removed final format() call in Story.link_filter(); if we are lucky we do not need any HTML entities anymore anyway thanks to UTF-8
* Removed obsolete code
2008-05-12 10:50:06 +00:00
aa8bcaec6c Modified name of default skin ("embed" instead of "main") used in global story_macro() 2008-05-12 10:26:01 +00:00
05f475c3df Also set comment mode to default if user input is missing 2008-05-10 11:26:10 +00:00
c0534cfbb4 Set status and mode of a story to default values in case of no user input 2008-05-10 11:23:30 +00:00
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