extensions-website/constants/activity.py
Oleg-Komarov cf1c0315e9 Upload new version: generate approval activity item (#95)
See #89: for new version uploads of a listed (previously approved) extension add a comment on approval queue.

Don't merge before #94 - there the comment form is refactored to avoid listing all possible activity types.

Reviewed-on: #95
Reviewed-by: Anna Sirota <railla@noreply.localhost>
2024-04-30 10:49:03 +02:00

20 lines
574 B
Python

class Verb:
"""These constants are used to dispatch Action records,
changing the values will result in a mismatch with historical values stored in db.
"""
APPROVED = 'approved'
COMMENTED = 'commented'
RATED_EXTENSION = 'rated extension'
REPORTED_EXTENSION = 'reported extension'
REPORTED_RATING = 'reported rating'
REQUESTED_CHANGES = 'requested changes'
REQUESTED_REVIEW = 'requested review'
UPLOADED_NEW_VERSION = 'uploaded new version'
class Flag:
AUTHOR = 'author'
MODERATOR = 'moderator'
REVIEWER = 'reviewer'