Add POST support to the DiffFileAttachmentResource.

Review Request #13544 — Created Feb. 16, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

This change adds the ability to upload files to attach to diffs via the
DiffFileAttachmentResource. This was previously read-only in the API.

  • Ran unit tests.
  • Used this from RBTools.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.

orig
1
2
3
4

Commits

First Last Summary ID Author
Add POST support to the DiffFileAttachmentResource.
This change adds the ability to upload files to attach to diffs via the `DiffFileAttachmentResource`. This was previously read-only in the API. Testing Done: - Ran unit tests. - Used this from RBTools.
9f20aac4be65cf18462dc95b4721675772563d4b David Trowbridge
reviewboard/attachments/forms.py
reviewboard/testing/testcase.py
reviewboard/webapi/resources/diff_file_attachment.py
reviewboard/webapi/tests/test_diff_file_attachment.py
Loading...