1424 Commits (b88f61f1834e1f5ebcdffeb1c77ae52a326d9567)
 

Author SHA1 Message Date
kaiyou b88f61f183 Name all constraints when creating them
Prefious commit set the constraint names for existing databases.
New databases can now have named constraints from the ground up.
6 years ago
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.
6 years ago
kaiyou e022513a94 Fix support for postgres and mysql 6 years ago
kaiyou a881a1a839 Revert "Make current migrations work with postgresql"
This reverts commit 9b9f3731f6.
6 years ago
kaiyou 76925e82f3 Revert "Implement CIText as NOCASE alternative in postgresql"
This reverts commit 0f3c1b9d15.
6 years ago
kaiyou f52ae5535c Revert "Created function for returning email type"
This reverts commit 436055f02c.
6 years ago
kaiyou f6520eace6 Merge branch 'feat-psql-support' of https://github.com/usrpro/Mailu into usrpro-feat-psql-support 6 years ago
kaiyou 3d98124bcd
Merge pull request #670 from kaiyou/refactor-config
Refactor the admin architecture and configuration management
6 years ago
kaiyou b6aaf57be1 Merge branch 'refactor-config' of github.com:kaiyou/mailu into refactor-config 6 years ago
kaiyou d0f07984b0 Merge remote-tracking branch 'upstream/master' into refactor-config 6 years ago
kaiyou 07b1e8d765
Merge pull request #722 from usrpro/update-mergify
Update .mergify.yml
6 years ago
mergify[bot] c25c646909
Merge pull request #702 from dani909/feat-image-prefix
Add docker image prefix
6 years ago
hoellen 02367d1447
Merge branch 'master' into feat-image-prefix 6 years ago
mergify[bot] 2d4bac03ad
Merge pull request #723 from usrpro/clean-healthcheck-logs
Admin: Prevent redirects during health checking
6 years ago
mergify[bot] a382f74680
Merge pull request #705 from usrpro/fix-recaptcha
Fix recaptcha
6 years ago
mergify[bot] ca86090011
Merge pull request #682 from usrpro/feat-setup
Further improve setup and neccesary re-write of the test suite
6 years ago
mergify[bot] 37027cfce7
Merge pull request #633 from kaiyou/fix-sender-checks
Improve sender checks
6 years ago
Tim Möhlmann d18cf7cb25
Prevent redirects during health checking 6 years ago
Tim Möhlmann d84254ccd8
Update user creation to python3 6 years ago
mergify[bot] 161b27a204
Merge pull request #719 from davidrothera/master
Query alternative table for domain matches
6 years ago
Tim Möhlmann b564b879aa
Update .mergify.yml
- New syntax for mergify engine v. 2
- Relax review rules for trusted users
6 years ago
Tim Möhlmann c9df311a0d
Set forward_destination to an empty list
The value of `None` resulted in an error, since a list was expected.
6 years ago
Tim Möhlmann eff6c34632
Catch asterisk before resolve_domain
Asterisk results in IDNA error and a 500 return code.
6 years ago
Tim Möhlmann 55cf328ce2
Documentation how to use Postgresql 6 years ago
Ionut Filip 7809d1373a Moved postgresql image in optional 6 years ago
Ionut Filip dd16ed4cba Removed password hashing 6 years ago
Ionut Filip 7b8835070d Added tenacity retry fir migrations connection 6 years ago
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
6 years ago
Tim Möhlmann 2b6f5ea3d0
Update setup's own docker-compose.yml file 6 years ago
Tim Möhlmann bdcf69b0e6
Keep one more WAL archive, to enable single-last backup recovery 6 years ago
Tim Möhlmann 44dae7353c
Gzip wal_archives 6 years ago
Tim Möhlmann 2cb27a9f32
Fix sorting of /backup/base-* directories 6 years ago
Tim Möhlmann 3ce73f5bc0
Automatic restore of backups when /data is empty 6 years ago
Tim Möhlmann de3f125ed3
Implement health checking 6 years ago
Ionut Filip 92bdc6e0a3 Added network if postgresql used 6 years ago
Ionut Filip ec93217eeb Merge branch 'feat-psql-support' of github.com:usrpro/Mailu into feat-psql-support 6 years ago
Ionut Filip fa879dd9ab Removed empty space 6 years ago
Tim Möhlmann e8d05c657f
Automatic pg_basebackup and wal_archive cleaning 6 years ago
Ionut Filip e89d354834 Encrypted input db password 6 years ago
Ionut Filip ef6a0727ac Updated setup with optional psql db 6 years ago
Ionut Filip e668d360e8 Changed user creation command 6 years ago
Ionut Filip ddd4be8f9a Changed admin and user creation command 6 years ago
Tim Möhlmann 479b410f19
Implement WAL archiving 6 years ago
Tim Möhlmann e3a503a559
Move data to the root directory, for simplification 6 years ago
Ionut Filip 436055f02c Created function for returning email type 6 years ago
Tim Möhlmann 47a3fd47b5
Fix DB_FLAVOR condition testing for models.py 6 years ago
Tim Möhlmann 0f3c1b9d15
Implement CIText as NOCASE alternative in postgresql 6 years ago
Tim Möhlmann 9b9f3731f6
Make current migrations work with postgresql 6 years ago
Tim Möhlmann 2ced020513
Create user for healthcheck 6 years ago
Tim Möhlmann a2b5b4d2e0
Declare the data volume properly 6 years ago