Index: openacs-4/packages/forums/forums.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/forums.info,v diff -u -N -r1.32.2.1 -r1.32.2.2 --- openacs-4/packages/forums/forums.info 13 Dec 2005 22:24:49 -0000 1.32.2.1 +++ openacs-4/packages/forums/forums.info 10 May 2006 08:30:07 -0000 1.32.2.2 @@ -7,32 +7,33 @@ f f - + OpenACS Online discussion forums. - 2003-11-10 + 2006-05-10 OpenACS This online discussion board software is the successor of the original bboard package. The biggest improvement is a scalable datamodel. Forums supports threaded and flat view, moderation, a stand alone search function as well as integration with the OpenACS search package and integration with the notifications package for email alerts. It also supports reply via email. + 0 - + - - + + - + - + Index: openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml,v diff -u -N -r1.30.2.1 -r1.30.2.2 --- openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml 26 Sep 2005 09:03:13 -0000 1.30.2.1 +++ openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml 10 May 2006 08:30:07 -0000 1.30.2.2 @@ -1,5 +1,5 @@ - + Administrative options for all forums. Administer @@ -18,6 +18,7 @@ by Date by Forum Charter + Charter exceeds maximum length (4000 characters) closed Confirm? Confirm Delete: @@ -60,9 +61,9 @@ Forums: Posting history for Forward Fwd: - <b>Flat</b> only allows replies at the end of a thread with no nesting or threading, <b>Threaded</b> allows replies to be made to any post in the thread and the reply will be indented under the post they are associated with. - <b>Open</b> allows any users to post and have posts appear immediately, <b>moderated</b> means posts must be approved by a moderator before others can see them, and <b>closed</b> means only administrators may post. If <b>No</b>, users may only reply to existing posts not create new threads. + <b>Open</b> allows any users to post and have posts appear immediately, <b>moderated</b> means posts must be approved by a moderator before others can see them, and <b>closed</b> means only administrators may post. + <b>Flat</b> only allows replies at the end of a thread with no nesting or threading, <b>Threaded</b> allows replies to be made to any post in the thread and the reply will be indented under the post they are associated with. HTML If checked, create users that don't exist: Last Post @@ -117,9 +118,9 @@ Parameters parent ID Pending - Permissions for all forums. - Permissions for "%name%" Pending Threads + Permissions for "%name%" + Permissions for all forums. Post Post a Message Post a New Message Index: openacs-4/packages/forums/sql/oracle/forums-forums-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/oracle/forums-forums-create.sql,v diff -u -N -r1.5.2.1 -r1.5.2.2 --- openacs-4/packages/forums/sql/oracle/forums-forums-create.sql 26 Sep 2005 09:03:13 -0000 1.5.2.1 +++ openacs-4/packages/forums/sql/oracle/forums-forums-create.sql 10 May 2006 08:30:07 -0000 1.5.2.2 @@ -40,7 +40,7 @@ name varchar(200) constraint forums_name_nn not null, - charter varchar(2000), + charter varchar(4000), presentation_type varchar(100) constraint forums_presentation_type_nn not null Index: openacs-4/packages/forums/sql/oracle/upgrade/upgrade-1.2.0d3-1.2.0d4.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/oracle/upgrade/upgrade-1.2.0d3-1.2.0d4.sql,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/forums/sql/oracle/upgrade/upgrade-1.2.0d3-1.2.0d4.sql 10 May 2006 08:30:07 -0000 1.1.2.1 @@ -0,0 +1,12 @@ +-- +-- packages/forums/sql/oracle/upgrade/upgrade-1.2.0d3-1.2.0d4.sql +-- +-- @author Deds Castillo (deds@i-manila.com.ph) +-- @creation-date 2006-05-10 +-- @arch-tag: 0584c03b-94d4-4356-93bd-593b737805a2 +-- @cvs-id $Id: upgrade-1.2.0d3-1.2.0d4.sql,v 1.1.2.1 2006/05/10 08:30:07 dedsc Exp $ +-- + +-- increase charter to 4000 chars + +alter table forums_forums modify charter varchar(4000); Index: openacs-4/packages/forums/sql/postgresql/forums-forums-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/postgresql/forums-forums-create.sql,v diff -u -N -r1.7.2.2 -r1.7.2.3 --- openacs-4/packages/forums/sql/postgresql/forums-forums-create.sql 13 Dec 2005 22:24:50 -0000 1.7.2.2 +++ openacs-4/packages/forums/sql/postgresql/forums-forums-create.sql 10 May 2006 08:30:07 -0000 1.7.2.3 @@ -40,7 +40,7 @@ name varchar(200) constraint forums_name_nn not null, - charter varchar(2000), + charter varchar(4000), presentation_type varchar(100) constraint forums_presentation_type_nn not null Index: openacs-4/packages/forums/sql/postgresql/upgrade/upgrade-1.2.0d3-1.2.0d4.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/postgresql/upgrade/upgrade-1.2.0d3-1.2.0d4.sql,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/forums/sql/postgresql/upgrade/upgrade-1.2.0d3-1.2.0d4.sql 10 May 2006 08:30:08 -0000 1.1.2.1 @@ -0,0 +1,22 @@ +-- +-- packages/forums/sql/postgresql/upgrade/upgrade-1.2.0d3-1.2.0d4.sql +-- +-- @author Deds Castillo (deds@i-manila.com.ph) +-- @creation-date 2006-05-10 +-- @arch-tag: 3b12c94c-beed-4b92-a2bb-f07a2856154e +-- @cvs-id $Id: upgrade-1.2.0d3-1.2.0d4.sql,v 1.1.2.1 2006/05/10 08:30:08 dedsc Exp $ +-- + +-- increase charter to 4000 chars + +alter table forums_forums add charter_temp varchar(4000); +update forums_forums set charter_temp = charter; +drop view forums_forums_enabled; +alter table forums_forums drop charter; +alter table forums_forums rename charter_temp to charter; + +create view forums_forums_enabled +as + select * + from forums_forums + where enabled_p = 't'; Index: openacs-4/packages/forums/tcl/form-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/form-procs.tcl,v diff -u -N -r1.6.2.1 -r1.6.2.2 --- openacs-4/packages/forums/tcl/form-procs.tcl 10 May 2006 07:21:59 -0000 1.6.2.1 +++ openacs-4/packages/forums/tcl/form-procs.tcl 10 May 2006 08:30:08 -0000 1.6.2.2 @@ -156,6 +156,7 @@ -datatype richtext \ -widget richtext \ -html {cols 60 rows 10 wrap soft} \ + -validate { {expr [string length $value] <= 4000 } {#forums.charter_max_chars#} } \ -optional template::element create $form_name ${prefix}presentation_type \