• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Localize some pretty names. Many thanks to Monika Andergassen

fix typo in filename and use opportunity to rename the proc after the API call.

file 00-icanuse-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/00-icanuse-procs.tcl
use the random number generator from OpenSSL, when available

don't write sensitive information into log files

Do not add the language prefix when the lookup already found exactly the page we were trying to reference (complies with current automated tests)

    • -3
    • +4
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Fix typo

Fix typos

improve spelling

add "parent_id" to the list of excluded vars in "copy_content_vars" (as suggested by KM)

    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
make sure, the dump fiile does not grow infinitely

fix typo

Remove form debug code

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.

    • -2
    • +3
    /openacs-4/packages/forums/forums.info
Check if an upload file was supplied when validating

Bump version number

Small step in the direction of gender-neutral German localization so we don't have to create a downstream message key just for this

improve spelling

Add 'alt_template' to include contract

Add include contract and 'preview' view to the attachment list

Add some remarks regarding the 'privacy control' in the forum portlet

Require admin privileges for attachment deletion in the forum, the same as for message editing

Put the delete link to the right of the attachment

Only offer the possibility to delete an attachment from the file storage if it is really there, offer to detach it in any case.

Add 'attachments::get_title' to centralize the logic of title guessing for an attachment

Add the 'detach' option on the attachment list, for users with write permissions on the message

Center icons on attachment list

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

Whitespace changes

Generalize attachment download logic, so it can deal with different object types, such as 'content_item', 'content_revision', and their subtypes