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] b8b1699f9e
Merge #1359
1359: Refactor the rate limiting code r=mergify[bot] a=kaiyou

## What type of PR?

Enhancement

## What does this PR do?

Rate limiting was already redesigned to use Python limits. This
introduced some unexpected behavior, including the fact that only
one criteria is supported per limiter. Docs and setup utility are
updated with this in mind.

Also, the code was made more generic, so limiters can be delivered
for something else than authentication. Authentication-specific
code was moved directly to the authentication routine.

### Related issue(s)

No specific issue.

## Prerequistes
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/guide.html#changelog) entry file.


Co-authored-by: kaiyou <pierre@jaury.eu>
5 years ago
..
_templates Restore VERSION_TAG template 6 years ago
assets Funding related documentation 5 years ago
compose Merge #1359 5 years ago
contributors Fix many typos and take the review into account 5 years ago
kubernetes Use redis 5 on k8s & add selector 5 years ago
swarm Fix typo in link 6 years ago
.env Add deploy settings for server 6 years ago
Dockerfile Docs: treat warnings as errors 5 years ago
cli.rst Docs: fix some build warnings 5 years ago
conf.py 1.7 stable in docs 🚀 5 years ago
configuration.rst Refactor the rate limiting code 5 years ago
database.rst Update database.rst 5 years ago
demo.rst Fixed small typo 5 years ago
dns.rst Update docs/dns.rst 5 years ago
docker-compose.yml Make docker-compose.yml for setup and docs development friendly 6 years ago
faq.rst Merge #1351 5 years ago
features.rst Add a page with features and screenshots 7 years ago
general.rst Fix the rst syntax for most documentation 7 years ago
index.rst Docs: Fix various build warnings: 5 years ago
maintain.rst Include a doc section for external certbot 6 years ago
nginx.conf Build the documentation as a Docker image 6 years ago
releases.rst Release notes: remove spaces before bullet list 5 years ago
requirements.txt Revert "Add a Dockerfile for buliding the docs" 6 years ago
reverse.rst Docs: fix some build warnings 5 years ago
rpi_build.rst RPi: update doc (alpine version + variables) 5 years ago
setup.rst Merge #985 5 years ago