Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2021-04-15 14:27:03 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-28 10:17:14 +0300
commit537a766a12b74a3118e8993a5370ae250b96645d (patch)
tree4f32a74cde113fea1b2097690c62528504df8c3b /appinfo
parent8c8d71e37ad87a3303c0dbe09ab39098893c50c1 (diff)
Add option to use multiple configs for mail provisioning
Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/info.xml4
-rw-r--r--appinfo/routes.php19
2 files changed, 18 insertions, 5 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 7f40a03e4..2e952b004 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -12,7 +12,7 @@
- **🙈 We’re not reinventing the wheel!** Based on the great [Horde](https://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>1.10.0-alpha.3</version>
+ <version>1.10.0-alpha.4</version>
<licence>agpl</licence>
<author>Christoph Wurst</author>
<author>Greta Doçi</author>
@@ -43,8 +43,6 @@
<step>OCA\Mail\Migration\FixCollectedAddresses</step>
<step>OCA\Mail\Migration\FixBackgroundJobs</step>
<step>OCA\Mail\Migration\MakeItineraryExtractorExecutable</step>
- <step>OCA\Mail\Migration\MigrateProvisioningConfig</step>
- <step>OCA\Mail\Migration\AddSieveToProvisioningConfig</step>
<step>OCA\Mail\Migration\ProvisionAccounts</step>
</post-migration>
</repair-steps>
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 4f80ed450..7a1d14649 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -230,13 +230,28 @@ return [
'verb' => 'GET'
],
[
- 'name' => 'settings#provisioning',
+ 'name' => 'settings#index',
+ 'url' => '/api/settings/provisioning',
+ 'verb' => 'GET'
+ ],
+ [
+ 'name' => 'settings#createProvisioning',
'url' => '/api/settings/provisioning',
'verb' => 'POST'
],
[
+ 'name' => 'settings#updateProvisioning',
+ 'url' => '/api/settings/provisioning/{id}',
+ 'verb' => 'POST'
+ ],
+ [
+ 'name' => 'settings#provision',
+ 'url' => '/api/settings/provisioning/all',
+ 'verb' => 'PUT'
+ ],
+ [
'name' => 'settings#deprovision',
- 'url' => '/api/settings/provisioning',
+ 'url' => '/api/settings/provisioning/{id}',
'verb' => 'DELETE'
],
[