1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
Mailu/docs
bors[bot] 4a24bd9e24
Merge #2638
2638: further finishing touches for restful api r=mergify[bot] a=Diman0

- Fix setup utility setting correct value to env var API. It now also sets `false` when the API is disabled in the setup utility.
- Fix IF statement for enabling API in nginx.conf. Setting a different value than `API=true` in mailu.env now disabled the API endpoint in nginx.
- Use safer command for regenerating example API token. It uses crypto.getRandomValues() (as suggested by nextgens) which should be more random than the previously used method. 

## What type of PR?

bug-fix

## What does this PR do?

### 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.

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] 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>
2023-01-31 20:34:48 +00:00
..
_templates Restore VERSION_TAG template 2018-12-30 15:07:45 +02:00
assets removing unneeded image 2020-11-17 11:41:01 -06:00
compose Fix a bunch of typos 2022-10-19 19:41:49 +02:00
contributors Remove Swarm everywhere. 2022-11-24 16:23:53 +01:00
kubernetes/mailu simplify 2021-08-24 18:49:27 +02:00
.env Add deploy settings for server 2018-12-17 00:12:21 +02:00
antispam.rst Mention you must restart rspamd for the changes to take effect. 2022-12-22 16:01:30 +00:00
api.rst Make API configurable via the setup utility 2023-01-25 15:30:25 +00:00
arm_images.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00
cli.rst Introduction of the Mailu RESTful API. 2022-12-27 11:32:54 +01:00
conf.py Set language to English for sphinx in conf.py. 2022-06-07 11:20:07 +00:00
configuration.rst Merge #2631 2023-01-27 18:46:57 +00:00
database.rst Update database.rst 2022-07-28 19:44:31 +08:00
demo.rst Update demo docs with new capabilities 2023-01-31 08:27:24 +00:00
dns.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00
docker-compose.yml Make docker-compose.yml for setup and docs development friendly 2019-01-16 20:50:52 +02:00
Dockerfile Process code review remarks 2021-11-18 17:21:56 +00:00
faq.rst Still prefer docker-ipv6nat 2023-01-28 19:40:26 +01:00
features.rst remove service status "feature" 2020-11-11 12:10:41 -06:00
general.rst Update general.rst 2022-07-28 20:02:51 +08:00
index.rst Introduction of the Mailu RESTful API. 2022-12-27 11:32:54 +01:00
maintain.rst Documentation: 2022-07-26 18:16:18 +08:00
nginx.conf Build the documentation as a Docker image 2018-09-28 10:41:17 +02:00
releases.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00
requirements.txt Introduction of the Mailu RESTful API. 2022-12-27 11:32:54 +01:00
reverse.rst Use server-side password generator for generating token. 2023-01-31 12:37:25 +00:00
setup.rst Merge branch 'master' into feat-switch-buildx 2022-08-03 09:45:20 +00:00
webadministration.rst Set default for FETCHMAIL_ENABLED 2023-01-25 12:20:17 +01:00