• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Show attachment size in forum messages

Whitespace changes

Use the attachment icon, available since 10+ years, for forums attachments.

Use same capitalization policy as other message keys in the same form. Bump version to reload message keys.

Only show the possibility to allow/disallow attachments in the forum new/edit pages if the attachments package is already mounted under the forums package instance

Update italian localization

  1. … 1 more file in changeset.
Whitespace changes

Modify user interface to allow/disallow attachments per forum, on forum creation and editing. Added message keys and bumped version as well.

Cleanup trailing whitespace

Extend 'forum::attachments_enabled_p' with 'forum_id', so attachments ca be enabled per forum (see previous commit), and update underliying logic to make use of it.

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
    ./sql/oracle/upgrade/upgrade-1.3.1d12-1.3.1d13.sql
    • -1
    • +4
    ./sql/postgresql/forums-forums-create.sql
file upgrade-1.3.1d12-1.3.1d13.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-1.3.1d12-1.3.1d13.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-1.3.1d12-1.3.1d13.sql
Initialize d variable

Fix call parameters

- prefer "last_request" over "user_id" in automated tests

- make web test more robust against local language dependencies

avoid double substitutions

  1. … 2 more files in changeset.
Sign url vars when deleting forum message in the test

Export message keys from the UI to make is easier to apply changes without creating big diffs

Reduce divergency between oracle and postgres codebase

    • -19
    • +0
    ./lib/forums/forums-chunk-oracle.xql
    • -19
    • +0
    ./lib/forums/forums-chunk-postgresql.xql
  1. … 3 more files in changeset.
improve spelling

  1. … 7 more files in changeset.
Replace ad_decode idiom

  1. … 1 more file in changeset.
fix invalid markup

follow usual indentation

ad_sign: generalize last ad_sign handling to

allow user and csrf binding

  1. … 2 more files in changeset.
use user-specific sign operations for protecting delete operations

Bring files on oacs-5-10 in sync with HEAD

  1. … 162 more files in changeset.
Secure forums delete button by protecting the message_id with a timed signature

Whitespace changes + editor hints

  1. … 19 more files in changeset.
Replace/remove deprecated proc 'db_null' and update doc accordingly

  1. … 33 more files in changeset.
whitespace changes