Commit graph

44 commits

Author SHA1 Message Date
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
1bb142aa57 initial check-in: merged former .hac files into single actions.js files 2003-08-02 12:20:05 +00:00
Robert Gaggl
b1d3bb6870 modified comments 2003-08-02 12:19:11 +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
0d5d6fc8c1 minor code reformatting 2003-08-02 11:59:56 +00:00
Robert Gaggl
698c19f9e7 - rewrote evalNewPoll() 2003-08-02 11:37:03 +00:00
Robert Gaggl
81f0c559e7 removed because .hac-files were merged into single actions.js files 2003-08-02 10:24:52 +00:00
524d7a38a3 still fixed html where necessary to achieve maximum xhtml conformance; furthermore i tried to find a more expressive title for every page output (most of them were set to the site title only which does not help a lot when navigating with the browser history); last but not least many editor forms where adapted to gain a concistent general layout. 2003-03-07 19:27:48 +00:00
61242b2d62 fixed bug that prevented "add choice" button from working when its value was modified 2003-03-05 18:47:56 +00:00
222c56a99d refurbished polls; removed title property wherever it occurred; state_macro() is deprecated (but still working) now, use closetime_macro() and appropriate prefix/suffix strings instead. 2003-03-03 13:51:54 +00:00
Robert Gaggl
ff01391d37 securityFunctions now need the membership-level of a user as second argument 2003-01-02 19:05:03 +00:00
Robert Gaggl
068a68f090 req.data.memberlevel is now passed as second argument to security-functions. with this they can also be used even when there's no request-object present (scheduler, bloggerApi) 2003-01-02 18:55:32 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
16632edb72 replaced all occurrences of "this" with the name of the corresponding prototype 2002-08-09 15:45:59 +00:00
0629846f5d added commentary to functions where it was missing 2002-08-09 13:25:49 +00:00
Robert Gaggl
885e1f857b added call of checkIfLoggedIn() - users have to be logged in to access pollmgr 2002-08-09 11:51:52 +00:00
Robert Gaggl
c882d3d7e6 changed because the prototype weblog was renamed to site 2002-06-26 17:29:39 +00:00
Robert Gaggl
db58fa6d5f replaced hardcoded messages with getMsg() 2002-06-26 17:20:41 +00:00
Robert Gaggl
a94e09901e changed because the prototype weblog was renamed to site 2002-06-26 16:48:51 +00:00
Robert Gaggl
37a0c89517 changed because of prototype-renaming:
- weblog was renamed to site
2002-06-26 16:11:53 +00:00
Robert Gaggl
f8db009bff changed type.properties according to new database-schema:
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/)
2002-06-26 16:03:59 +00:00
Robert Gaggl
23e0cab449 merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language) 2002-06-12 17:19:47 +00:00
Robert Gaggl
056d21cb38 merged changes done in branch "grob_message" into main trunk (removed hardcoded questionmarks in urlparam-attribute) 2002-06-12 17:16:55 +00:00
adb5fd01a4 removed "?" from urlparam and "#" from anchor parameters in link macros 2002-06-04 17:58:19 +00:00
Robert Gaggl
3964079da5 changed one of the (hopefully) last instances of user to session.user 2002-06-04 14:20:19 +00:00
Robert Gaggl
0d45181646 activated isDenied() again 2002-06-04 14:14:00 +00:00
ffca47cc52 fixed markup to be xhtml compatible 2002-06-03 17:10:21 +00:00
9cd45dea94 removed link_macro() and moved check for access permission (param.checkdeny) to hopobject/macros.js:link_macro() 2002-06-03 16:54:34 +00:00
2ea7797c89 fixed markup to be xhtml compatible 2002-06-03 16:49:20 +00:00
Robert Gaggl
e6e832fc5e change code according to helma's new session/usermodel:
- changed user.cache to session.data
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:16:56 +00:00
Robert Gaggl
9b7847eec1 change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:37 +00:00
Robert Gaggl
6d3c62ffec change code according to helma's new session/usermodel:
- changed user.cache to session.data
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:52:53 +00:00
Robert Gaggl
36384e48a7 change code according to helma's new session/usermodel
- using session.user instead of user
2002-06-02 15:38:16 +00:00
Robert Gaggl
6fa414dd0e assign form-action to res.data.action 2002-05-15 23:12:41 +00:00
50669875f3 updated isDenied function analogous to the one in storymgr/securityFunctions.js 2002-04-24 15:32:15 +00:00
Robert Gaggl
c3e0c23603 - autoLogin() is now called by onRequest()
- removed "Antville" from pagetitle
2002-03-27 13:05:40 +00:00
Robert Gaggl
5c3a4f132a removed 2002-03-27 12:17:17 +00:00
Robert Gaggl
269a461d03 switched to version 1.2 2002-03-27 10:57:17 +00:00
Robert Gaggl
1c52016832 exchanged user.cache.referer with user.cache.referrer (correct spelling) 2002-02-11 10:02:18 +00:00
dd22c3355d corrected wrong attachment of newPoll onto this instead of this._parent 2002-02-01 17:24:52 +00:00
c97f755f3c moved choiceInput.skin from poll to edit.skin in choice 2002-02-01 17:23:49 +00:00
a394b6771a closed poll is marked with "cld" (shorter than "clsd") 2002-01-31 16:41:29 +00:00
cc08c24af0 added sp.text for rendering prev/next page links 2002-01-30 16:15:21 +00:00
f2bc0bd115 initial check-in 2002-01-25 17:57:44 +00:00