• 
      

    Add support for enabling certain extensions by default.

    Review Request #9273 — Created Oct. 17, 2017 and submitted

    Information

    Djblets
    release-0.10.x
    4e249cc...

    Reviewers

    This adds a new setting, settings.EXTENSIONS_ENABLED_BY_DEFAULT, which
    is a list of extension IDs that will be automatically enabled when first
    registered in the database through ExtensionManager.load(). This
    allows a project to automatically enable specific extensions, such as
    first-party ones considered a part of the application.

    Once an extension is later disabled, it will not be automatically
    re-enabled unless the registration is removed from the database.
    Extensions also cannot opt into being enabled by default.

    Unit tests pass.

    Tested this manually with an extension that was set to be auto-enabled.

    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.10.x (c11534f)