• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Implement a new type of "Moderator" notification type for forums

This notification will be triggered also by unapproved messages. The UI will show the subscription link only to forum moderators, using a different color (customizable via css, vanilla color is red). Message content will always be hidden for such notifications, so user will need to have access to new message.

  1. … 3 more files in changeset.
Make clear where paragraph ends

whitespace changes

  1. … 2 more files in changeset.
remove print.css and include its content in forums.css

improve comments

  1. … 2 more files in changeset.
improve spelling

  1. … 14 more files in changeset.
Center icons on attachment list

Whitespace changes

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

  1. … 2 more files in changeset.
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.
improve spelling

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

  1. … 5 more files in changeset.
fix overquoting in notification-widget

  1. … 5 more files in changeset.
Fix typo

Whitespace changes

  1. … 6 more files in changeset.
modernize Tcl

Use finer grained person:: api to retrieve the name

Flush templating cache also when approving a message, as this might be a new root message (thread) and therefore thread list should be rebuilt

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. … 4 more files in changeset.
Replace deprecated 'forum::security::can_moderate_forum_p' by 'permission::permission_p'

  1. … 2 more files in changeset.
Replace deprecated procs with 'permission::require_permission'

  1. … 3 more files in changeset.
Rework variable assignment (set -> lassign)

  1. … 12 more files in changeset.
remove parens

  1. … 8 more files in changeset.
fix more typos

  1. … 5 more files in changeset.
fix typo

  1. … 1 more file in changeset.
add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 7 more files in changeset.
Make forum::use_ReadingInfo_p more robust when UseReadingInfo parameter in forums is not set

  1. … 3 more files in changeset.
make boolean test strict

  1. … 2 more files in changeset.
Hot fix for latest changes concerning reading info

  1. … 2 more files in changeset.
Fix typo