Commit Graph

1426 Commits (871aa14c9aa3ec3f1fcd3e926e481c54b70344e5)
 

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