Oleg-Komarov
cf1c0315e9
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>
20 lines
574 B
Python
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'
|