• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prefer cached api

  1. … 1 more file in changeset.
Format code in a way to avoid false positives where a column name is taken as a deprecated proc

Deprecate forum::new_questions_allow and forum::new_questions_deny, one should use forum::edit, which will also track the change, or just inline the query instead

  1. … 1 more file in changeset.
Deprecate forum::new_questions_allowed_p and replace occurrences

  1. … 2 more files in changeset.
Give priority to the information provided explicitly to the api (the forum_id) in order to determine the package id and fallback to the connection context only when this is not available

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

  1. … 8 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.
whitespace changes

don't assume, there is only one forums package instance

- new API function: forum::delete (can't believe, this was missing)

- rework regression test

* make API calls explicit

* ported one test case from (broken) twt to aa_http

- bump version number to 1.3.1d6

  1. … 4 more files in changeset.
Put cache flushing logics into procs and use them when forum info needs to be updated (fixes automated tests)

  1. … 1 more file in changeset.
Add documentation and a fallback body for this deprecated proc

Provide a minimal documentation to public procs

  1. … 2 more files in changeset.
move template cacheing function "cache" into template namespace (resulting in template::cache)

  1. … 2 more files in changeset.
Centralize templating cache "black magic"

Use the new proc into forum api

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

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

  1. … 8 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

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

  1. … 21 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Standardize spellings of names

  1. … 8 more files in changeset.
- add missing colon

- clean dirty buffer

- fix SQL query

- add validator for forum_ids

  1. … 1 more file in changeset.
- add editor hints to keep spaces/tabs in the future more consistent

  1. … 350 more files in changeset.
- fix for bug #3168

  1. … 1 more file in changeset.
- normalize string expressions

  1. … 23 more files in changeset.
store and display reading info

  1. … 19 more files in changeset.