Commit Graph

29 Commits

Author SHA1 Message Date
Aine
e4c425fb2e update readme 2022-09-05 18:00:09 +03:00
Aine
41f3ad947e fix readme 2022-09-05 17:02:45 +03:00
Aine
12a2d4c6f9 dkim 2022-09-05 17:02:00 +03:00
Aine
fda0d62087 send emails 2022-09-04 22:09:53 +03:00
Aine
104e948b9c remove migrations 2022-08-31 10:33:13 +03:00
Aine
f97ebb604a manage users in runtime, closes #16 2022-08-29 21:41:14 +03:00
Aine
0ba951fbe6 set default POSTMOOGLE_USERS pattern 2022-08-29 20:56:28 +03:00
Aine
74e7fa5f3b update README, closes #11 2022-08-29 20:40:52 +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
Aine
e52de55e1a update readme 2022-08-29 17:47:04 +03:00
Slavi Pantaleev
a62dc0df4f Add POSTMOOGLE_ADMINS 2022-08-29 09:10:31 +03:00
Slavi Pantaleev
dc5ed41723 Merge branch 'main' into 'user-whitelisting'
# Conflicts:
#   bot/bot.go
2022-08-28 14:50:57 +00:00
Aine
3174b21aec [skip ci] update readme 2022-08-28 17:35:53 +03:00
Aine
a150ada5c4 [skip ci] update readme 2022-08-28 17:35:15 +03:00
Aine
67fbc98c01 [skip ci] update readme 2022-08-28 17:34:02 +03:00
Aine
0e33107a4a add usage section in readme 2022-08-28 17:18:22 +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
f9cf94c914 threads 2022-08-24 21:28:30 +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
d5cf9a84f5 update readme and license 2022-08-22 19:11:00 +03:00
Aine
69f20e5670 try to receive attachments 2022-08-22 18:43:12 +03:00
Aine
aee56030ba rearrange roadmap 2022-08-22 12:49:11 +03:00
Aine
e6d5e81efe bugfixes; email parsing; send emails into matrix rooms; e2e tests 2022-08-22 12:28:29 +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