1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/core/admin/mailu
bors[bot] bbf0ac5d47
Merge #2464
2464: Introduce RESTful API r=mergify[bot] a=Diman0

## What type of PR?

Feature

## What does this PR do?
Introduces a RESTful API for changing the complete Mailu config.
Anything that can be configured in the web administration interface, can also be configured via the Mailu RESTful API.

Via the swagger.json endpoint the complete OpenAPI specification can be retrieved.
Via the endpoint swaggerui, a web client is available which shows all the endpoints, data models and allows you to submit requests.

See docs/api.rst and docs/configuration.rst for details for enabling it.

### Related issue(s)
- closes #445 

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2023-01-12 18:48:32 +00:00
..
api Change PUT method to PATCH method. 2023-01-12 10:55:49 +00:00
internal Enable HAPROXY protocol in between front and imap 2022-12-28 14:17:00 +01:00
sso Autofocus the login form on /sso/login 2022-12-08 15:17:58 +01:00
translations Fix a bunch of typos 2022-10-19 19:41:49 +02:00
ui Merge #2588 2022-12-22 13:30:17 +00:00
__init__.py Process review comments (PR2464) 2022-12-27 11:32:57 +01:00
configuration.py Add default for WEB_API, re-add flask-restx to deps, remove whitespace 2022-12-27 14:28:25 +01:00
debug.py update werkzeug to 1.x 2021-11-02 15:39:41 +01:00
dkim.py remove newline 2022-11-29 13:32:40 +01:00
limiter.py Fix 2125 2022-01-03 13:38:21 +01:00
manage.py set the umask 2022-11-25 17:53:25 +01:00
models.py Fix smtplib.LMTP wrong argument name: ip -> host 2023-01-11 18:05:19 +01:00
schemas.py Fix creation of deep structures using import in update mode 2022-12-27 12:53:22 +01:00
utils.py Change the logic 2022-11-15 10:47:20 +01:00