Add management commands for enabling, disabling, and listing extensions.

Review Request #5639 — Created March 17, 2014 and submitted

Information

Review Board
release-2.0.x
748e19e...

Reviewers

When things go wrong with extensions, it's difficult to solve without
going into the database. This change aims to help with that by offering
management commands for enabling and disabling extensions, and for
listing all available (or all enabled) extensions.

'enable-extension' and 'disable-extension' take an extension ID, and
will enable or disable.

'list-extensions' will by default list all registered extensions.
Passing --enabled will limit this to enabled extensions.

Disabled an extension, checked that it was disabled, and re-enabled it.

Tested list-extensions with and without --enabled.

Description From Last Updated

This should probably be localized, too.

daviddavid

i18n?

daviddavid

i18n?

daviddavid

i18n?

daviddavid
david
  1. 
      
  2. Show all issues

    This should probably be localized, too.

  3. Show all issues

    i18n?

  4. Show all issues

    i18n?

  5. reviewboard/extensions/management/commands/list-extensions.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
    Show all issues

    i18n?

  6. 
      
chipx86
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed