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 2

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.
5c8697b55d73100add926350ef4f02174fb883de 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...