Create purgatory. Buttons are free! Bug 614686

This commit is contained in:
Wil Clouser 2010-12-02 10:55:34 -08:00
Родитель 6313a26336
Коммит a49873a945
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -84,6 +84,7 @@ STATUS_LISTED = 6
STATUS_BETA = 7
STATUS_LITE = 8
STATUS_LITE_AND_NOMINATED = 9
STATUS_PURGATORY = 10 # A temporary home; bug 614686
STATUS_CHOICES = {
STATUS_NULL: _('Incomplete'),
@ -97,12 +98,15 @@ STATUS_CHOICES = {
STATUS_LITE: _('Preliminarily reviewed'),
STATUS_LITE_AND_NOMINATED:
_('Preliminarily reviewed and awaiting full review'),
STATUS_PURGATORY:
_('Pending a review choice'),
}
UNREVIEWED_STATUSES = (STATUS_UNREVIEWED, STATUS_PENDING, STATUS_NOMINATED)
UNREVIEWED_STATUSES = (STATUS_UNREVIEWED, STATUS_PENDING, STATUS_NOMINATED,
STATUS_PURGATORY)
VALID_STATUSES = (STATUS_UNREVIEWED, STATUS_PENDING, STATUS_NOMINATED,
STATUS_PUBLIC, STATUS_LISTED, STATUS_BETA, STATUS_LITE,
STATUS_LITE_AND_NOMINATED)
STATUS_LITE_AND_NOMINATED, STATUS_PURGATORY)
# Types of administrative review queues for an add-on:
ADMIN_REVIEW_FULL = 1

Просмотреть файл

@ -0,0 +1,2 @@
-- Sandboxed add-ons move to purgatory; bug 614686
UPDATE addons SET status=10 WHERE status=1;