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

1423 Commits

Author SHA1 Message Date
kaiyou
b8282b1d46 Support named constraints for multiple backends
Supporting multiple backends requires that specific sqlite
collations are not used, thus lowercase is applied to all non
case-sensitive columns. However, lowercasing the database requires
temporary disabling foreign key constraints, which is not possible
on SQLite and requires we specify the constraint names.

This migration specific to sqlite and postgresql drops every
constraint, whether it is named or not, and recreates all of them
with known names so we can later disable them.
2018-12-10 15:16:30 +01:00
kaiyou
e022513a94 Fix support for postgres and mysql 2018-12-10 15:16:30 +01:00
kaiyou
a881a1a839 Revert "Make current migrations work with postgresql"
This reverts commit 9b9f3731f6.
2018-12-10 15:03:12 +01:00
kaiyou
76925e82f3 Revert "Implement CIText as NOCASE alternative in postgresql"
This reverts commit 0f3c1b9d15.
2018-12-10 15:01:27 +01:00
kaiyou
f52ae5535c Revert "Created function for returning email type"
This reverts commit 436055f02c.
2018-12-10 14:58:18 +01:00
kaiyou
f6520eace6 Merge branch 'feat-psql-support' of https://github.com/usrpro/Mailu into usrpro-feat-psql-support 2018-12-10 14:50:38 +01:00
kaiyou
3d98124bcd
Merge pull request #670 from kaiyou/refactor-config
Refactor the admin architecture and configuration management
2018-12-06 10:56:42 +01:00
kaiyou
b6aaf57be1 Merge branch 'refactor-config' of github.com:kaiyou/mailu into refactor-config 2018-12-06 10:33:21 +01:00
kaiyou
d0f07984b0 Merge remote-tracking branch 'upstream/master' into refactor-config 2018-12-06 10:23:43 +01:00
kaiyou
07b1e8d765
Merge pull request #722 from usrpro/update-mergify
Update .mergify.yml
2018-12-06 10:19:07 +01:00
mergify[bot]
c25c646909
Merge pull request #702 from dani909/feat-image-prefix
Add docker image prefix
2018-12-05 19:24:07 +00:00
hoellen
02367d1447
Merge branch 'master' into feat-image-prefix 2018-12-05 19:48:51 +01:00
mergify[bot]
2d4bac03ad
Merge pull request #723 from usrpro/clean-healthcheck-logs
Admin: Prevent redirects during health checking
2018-12-05 18:09:14 +00:00
mergify[bot]
a382f74680
Merge pull request #705 from usrpro/fix-recaptcha
Fix recaptcha
2018-12-05 18:05:22 +00:00
mergify[bot]
ca86090011
Merge pull request #682 from usrpro/feat-setup
Further improve setup and neccesary re-write of the test suite
2018-12-05 17:57:41 +00:00
mergify[bot]
37027cfce7
Merge pull request #633 from kaiyou/fix-sender-checks
Improve sender checks
2018-12-05 16:03:24 +00:00
Tim Möhlmann
d18cf7cb25
Prevent redirects during health checking 2018-12-05 17:43:42 +02:00
Tim Möhlmann
d84254ccd8
Update user creation to python3 2018-12-05 16:23:16 +02:00
mergify[bot]
161b27a204
Merge pull request #719 from davidrothera/master
Query alternative table for domain matches
2018-12-05 12:37:13 +00:00
Tim Möhlmann
b564b879aa
Update .mergify.yml
- New syntax for mergify engine v. 2
- Relax review rules for trusted users
2018-12-05 12:38:06 +02:00
Tim Möhlmann
c9df311a0d
Set forward_destination to an empty list
The value of `None` resulted in an error, since a list was expected.
2018-12-04 16:22:18 +02:00
Tim Möhlmann
eff6c34632
Catch asterisk before resolve_domain
Asterisk results in IDNA error and a 500 return code.
2018-12-04 15:40:07 +02:00
Tim Möhlmann
55cf328ce2
Documentation how to use Postgresql 2018-12-03 19:02:03 +02:00
Ionut Filip
7809d1373a Moved postgresql image in optional 2018-12-03 17:57:43 +02:00
Ionut Filip
dd16ed4cba Removed password hashing 2018-12-03 16:44:48 +02:00
Ionut Filip
7b8835070d Added tenacity retry fir migrations connection 2018-12-03 15:25:10 +02:00
David Rothera
88c174fb7a Query alternative table for domain matches
At present postfix checks this view for matches in the domain table and is used to accept/deny messages sent into it however it never checks for matches in the alternative table.

Fixes #718
2018-12-02 11:21:42 +00:00
Tim Möhlmann
2b6f5ea3d0
Update setup's own docker-compose.yml file 2018-12-01 02:37:34 +02:00
Tim Möhlmann
bdcf69b0e6
Keep one more WAL archive, to enable single-last backup recovery 2018-11-30 18:12:23 +02:00
Tim Möhlmann
44dae7353c
Gzip wal_archives 2018-11-30 17:46:59 +02:00
Tim Möhlmann
2cb27a9f32
Fix sorting of /backup/base-* directories 2018-11-30 17:43:03 +02:00
Tim Möhlmann
3ce73f5bc0
Automatic restore of backups when /data is empty 2018-11-30 16:59:03 +02:00
Tim Möhlmann
de3f125ed3
Implement health checking 2018-11-30 13:57:57 +02:00
Ionut Filip
92bdc6e0a3 Added network if postgresql used 2018-11-29 16:59:18 +02:00
Ionut Filip
ec93217eeb Merge branch 'feat-psql-support' of github.com:usrpro/Mailu into feat-psql-support 2018-11-29 11:37:09 +02:00
Ionut Filip
fa879dd9ab Removed empty space 2018-11-29 11:34:59 +02:00
Tim Möhlmann
e8d05c657f
Automatic pg_basebackup and wal_archive cleaning 2018-11-28 18:43:20 +02:00
Ionut Filip
e89d354834 Encrypted input db password 2018-11-27 19:36:24 +02:00
Ionut Filip
ef6a0727ac Updated setup with optional psql db 2018-11-27 15:11:46 +02:00
Ionut Filip
e668d360e8 Changed user creation command 2018-11-23 14:37:55 +02:00
Ionut Filip
ddd4be8f9a Changed admin and user creation command 2018-11-23 14:12:22 +02:00
Tim Möhlmann
479b410f19
Implement WAL archiving 2018-11-22 07:52:59 +02:00
Tim Möhlmann
e3a503a559
Move data to the root directory, for simplification 2018-11-22 07:52:47 +02:00
Ionut Filip
436055f02c Created function for returning email type 2018-11-21 13:43:06 +01:00
Tim Möhlmann
47a3fd47b5
Fix DB_FLAVOR condition testing for models.py 2018-11-20 18:18:33 +02:00
Tim Möhlmann
0f3c1b9d15
Implement CIText as NOCASE alternative in postgresql 2018-11-20 14:41:17 +02:00
Tim Möhlmann
9b9f3731f6
Make current migrations work with postgresql 2018-11-19 19:10:38 +02:00
Tim Möhlmann
2ced020513
Create user for healthcheck 2018-11-19 11:55:41 +02:00
Tim Möhlmann
a2b5b4d2e0
Declare the data volume properly 2018-11-18 23:48:20 +02:00
Tim Möhlmann
79246cf2a3
Create Postgresql image 2018-11-18 18:35:13 +02:00