Commit graph

2862 commits

Author SHA1 Message Date
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
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
60d334c6fe * Renamed Site.lastUpdate to Site.configured
* Renamed Site.webHookLastUpdate to Site.webHookCalled
 * Renamed Site.offlineSince to Site.closed
2008-04-27 08:57:41 +00:00
10ca4fd981 * Prevent XMLHTTP request for user's salt from being cached in the browser
* Added warning when a site sends passwords in clear text
 * Fixed really ugly bug preventing IE(7?) from setting the charset encoding to UTF-8; the hyphen is necessary, UTF8 won't work!
2008-04-23 21:36:43 +00:00
84fc7f073a Temporarily fixed bug in IE7 preventing login: Due to yet unexplicable circumstances a parsererror occurs when the user's salt is retrieved. As the password field was already cleared at that point the server received neither a digest nor a password. The current work-around is to clear the password not before the success method is called. 2008-04-23 17:08:24 +00:00
0296ff4a88 * Fixed skin name of poll editor
* Fixed condition for setting the site modification date on comment update (hopefully this is correct...)
 * Replace site.lastUpdate with site.modified (still needs some more care - what do we do with lastUpdate anyway?)
2008-04-23 08:38:59 +00:00
b006cbdf0b * Fixed formatDate() method
* Extended HopObject.modified_macro to return the date object if no format pattern can be applied (good?)
2008-04-22 15:20:10 +00:00
91def0b843 * For now only import layouts with exact the same version strings
* Fixed password reset feature: before any other action is taken a confirmation e-mail will be sent
2008-04-22 14:57:18 +00:00
239af7195b * Fixed list_macro (but still list rendering is really inconsistent throughout the whole application!)
* Fixed various b/w compatibility issues found in some sites
 * Fixed pager action in Images
 * Added confirmation dialog before resetting a layout
 * Added collection containing updated sites in reverse chronological order
 * Modified site listing (still work in progress)
 * Save site name as title if no title is entered
 * Removed some res.debug() calls
2008-04-21 20:46:29 +00:00
0d84e21291 Removed trailing semicolons after closing curly brackets for good (hopefully :) 2008-04-21 13:57:01 +00:00
124e6f4257 * Added protected skin files (currently prefixed with "$") that cannot be customized or overwritten by the user
* Removed obsolete skin files (ie. content moved to the protected skin file)
 * Moved contents of Messages.skins to their protected siblings
 * Prefixed notification skins (used in e-mails) with "notify_"
 * Fixed and simplified a whole bunch of issues in compatibility layer
2008-04-21 13:35:50 +00:00
7ba80fb9b9 * Removed gettext() call in global renderLink() method
* Fixed bug in Layout.image_macro() preventing the URL from being written
 * Wrapped output of Site.getStaticUrl in encodeURI() call
 * Removed test macro in Site.skin (AAAAAAAAAAAAAAA!)
2008-04-20 17:27:01 +00:00
4529ef27b2 * Removed trailing slash in archive URLs as there is one too many sometimes (now it's one too little sometimes again) 2008-04-17 06:37:21 +00:00
9b4a5bc10e * Updated DB mappings of File/Files getting closer to the one of Image/Images
* Disabled ip address property in LogEntry (will be removed in the long run)
 * Removed custom property from Skin (still needs some care)
 * Removed commented code
2008-04-16 23:11:47 +00:00
29ca787190 * Added RSS output for tagged stories
* Fixe paging of tagged items
 * Fixed permissions of Archive when archive mode is "closed"
 * Fixed global breadcrumbs_macro for Root
 * Fixed default value for pageSize in site preferences to reset to the stored value if available
 * Reactivated Skins.safe_action
 * Removed debugging code
2008-04-16 18:03:41 +00:00
06eed430a8 * Refactored Archive due to buggy behaviour of the calendar and general inconsistent code
* Disabled tagging of layout images
 * Disabled "days" page mode (ie. switched to counting stories only)
 * Moved Site.href skin to Site#href (subskin)
 * Fixed minor issues
 * Edited text and messages
2008-04-16 16:42:40 +00:00
d18a5b95fc * Added extra HopObject.skin_macro rendering subskins by default
* Renamed Skin.restore_action to reset_action
 * Trimmed skin sources before writing them to file
 * Slightly improved skin handling code
 * Removed obsolete code
2008-04-15 22:02:29 +00:00
a10cf6bcc9 * Relocated setting of a site's file to create() method in the Files prototype
* Refactored Poll and Polls prototypes (still not really happy)
 * Fixed sorting of sites in Root.updates_xml_action()
 * Allowed access to debug_action in Root
2008-04-15 21:16:21 +00:00
40aec129b8 Adapted modifications in Image to File prototype to achieve similar behaviour (probably Image will be an extent of File, one happy, fine day...) 2008-04-15 15:55:52 +00:00