forums-forums-create.sql

  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add column 'attachments_allowed_p' to 'forums_forums', to be used to allow/disallow attachments on a per forum basis. Currently, the attachment logic is package instance wise, so if the forums instance has an attachment instance mounted below, then attachments are assumed to be enabled for all forums in that package instance. The idea with this change is to check for both the attachments instance mounted under a particular forum instance, and the 'attachments_allowed_p' column on 'forums_forums', to decide if attachments are enabled or not (both should be true). Next step would be to rewrite the logic to achieve that.

  1. … 4 more files in changeset.
Implement post anonymously through explicit forum attribute in table

Now moderators can explicitly decide whether a forum will enable posting anonymously or not.

Forum must be in a policy different from closed and the anonymous flag must be set accordingly for this to happen.

Also:

- normalize api in a way it can accomodate all current attributes. In particular,

now edit api will now leave every unspecified attribute unchanged, instead of

setting it to some default.

- fix some usability issues when managing forum parameters (e.g. values not

retrieved in form when editing existing forum)

- introduce missing Oracle upgrade script for the whole forum reform

- fix oracle creation script

  1. … 10 more files in changeset.
Forum reform

- remove hardcoded dependency with registered_users group. Target is to improve suitability in convoluted multi groups/multi subsites context

- in place of previous permission-based machinery, use plain table columns to detect whether user can or cannot post replies/new threads

- remove permission check at the message level in favor of that on forum level

  1. … 21 more files in changeset.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
Initial import of forums version 1.2.0d4

  1. … 43 more files in changeset.
increase forums_forums.charter to 4000 chars, add length checking in the forums form, bump version info

  1. … 6 more files in changeset.
commit to OACS-5-2 merge of changes on OACS-5-1

(using tag vg-merge-dotlrn-2-1-20050922) for packages under dotlrn-all

  1. … 91 more files in changeset.
Resolving outstanding permissions bugs in forums. Please let me know if you have any trouble with it.

  1. … 8 more files in changeset.
commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
Added the thread and reply counting code previously commited for the PG

version to the Oracle version.

  1. … 3 more files in changeset.
merge from oacs-4-6

  1. … 103 more files in changeset.
Added "last_post" column to the forums table and "last_child_post" column

to the forums messages table to track these values. Previously the code

was abusing the related object's last_modified field and it didn't bother

tracking the date of the last reply to a thread.

  1. … 16 more files in changeset.
cleaning up while trying to get postgres port working

  1. … 4 more files in changeset.
added a few details like posting confirmation, links to correct community member page, default to forum name

  1. … 9 more files in changeset.
start of forums package

  1. … 59 more files in changeset.
Initial revision

    • -0
    • +90
    ./forums-forums-create.sql
  1. … 59 more files in changeset.