• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Forum attachments reform.

- Add new style of attachments to the forums, allowing multiple attachments to a single message directly from the message post page, using the multiple file input widget.

- Retain compatibility with old style attachments, using the new 'AttachmentStyle' package instance parameter. Currently, this supports two values: 'simple' (new behavior) and 'complex' previous behavior.

- Both attachment styles can coexist, and attachments added by any of such methods will be shown.

- Improve the contract on 'forums/lib/message/post.tcl'.

- Show attachments on message preview.

- Bump version number.

  1. … 4 more files in changeset.
Use same capitalization policy as other message keys in the same form. Bump version to reload message keys.

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

  1. … 4 more files in changeset.
- prefer "last_request" over "user_id" in automated tests

- make web test more robust against local language dependencies

  1. … 2 more files in changeset.
Export message keys from the UI to make is easier to apply changes without creating big diffs

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

  1. … 3 more files in changeset.
port all former tclwebtest test cases to acs::test and do some more detailed testing

  1. … 3 more files in changeset.
- modularize web tests based on acs::test

- add new web tests for viewing and editing forums

  1. … 2 more files in changeset.
move newly defined testing API (in OpenACS 5.10) to namespace acs::test

  1. … 9 more files in changeset.
- 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.
Fix typos

  1. … 7 more files in changeset.
- fix inconsistency between updated versions and new intallations: check always the message format

- add text/markdown to accepted formats

  1. … 2 more files in changeset.
Port downstream only usage of reading info api

Also fix such api so that root message is retrieved for every given source message

  1. … 7 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.
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.
- 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.
bump version numbers to 5.9.1b9 respectively to 2.9.1b9 to prepare for release

  1. … 91 more files in changeset.
- bump version number of OpenACS to 5.9.1b3 and DotLRN to 2.9.1b3

  1. … 79 more files in changeset.
Bump version numbers for OpenACS 5.9.1b1

  1. … 81 more files in changeset.
- turn hardcoded inline script into a template::add_body_script to use CSP nonces

- bump version number to 1.3d15

  1. … 2 more files in changeset.
- bump version number to 1.3d14

- improve security of return_urls

  1. … 16 more files in changeset.
Alter caveman style booleans (type character(1)) to real SQL boolean types.

  1. … 4 more files in changeset.
- bump version numbers to 6.9.0 (oacs) / 2.9.0 (dotlrn)

  1. … 72 more files in changeset.
- bump version numbers

  1. … 75 more files in changeset.
*** empty log message ***

  1. … 75 more files in changeset.
- bump version numbers and update dependencies

  1. … 2 more files in changeset.
- add function args missed by earlier upgrades

- bump version numbers

  1. … 9 more files in changeset.