• last updated 54 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make forum::use_ReadingInfo_p more robust when UseReadingInfo parameter in forums is not set

make boolean test strict

Hot fix for latest changes concerning reading info

Fix typo

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
    ./sql/oracle/forums-reading-info-package-create.sql
    • -0
    • +163
    ./sql/oracle/upgrade/upgrade-1.3.1d3-1.3.1d4.sql
    • -0
    • +34
    ./sql/postgresql/upgrade/upgrade-1.3.1d3-1.3.1d4.sql
    • -0
    • +8
    ./www/moderate/move-thread-postgresql.xql
Converge downstream reading_info feature with upstream

Port downstream only idiom to update reading_info table

Make more use of api when retrieving forum and message information

Optimize message existance query

Fix sql update to populate new forum_id column in existing data

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
    ./sql/oracle/forums-reading-info-create.sql
    • -3
    • +3
    ./sql/oracle/forums-reading-info-drop.sql
    • -143
    • +5
    ./sql/oracle/forums-reading-info-package-create.sql
    • -0
    • +186
    ./sql/oracle/upgrade/upgrade-1.3.1d2-1.3.1d3.sql
    • -0
    • +173
    ./sql/postgresql/upgrade/upgrade-1.3.1d2-1.3.1d3.sql
Remove deprecated idioms and unneded queries

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
    ./sql/oracle/upgrade/upgrade-1.3.1d1-1.3.1d2.sql
    • -0
    • +3
    ./sql/postgresql/forums-forums-create.sql
    • -0
    • +13
    ./sql/postgresql/upgrade/upgrade-1.3.1d1-1.3.1d2.sql
Don't go all the way when user provides an invalid parent post to reply to

Assume moderators have always the right to post

Let admins post in every situation

Normalize boolean expressions in .adp code

  1. … 4 more files in changeset.
Normalize boolean expressions in .adp files

normalize boolean expressions in .adp files

Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
Don't tamper with permissions to remember whether we should be able to moderate or not

Show moderate button only when forum is actually moderated

check truth by lean and mean tcl idiom

Ehm, fix missed occurrency of message level permission check

Fix typo in deprecated proc (not used upstream anymore)

reuse forum properties

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
    ./sql/oracle/upgrade/upgrade-1.3-1.3d1.sql
    • -0
    • +3
    ./sql/postgresql/forums-forums-create.sql
    • -0
    • +13
    ./sql/postgresql/upgrade/upgrade-1.3-1.3.1d1.sql
  1. … 7 more files in changeset.
Use full <if @foo_p@ true> instead of undocumented shortcut idiom <if @foo_p@>

  1. … 1 more file in changeset.
normalize boolean expressions in ADP files

  1. … 14 more files in changeset.
normalize boolean expressions in ADP files

  1. … 8 more files in changeset.
set the displayed_object_id to the forum_id for edit operations

merged changes from the oacs-5-9 branch and resolved conflicts

    • -2
    • +54
    ./catalog/forums.de_DE.ISO-8859-1.xml
    • -7
    • +90
    ./catalog/forums.it_IT.ISO-8859-1.xml
    • -5
    • +10
    ./lib/forums/admin-forums-chunk.tcl
  1. … 7820 more files in changeset.
- do not depend on beta or development versions

- make sure that released versions are not beta or development

- align version numbers (e.g. use also 5.9.1 for xotcl-core)

- bump version numbers to 5.9.1

  1. … 83 more files in changeset.
Reduce number of URLs leading to a validation error (user-history with no user_id)