forums-forums-create.sql

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Redefine forum charter as text, therefore without length limit

  1. … 2 more files in changeset.
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.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Alter caveman style booleans (type character(1)) to real SQL boolean types.

  1. … 4 more files in changeset.
- fix half-baken dollar quoting

  1. … 1 more file in changeset.
- fix half-baken dollar quoting

  1. … 1 more file in changeset.
- update postgres function to modern style plpgsql definitions, avoid backslash escaping

- add missing function_args

  1. … 23 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. … 270 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.
perfomance improvements

  1. … 3 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 tracking of threads in a forum and replies to a root post to the

forums-forums and forums-messages datamodel, and fixed the necessary code.

Also cleaned up some stuff and wrote a test case for automated testing. PG

only at this point, will add the Oracle stuff shortly.

  1. … 15 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 64 more files in changeset.
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

  1. … 39 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.
Fixed Data Change Violation error for PG 7.1.

cleaning up while trying to get postgres port working

  1. … 4 more files in changeset.
now loads (and unloads) in postgres

  1. … 12 more files in changeset.
added beginning of PG port

    • -0
    • +99
    ./forums-forums-create.sql
  1. … 10 more files in changeset.