42 Commits
Author SHA1 Message Date
Aine ea1533acae add !pm relay - per-mailbox relay config 2024-05-02 11:28:37 +03:00
Aine 6a63e44bfc switch to CGO-free builds 2024-04-30 09:26:16 +03:00
Aine 15d61f174e updated deps; updated healthchecks.io integration 2024-04-07 14:42:12 +03:00
Aine 10213cc7d7 update deps 2024-02-19 19:52:03 +02:00
Aine dd0ad4c245 refactor to mautrix 0.17.x; update deps 2024-02-11 20:47:04 +02:00
Aine 0d0dcf20b9 lint fixes 2023-10-03 00:03:29 +03:00
Aine 816db6f409 always reply to a specific message; moved matrix-related utils to the linkpearl; refactoring 2023-09-27 12:43:55 +03:00
Aine 8545ce80e4 Shared secret auth support, contributed by @JeWe37 2023-09-20 10:26:20 +03:00
Aine 2bdb8ca635 BREAKING: update mautrix to 0.15.x 2023-06-01 14:32:20 +00:00
Aine 9bcc2d462f refactor a bit 2023-05-10 22:43:52 +03:00
Niels BoumaandAine ee8d8680ac Added support for sending with relay hosts 2023-05-10 19:33:05 +00:00
Aine f54b87c1f7 resync rooms every 5 minutes 2023-01-03 20:13:30 +02:00
Aine fcd6110790 add trusted proxies 2022-11-27 00:30:50 +02:00
Aine 8d6c4aeafe big refactoring 2022-11-25 23:33:38 +02:00
Aine 4a76a3269d healthchecks.io integration 2022-11-25 16:23:26 +02:00
Aine 21772d7360 mailbox activation, closes #52 2022-11-21 15:37:44 +02:00
Aine 6ddb894577 allow reserved mailboxes, closes #43 2022-11-20 20:55:41 +02:00
Aine 99a89ef87a update deps; experiment: log security 2022-11-16 23:00:58 +02:00
Aine ebe9606aa9 real multi-domain support 2022-11-16 09:00:19 +02:00
Aine ec266e9108 wip encrypted parent event 2022-11-15 19:22:15 +02:00
Aine a8780a32c1 explicitly tell about enqueued email 2022-11-15 09:42:07 +02:00
Aine eb07bc1ac7 mail queue 2022-11-14 20:02:13 +02:00
Aine b9cf336a6d fix encrypted thread reply, fix From header in thread reply 2022-11-14 00:38:17 +02:00
Aine 519c44e998 support multi-domain certificates 2022-11-13 16:07:38 +02:00
Aine 307aca7f23 refactor smtp 2022-11-10 13:26:12 +02:00
Aine 15d5afe90f initial, rought, not-user-friendly support for multi-domain setup 2022-11-08 18:16:38 +02:00
Aine f3c5c47e76 room and user account data encryption 2022-10-02 20:15:46 +03:00
Aine 59ed33638b Secure SMTP listener 2022-09-07 21:29:52 +03:00
Aine 104e948b9c remove migrations 2022-08-31 10:33:13 +03:00
Aine 0ba951fbe6 set default POSTMOOGLE_USERS pattern 2022-08-29 20:56:28 +03:00
Aine e0bd71717c remove NOOWNER, closes #14 2022-08-29 20:21:37 +03:00
Aine 505a1b42d7 removed federation, closes #12 2022-08-29 19:58:54 +03:00
Slavi Pantaleev a62dc0df4f Add POSTMOOGLE_ADMINS 2022-08-29 09:10:31 +03:00
Slavi Pantaleev 1100ee6b5f Improve error when configuration reading fails 2022-08-27 07:51:56 +03:00
Slavi Pantaleev 8ad2e29930 Add support for configuring user whitelisting
This does not do anything useful just yet.
It will be hooked to access control checks later on.

Wildcards are converted to regular expressions, because it was simpler
to do that than to write (or include) some ugly wildcard matcher library.
It also provides more flexibility, should we wish to use it later.
Regular expressions should also work well performance-wise.

We compile wildcards to regexes early on (during configuration
processing) and fail if we detect a bad pattern. This is meant to
catch various problems (typos or other mistakes) that could happen.

For this to work, configuration building had to be redone, since it can
now return an error. This may be useful in the future for validating
other configuration settings.

Related to https://gitlab.com/etke.cc/postmoogle/-/issues/1
2022-08-27 07:50:41 +03:00
Aine 4000b39480 add custom status message 2022-08-26 16:40:43 +03:00
Aine b0c274491f refactor to context, remove sentry spans 2022-08-25 22:31:12 +03:00
Aine 85fc06cfce lint; rearrange code 2022-08-23 22:12:11 +03:00
Aine 0decd4fad6 add noowner and federation 2022-08-22 22:08:32 +03:00
Aine 564cd82c6b fix prefix; test attachments; add maxsize 2022-08-22 20:21:22 +03:00
Aine c746c91dbb account data only; integrate smtp server; logging 2022-08-21 23:00:20 +03:00
Aine c4b7a16e21 wip 2022-08-21 18:41:35 +03:00