• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge from oacs-5-10

  1. … 8097 more files in changeset.
improving Oracle upgrade scripts

Oracle has no "ALTER TABLE ADD COLUMN ...."

Oracle has no "ALTER TABLE ADD COLUMN if exists .."

  1. … 7 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.
file upgrade-1.3.1d12-1.3.1d13.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./upgrade-1.3.1d12-1.3.1d13.sql
  1. … 1 more file in changeset.
Removed obsolete @arch-tag

  1. … 26 more files in changeset.
Port downstream only usage of reading info api

Also fix such api so that root message is retrieved for every given source message

    • -0
    • +163
    ./upgrade-1.3.1d3-1.3.1d4.sql
  1. … 7 more files in changeset.
Fix sql update to populate new forum_id column in existing data

  1. … 1 more file in changeset.
Maintenance of forum reading count feature

- removal of forums_reading_info_user (1Mio rows on Learn@WU).

This materialized view had to be constantly synced with

forums_reading_info table. Reimplemented as view.

- simplify logics in stored procedure due to new datamodel

- fix inconsistencies between oracle and postgres function definition

- re-enabled parameter to decide whether use these stats or not in

administration

TODO: consider further reform of this feature as stats grow very

large on busy sites for probably little value added

    • -0
    • +186
    ./upgrade-1.3.1d2-1.3.1d3.sql
  1. … 8 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

    • -0
    • +27
    ./upgrade-1.3.1d1-1.3.1d2.sql
  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

    • -0
    • +18
    ./upgrade-1.3-1.3d1.sql
  1. … 21 more files in changeset.
add @forums-reading-info-package-create.sql script

creation: load the reading_info script

    • -0
    • +1
    ./upgrade-1.3d5-1.3d6.sql
Merged changes to HEAD ...

  1. … 1556 more files in changeset.
Forgot the function that needed upgrades as well. Good to have sites that acutally upgraded from 4.6 around :-). ORACLE: NOT TESTED. NOT SURE IF IT IS THE PROPER THING. PLEASE TEST.

  1. … 1 more file in changeset.
Made sure that old forum instances have the package_id set correctly. For newer ones acs_object__new should take care of it.

  1. … 2 more files in changeset.
file upgrade-1.3d3-1.3d4.sql was initially added on branch oacs-5-3.

    • -0
    • +0
    ./upgrade-1.3d3-1.3d4.sql
  1. … 1 more file in changeset.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

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

  1. … 260 more files in changeset.
Update package_id for projects

file upgrade-1.2.0d4-1.3d1.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./upgrade-1.2.0d4-1.3d1.sql
increase forums_forums.charter to 4000 chars, add length checking in the forums form, bump version info

  1. … 6 more files in changeset.
file upgrade-1.2.0d3-1.2.0d4.sql was initially added on branch oacs-5-2.

    • -0
    • +0
    ./upgrade-1.2.0d3-1.2.0d4.sql
  1. … 1 more file in changeset.
Last poster was updated with the user_id value of the root message instead of with the user_id received by forums_message.new

  1. … 1 more file in changeset.
Fix oracle syntax and query for updating forums_messages.last_poster

Applied patch to fix bug #2761.

  1. … 1 more file in changeset.
Fix permissions change so it works if explciti read, write, or create exist on

forums objects.

  1. … 1 more file 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.
file upgrade-1.1.2d4-1.1.2d5.sql was added on branch oacs-5-2 on 2005-09-26 09:03:13 +0000

Resolving outstanding permissions bugs in forums. Please let me know if you have any trouble with it.

  1. … 8 more files in changeset.
file upgrade-1.1.2d4-1.1.2d5.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./upgrade-1.1.2d4-1.1.2d5.sql
  1. … 1 more file in changeset.