• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typos

improve spelling

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

make sure, the dump fiile does not grow infinitely

    • -2
    • +3
    ./xotcl-request-monitor/tcl/throttle_mod-procs.tcl
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.

    • -26
    • +196
    ./forums/lib/message/post.tcl
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

    • -1
    • +1
    ./acs-subsite/catalog/acs-subsite.de_DE.ISO-8859-1.xml
improve spelling

Add 'alt_template' to include contract

    • -2
    • +3
    ./forums/lib/message/attachment-list.tcl
Add include contract and 'preview' view to the attachment list

    • -3
    • +8
    ./forums/lib/message/attachment-list.adp
    • -11
    • +7
    ./forums/lib/message/attachment-list.tcl
Add some remarks regarding the 'privacy control' in the forum portlet

    • -1
    • +9
    ./forums-portlet/www/forums-portlet.tcl
Require admin privileges for attachment deletion in the forum, the same as for message editing

    • -2
    • +4
    ./forums/lib/message/attachment-list.tcl
Put the delete link to the right of the attachment

    • -1
    • +1
    ./forums/lib/message/attachment-list.adp
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

    • -37
    • +51
    ./attachments/tcl/attachments-procs.tcl
Add the 'detach' option on the attachment list, for users with write permissions on the message

    • -1
    • +6
    ./forums/lib/message/attachment-list.adp
    • -4
    • +15
    ./forums/lib/message/attachment-list.tcl
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

    • -15
    • +33
    ./forums/lib/message/attachment-list.tcl
Whitespace changes

    • -15
    • +20
    ./attachments/www/go-to-attachment.xql
Generalize attachment download logic, so it can deal with different object types, such as 'content_item', 'content_revision', and their subtypes

    • -44
    • +60
    ./attachments/www/go-to-attachment.tcl
    • -0
    • +14
    ./attachments/www/go-to-attachment.xql
    • -11
    • +35
    ./attachments/www/download/index.vuh
    • -1
    • +12
    ./attachments/www/download/index.xql
Add 'exception_count' to 'ad_return_complaint'

Use the paremeter 'LoginPasswordAutocomplete' to decide on the value of the attribute for the password element in the login form

Add a new instance parameter 'LoginPasswordAutocomplete' with the value of the 'autocomplete' attribute of the password field of the login form, to let each subsite decide.

improve spelling

    • -2
    • +2
    ./acs-core-docs/www/files/create-new-catalog.sh
    • -1
    • +1
    ./acs-core-docs/www/files/nsd-postgres.txt
    • -1
    • +1
    ./acs-core-docs/www/files/oracle8i.txt
remove obsolete file

    • -51
    • +0
    ./acs-core-docs/www/files/restart-aolserver.txt
Make 'attachments::get_all_attachments' more general, so we try our best to get the 'label' of the attachment by trying different options depending on the object type: 'content_item', 'content_revision', a subtype of those, or just the 'title' row in the 'acs_objects' table. In the very worst case, just set the given 'item_id' as the label.

    • -24
    • +38
    ./attachments/tcl/attachments-procs.tcl
Add a simple test case for 'content::revision::get_title'

    • -3
    • +10
    ./acs-content-repository/tcl/test/content-revision-test-procs.tcl