1138c189b4
Fixed escaped newlines
2008-05-15 15:20:32 +00:00
462b12f3a8
Replaced Root.referrers collection with call for persist() in Root.commitReferrers()
2008-05-15 15:15:08 +00:00
46b50db3d4
Added maxSize to Root.referrers property to prevent Helma from loading the whole collection every time it changes (pls. note the FIXME for an alternative solution)
2008-05-15 14:27:01 +00:00
b2cf3ece2d
Fixed SQL statement in Root.purgeReferrers()
2008-05-15 13:59:53 +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
1aa5e7f25e
* Rounded up LogEntry
...
* Slightly modified #referrer and #referrers skins of Site and Story
2008-05-15 13:02:50 +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
994436a4a4
Fixed bug causing exception in Layout.export_action() due to recent addition of Root.skin
2008-05-14 15:30:29 +00:00
caefca42a6
Added title for status table
2008-05-14 14:02:28 +00:00
c4378138c7
* Added Root.skin
...
* Modified Skin.getPrototypeOptions() to only include root skins for the root site
* Include Root#status skin from within $Root#health skin
2008-05-14 13:48:28 +00:00
55355e11f9
Removed Site#health skin again because it of course shows up in every site layout
2008-05-14 13:38:41 +00:00
3aa906b59a
Added inclusion of custom Site#health skin from within $Root#health skin
2008-05-14 13:37:05 +00:00
2b487984cd
Added inclusion of custom Site#health skin from within $Root#health skin
2008-05-14 13:36:50 +00:00
e2d02fb5ab
* Added further Number formatting to health display
...
* Added the site's locale to call of Number.format() in global formatNumber() method
2008-05-14 13:30:28 +00:00
eb66ac9ccf
Added formatNumber() calls wherever useful
2008-05-14 13:16:12 +00:00
17a116d98f
* Added fix to prevent exception on start in Root.health_action()
...
* Fixed NaN errors in Root.updateHealth()
2008-05-14 12:54:44 +00:00
7f5efd44fd
Improved counting requests and errors of the last 5 min in Root.updateHealth()
2008-05-14 12:42:31 +00:00
096f7ef572
Added health viewer (aka status) to Root prototype
2008-05-14 12:25:15 +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
5fc69bd305
Exclude closed stories from the Tag.stories collection
2008-05-14 09:31:32 +00:00
59a8546b91
Fixed permission for tags to depend on a site's status
2008-05-14 09:11:04 +00:00
33e1680969
Fixed URL for closed polls in global poll_macro()
2008-05-13 15:23:54 +00:00
e8c6ca163c
Added option to escape URL from being linked automatically by prefixing it with a exclamation mark: ! http://antville.org
2008-05-13 14:48:54 +00:00
9923a0e0e7
Added ugly work-around for Helma bug #625
2008-05-13 14:13:51 +00:00
62b00107d5
Fixed order of filter methods applied by default in Story.format_filter()
2008-05-13 12:28:53 +00:00
d632daea69
Added generic permission for Skin.main_action()
2008-05-13 12:13:00 +00:00
b5821d97d1
Fixed call for renamed method User.popLocation()
2008-05-13 12:09:39 +00:00
b3ffe1acb6
Enabled viewing of skin sources of root site (other sites will probably follow)
2008-05-13 12:06:28 +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
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