Commit graph

100 commits

Author SHA1 Message Date
Robert Gaggl
6da9d2e618 now calling isPostDenied() of story instead of the comment-method (which was deleted since it didn't do anything different than the story-method) 2003-01-23 21:18:08 +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
Hannes Wallnöfer
cb4c493157 Fixed bug that res.data.action was not set in comment forms. 2002-10-05 16:09:56 +00:00
Hannes Wallnöfer
894698b91b set comment collection(s) to cachemode aggressive so the index is only
refetched when an add() or remove() operation is performed on this specific
collection, not when any comment anywhere is modified.
2002-09-20 17:22:39 +00:00
16632edb72 replaced all occurrences of "this" with the name of the corresponding prototype 2002-08-09 15:45:59 +00:00
137f4b2fe7 added isPostDenied() function to enable comment replies 2002-08-06 16:22:26 +00:00
159e263c10 changed verbose date format to "short" 2002-07-26 16:30:43 +00:00
b9c9aec379 keeping the title property in updateComment() 2002-07-26 13:22:18 +00:00
Robert Gaggl
d5823a468a - input_macro() moved from hopobject to global (and echoes request data by default)
- added missing name-attribute for buttons
2002-07-19 08:42:32 +00:00
Hannes Wallnöfer
c8df8ac3de merged xml_content branch. 2002-07-01 16:36:27 +00:00
Robert Gaggl
9378e2e39b author_macro() was renamed to creator_macro() 2002-06-26 17:27:53 +00:00
Robert Gaggl
c4b87c7b1d - removed hardcoded messages with getMsg()
- property author was renamed to creator
2002-06-26 17:17:51 +00:00
Robert Gaggl
82ef0737e1 author_macro() was renamed to creator_macro() 2002-06-26 17:12:27 +00:00
Robert Gaggl
72d830c930 changed because the prototype weblog was renamed to site 2002-06-26 16:23:37 +00:00
Robert Gaggl
67a6f7792f changed because the prototype weblog was renamed to site
plus story.author was renamed to story.creator
2002-06-26 16:15:43 +00:00
Robert Gaggl
704f144887 changed because weblog was renamed to site 2002-06-26 16:10:32 +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
f82b1aa47c moved <form> tags on positions that are appropriate for xhtml compatibility (hopefully...) 2002-06-04 15:34:47 +00:00
3baac801a0 moved renderInputText() et al. and renderImage() from hopobject to global 2002-06-04 14:53:17 +00:00
Robert Gaggl
62aad7f603 now using global markupelement-functions resp. global openLink() and closeLink()-funtions 2002-06-04 14:18:27 +00:00
ffca47cc52 fixed markup to be xhtml compatible 2002-06-03 17:10:21 +00:00
2ea7797c89 fixed markup to be xhtml compatible 2002-06-03 16:49:20 +00:00
Robert Gaggl
0e7ae0b9ef 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:
- no more res.skin, using renderSkin instead
2002-06-02 16:17:31 +00:00
Robert Gaggl
b167cce071 now using global function isUserBlocked()
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 15:56:44 +00:00
Robert Gaggl
56fdca2ada initial check-in: in case this action is called for a comment, it redirects back to story-main with an anchor to this comment 2002-05-16 12:16:25 +00:00
Robert Gaggl
78ee959185 replaced checking for last object in path with checking for action-name 2002-05-16 12:15:23 +00:00
Robert Gaggl
6fa414dd0e assign form-action to res.data.action 2002-05-15 23:12:41 +00:00
Robert Gaggl
2e859f2bf1 include action in form-tag 2002-05-15 23:06:41 +00:00
Robert Gaggl
aa09fe29b0 parent of comments is now story.comments (fixes a problem with nested comments which lead to an error after about 21 levels) 2002-05-15 22:58:36 +00:00
Robert Gaggl
c3389e21e4 removed deleteComment() and deleteAll() - this is done in story-functions now 2002-05-15 22:57:47 +00:00
Robert Gaggl
6674ed2021 - assign form-action to res.data.action
- comments are deleted via story now (regardless if toplevel or reply)
2002-05-15 22:56:32 +00:00
1dfbec2f8c fixed a bug that caused the text cache not to be updated when there was no major update (ie. more than +/- 50 chars are changed) 2002-04-12 15:15:33 +00:00
b807e4403a modifytimes of comment will only be updated if more than +/- 50 characters have changed. 2002-04-12 14:52:34 +00:00
d07dba571d title_macro() now returns null if there's no title 2002-04-11 07:25:23 +00:00
Robert Gaggl
38d4eb2f99 - autoLogin() is now called by onRequest() 2002-03-27 12:51:33 +00:00
Robert Gaggl
bd15be7690 - autoLogin() is now called by onRequest()
- removed "Antville" from pagetitle, include story-title if existing
2002-03-27 12:50:23 +00:00
Robert Gaggl
379c6f6dd1 added function deleteAll() 2002-03-27 11:18:36 +00:00
Robert Gaggl
269a461d03 switched to version 1.2 2002-03-27 10:57:17 +00:00
Robert Gaggl
c8b3251a1c - changes necessary due to new role-scheme 2002-01-22 20:22:45 +00:00
Robert Gaggl
61173830c8 - hac now checks if user is logged in 2002-01-22 19:43:24 +00:00
Robert Gaggl
db3df63bad - hac now checks if user is logged in
- some minor changes
2002-01-22 19:41:26 +00:00
Robert Gaggl
c13920e569 hac now checks if user is logged in, removed unnecessary check for user.cache.referer 2002-01-22 19:38:34 +00:00
Robert Gaggl
b361e2316b replies_macro() was replaced with comments_macro() (inherited from story) 2002-01-05 02:51:24 +00:00
Robert Gaggl
84266fa914 removed functions inherited from story 2002-01-05 02:47:05 +00:00
Robert Gaggl
d1d85f31c1 removed functions inherited from story 2002-01-05 02:41:36 +00:00
Robert Gaggl
4188d0886c removed macros that are inherited from story, some minor changes 2002-01-05 02:31:10 +00:00
Robert Gaggl
7ae0a43c66 minor change 2002-01-05 02:29:42 +00:00