Christian Hagenest
3e934bdea4
add entry point for rm_accounts in pyproject.toml
2024-07-08 17:28:13 +02:00
Christian Hagenest
3f197695d9
rm unnecessary round()
2024-07-08 17:24:01 +02:00
Christian Hagenest
8ad72deeb2
remove unused imports in rm_accounts.py
2024-07-08 17:22:19 +02:00
Christian Hagenest
ea817a2088
rmtree => ignore_errors = True
2024-07-08 14:35:15 +02:00
Christian Hagenest
d9bf2b57a5
rename dir to vmail_basedir
2024-07-08 14:35:15 +02:00
Christian Hagenest
b4b0a098d1
use with db.write_transaction()
2024-07-08 14:35:15 +02:00
Christian Hagenest
410eae3be4
rm unecessary round in doveatuh
2024-07-08 14:35:15 +02:00
Christian Hagenest
7bc3b11594
Update grammar for doc string in chatmail.ini for delete_accounts_after
...
Co-authored-by: holger krekel <holger@merlinux.eu >
2024-07-08 14:32:02 +02:00
Christian Hagenest
7bcf027837
set delete_accounts after to 25 to be under gdpr limit of 30
2024-07-08 13:00:59 +02:00
Christian Hagenest
64de63815d
ruff again :)
2024-06-26 16:05:51 +02:00
Christian Hagenest
a77e03c8a1
WIP rm_accounts.py
2024-06-20 17:30:35 +02:00
Christian Hagenest
7f5ae11591
rm comment
2024-06-20 16:53:01 +02:00
Christian Hagenest
1a50e5b783
new config option: delete_accounts_after
2024-06-20 16:42:27 +02:00
Christian Hagenest
06f3bbf6cd
round login-time in doveauth
2024-06-20 16:42:05 +02:00
link2xt
2b5d903cc5
Allow SKESK packets in encrypted mails
...
They are not used by Delta Chat now,
but this will allow to start using them in the future.
2024-06-13 19:48:59 +02:00
link2xt
c8d270a853
Check that OpenPGP has only PKESK and SEIPD packets ( #323 )
2024-06-12 17:21:37 +00:00
link2xt
72f4e9edbf
filtermail: remove support for unencrypted MDNs
...
Delta Chat does not send them since 1.43.
1.44 has been released for a while already
and 1.46 is in the process of being released.
2024-06-11 16:18:39 +00:00
link2xt
1ce0a2b0ba
Improve filtermail checks for encrypted messages
...
Ensure that first part only contains "Version: 1"
and second part only contains base64 payload
enclosed in "-----BEGIN PGP MESSAGE-----"
and "-----END PGP MESSAGE-----".
2024-06-11 16:18:39 +00:00
Christian Hagenest
772b86a4b5
update delete-mails-after value in test_config.py
2024-05-18 23:06:03 +02:00
Christian Hagenest
e0013b9bee
change delete_mails_after default to 20
2024-05-18 23:06:03 +02:00
link2xt
76b56d7b78
metadata: add support for /shared/vendor/deltachat/irohrelay
2024-05-07 15:52:54 +00:00
link2xt
879cffc056
Configure more lints and switch from black to ruff format
2024-05-06 14:41:00 +00:00
link2xt
e1b1a945b1
Authenticate echobot by passing /run/echobot/password to doveauth
2024-05-05 15:25:44 +00:00
link2xt
0493e27312
Move echobot into /var/lib/echobot
2024-05-05 15:25:44 +00:00
holger krekel
9b76d46558
refinements and fixes
2024-04-04 12:57:49 +02:00
holger krekel
cc4920ddc7
a bit of renaming
2024-04-04 12:57:49 +02:00
holger krekel
2af10175fa
ignore and remove .tmp files in notification_dir
2024-04-04 12:57:49 +02:00
holger krekel
ae455fa9e1
avoid float with time, and be safe against crashes during file writing
2024-04-04 12:57:49 +02:00
holger krekel
60d7e516dd
implemented suggestion fopr using an absolute deadline instead of retrying but choose 5 hours for now because if our own notification server is down/buggy we have at least a bit of time to fix it
2024-04-04 12:57:49 +02:00
holger krekel
bf18905e02
address typo-level review comments
2024-04-04 12:57:49 +02:00
holger krekel
4d6f520f18
finally use persistent queue items with random file names, simplifying the flows
2024-04-04 12:57:49 +02:00
holger krekel
9da626dfc8
proper doc string for Notifier
2024-04-04 12:57:49 +02:00
holger krekel
1cca9aa441
fix failing CI (uncovering real bug)
2024-04-04 12:57:49 +02:00
holger krekel
3d054847a0
split metadata and notifier into separate files
2024-04-04 12:57:49 +02:00
holger krekel
a31d998e67
separate notification thread into own class, and test start_notification_threads
2024-04-04 12:57:49 +02:00
holger krekel
d313bea97f
some more renaming
2024-04-04 12:57:49 +02:00
holger krekel
da04226594
fix
2024-04-04 12:57:49 +02:00
holger krekel
f5652cdbc4
better naming
2024-04-04 12:57:49 +02:00
holger krekel
13172c92f3
some refinements and extending the tests
2024-04-04 12:57:49 +02:00
holger krekel
09df636183
extend testing
2024-04-04 12:57:49 +02:00
holger krekel
2b45ace3ba
refine testing and code
2024-04-04 12:57:49 +02:00
holger krekel
9e05a7d1eb
more precision
2024-04-04 12:57:49 +02:00
holger krekel
21e7c09c43
remove redundant test code for requests mocking
2024-04-04 12:57:49 +02:00
holger krekel
14d96e0a9b
snap somewhat working again
2024-04-04 12:57:49 +02:00
holger krekel
459ffcabd6
better preserve notification order, using a queue again
2024-04-04 12:57:49 +02:00
link2xt
5e55cc205d
Run chatmail-metadata and doveauth as vmail
2024-03-30 23:08:42 +01:00
link2xt
080ae058d8
Remove non-existent file pattern from MANIFEST.in
2024-03-30 09:14:01 +00:00
link2xt
3a50d82657
Move systemd unit templates to cmdeploy
...
They are part of deployment rather than service itself.
Different deployments may have different users,
filesystem layout etc.
2024-03-28 16:38:30 +01:00
holger krekel
c640087498
fix error string
2024-03-28 16:11:00 +01:00
holger krekel
2089f3ab58
persist pending notifications to directory so that they survive a restart
2024-03-28 16:11:00 +01:00