1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
kaiyou
8e88f1b8c3 Refactor the rate limiting code
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.
2020-02-09 17:38:18 +01:00
Jonathan Elias Caicedo
468793640a
Fix 'coma' -> 'comma' 2019-07-28 23:03:32 -04:00
Jonathan Elias Caicedo
8661919374
Fix 'coma' -> 'comma' 2019-07-28 23:03:01 -04:00
toxik-io
ca5e0c88ba
update in stack, as well. 2019-05-07 12:19:38 -06:00
toxik-io
f1eb2ee367
solve admin problems by recommending it in setup, not just FAQ. 2019-05-07 12:19:06 -06:00
bors[bot]
86b4242f82 Merge #886
886: Ipv6 support r=mergify[bot] a=muhlemmer

## What type of PR?

(Feature, enhancement, bug-fix, documentation) -> A bit of everything

## What does this PR do?

Document how to use ipv6nat. This, however triggers some kind of flaky behavior with the Docker DNS resolver, resulting in lookup failures between containers.  So all resolving needs to be done during container startup/configuration.

In order not to pollute every single start.py file, we've created a small library called [Mailu/MailuStart](https://github.com/Mailu/MailuStart). As an addition, this library also defines the template generation function, including its logging facility.

Note: `docker-compose.yml` downgrade is necessary, as IPv6 settings are not supported by the Docker Compose file format 3 😞  

### Related issue(s)
Supersedes  PR #844
- Fixes #827 
- Hopefully helps with #829 and #834

## No backport yet

This PR directly imports MailuStart from git. This makes it a bit more simple to implement on the short term an do some testing and probably some future improvements. When everything is proved stable, we will create a proper PyPi package with versioning and consider back porting.

## 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: place entry in the [changelog](CHANGELOG.md), under the latest un-released version.


Co-authored-by: Ionut Filip <ionut.philip@gmail.com>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2019-02-06 12:56:40 +00:00
Ionut Filip
bbbd22b3a3
Merge pull request #843 from usrpro/fix-unbound-swarm
Remove unbound from swarm
2019-01-18 12:31:09 +02:00
Tim Möhlmann
3460872747
Documentation on IPv6 2019-01-17 17:56:00 +02:00
Ionut Filip
3ae1c75c55
Added IPv6 as optional 2019-01-17 16:40:39 +02:00
Ionut Filip
f7e37b7d4b
Removed unbound resolver for stack flavor 2019-01-17 13:54:06 +02:00
Ionut Filip
9bec86f2c3 Fixed TLD limitation 2019-01-17 11:13:27 +02:00
Tim Möhlmann
38e754be6d
Make docs refer to the setup utility 2019-01-16 21:01:09 +02:00
Ionut Filip
37a07e3297 Update setup utility with mysql db flavor 2019-01-10 15:44:02 +02:00
Tim Möhlmann
b2823c23b8
Merge remote-tracking branch 'upstream/master' into feat-psql-support 2018-12-31 18:20:39 +02:00
Tim Möhlmann
8172f3eab8
Move the Mailu Docker network to a fixed subnet.
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
2018-12-06 12:08:22 +02:00
Ionut Filip
ef6a0727ac Updated setup with optional psql db 2018-11-27 15:11:46 +02:00
Ionut Filip
2a76451a98 Moved scripts to an external js file 2018-11-07 16:41:11 +02:00
Tim Möhlmann
ca4804653d
Merge branch 'master' into feat-setup 2018-10-31 20:11:52 +01:00
Ionut Filip
ffdef18bd6 Rendering admin/webmail path based on checkbox value 2018-10-26 16:50:59 +03:00
Tim Möhlmann
1e3392e417
Antispam not an optional service, postfix fails without it 2018-10-25 17:37:22 +03:00
Ionut Filip
e5268de0c7 Revert default value for subnet 2018-10-23 17:55:44 +03:00
Ionut Filip
120c29eff6 Added unbound for stack flavor 2018-10-23 17:46:06 +03:00
Ionut Filip
7c07efc216 Added unbound to setup
- Added checkbox for unbound resolver
- Added subnet variable
- Added dns variable which is generating the ip address based on subnet
2018-10-23 15:44:30 +03:00
Ionut Filip
3c9cae5d06 Added replicas variables for core containers
- Added back restart: always on compose flavor
- Moved Log driver from .env to docker-compose.yml
2018-10-22 15:13:18 +03:00
Ionut Filip
c5be360a48 Updated setup page for stack flavor 2018-10-19 17:29:35 +03:00
Tim Möhlmann
84c6b12d06
Updated labels in config page 2018-10-19 11:57:14 +03:00
Ionut Filip
08987dfa22 Minor changes 2018-10-19 11:45:55 +03:00
Ionut Filip
35193f5530 Added functionality for stack flavor 2018-10-18 17:23:25 +03:00
Tim Möhlmann
adfadab4cf
Load steps after setting flavor 2018-10-18 12:56:16 +03:00
Ionut Filip
7c0f5b20d6 Bug fixes 2018-10-17 17:54:37 +03:00
Ionut Filip
6b6cbcf977 Modified variables in .env file 2018-10-17 15:38:51 +03:00
Ionut Filip
b3c7c45140 Added input form constraints 2018-10-17 15:11:55 +03:00
Ionut Filip
b9ecc0ccc6 Added minor changes 2018-10-16 18:03:59 +03:00
Ionut Filip
e8dee22ecf Added vars and fixed naming use 2018-10-16 16:12:42 +03:00
Ionut Filip
0d164486b4 docker-compose variables and setup 2018-10-16 12:34:55 +03:00
kaiyou
f5538698d3 Rename the config dir to setup 2018-04-22 16:10:25 +02:00