Join GitHub today
Plugin management view #451
Create a new view that lists all available plugins in a table, along with their type (table, currency, import) and a checkbox to enable or disable them. All core plugins are enabled by default, but user plugins have to be manually enabled.
I'm not sure yet, but I expect that enabling/disabling a plugin while the application is running brings its share of complications, so for now, we'll avoid this and only load plugins at initialization time. This means that we'll need a label that says that restarting moneyGuru is needed for plugin preferences to be taken into account.
There should also be an "open plugins folder" button.
This is a part of the big plugin architecture overhaul at #401.
Note to myself: as I implement this, I'm testing plugin enabling/disabling and I realize that when loading a document containing references to unsupported currencies (because of a disabled currency provider), we silently change them to the native currency. This wasn't much of a problem before because it wasn't possible to disable a core currency provider, but if left as is, this will probably be a serious problem. We'll need to refuse loading a document that contains reference to unsupported currencies to avoid potential data loss.