Robert Gaggl
|
79b01c0e60
|
modified evalVote() because checkVote() now throws a DenyException itself
|
2003-09-07 21:04:47 +00:00 |
|
Robert Gaggl
|
25757cbf8a
|
modified updateMembership(): throw a DenyException instead of an Exception object
|
2003-09-07 21:03:54 +00:00 |
|
Robert Gaggl
|
f7f81a2512
|
added constructor for DenyException objects
|
2003-09-07 21:03:12 +00:00 |
|
Robert Gaggl
|
2e74e482a3
|
use constant ONEHOUR in renderTimeZoneChooser()
|
2003-09-07 21:02:56 +00:00 |
|
Robert Gaggl
|
570c419ea1
|
rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
|
2003-09-07 21:02:26 +00:00 |
|
Robert Gaggl
|
97829ace68
|
- rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
- added call of checkIfLoggedIn() in case the site is private
|
2003-09-07 21:01:19 +00:00 |
|
Robert Gaggl
|
049d34d8ec
|
- rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
- use constant ONEDAY
|
2003-09-07 21:00:02 +00:00 |
|
Robert Gaggl
|
f1b5583d54
|
- rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
- removed isViewDenied(), use this.site.checkView() instead (since isViewDenied() didn't do anything else)
|
2003-09-07 20:58:38 +00:00 |
|
Robert Gaggl
|
92316e4787
|
modified checkAccess() because permission check methods now throw an exception
|
2003-09-07 20:57:48 +00:00 |
|
Robert Gaggl
|
91c24d6540
|
modified onRequest(): all checkAccess() methods now set res.message themselves (and do a res.redirect if necessary), so just call checkAccess()
|
2003-09-07 20:56:46 +00:00 |
|
Robert Gaggl
|
13847bdea7
|
modified notfound_action(): check if path.site is online, otherwise use the root's page.skin for rendering
|
2003-09-07 20:52:17 +00:00 |
|
Robert Gaggl
|
16891e31c6
|
- modified main_action(): check if user is logged for vote-requests
- fixed a bug in edit_action() that would throw a type-error (dunno why) otherwise
|
2003-09-07 20:51:44 +00:00 |
|
Robert Gaggl
|
d4fdc9c289
|
fixed a bug in login_action: var parent doesn't exist anymore, use _parent instead
|
2003-09-07 20:50:17 +00:00 |
|
Robert Gaggl
|
7a8cd0ede5
|
fixed a bug in sys_minMemberAge_macro that created a bogus dropdown
|
2003-09-07 20:49:20 +00:00 |
|
Hannes Wallnöfer
|
c40865a458
|
Do not set checked to 1 in the parameter for addToFront macro, since this will
result in a checkbox that is always checked. When we get a form submission,
always use the values from the form.
|
2003-09-04 15:13:08 +00:00 |
|
Hannes Wallnöfer
|
9ffa1c5baf
|
Removed AntvilleLib-1.0.zip and adding AntvilleLib-1.3.zip, which is the right name for
the file. Also contains a fix for Html.checkbox() where checkboxes are never checked.
|
2003-09-04 13:41:11 +00:00 |
|
Hannes Wallnöfer
|
93e8b0d3a6
|
Add hours as strings to dropdown array to make them render as "18" rather than "18.0"
|
2003-09-04 13:37:05 +00:00 |
|
Hannes Wallnöfer
|
93d2334431
|
Remove experimental permissions code
|
2003-09-04 09:11:39 +00:00 |
|
Hannes Wallnöfer
|
ed74132c9e
|
Fix logical bug in site access check.
|
2003-09-04 08:26:23 +00:00 |
|
Robert Gaggl
|
a064a814c2
|
rewrote convertSites_action since the preferences aren't mapped in site's type.properties anymore
|
2003-08-31 14:31:39 +00:00 |
|
Hannes Wallnöfer
|
44067f1fd0
|
Set loadmode to aggressive (? - unsure about pros/cons)
|
2003-08-29 13:58:45 +00:00 |
|
Hannes Wallnöfer
|
bfaf59c778
|
Adapt to the fact that Helma now registers indirect prototypes in the path object
so topics are registered as days and we need to check if a day is actually a day
before making it today.
|
2003-08-29 13:54:25 +00:00 |
|
Hannes Wallnöfer
|
bee1355200
|
Redo the changes from rev. 1.32 that were (accidentally?) undone in 1.33
|
2003-08-19 16:37:49 +00:00 |
|
Robert Gaggl
|
b906acc347
|
initial check-in: helper action for converting site preferences
|
2003-08-02 12:24:22 +00:00 |
|
Robert Gaggl
|
62b3612098
|
initial check-in: methods for handling xml encoded properties
|
2003-08-02 12:23:38 +00:00 |
|
Robert Gaggl
|
e839d7e343
|
removed
|
2003-08-02 12:22:00 +00:00 |
|
Robert Gaggl
|
c7d5c20578
|
initial check-in
|
2003-08-02 12:21:28 +00:00 |
|
Robert Gaggl
|
1bb142aa57
|
initial check-in: merged former .hac files into single actions.js files
|
2003-08-02 12:20:05 +00:00 |
|
Robert Gaggl
|
a9f3e62c2e
|
switched from input type="submit" to type="button"
|
2003-08-02 12:19:30 +00:00 |
|
Robert Gaggl
|
b1d3bb6870
|
modified comments
|
2003-08-02 12:19:11 +00:00 |
|
Robert Gaggl
|
282261b81d
|
added property "content_xml" plus the mountpoint "content" that manages the xml encoded content of stories/comments
|
2003-08-02 12:18:55 +00:00 |
|
Robert Gaggl
|
9fc496a266
|
added property "preferences_xml" plus the mountpoint "preferences" that manages the xml encoded prefs
|
2003-08-02 12:18:26 +00:00 |
|
Robert Gaggl
|
65701dc949
|
- changed to use AntvilleLib methods
|
2003-08-02 12:17:26 +00:00 |
|
Robert Gaggl
|
1df755f88c
|
changed membership.sitetitle to site.title
|
2003-08-02 12:15:23 +00:00 |
|
Robert Gaggl
|
9c042f4623
|
removed call of site.smallsize since this throws a MacroError
|
2003-08-02 12:14:49 +00:00 |
|
Robert Gaggl
|
afce0fbce9
|
- added timezonechooser
- switched from input type="submit" to type="button"
|
2003-08-02 12:13:47 +00:00 |
|
Robert Gaggl
|
4dc576c5e0
|
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
- modified permission check methods: they now return an Exception object in case a certain action is denied
|
2003-08-02 12:12:34 +00:00 |
|
Robert Gaggl
|
a48c62511c
|
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
- site preferences are xml encoded now
- modified permission check methods: they now return an Exception object in case a certain action is denied
|
2003-08-02 12:09:51 +00:00 |
|
Robert Gaggl
|
4c3e6877a7
|
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
|
2003-08-02 12:07:08 +00:00 |
|
Robert Gaggl
|
627191e07d
|
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
- modified isDenied() since site preferences are now xml-encoded
|
2003-08-02 12:06:45 +00:00 |
|
Robert Gaggl
|
ead9d08495
|
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
- added method isDeleteDenied()
|
2003-08-02 12:06:22 +00:00 |
|
Robert Gaggl
|
8d7737d4d4
|
- modified onRequest(): it now calls checkAccess() to determine if a user is allowed to request a certain action
- added basic method checkAccess() allowing everything which is overwritten by prototypes
|
2003-08-02 12:06:01 +00:00 |
|
Robert Gaggl
|
91ed3e0746
|
now calling content_macro instead of title/text_macro
|
2003-08-02 12:01:33 +00:00 |
|
Robert Gaggl
|
b8872f65cd
|
switched from input type="submit" to type="button"
|
2003-08-02 12:00:52 +00:00 |
|
Robert Gaggl
|
0d5d6fc8c1
|
minor code reformatting
|
2003-08-02 11:59:56 +00:00 |
|
Robert Gaggl
|
1567862e09
|
- use AntvilleLib methods instead of hardcoded html
- minor code reformatting
|
2003-08-02 11:59:28 +00:00 |
|
Robert Gaggl
|
53bb019886
|
- changed to use AntvilleLib methods
- removed nearly all html code rendering methods because of AntvilleLib
- added global renderDateFormatChooser()
|
2003-08-02 11:57:12 +00:00 |
|
Robert Gaggl
|
6ec7bd118a
|
changed from path.site to this._parent where possible
|
2003-08-02 11:54:34 +00:00 |
|
Robert Gaggl
|
1a09c5452a
|
switched from input type="button" to type="submit"
|
2003-08-02 11:54:01 +00:00 |
|
Robert Gaggl
|
6f82796f0d
|
call global now_macro instead of pushing the timestamp as parameter to the skin
|
2003-08-02 11:53:33 +00:00 |
|