diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-15 16:26:56 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-04 10:49:38 +0300 |
commit | ad29c8a46cc0bc6e783e82cc81ea5c701c66fb98 (patch) | |
tree | e4f2c3c193747b84c4e8e6145531b204a55c3ff5 /appinfo | |
parent | 26c13bc035177ae100054e21ba97f61f6d8d5c50 (diff) |
Persist provisioned accounts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/info.xml | 7 | ||||
-rw-r--r-- | appinfo/routes.php | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index d51bdf020..1872e1c30 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -12,7 +12,7 @@ - **🙈 We’re not reinventing the wheel!** Based on the great [Horde](http://horde.org) libraries. - **📬 Want to host your own mail server?** We don’t have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)! ]]></description> - <version>0.19.1</version> + <version>0.20.0</version> <licence>agpl</licence> <author>Christoph Wurst</author> <author>Jan-Christoph Borchardt</author> @@ -34,10 +34,15 @@ <repair-steps> <post-migration> <step>OCA\Mail\Migration\FixCollectedAddresses</step> + <step>OCA\Mail\Migration\MigrateProvisioningConfig</step> + <step>OCA\Mail\Migration\ProvisionAccounts</step> </post-migration> </repair-steps> <commands> <command>OCA\Mail\Command\CreateAccount</command> <command>OCA\Mail\Command\ExportAccount</command> </commands> + <settings> + <admin>OCA\Mail\Settings\AdminSettings</admin> + </settings> </info> diff --git a/appinfo/routes.php b/appinfo/routes.php index 5812cb9d7..8ce7275c8 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -113,6 +113,16 @@ return [ 'url' => '/proxy', 'verb' => 'GET' ], + [ + 'name' => 'settings#provisioning', + 'url' => '/api/settings/provisioning', + 'verb' => 'POST' + ], + [ + 'name' => 'settings#deprovision', + 'url' => '/api/settings/provisioning', + 'verb' => 'DELETE' + ], ], 'resources' => [ 'accounts' => ['url' => '/api/accounts'], |