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

108 Commits

Author SHA1 Message Date
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
hoellen
463bbda302 Allow subnet with host bit set in setup 2019-07-25 11:55:40 +02:00
bors[bot]
2d4c837761 Merge #1015
1015: Merge DNS hints, and hostname/domain ordering hints. r=Nebukadneza a=toxik-io

## Enhancement - Hints in setup, references in setup & DNS docs

Unrelated: This PR makes changes to the Flask setup utilities to suggest ordering the `HOSTNAMES` 
entry so that the first entry is the admin panel's domain (at least in my experience that's what fixed my
issues)

It also makes changes to the documentation, referencing that more than the usual DNS
entries need to be set (and the admin panel used) if they've enabled DMARC/SPF/DKIM.

### Related issue(s)
- My original issue #1002

## Prerequistes

- [x] 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.

## Assistance
I'm unsure if the hints for HOSTNAME ordering are simply because of how the config is gulped in
by the current tooling, or if it's a bug that the frontend only accepts connections from the first host...

I also don't know what commands in the CLI would replicate the steps taken on the admin dashboard.

Further, I don't know what you'd put in the changelog.

Co-authored-by: toxik-io <thetoxicarcade@gmail.com>
2019-06-23 09:27:31 +00:00
bors[bot]
8ffe947f39 Merge #939
939: Removed commented options in env file r=mergify[bot] a=ionutfilip

## What type of PR?
Enhancement

## What does this PR do?
Remove all commented options from env file

### Related issue(s)
- #858
- #895

## 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>
2019-05-09 07:15:35 +00:00
bors[bot]
ce12c4979d Merge #964
964: Create overrides/nginx r=mergify[bot] a=jeremyVignelles

## What type of PR?

documentation

## What does this PR do?
Updates the procedure to include the creation of that required folder

## 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: Jérémy VIGNELLES <jeremyvignelles@users.noreply.github.com>
2019-05-08 13:38:16 +00:00
bors[bot]
0e182fde3f Merge #957
957: Correct hardcoded WEBROOT_REDIRECT r=mergify[bot] a=ahwebd

We should not assume that the user has chosen the word "webmail" for his webmail path.

Co-authored-by: Ahmed H <ahwebd@gmail.com>
2019-05-08 12:37:45 +00: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
Jérémy VIGNELLES
b1621d4b63
Create overrides/nginx
This folder is needed for the front service to be able to start, because a bind-mount is made on that folder.
2019-03-10 11:09:50 +01:00
Ahmed H
52948fa529
Correct hardcoded WEBROOT_REDIRECT
We should not assume that the user has chosen the word "webmail" for his webmail path
2019-03-02 14:25:18 +03:00
Ionut Filip
131406774b Handle setup subnet error 2019-02-25 11:46:42 +02:00
Ionut Filip
4df36bea91 Removed commented options 2019-02-15 12:06:01 +02: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
bors[bot]
4d58b322bc Merge #888 #889
888: Correct the URL users are directed to after using setup without exposing /admin r=mergify[bot] a=Nebukadneza

In setup, users who didn’t expose `/admin` were directed to `http://127.0.0.1:8080/`, which was missing `/ui` to work.

Also, let’s help out the less apt admins by providing a copy-paste template for ssh-tunnelling.

## What type of PR?
documentation

### Related issue(s)
closes #885

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


889: Catch webmail-url empty but webmail configured and force to default r=mergify[bot] a=Nebukadneza

## What type of PR?
bug-fix

## What does this PR do?
Quite some users managed to delete the contents of the webmail-url field in
setup, which forces front into a restart loop. Catch the case where a webmail
service is configured, but url is empty — and force to default /webmail.

### Related issue(s)
closes #856

## Prerequistes
- [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: Dario Ernst <dario@kanojo.de>
2019-01-29 13:57:14 +00:00
Dario Ernst
ef5a114cff Put webmail on / for empty webmail_path from setup 2019-01-28 20:32:36 +01:00
Dario Ernst
0676252ec1 Revert accidental setup commits and fix code/pre tags 2019-01-28 20:23:41 +01:00
Dario Ernst
d9d6f514aa Catch webmail-url empty but webmail configured and force to default
Quite some users managed to delete the contents of the webmail-url field in
setup, which forces front into a restart loop. Catch the case where a webmail
service is configured, but url is empty — and force to default /webmail.

closes #856
2019-01-26 19:18:43 +01:00
Dario Ernst
392637e16a Correct the URL users are directed to after using setup without exposing /admin
closes #885
2019-01-25 20:08:17 +01:00
Jim Heald
eb8d84aed0 Fix environment variable inconsistency 2019-01-22 09:56:13 -08: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
Tim Möhlmann
1975534125
Make docker-compose.yml for setup and docs development friendly
This enables easy local running.
Actual deployment files are moved to github.com/mailu/infra.
2019-01-16 20:50:52 +02:00
Ionut Filip
50343f354e Merge remote-tracking branch 'upstream/master' into feat-psql-support 2019-01-11 11:21:22 +02:00
Ionut Filip
37a07e3297 Update setup utility with mysql db flavor 2019-01-10 15:44:02 +02:00
Tim Möhlmann
7d01bb2a4d
LOG_LEVEL docs and changelog entry 2019-01-08 00:58:01 +02:00
Ionut Filip
9077bf7313 Merge remote-tracking branch 'upstream/master' into feat-psql-support 2019-01-07 16:29:50 +02:00
Tim Möhlmann
cffc7c15f1
Merge remote-tracking branch 'upstream/master' into fix-setup-filegen 2019-01-02 20:13:35 +02:00
Tim Möhlmann
738d98e5ab
Fix code formatting 2019-01-02 20:11:12 +02:00
Tim Möhlmann
b2823c23b8
Merge remote-tracking branch 'upstream/master' into feat-psql-support 2018-12-31 18:20:39 +02:00
Daniel Huber
b4f6f6b354
Merge branch 'master' into fix-docker-prefix 2018-12-31 11:54:43 +01:00
Tim Möhlmann
c1bfde4e15
Use wget for file dowloads. Curl doesn't like the Traefik redirects 2018-12-31 00:19:21 +02:00
Tim Möhlmann
598ad4fc7a
Prefix static path with version for Traefik 2018-12-30 20:52:34 +02:00
Tim Möhlmann
19bd90f581
Fix usage of radicale image instead of none
I just noticed that the `none` image was used in place where `radicale` should be used. Fixed in this commit.
2018-12-27 11:50:34 +02:00
Daniel Huber
d357ed67f5
Add DOCKER_PREFIX in tests and setup files 2018-12-21 18:13:08 +01:00
Daniel Huber
736607ab0c
Update admin account create command in setup utility to use the flask cli 2018-12-21 15:56:12 +01:00
Ionut Filip
1b64c80612 Managing different blueprint prefixes 2018-12-19 17:15:45 +02:00
Tim Möhlmann
8c6e0c56fb
Fix redis connection errors 2018-12-19 15:02:00 +02:00
Ionut Filip
5e2552bcd5 Removed if block 2018-12-19 12:05:50 +02:00
Tim Möhlmann
e994fefb2d
Remove the test branch 2018-12-16 23:28:15 +02:00
Tim Möhlmann
1df3b46454
Use ADDRESS instead of HOSTNAME 2018-12-16 23:16:53 +02:00
Tim Möhlmann
8ef0493f53
Define external web network for Traefik connections 2018-12-16 23:16:26 +02:00
Tim Möhlmann
db9a3787b1
Disable healthcheck, doen't work in versioned env 2018-12-16 23:14:36 +02:00
Tim Möhlmann
3655c7c902
Merge remote-tracking branch 'origin/fix-setup-bugs' into setup-deploy 2018-12-16 16:27:11 +02:00
Tim Möhlmann
9c284c4004
Prepare setup for multi-ver deployment on docs server 2018-12-16 16:26:45 +02:00
Ionut Filip
bb0fd896b3 Fix some bugs in setup for stack flavor
- Unbound and webmail images were hardcoded
- Removed unnecesary environment keyword
2018-12-11 17:31:21 +02:00