1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-15 00:05:11 +02:00
Commit Graph

128 Commits

Author SHA1 Message Date
95dce5575b Parameterize redis address 2019-08-15 11:28:17 +02:00
81a8acf9ec fix resolve issue 2019-06-30 13:18:55 +02:00
baa5a8a4e0 Fix hostname resolution 2019-06-24 23:54:53 +02:00
c20a502695 Do not forcefully resolve optional hostnames 2019-06-24 20:54:50 +02:00
d7747639e9 Remove the dependency to mailustart, introducing socrate 2019-06-23 14:19:05 +02:00
dd7710951e Replaced double quotes with single ones 2019-03-08 14:45:22 +02:00
4c25c83419 HOST_* and *_ADDRESS variables cleanup 2019-02-18 14:46:48 +02:00
f9e3cd3c5d Use corret host_* variables 2019-02-15 16:49:56 +02:00
ef49357eb3 Update redis urls 2019-02-15 16:07:23 +02:00
43abbf4d63 Resolve redis and add logging 2019-02-15 15:37:55 +02:00
cebc64a280 Resolve HOST_WEBMAIL in admin 2019-02-13 11:48:32 +02:00
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
f8dffe5a19 Resolve hosts in admin 2019-01-25 17:26:45 +02:00
fd236e4ea5 Fix syntax error 2019-01-17 18:06:40 +02:00
23bad0e042 Set value for SQLALCHEMY_DATABASE_URI in admin DEFAULT_CONFIG to SQLite URI 2019-01-17 07:58:47 -06:00
db8977e17a Update SQLite DB file in DEFAULT_CONFIG and DB_TEMPLATES 2019-01-17 00:32:12 -06:00
66df7a31b0 Unify and coerce booleans from env used in admin
At some places, the string that DOMAIN_REGISTRATION is got used like a boolean
(an easy misassumption to make while in python and dealing with the config
dict), making `DOMAIN_REGISTRATION=False` act as a truthy value. To stop such
future problems from happening, coerce environment config strings to real
bools.

closes #830
2019-01-13 10:22:32 +01:00
01ec6e7bf3 Removed undefined function 2019-01-04 16:48:51 +02:00
b2823c23b8 Merge remote-tracking branch 'upstream/master' into feat-psql-support 2018-12-31 18:20:39 +02:00
8707b0fcd7 Use a dictionary of db connection string templates 2018-12-10 15:30:53 +01:00
a881a1a839 Revert "Make current migrations work with postgresql"
This reverts commit 9b9f3731f6.
2018-12-10 15:03:12 +01:00
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
47a3fd47b5 Fix DB_FLAVOR condition testing for models.py 2018-11-20 18:18:33 +02:00
9b9f3731f6 Make current migrations work with postgresql 2018-11-19 19:10:38 +02:00
8bdc0c71af Allow for setting a different DB flavor 2018-11-14 14:58:54 +02:00
206cce0b47 Finish the configuration bits 2018-11-08 20:29:52 +01:00
82069ea3f0 Clean most of the refactored code 2018-10-18 17:55:07 +02:00
fc24426291 First batch of refactoring, using the app factory pattern 2018-10-18 15:57:43 +02:00