• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Modify user interface to allow/disallow attachments per forum, on forum creation and editing. Added message keys and bumped version as well.

    • -2
    • +2
    /openacs-4/packages/forums/forums.info
    • -3
    • +5
    /openacs-4/packages/forums/lib/forums/new.tcl
    • -3
    • +6
    /openacs-4/packages/forums/tcl/forums-procs.tcl
    • -2
    • +3
    /openacs-4/packages/forums/tcl/forums-procs.xql
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.

    • -2
    • +19
    /openacs-4/packages/forums/tcl/forums-procs.tcl
    • -3
    • +5
    /openacs-4/packages/forums/www/message-post.tcl
Fix oracle upgrade, remembering to keep privilege creation, which should indeed happen in the upgrade

Skip column and attribute creation in this upgrade: people will get it from xotcl ORM in version 6.* and this upgrade would conflict

Use Duden-conformant Formulation

there are many other terms, which would have do be changed

for general gender neutrility, unless we continue to stick with the

generic masculine.

https://de.wikipedia.org/wiki/Generisches_Maskulinum

https://de.wikipedia.org/wiki/Geschlechtergerechte_Sprache

provide a default for pass_through option

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.

    • -5
    • +5
    /openacs-4/packages/forums/forums.info
file upgrade-1.3.1d12-1.3.1d13.sql was initially added on branch oacs-5-10.

Trailing whitespace cleanup

Use 'ckfinder::file_attach' instead of 'ckfinder::image_attach', which is not implemented.

Make doc and logging consistent with implementation (image_attach -> file_attach)

Fix translation

Keep accepting empty values as proper ids, as deprecated ad_var_type_check_integer_p would have done

Specify an explicit format that clock scan can recognize, otherwise results will be unexpected (port from downstream)

Use provided email only when a party exists, in all other cases keep the previous behavior (fixes automated tests)

Fix regression on enabling/disabling locales

Use a german gender-neutral wording for "members"

make object adressing more consistent

fix typo

improve spelling

replace hardcoded /tmp by API function [ad_tmpdir]

template::reset_request_vars must be executed for all requests in the cleanup

this is already happening via "ns_ictl trace freeconn", but we keep

for the time being this as a reminder, when merging with different versions, etc.

don't hardcode /tmp/

simplify file delivery modes

don't start accidentially thread via monitoring

improve spelling

replace deprecated function ad_var_type_check_number_p which was used improperly

replace deprecated functions ad_var_type_check_integerlist_p and ad_var_type_check_number_p

replace deprecated ad_var_type_check_number_p by "string is double -strict "