You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/docs
bors[bot] 179c624116
Merge #2631
2631: Restful api finishing touches r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Some finishing touches for the restful api.

- Make the API configurable via the setup utility.  
  - Configured exactly the same as the ADMIN and WEBMAIL. 
- We have a single config (API) that configures whether it is exposed (via front). Just like ADMIN. The API is always reachable by directly connecting to the admin container.
- API_TOKEN does not enable/disable the API anymore. When it is not configured, an error is returned (via the internet browser) that the API_TOKEN must be configured in mailu.env.
- Fix some small bugs in the setup utility ( selecting none in the dropdown boxes, now correctly changes the config)
- Update Flask-RestX to 1.0.5. This resolves the deprecation warnings introduced by Flask-RestX.

### Related issue(s)

## 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: Dimitri Huisman <diman@huisman.xyz>
2 years ago
..
_templates Restore VERSION_TAG template 6 years ago
assets removing unneeded image 4 years ago
compose Fix a bunch of typos 2 years ago
contributors Remove Swarm everywhere. 2 years ago
kubernetes/mailu simplify 3 years ago
.env Add deploy settings for server 6 years ago
Dockerfile Process code review remarks 3 years ago
antispam.rst Mention you must restart rspamd for the changes to take effect. 2 years ago
api.rst Make API configurable via the setup utility 2 years ago
arm_images.rst Fix a bunch of typos 2 years ago
cli.rst Introduction of the Mailu RESTful API. 2 years ago
conf.py Set language to English for sphinx in conf.py. 2 years ago
configuration.rst Merge #2631 2 years ago
database.rst Update database.rst 2 years ago
demo.rst Fixed small typo 5 years ago
dns.rst Fix a bunch of typos 2 years ago
docker-compose.yml Make docker-compose.yml for setup and docs development friendly 6 years ago
faq.rst Merge branch 'apiv1' of https://github.com/ghostwheel42/Mailu into feature-445-restful-api-ghostwheel 2 years ago
features.rst remove service status "feature" 4 years ago
general.rst Update general.rst 2 years ago
index.rst Introduction of the Mailu RESTful API. 2 years ago
maintain.rst Documentation: 2 years ago
nginx.conf Build the documentation as a Docker image 6 years ago
releases.rst Fix a bunch of typos 2 years ago
requirements.txt Introduction of the Mailu RESTful API. 2 years ago
reverse.rst Fixed error in reverse.rst and remove unneeded example block. 2 years ago
setup.rst Merge branch 'master' into feat-switch-buildx 2 years ago
webadministration.rst Set default for FETCHMAIL_ENABLED 2 years ago