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

1959 Commits

Author SHA1 Message Date
kaiyou
a640756b7f Add proper release notes for 1.7 2019-08-28 22:31:34 +02:00
Tim Möhlmann
fdec33d419
1.7 stable in docs 🚀 2019-08-23 12:47:33 +03:00
bors[bot]
1a597fbe6a
Merge #1130 #1132
1130: Remove unnecessary host variable assignments r=mergify[bot] a=kaiyou

## What type of PR?

Bug fix

## What does this PR do?

### Related issue(s)
- Closes #1126

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


1132: Release Mailu 1.7 r=mergify[bot] a=kaiyou

## What type of PR?

Release

## What does this PR do?

It provides the changelog and migration notes for release 1.7.

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

- [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-08-23 06:46:52 +00:00
bors[bot]
652d9e02a7
Merge #1134
1134: Only set the redis address once, fixes #1125 r=mergify[bot] a=kaiyou

## What type of PR?

Bug-fix

## What does this PR do?
We merged two PR that parametrize the redis address in two different ways

### Related issue(s)
- fixes #1125 

## 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-23 06:18:45 +00:00
kaiyou
d50504fa2b Only set the redis address once, fixes #1125 2019-08-23 00:29:00 +02:00
kaiyou
32ce24aced Add migration notes 2019-08-22 23:32:13 +02:00
kaiyou
089ca7a003 Prepare release notes for 1.7 2019-08-22 23:27:21 +02:00
kaiyou
4afbc09d6e Remove unnecessary host variable assignments 2019-08-22 22:44:49 +02:00
bors[bot]
f3f0c3190b
Merge #1014
1014: Fixed hardcoded antispam and antivirus host addresses r=mergify[bot] a=ajgon

## What type of PR?

enchancement

## What does this PR do?

Adds configurable parameters `HOST_ANTISPAM` and `HOST_ANTIVIRUS` for `core/dovecot` and `services/rspamd`, instead of using hardcoded container names.

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

Co-authored-by: Igor Rzegocki <igor@rzegocki.pl>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2019-08-22 14:08:27 +00:00
bors[bot]
d362df5f06
Merge #1123
1123: Remove unnecessary condition r=mergify[bot] a=ionutfilip

## What type of PR?
Minor change

## What does this PR do?
Removes unnecessary statement

### Related issue(s)
- No related issues

## 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: Ionut Filip <ionut.philip@gmail.com>
2019-08-22 13:34:46 +00:00
Ionut Filip
d49ee2997f Remove unnecesary condition 2019-08-22 15:26:06 +03:00
Tim Möhlmann
05ea4474e7
make ANTIVIRUS_ADDRESS consistent with #940 2019-08-22 13:08:43 +03:00
Tim Möhlmann
5b07da7f7c
Changelog to towncrier 2019-08-22 11:46:06 +03:00
Igor Rzegocki
6f973a2e4b
Fixed hardcoded antispam and antivirus host addresses
Fixes #978
2019-08-22 11:41:18 +03:00
bors[bot]
3e626b8500
Merge #940
940: Fix host variables r=mergify[bot] a=ionutfilip

## What type of PR?
bug-fix

## What does this PR do?

### Related issue(s)
- Fix #884

## 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-08-21 21:25:36 +00: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
Tim Möhlmann
9058f357f2
Move from changlog to towncrier 2019-08-21 23:51:44 +03:00
Tim Möhlmann
ed0fb77a01
Catch empty WEBMAIL and WEBDAV address 2019-08-21 22:54:42 +03:00
Tim Möhlmann
348ea1a572
Remove obsolete log call 2019-08-21 21:33:49 +03:00
Ionut Filip
075417bf90 Merged master and fixed conflicts 2019-08-21 20:35:24 +03:00
Tim Möhlmann
2a20c1e8ee
Tests for initial admin create 2019-08-21 17:50:14 +03:00
Tim Möhlmann
7d964874e8
Cleanup spaces around '=' 2019-08-21 16:35:41 +03:00
Tim Möhlmann
52971ed42e
Use os.environment.get() 2019-08-21 16:34:25 +03:00
Tim Möhlmann
13d6cf2fdb
Merge branch 'docs_and_setup' 2019-08-21 14:40:01 +03: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
bors[bot]
2329fe7929
Merge #1104
1104: Improve traefik-certdumper - run.sh and documentation r=mergify[bot] a=boldt

## What type of PR?

Bug fix and documentation

## What does this PR do?

On the first run, the `run.sh` script shows the error `diff: can't stat '/output/cert.pem': No such file or directory`, because the file does not exist in the folder `/output` yet. This bugfix ensures, that the diff is only called, when all required files are available.

Additionally, the corresponding documentation was updated, since the `run.sh` writes the two files `cert.pem` and `key.pem`, and not `your.doma.in.crt` and `your.doma.in.key`. Also some volume fixes.

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

Co-authored-by: Dennis Boldt <info@dennis-boldt.de>
2019-08-19 06:10:09 +00:00
bors[bot]
3763eac8a8
Merge #1107
1107: Parameterize redis address r=mergify[bot] a=mildred

## What type of PR?

bug-fix

## What does this PR do?

Allow redis on an hostname other than just `redis`

### Related issue(s)
none

## Prerequistes

- [ ] 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: Mildred Ki'Lya <mildred-pub.git@mildred.fr>
2019-08-19 05:43:08 +00:00
Dennis Boldt
a5610d3c25
Fixed C&P issue 2019-08-18 17:56:14 +02:00
Mildred Ki'Lya
95dce5575b Parameterize redis address 2019-08-15 11:28:17 +02:00
bors[bot]
47a40d17b7 Merge #1088
1088: Support domain literals (fix #1087) r=mergify[bot] a=hoellen

## What type of PR?
bug-fix

## What does this PR do?
This PR adds error handling for idna enocding. With telnet you now get a "Bad sender address syntax"  message.

```
> telnet mail.example.com 25

Connected to example.com.
Escape character is '^]'.
220 mail.example.com ESMTP ready
EHLO dummy.example.com
250-mail.example.com
250 STARTTLS
MAIL FROM: does-not-exist@[116.203.165.200]
250 2.0.0 OK
RCPT TO: some-user@example.com
501 5.1.7 Bad sender address syntax
Connection closed by foreign host.
```


### Related issue(s)
fix #1087

## 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: hoellen <dev@hoellen.eu>
2019-08-15 08:29:11 +00:00
hoellen
b720bedf72 Support domain literals for receiving emails 2019-08-15 00:20:55 +02:00
hoellen
bed2c6ea09 Revert "Error handling for idna encoding"
This reverts commit 10034526a1.
2019-08-14 01:02:07 +02:00
Dennis Boldt
eaeb151ff7
Use default key/cert names (cert.pem & key.pem) 2019-08-11 01:17:07 +02:00
Dennis Boldt
841ce96fbf
Update mount path to mailu/certs
- Thus, we write to /data/mailu/certs, since LE uses the same location
- The dumper created cert.pem and key.pem
- Mount /data/mailu/certs to certs, where nginx picks them up
2019-08-11 01:12:34 +02:00
Dennis Boldt
a9089710c8
Fix key-certificate pair names and paths 2019-08-11 01:06:53 +02:00
Dennis Boldt
982caa0e42
Clean up folders, which traefik-certdumper uses 2019-08-11 00:49:38 +02:00
Dennis Boldt
d6cf5b991b
Update run.sh
On the first run, this script shows the error 'diff: can't stat '/output/cert.pem': No such file or directory', because the file does not exist in the folder `/output` yet. This bugfix ensures, that the diff is only called, when all required files are available.
2019-08-11 00:39:52 +02:00
bors[bot]
cb13689ef5 Merge #1091
1091: Typo fix in templates for stack and compose r=mergify[bot] a=JCBird1012

## What type of PR?
**Template typo fix**

Definitely a quick PR to look at

## What does this PR do?

**Fixes two typos in templates**
_coma_->_comma_ in 
_setup/templates/steps/stack/03_expose.html_ 
and 
_setup/templates/steps/compose/03_expose.html_

### Related issue(s)

**N/A**

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

**N/A**




Co-authored-by: Jonathan Elias Caicedo <jonathan@jcaicedo.com>
2019-07-30 07:29:23 +00: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
bors[bot]
1f2ae521d7 Merge #1084
1084: Allow subnet with host bit set in setup r=mergify[bot] a=hoellen

## What type of PR?
bug-fix

## What does this PR do?
This allows to set the host bit in the subnet while using the [setup](https://setup.mailu.io/1.6/). The host bits are now masked out to determine the appropriate network address. This means that e.g. `172.17.0.1/12` is now considered as `172.17.0.0/12`.
So new users are not confused by error messages while setup a new Mailu instance (as you can see the multiple requests in the Matrix chat).

ref: https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Network

### Related issue(s)
closes #1083 

## 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: hoellen <dev@hoellen.eu>
2019-07-28 19:36:43 +00:00
bors[bot]
f9ed1b74d9 Merge #1082
1082: Use socrate instead of Mailustart r=mergify[bot] a=hoellen

## What type of PR?

enhancement

## What does this PR do?
This PR updates the `Dockerfile`, `setup.py` and `config.py` of each image to support the new [Mailu/socrate](https://github.com/Mailu/socrate) python package. So [MailuStart](https://github.com/Mailu/MailuStart) is not used anymore for resolving DNS and configuration processing. 

## 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: hoellen <dev@hoellen.eu>
2019-07-28 19:09:11 +00:00
hoellen
10034526a1 Error handling for idna encoding 2019-07-28 08:32:02 +02:00
bors[bot]
5dbf430241 Merge #1086
1086: move changelog to the right directory r=hoellen a=hoellen

## What type of PR?
bug-fix

## What does this PR do?
Move changelog to the right directory .... again 😆 

### Related issue(s)
#1068 

Co-authored-by: hoellen <dev@hoellen.eu>
2019-07-26 06:04:03 +00:00
hoellen
0e8bb507bf move changelog to the right directory 2019-07-26 07:27:54 +02:00
bors[bot]
b4f0002e86 Merge #1074
1074: Update traefik-certs-dumper r=muhlemmer a=YouriT

## What type of PR?

bug-fix

## What does this PR do?

Remove a useless dependency & update the command line according to the [latest ldez/traefik-certs-dumper documentation](https://github.com/ldez/traefik-certs-dumper/blob/master/docs/traefik-certs-dumper_file.md).

Co-authored-by: Youri Tolstoy <ytolstoy@gmail.com>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2019-07-25 20:53:22 +00:00
Tim Möhlmann
62b17a0a7b
Revert "Stop building certdumper since it is not supported by traefik anymore"
This reverts commit 0b484a8c2d.
2019-07-25 22:47:36 +03:00
hoellen
463bbda302 Allow subnet with host bit set in setup 2019-07-25 11:55:40 +02:00