1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-15 01:24:34 +02:00
Commit Graph

1428 Commits

Author SHA1 Message Date
19f18e2240 Lowercase relays as well as other tables 2018-12-10 15:16:30 +01:00
7e388e472a Handle relay name as an Idna domain 2018-12-10 15:16:30 +01:00
871aa14c9a Lowercase every domain name and email 2018-12-10 15:16:30 +01:00
3df9b3962d Add default columns to the configuration table 2018-12-10 15:16:30 +01:00
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.
2018-12-10 15:16:30 +01:00
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
e022513a94 Fix support for postgres and mysql 2018-12-10 15:16:30 +01:00
a881a1a839 Revert "Make current migrations work with postgresql"
This reverts commit 9b9f3731f6.
2018-12-10 15:03:12 +01:00
76925e82f3 Revert "Implement CIText as NOCASE alternative in postgresql"
This reverts commit 0f3c1b9d15.
2018-12-10 15:01:27 +01:00
f52ae5535c Revert "Created function for returning email type"
This reverts commit 436055f02c.
2018-12-10 14:58:18 +01:00
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
3d98124bcd Merge pull request #670 from kaiyou/refactor-config
Refactor the admin architecture and configuration management
2018-12-06 10:56:42 +01:00
b6aaf57be1 Merge branch 'refactor-config' of github.com:kaiyou/mailu into refactor-config 2018-12-06 10:33:21 +01:00
d0f07984b0 Merge remote-tracking branch 'upstream/master' into refactor-config 2018-12-06 10:23:43 +01:00
07b1e8d765 Merge pull request #722 from usrpro/update-mergify
Update .mergify.yml
2018-12-06 10:19:07 +01:00
c25c646909 Merge pull request #702 from dani909/feat-image-prefix
Add docker image prefix
2018-12-05 19:24:07 +00:00
02367d1447 Merge branch 'master' into feat-image-prefix 2018-12-05 19:48:51 +01:00
2d4bac03ad Merge pull request #723 from usrpro/clean-healthcheck-logs
Admin: Prevent redirects during health checking
2018-12-05 18:09:14 +00:00
a382f74680 Merge pull request #705 from usrpro/fix-recaptcha
Fix recaptcha
2018-12-05 18:05:22 +00:00
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
37027cfce7 Merge pull request #633 from kaiyou/fix-sender-checks
Improve sender checks
2018-12-05 16:03:24 +00:00
d18cf7cb25 Prevent redirects during health checking 2018-12-05 17:43:42 +02:00
d84254ccd8 Update user creation to python3 2018-12-05 16:23:16 +02:00
161b27a204 Merge pull request #719 from davidrothera/master
Query alternative table for domain matches
2018-12-05 12:37:13 +00:00
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
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
eff6c34632 Catch asterisk before resolve_domain
Asterisk results in IDNA error and a 500 return code.
2018-12-04 15:40:07 +02:00
55cf328ce2 Documentation how to use Postgresql 2018-12-03 19:02:03 +02:00
7809d1373a Moved postgresql image in optional 2018-12-03 17:57:43 +02:00
dd16ed4cba Removed password hashing 2018-12-03 16:44:48 +02:00
7b8835070d Added tenacity retry fir migrations connection 2018-12-03 15:25:10 +02:00
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
2b6f5ea3d0 Update setup's own docker-compose.yml file 2018-12-01 02:37:34 +02:00
bdcf69b0e6 Keep one more WAL archive, to enable single-last backup recovery 2018-11-30 18:12:23 +02:00
44dae7353c Gzip wal_archives 2018-11-30 17:46:59 +02:00
2cb27a9f32 Fix sorting of /backup/base-* directories 2018-11-30 17:43:03 +02:00
3ce73f5bc0 Automatic restore of backups when /data is empty 2018-11-30 16:59:03 +02:00
de3f125ed3 Implement health checking 2018-11-30 13:57:57 +02:00
92bdc6e0a3 Added network if postgresql used 2018-11-29 16:59:18 +02:00
ec93217eeb Merge branch 'feat-psql-support' of github.com:usrpro/Mailu into feat-psql-support 2018-11-29 11:37:09 +02:00
fa879dd9ab Removed empty space 2018-11-29 11:34:59 +02:00
e8d05c657f Automatic pg_basebackup and wal_archive cleaning 2018-11-28 18:43:20 +02:00
e89d354834 Encrypted input db password 2018-11-27 19:36:24 +02:00
ef6a0727ac Updated setup with optional psql db 2018-11-27 15:11:46 +02:00
e668d360e8 Changed user creation command 2018-11-23 14:37:55 +02:00
ddd4be8f9a Changed admin and user creation command 2018-11-23 14:12:22 +02:00
479b410f19 Implement WAL archiving 2018-11-22 07:52:59 +02:00
e3a503a559 Move data to the root directory, for simplification 2018-11-22 07:52:47 +02:00
436055f02c Created function for returning email type 2018-11-21 13:43:06 +01:00
47a3fd47b5 Fix DB_FLAVOR condition testing for models.py 2018-11-20 18:18:33 +02:00