reviewboard.reviews.signals¶
-
review_request_publishing
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review request is publishing.
Parameters: - user (django.contrib.auth.models.User) – The user publishing the review request.
- review_request_draft (reviewboard.reviews.models.ReviewRequestDraft) – The review request draft being published.
-
review_request_published
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review request is published.
Parameters: - user (django.contrib.auth.models.User) – The user who published the review request.
- review_request_draft (reviewboard.reviews.models.ReviewRequestDraft) – The review request draft that was published.
-
review_request_closing
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review request is about to be closed.
Parameters: - user (django.contrib.auth.models.User) – The user closing the review request.
- review_request (reviewboard.reviews.models.ReviewRequest) – The review request being closed.
- type (unicode) – Describes how the review request is being closed. It is one of
SUBMITTED
orDISCARDED
. - description (unicode) – The provided closing description.
- rich_text (bool) – Whether or not the description is rich text (Markdown).
-
review_request_closed
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review request has been closed.
Parameters: - user (django.contrib.auth.models.User) – The user who closed the review request.
- review_request (reviewboard.reviews.models.ReviewRequest) – The review request that was closed.
- type (unicode) – Describes how the review request was closed. It is one of
SUBMITTED
orDISCARDED
. - description (unicode) – The provided closing description.
- rich_text (bool) – Whether or not the description is rich text (Markdown).
-
review_request_reopening
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review request is about to be reopened.
Parameters: - user (django.contrib.auth.models.User) – The user re-opening the review request.
- review_request (reviewboard.reviews.models.ReviewRequest) – The review request being reopened.
-
review_request_reopened
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review request has been reopened.
Parameters: - user (django.contrib.auth.models.User) – The user who re-opened the review request.
- review_request (reviewboard.reviews.models.ReviewRequest) – The review request that was reopened.
- old_status (unicode) – The old status for the review request. This will be
PENDING_REVIEW
,SUBMITTED
, orDISCARDED
. - old_public (bool) – The old public state for the review request.
-
review_publishing
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review is being published.
Parameters: - user (django.contrib.auth.models.User) – The user publishing the review.
- review (reviewboard.reviews.models.Review) – The review that’s being published.
-
review_published
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a review has been published.
Parameters: - user (django.contrib.auth.models.User) – The user who published the review.
- review (reviewboard.reviews.models.Review) – The review that was published.
- request (django.http.HttpRequest) – The request object if the review was published from an HTTP request.
-
reply_publishing
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a reply to a review is being published.
Parameters: - user (django.contrib.auth.models.User) – The user publishing the reply.
- review (reviewboard.reviews.models.Review) – The reply that’s being published.
-
reply_published
= <django.dispatch.dispatcher.Signal object>[source]¶ Emitted when a reply to a review has ben published.
Parameters: - user (django.contrib.auth.models.User) – The user who published the reply.
- review (reviewboard.reviews.models.Review) – The reply that was published.
- trivial (bool) – Whether the reply was considered trivial.