• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
strengthen boolean parameters in page contracts

  1. … 30 more files in changeset.
bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.
regenerated documentation

  1. … 295 more files in changeset.
Fake the node_id when test is run outside of a connection

Many thanks to Thomas Renner

    • -21
    • +33
    ./tcl/test/attachments-procs.tcl
Fix actual coverage

Complete coverega of public api for the package

    • -2
    • +268
    ./tcl/test/attachments-procs.tcl
prefer adp:icon over old-style .gif images

  1. … 2 more files in changeset.
Deprecate attachments::root_folder_map_p

Document public api

Deprecate util_commify_number, replace occurrences and translate automated tests

  1. … 9 more files in changeset.
fix release dates in .info files

  1. … 82 more files in changeset.
release work

  1. … 204 more files in changeset.
regenerated documentation

  1. … 468 more files in changeset.
bump version numbers of 5.9|5.10 packages to 5.10.0b1

adjust dependencies

  1. … 87 more files in changeset.
Add minimal test case for 'attachments::get_package_key'

Increment version number due to past catalog changes

Remove leftover comment

Add 'attachments_basic_api' test case. Covers basic api of the attachments package: 'attachments::attach', 'attachments::unattach', 'attachments::get_all_attachments', 'attachments::get_attachments' and 'attachments::toggle_approved'

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

    • -0
    • +0
    ./tcl/test/attachments-procs.tcl
improve documentation

improve spelling

    • -1
    • +1
    ./catalog/attachments.en_AU.ISO-8859-1.xml
  1. … 6 more files in changeset.
improve spelling

  1. … 2 more files in changeset.
Return a fallback attachments url when not in a connection context, for example, during mail sending on the bulk-mail package

Add new private proc 'attachments::get_attachments_url', and use it to complement the logic of 'attachments::get_url'

As 'attachments::get_url' returns the value of the attachments package

'RelativeUrl' parameter, which can change at any time, it could happen

that previously mounted attachments have a different url and are not

found anymore.

We try our best here to find a mounted attachments package under

'base_url' to mitigate this, probably flawed, package logic.

In the future, probably a better method should be used for URL resolving

that is not so broken.

The whole thing is even more weird, as the attachments package is

currently a singleton that auto-mounts on /attachments, so i am tempted

to replace this whole thing with just that, but anyway...

improve spelling

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

Whitespace changes

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

Add 'exception_count' to 'ad_return_complaint'