Commit graph

145 commits

Author SHA1 Message Date
260f6966af Added display of search box if query is unddefined or no results are found 2008-09-29 10:18:00 +00:00
d7d716fa95 * Updated text of $Admin#welcome skin (sites cannot be made the front page so easily, anymore)
* Added setup routine to Root.main_action() which is executed when there is an unconfigured root site or no privileged user (admin)
 * Modified $Image#edit skin: check for Image.fileName property insteaed of "created" when deciding whether to show the name and dimension input fields
 * Added missing res.data.title to $Members#register skin
 * Removed app.log() calls when catching login or registration exceptions
 * Added empty User.onLogout() method to get rid of some "errors" in the log file
 * Removed obsolete code
2008-09-21 17:44:18 +00:00
e60b658c82 Fixed tiny bug in Site.processHref() method: getProperty() is a global method, not one of Application. 2008-06-29 12:51:29 +00:00
24729da01a Retrieve sites from Root's default collection in Site.getByName() method 2008-06-18 20:19:52 +00:00
b4c6ad38f8 Fixed and cleaned up admin section 2008-06-15 20:28:25 +00:00
6168f14b74 Added work-arounds for "story" handlers in comment skins to gain future compatibility with Helma versions having the "get-handler-from-path resolver" disabled 2008-06-15 18:18:41 +00:00
065828abf5 Fixed implemenation of backup/restore feature for stories and comments 2008-06-12 15:33:11 +00:00
4c4e26e5e8 * Renamed Site.queueCallback() method to Site.callback()
* Added output of queued requests and referrers to Root.health_action()
 * Fixed POST arguments in Root.invokeCallbacks() method
2008-06-12 14:41:30 +00:00
b0b126a992 * Replaced all occurrences of "webHook" with "callback"
* Dropped obsolete Site.webHookCalled property
 * Renamed Site.hitchWebHook() method to Site.queueCallback()
 * Renamed default callback method Root.default_hook_action() to Api.callback_action()
 * Implemented callback queue in favor of immediate invocation
 * Added basic documentation about callbacks
2008-06-12 14:02:42 +00:00
b16150561e Removed obsolete site.email property 2008-06-05 09:13:51 +00:00
1b79b262b9 Removed restriction for unprivileged users to execute Site.referrers_macro() method 2008-06-04 12:15:40 +00:00
c63789a82a * Added label for includeSpam input element in $Site#referrers skin
* Enabled Site.search_action() for GET requests
2008-05-15 16:56:19 +00:00
59e8c53efe Enabled search for content managers, referrers for site owners 2008-05-15 16:19:50 +00:00
58a2608e90 Enabled search again for privileged users for now 2008-05-15 16:00:14 +00:00
92c4089df7 * Fixed bug in Root.commitReferrers causing method to abort after first item without referrer
* Reverted to GET method in Site.referrers_macro() because otherwise the display of filtered spam won't work (Antville.Query cannot handle POST requests)
2008-05-15 13:47:58 +00:00
fbaf65052e Added check for amount of requests and available referrer in Site.referrer_macro() 2008-05-15 13:14:24 +00:00
af8b05d1bd * Added HopObject.log() method currently caching referrers of story and site requests
* Modified LogEntry to fit into the new logging mechanics
 * Added commitRequests(), commitReferrers() and purgeReferrers() to Root prototype
 * Added referrers collection to Root
 * Re-added Site.spamfilter property for now
 * Refactored Site.referrers_macro() and Story.referrers_macro() (formerly backlinks_macro, but compatibility is granted)
 * Removed obsolete method Stories.flushRequests()
 * Reactivated referrers (thus, including backlinks) for privileged users for testing purposes
 * Added global nightly() method which is called from a new cronjob at 5 am
 * Added calls for referrer purge and commit methods in Root to scheduler
 * Added Story.count() method to increment the request counter; overwrites Helma's built-in HopObject method but it's anyway redundant with HopObject.size()
 * Added utility methods for database access in Sql.js
2008-05-15 12:58:26 +00:00
ae694946fa * Added status code and full path to Root.notfound_action()
* Added status code to Root.error_action()
 * Moved notfound.skin and error.skin as subskins into $Root.skin
 * Removed obsolete <script>-Element from Site#page skin
2008-05-14 11:11:56 +00:00
e30fff7cce * Added Tag.skin to enable customizing
* Re-added missing permission for privileged users in Site.getPermission()
 * Removed obsolete help.js from Global prototype
2008-05-13 08:29:22 +00:00
1112dc1395 * Grant full site access to privileged users
* Removed obsolete code
2008-05-12 18:08:18 +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
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
af9fad7153 Allowed error and notfound action in Site.getPermission() method 2008-05-08 15:30:05 +00:00
32ac6bd972 Added message about disabled search 2008-05-08 00:37:28 +00:00
3925716087 Added short note about disabled backlinks and referrers 2008-05-08 00:32:01 +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
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
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
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
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
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
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
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
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
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
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
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
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
47801bbfa3 * Renamed list_macro to stories_macro in Archive and Site (still undecided with the naming, obviously)
* Commented out redundant rendering of layout values
 * Added static Layout.VALUES array
 * Commented out READONLY mode of comments for now
 * Fixed custom content handling in Story (however, content_macro still needs to be fixed!)
 * Fixed rendering of date header by correcting references to Story#date skin
 * Added aspects for b/w compatible story editing
 * Cleaned up aspects
 * Fixed deprecated Story macros for b/w compatibility
 * Added missing entries to translation table of updated app
2008-03-04 17:01:31 +00:00
0ba8805d02 * Fixed skin names according to issue #16
* Fixed rendering of values stored in res.meta.values
 * Removed obsolete code (mostly disabled by comments already)
2008-01-19 17:36:33 +00:00
77255296dc * Replaced most remaining occurrences of getMessage() method calls with adequate gettext() method calls
* Removed obsolete Root.getSiteList() method
 * Moved searchview.skin as #result subskin into Story.skin
 * Fixed alignment of calendar month
2008-01-13 16:44:09 +00:00