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

    • -128
    • +0
    ./forums-notifications-sanitize.sql
    • -0
    • +15
    ./upgrade/upgrade-1.3.1d12-1.3.1d13.sql
  1. … 8092 more files in changeset.
Cleanup leftover references to files deleted in https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Aantoniop%3A20200507144307

This was not preventing the installation or functionalities of the forums package, so it has been long missed. Upon closer inspection, errors were popping up in the installation UI.

  1. … 3 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.
Move logics to create forum notification type to tcl to:

- reduce code duplication

- make it simpler to extend forums with new notification types

This reform was triggered by a downstream request, where users would like a new kind of notification for forum moderators that triggers also when a forum message has not been approved

    • -128
    • +0
    ./forums-notifications-sanitize.sql
  1. … 3 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.

    • -0
    • +15
    ./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.
Port downstream only usage of reading info api

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

    • -5
    • +16
    ./forums-reading-info-package-create.sql
    • -0
    • +163
    ./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

    • -17
    • +10
    ./forums-reading-info-create.sql
    • -143
    • +5
    ./forums-reading-info-package-create.sql
    • -0
    • +186
    ./upgrade/upgrade-1.3.1d2-1.3.1d3.sql
  1. … 5 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/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
    • +18
    ./upgrade/upgrade-1.3-1.3d1.sql
  1. … 20 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.

    • -57
    • +140
    ./forums-reading-info-package-create.sql
  1. … 378 more files in changeset.
Fixed package forum-reading-info for Oracle.

    • -57
    • +140
    ./forums-reading-info-package-create.sql
Fixed packaged body bug

    • -1
    • +1
    ./forums-reading-info-package-create.sql
add @forums-reading-info-package-create.sql script

add reading info creation scripts

creation

    • -0
    • +213
    ./forums-reading-info-package-create.sql
creation: load the reading_info script

    • -0
    • +1
    ./upgrade/upgrade-1.3d5-1.3d6.sql
creation

    • -0
    • +50
    ./forums-reading-info-create.sql
    • -0
    • +18
    ./forums-reading-info-drop.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/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.

    • -8
    • +20
    ./forums-messages-package-create.sql
    • -3
    • +27
    ./upgrade/upgrade-1.1.1-1.1.2d1.sql
    • -0
    • +48
    ./upgrade/upgrade-1.1.2d4-1.1.2d5.sql
    • -0
    • +12
    ./upgrade/upgrade-1.2.0d3-1.2.0d4.sql
    • -0
    • +11
    ./upgrade/upgrade-1.2.0d4-1.3d1.sql
    • -34
    • +28
    ./upgrade/upgrade-1.2d1-1.2d2.sql
  1. … 2470 more files in changeset.
Initial import of forums version 1.2.0d4

    • -5
    • +114
    ./forums-notifications-sanitize.sql
    • -0
    • +402
    ./upgrade/upgrade-1.0.6-1.0.7d.sql
    • -0
    • +285
    ./upgrade/upgrade-1.0d4-1.0.1d2.sql
    • -0
    • +11
    ./upgrade/upgrade-1.1.1-1.1.2d1.sql
    • -0
    • +48
    ./upgrade/upgrade-1.1.2d4-1.1.2d5.sql
  1. … 256 more files in changeset.
Initial import of forums version 1.2.0d4

    • -69
    • +77
    ./forums-forums-package-create.sql
    • -178
    • +342
    ./forums-messages-package-create.sql
  1. … 35 more files in changeset.
Update package_id for projects

    • -0
    • +11
    ./upgrade/upgrade-1.2.0d4-1.3d1.sql
file upgrade-1.2.0d4-1.3d1.sql was initially added on branch oacs-5-2.

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

    • -0
    • +12
    ./upgrade/upgrade-1.2.0d3-1.2.0d4.sql
  1. … 5 more files in changeset.