• last updated 33 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add the 'detach' option on the attachment list, for users with write permissions on the message

Generalize attachment size logic in forum posts, so different object types, such as 'content_item', 'content_revision', and their subtypes, are supported

Move 'util::content_size_pretty' into 'acs-lang' and rename it to 'lc_content_size_pretty', localicing 'bytes' and adapting automated tests. Bump 'acs-lang' version.

  1. … 41 more files in changeset.
Improve content_type detection on forum attachments, and avoid redirecting to external hosts on URLs

Url attachments in forums: use URL icon and avoid showing the size

Show attachment size in forum messages

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

  1. … 1 more file in changeset.
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.

  1. … 2 more files 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

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

  1. … 1 more file in changeset.
improve spelling

  1. … 8 more files in changeset.
show forum-edit link only, if the current forum is from the current package (see admin/forum-edit)

use consistently bind variables

improve rowcount expressions

  1. … 68 more files in changeset.
Remove hotfix and use new user api

Remove user hotfix and replace with new api (which won't fail for non-registered users)

Fix typos

  1. … 5 more files in changeset.
Fix regressions in forums when user is not logged in

  1. … 2 more files in changeset.
Pass user_name through the message array, as message-view expects it there

This obscure script doesn't do much (basically, displays the content of a message), but nevertheless was passing arrays, defining queries, duplicating code... streamlined to the bones

  1. … 2 more files in changeset.
Remove redundant variables, dead code and bring variables closer to where they are actually used... still room for improvement here

Reduce divergencies between oracle and postgres codebase, reduce the need for joins and stored procedures

Centralize templating cache "black magic"

Use the new proc into forum api

  1. … 1 more file in changeset.
Replace deprecated 'forum::security::can_moderate_forum_p' by 'permission::permission_p'

  1. … 2 more files in changeset.
use more consistent spelling of names

Prefer individual 'set' operations over 'lassign' in these particular cases

  1. … 6 more files in changeset.