656fe6d3e4
Support blocking extensions so there is a way for the maintainers of the remote repository to notify the user if one of their installed extensions blocked along with a reason for blocking. Blocked extensions cannot be installed from the preferences or by dropping a URL. When an installed & blocked extension is found: - An icon int the status bar shows an alert, clicking on the icon shows the blocked extensions. - The extensions preferences show a warning. - The extensions & add-ons UI shows an alert icon and "details" section shows the reason. Details: - Blocked & installed extensions are shown first in the installed extensions panel. - The internal "install" logic prevents downloading & installing blocked extensions. - Blocked extensions can still be downloaded & installed from disk. - The "list" command includes an error message if any installed extensions are blocked. - The "server-generate" command can optionally take a configuration file that includes the blocklist for the generated JSON. See design #124954.