Add siteconfig var and button for read-only mode

Review Request #8648 - Created Jan. 20, 2017 and updated

Kanghee Park
Review Board
master
8810, 8657, 8677, 8812, 8811, 8655
7ffda32...
reviewboard, students

Read-only mode is a new feature that allows users to view Review
Board while the site is being maintained or upgraded.
Added a toggle for read-only mode in Admin -> General Settings by
adding a checkbox.
Added a new attribute to siteconfig called site_read_only.
Toggling read-only mode will toggle the attribute to true/false.

In admin panel set new toggle to on/off and check that site_read_only
in siteconfig is set to true or false depending on whether the toggle
is checked or not.

Loading file attachments...

  • 0
  • 9
  • 3
  • 12
Description From Last Updated
Review Bot
Christian Hammond
Kanghee Park
Review Bot
Barret Rennie
Kanghee Park
Review Bot
Kanghee Park
Review request changed
Review Bot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/admin/siteconfig.py
        reviewboard/admin/forms.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/admin/siteconfig.py
        reviewboard/admin/forms.py
    
    
Loading...