• last updated 13 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.

    • -0
    • +10
    ./upgrade/upgrade-1.3.1d12-1.3.1d13.sql
  1. … 3 more files in changeset.
file upgrade-1.3.1d12-1.3.1d13.sql was initially added on branch oacs-5-10.

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

  1. … 26 more files in changeset.
improve spelliing

  1. … 2 more files in changeset.
Fix typos

  1. … 61 more files in changeset.
- fix inconsistency between updated versions and new intallations: check always the message format

- add text/markdown to accepted formats

    • -0
    • +11
    ./upgrade/upgrade-1.3.1d4-1.3.1d5.sql
  1. … 1 more file 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
    • +34
    ./upgrade/upgrade-1.3.1d3-1.3.1d4.sql
  1. … 6 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

    • -195
    • +68
    ./forums-reading-info-create.sql
    • -0
    • +173
    ./upgrade/upgrade-1.3.1d2-1.3.1d3.sql
  1. … 6 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
    • +13
    ./upgrade/upgrade-1.3.1d1-1.3.1d2.sql
  1. … 9 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
    • +13
    ./upgrade/upgrade-1.3-1.3.1d1.sql
  1. … 20 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

    • -0
    • +39
    ./upgrade/upgrade-1.3d12-1.3d13.sql
  1. … 7830 more files in changeset.
- make update script more robust

    • -6
    • +27
    ./upgrade/upgrade-1.3d12-1.3d13.sql
Alter caveman style booleans (type character(1)) to real SQL boolean types.

    • -0
    • +18
    ./upgrade/upgrade-1.3d12-1.3d13.sql
  1. … 1 more file in changeset.
file upgrade-1.3d12-1.3d13.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./upgrade/upgrade-1.3d12-1.3d13.sql
- add function args for completeness

- add function args missed by earlier upgrades

- bump version numbers

    • -0
    • +21
    ./upgrade/upgrade-1.3d10-1.3d11.sql
  1. … 9 more files in changeset.
- fix half-baken dollar quoting

- fix half-baken dollar quoting

- update postgres function to modern style plpgsql definitions, avoid backslash escaping

- add missing function_args

    • -32
    • +51
    ./forums-forums-package-create.sql
    • -82
    • +132
    ./forums-messages-package-create.sql
    • -37
    • +52
    ./forums-notifications-sanitize.sql
    • -55
    • +116
    ./forums-reading-info-create.sql
    • -47
    • +76
    ./upgrade/upgrade-1.0.6-1.0.7d.sql
    • -23
    • +30
    ./upgrade/upgrade-1.0d4-1.0.1d2.sql
  1. … 9 more files in changeset.
1. Merge 2.4.1 to HEAD other than assessment, imsld, lorsm, and views.

2. Bump version numbers to 2.5.0d1.

  1. … 379 more files in changeset.
Fix path of the upgrade script to source

creation

    • -0
    • +22
    ./forums-reading-info-drop.sql
fixed some problems with constraints

Insert forums-reading-info-drop to drop

store and display reading info

    • -0
    • +225
    ./forums-reading-info-create.sql
    • -0
    • +1
    ./upgrade/upgrade-1.3d5-1.3d6.sql
  1. … 17 more files in changeset.
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/upgrade-1.3d3-1.3d4.sql
  1. … 1 more file in changeset.