Added automated flag when closing or editing review requests
Review Request #12051 — Created Feb. 10, 2022 and updated — Latest diff uploaded
- Added
automatedflag to multiple methods related to hostingsvcs close
hook,ReviewRequestResourceAPI Update(), andreview_request.close()
to store the value inChangeDescriptionmodel to track automated
closing of review requests
- Added
automatedflag to
ReviewRequestResourceDraftAPI Update(), Create(),
review_request.publish(),draft.publish()to store the value in
ChangeDescriptionmodel to track automated upddating/publishing
of review requests
- Added
automatedflag to closed/published signals and email-related methods to render the
review_request_email.txtdifferently whenautomated=True
- Added codes to
change.htmltemplate to render RB logo in the
review request change entry whenautomated=True
- Added unit tests to
test_email_sending.py - Added unit tests to
test_review_request.py - Added unit tests to
test_review_request_draft.py - Added unit tests to
test_entries.py - Added unit tests to
webapi/tests/test_review_request.py - Added unit tests to
webapi/tests/test_review_request_draft.py - Added assertion to
test_github.py,test_rbgateway.py,
test_bitbucket.py
All tests passed.
- Attached screenshots to show changes in close email .txt and
frontend changeEntry.