Update of /cvsroot/openinteract/OpenInteract2/pkg/comments/conf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7846/conf
Modified Files:
action.ini
Added Files:
spops_comment_disable.ini
Log Message:
OIN-119: be able to disable comments for an individual object or for an entire class of objects -- new action (comment_admin) as well as SPOPS object (comment_disable)
--- NEW FILE: spops_comment_disable.ini ---
[comment_disable]
class = OpenInteract2::CommentDisablePersist
alias_class = OpenInteract2::CommentDisable
isa =
field =
field_discover = yes
id_field = disable_id
increment_field = yes
is_secure = no
is_searchable = no
sequence_name = oi_comment_disable_seq
no_insert = disable_id
skip_undef =
@,no_update = disable_id, class, object_id
base_table = oi_comment_disable
sql_defaults =
object_name = Comment disable
name = disable_id
Index: action.ini
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/pkg/comments/conf/action.ini,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** action.ini 3 Mar 2005 13:02:55 -0000 1.6
--- action.ini 4 Mar 2005 15:22:11 -0000 1.7
***************
*** 33,36 ****
--- 33,44 ----
is_secure = no
+ [comment_admin]
+ class = OpenInteract2::Action::CommentAdmin
+ is_secure = yes
+ task_default = list
+ security = WRITE
+ url_additional = disable_id
+ template_source = comments::disable_list
+
[comment_recent]
class = OpenInteract2::Action::Comments
***************
*** 40,41 ****
--- 48,50 ----
default_comment_count = 5
url_none = yes
+ cache_expire = 30m
\ No newline at end of file
|