Add a LocalSite-enabled feature checker
Review Request #8472 — Created Oct. 17, 2016 and submitted — Latest diff uploaded
The
LocalSiteFeatureChecker
allows features to be enabled or disabled
at theLocalSite
level. Features not configured on a LocalSite will
fall back to the global configuration (first site configuration, then
Django settings).Additionally, the status update work has been reworked to provide the
necessary information (aLocalSite
or aHttpRequest
) to use the new
feature checker.This feature checker is now the default for Review Board.
Ran unit tests.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.
orig
1
2
3
4
reviewboard/settings.py |
---|
reviewboard/features/__init__.py |
---|
reviewboard/features/checkers.py |
---|
reviewboard/features/tests.py |
---|
reviewboard/reviews/detail.py |
---|
reviewboard/reviews/views.py |
---|
reviewboard/site/models.py |
---|
reviewboard/site/evolutions/__init__.py |
---|
reviewboard/site/evolutions/localsite_extra_data.py |
---|