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

306 Commits

Author SHA1 Message Date
bors[bot]
96f832835a
Merge #1278
1278: Limiter implementation r=kaiyou a=micw

## What type of PR?

(Feature, enhancement, bug-fix, documentation)

## What does this PR do?

Adds a custom limter based on the "limits" lirary that counts up on failed auths only

### Related issue(s)
- closes #1195
- closes #634

## Prerequistes

- [X] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Michael Wyraz <michael@wyraz.de>
Co-authored-by: micw <michael@wyraz.de>
2020-01-30 07:19:35 +00:00
iohenkies
ae6f82984d Add Fail2Ban section 2020-01-29 11:41:31 +01:00
bors[bot]
9db709515a
Merge #1308
1308: Use redis 5 on k8s & add selector r=mergify[bot] a=der-eismann

## What type of PR?
Enhancement

## What does this PR do?
This PR is updating Redis to version 5 in the kubernetes manifests. It is already used in the compose and swarm files, so I don't expect any incompatibilities. There is no necessary migration, you just can't go back.
In addition I added a selector to the manifest and applied a consistent formatting.

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

- [ ] 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: Philipp Trulson <philipp@trulson.de>
2020-01-23 16:22:02 +00:00
Nils Jakobi
c4fbc93171
Fixed small typo 2020-01-11 10:13:53 +01:00
Philipp Trulson
3b9281501a Use redis 5 on k8s & add selector 2020-01-07 21:24:39 +01:00
AndreKoepke
b42b48b836
Update database.rst
Correct keyword for postgresql-flavor
2019-12-30 15:10:26 +01:00
Michael Wyraz
70f797dbd9 Don't raise rate limit exception on hit(), only on check() 2019-12-16 18:47:21 +01:00
bors[bot]
f8a5dd000e
Merge #1241
1241: Change extensions/v1beta to apps/v1 to be compliant with Kubernetes 1.16 r=mergify[bot] a=WebSpider


## What type of PR?

Enhancement

## What does this PR do?

Changes to Kubernetes YAML files to be able to use this in Kubernetes 1.16

### Related issue(s)
- Fixes #1237

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

- N/A 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: WebSpider <webspider@bitlair.nl>
Co-authored-by: micw <michael@wyraz.de>
2019-12-16 17:05:44 +00:00
bors[bot]
cfd838f310
Merge #1215
1215: Allow specifying the traefik version for cert dumping r=mergify[bot] a=timoschwarzer

## What type of PR?

Enhancement

## What does this PR do?

### Related issue(s)
- #1011 

## 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: Timo Schwarzer <me@timoschwarzer.com>
2019-12-09 11:55:17 +00:00
Michael Wyraz
e857b9d659 Document default antivirus behaviour, add an option to reject viruses 2019-11-19 11:31:09 +01:00
micw
72235babdf
Update docs/dns.rst
Co-Authored-By: hoellen <hoellen@users.noreply.github.com>
2019-11-18 21:40:58 +01:00
Michael Wyraz
6aaa85b1a2 Document reverse DNS setup recommendations 2019-11-15 19:47:55 +01:00
WebSpider
95d03f4b4a Change extensions/v1beta to apps/v1 to be compliant with Kubernetes 1.16
Fixes #1237
2019-11-06 12:59:28 +01:00
bors[bot]
e3b98e1353
Merge #1229
1229: Fix docs warnings r=mergify[bot] a=muhlemmer

## What type of PR?

Documentation

## What does this PR do?

1. Fix various build warnings from Sphinx that sneaked into the project over time, and fixed them. 
2. Enable the `-W` option for `sphinx-build` to elevate `warning` to `error` in order to make build fail in case of syntax errors. This will give a better feedback from Travis to Pull Requests with Documentation updates. They will now block in case of syntax errors, so we don;t have to cleanup afterwards.

### Related issue(s)
None

## Prerequistes
N/A


Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2019-10-21 17:56:14 +00:00
Tim Möhlmann
d94c8bce53
Docs: treat warnings as errors 2019-10-21 15:18:53 +03:00
Tim Möhlmann
4911fba4af
Docs: Fix various build warnings:
- /docs/configuration.rst:157: WARNING: Inline emphasis start-string without end-string.
- /docs/configuration.rst:159: WARNING: Inline emphasis start-string without end-string.
- /docs/configuration.rst:159: WARNING: Inline emphasis start-string without end-string.
- /docs/configuration.rst:159: WARNING: Inline emphasis start-string without end-string.
- /docs/rpi_build.rst: WARNING: document isn't included in any toctree
2019-10-21 15:15:32 +03:00
Tim Möhlmann
45e0739302
Funding related documentation 2019-10-21 15:00:49 +03:00
bors[bot]
89413a8da9
Merge #1151
1151: Start writing the contribution guidelines r=mergify[bot] a=kaiyou

## What type of PR?

Documentation

## What does this PR do?

It provides a first suggested version of contribution guidelines for the project. These are very open do discussion. This was suggested in #1133.

## Prerequistes

- [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>
2019-10-21 08:16:07 +00:00
bors[bot]
0417c791ff
Merge #985
985: Permit raspberry pi (and other architectures) builds r=mergify[bot] a=abondis

## What type of PR?

Enhancement

## What does this PR do?

Add an option to select base images and permit building for different CPU architectures.

### Related issue(s)
N/A

## Prerequistes

- [X] 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: Aurélien Bondis <aurelien.bondis@gmail.com>
Co-authored-by: Aurelien <aurelien.bondis@gmail.com>
2019-10-20 20:41:03 +00:00
bors[bot]
dcda412b99
Merge #1211
1211: Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI r=mergify[bot] a=micw

## What type of PR?

bug-fix

## What does this PR do?

Fixes #1190 by separating HOST_ANTISPAM into HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI

### Related issue(s)
- closes #1190
- closes #1150

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

- [ ] 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: Michael Wyraz <michael@wyraz.de>
2019-10-13 19:44:25 +00:00
Timo Schwarzer
0c82caf817
Allow specifying the traefik version for cert dumping 2019-10-13 21:36:34 +02:00
bors[bot]
35160b770d
Merge #1198 #1204 #1207 #1208
1198: Enable access log of admin service only for log levels of INFO and finer r=muhlemmer a=micw

## What type of PR?

bug fix

## What does this PR do?

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

## Prerequistes

- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


1204: Add initial admin account to kubernetes example r=muhlemmer a=micw

## What type of PR?

documentation

## What does this PR do?

Add INITIAL_ADMIN_* example to kubernetes configmap.yaml

### Related issue(s)

- closes #1201

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

- docs example only

1207: Add Japanese translation r=muhlemmer a=IchikawaYukko

## What type of PR?

Translation

## What does this PR do?

Provide completed Japanese translation.

### Related issue(s)

None

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

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


1208: Persist mailqueue r=muhlemmer a=micw

## What type of PR?

bug-fix

## What does this PR do?

Makes postfix mailqueue presistent (for docker, swarm and kubernetes)

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

## 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] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Michael Wyraz <michael@wyraz.de>
Co-authored-by: Michael Wyraz <michael.wyraz@evermind.de>
Co-authored-by: U-COREI3-3120M\市川ゆり子 <ichikawayuriko@yahoo.co.jp>
Co-authored-by: micw <michael@wyraz.de>
2019-10-13 19:01:20 +00:00
Michael Wyraz
a907fe4cac Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI 2019-10-13 20:13:02 +02:00
micw
cdb9681674
Update smtp.yaml
Remove unused volume from smtp.yaml
2019-10-13 19:40:52 +02:00
bors[bot]
f6e6380154
Merge #1188
1188: You have to delete the Admin Pod, not the Imap pod r=muhlemmer a=fionera

## What type of PR?

documentation

## What does this PR do?

### Related issue(s)

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

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


Co-authored-by: Fionera <fionera@fionera.de>
2019-10-13 17:07:04 +00:00
Aaron E-J
065d22db66
changed the most recent stable version to 1.7 2019-10-13 17:30:23 +03:00
Michael Wyraz
b625b1eaea Add postfix mailqueue to persistent storage on kubernetes 2019-10-11 08:42:53 +02:00
Michael Wyraz
d9374e3c80 Add initial admin account to kubernetes example 2019-10-10 10:28:15 +02:00
Aurélien Bondis
5066129df0 RPi: update doc (alpine version + variables) 2019-10-09 12:17:40 -04:00
bors[bot]
20e00ac0c4
Merge #1158
1158: Use nginx for kubernetes ingress r=kaiyou a=micw

## What type of PR?

enhancement

## What does this PR do?

Currently, kubernetes uses a complex ingress setting which is not portable across different ingress controllers. This PR simplifies the ingress and delegates everythins special to Mailu to the front container,

### Related issue(s)
- closes #1121
- closes #1117
- closes #1021
- closes #1045

## Prerequistes

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog]

Co-authored-by: Michael Wyraz <michael@wyraz.de>
2019-10-07 19:36:45 +00:00
Michael Wyraz
b94636b883 Add port 80 to front container and service 2019-10-03 20:19:05 +02:00
Michael Wyraz
44837fc007 Switch from host network to hostPort bindings 2019-09-30 19:58:26 +02:00
Fionera
7a8395c927
Update index.rst 2019-09-30 19:24:44 +02:00
kaiyou
d5ad1cb449 Fix many typos and take the review into account 2019-09-17 21:11:30 +02:00
Michael Wyraz
92645bcd4a Use nginx for kubernetes ingress 2019-09-03 10:27:10 +02:00
kaiyou
488dfc2572 Start writing the contribution guidelines 2019-08-31 19:15:06 +02:00
Michael Wyraz
de2f166bd1 Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 2019-08-31 18:18:58 +02:00
Tim Möhlmann
1f0b45e47b
Release notes: remove spaces before bullet list 2019-08-30 17:18:31 +03:00
Tim Möhlmann
3320820f16
Docs: fix rendering in release notes 2019-08-30 17:16:52 +03:00
bors[bot]
13072d5144
Merge #1144
1144: Add proper release notes for 1.7 r=mergify[bot] a=kaiyou

## What type of PR?

Documentation

## What does this PR do?

When first writing the release notes, I forgot to include a proper release notes section in the docs.

### Related issue(s)

None

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

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] 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>
2019-08-29 12:46:28 +00:00
kaiyou
a640756b7f Add proper release notes for 1.7 2019-08-28 22:31:34 +02:00
Tim Möhlmann
a09d166dbf
Docs: fix some build warnings
I've noticed some styling / flow errors on the FAQ page on mailu.io.
This was due to short underlining.
Spynx was complaining about this at build time.
2019-08-27 10:34:46 +03:00
Tim Möhlmann
fdec33d419
1.7 stable in docs 🚀 2019-08-23 12:47:33 +03:00
Igor Rzegocki
6f973a2e4b
Fixed hardcoded antispam and antivirus host addresses
Fixes #978
2019-08-22 11:41:18 +03:00
bors[bot]
2785bca1f4
Merge #883
883: Admin create user enhancement r=mergify[bot] a=cr1st1p

## What type of PR?
Enhancement

## What does this PR do?
It allows the admin docker image to also create the admin user.
The idea is that in my kubernetes setup, I do not want to manually do anything, as such, I need a way for the admin user to also be created automatically without me getting inside the pod.
So I had to change the manage.py function that creates the user to allow different 'modes' (me, I'll be using 'ifmissing') and also start.py to call that functionality if appropriate environment variables are present.

So now, in my Deployment, I add 3 more environment variables and I get the admin user created, IF not already present.

### Related issue(s)
none?

## 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: cristi <cristi.posoiu@gmail.com>
Co-authored-by: cr1st1p <cristi.posoiu@gmail.com>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2019-08-21 20:58:25 +00:00
Aurélien Bondis
42e520843e update docs 2019-08-21 12:02:24 -04:00
Aurélien Bondis
a053f90875 docs: user ARG to chose image, install python3 before running pip3 2019-08-21 12:02:10 -04:00
Ionut Filip
be1873e1e8 Update docs, travis and mergify for 1.7 release 2019-08-21 14:27:39 +03:00
bors[bot]
55cdea974a
Merge #1078
1078: expose pop3 port, remove imap-ssl from dovecot in kubernetes manifest r=mergify[bot] a=sbias

## What type of PR?
bug-fix

## What does this PR do?
Exposes provided pop3 service in service definition to get useable by front

Co-authored-by: sbias <sb@liztv.net>
2019-08-21 08:25:25 +00:00
sbias
83c58c6ed5
add names to ports of imap deployment, remove imap-ssl 2019-08-19 12:42:41 +02:00