Commit graph

2901 commits

Author SHA1 Message Date
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
b1b97ce864 * Removed extra file name handling for images from compatibility layer (which is very nice!)
* Improved image data conversion in updater to only create thumbnail information if there actually is a thumbnail available
 * Fixed some minor issues introduced with the latest changes
2008-04-15 15:19:42 +00:00
578fcfc03a * Replaced relic of setContent() with setMetadata() in Comment.js
* Added $Global.skin as first attempt to move certain skins in a namespace protected from customization
 * Very much improved image editor interface
 * Thoroughly fixed and tested image upload, fetching, thumbnail generation and replacement
2008-04-15 15:01:20 +00:00
fb299aacba * Fixed quotes in welcome text (Root.skin)
* Fixed RSS output and added extra ones for stories and comments
2008-04-14 16:46:39 +00:00
98fbd6158b * Edited messages
* Removed obsolete lines from app.properties
 * Re-enabled setting of res.skinpath in HopObject.onRequest
 * Fixed images collection in Tag prototype
2008-04-12 18:55:08 +00:00
3a0684640f * Re-added site property to Image for generally being able to group images by site
* Added work-around for Helma bug #607 by calling persist() on creating a story or an image before setting the tags
 * Fixed sequence of clipping/embodying and tag stripping in Story.getTitle()
2008-04-12 12:51:47 +00:00
487e4fc2b6 Fixed display of membership / subscription lists 2008-03-27 15:43:47 +00:00
84492cc922 * Modified HopObject.link_macro() to automatically capitalize the default link text
* Added global i18n.js file containing markgettext() calls
 * Wrapped messages with gettext macros wherever found missing
 * Moved contents of remaining diff skin files to Skin.skin
 * Removed Layouts prototype
 * Removed obsolete files
2008-03-27 15:10:31 +00:00
12556fdc2d * Improved skin editor to finally go into the right direction
* Fixed layout import/export
 * Added Root.VERSION as version reference (currently used in layout import/export)
2008-03-26 12:33:54 +00:00
739de8c972 * Fixed some annoying issues with properties written by Helma's built-in Xml object when exporting / importing layouts
* Show welcome message to privileged users in root site only
2008-03-24 16:09:56 +00:00
e72cf84ce4 * Fixed gettext call in HopObject.delete_action
* Renamed HopObject#delete skin to #confirm
 * Added client-side code for adding layout values
 * Improved skin management (compare aka diff is available again!)
2008-03-21 22:16:54 +00:00
dff9ab34c2 Removed debugging code 2008-03-17 19:47:34 +00:00