Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/deltachat/mailadm

mail account administration tool for temporary and other account creation/modification
https://github.com/deltachat/mailadm

reply with error if not enough arguments to /add-token. closes #70

01c6fd24e3a37912093a696c03aba91c8970658b authored almost 2 years ago by missytake <[email protected]>
just use a transaction for now until we implement proper connection handling

019530d104f18d3a519850705dca1602c1d61448 authored about 2 years ago by missytake <[email protected]>
test reproduces 'user not in DB' error #92

7d579483b79704809cf27ecbbac2232e7639cddf authored about 2 years ago by missytake <[email protected]>
logging all SQL statements when pytest

cca121c1b1fddf4f7747318fe4ed463c8dea0f1f authored about 2 years ago by missytake <[email protected]>
more random numbers in case tests don't successfully delete accounts

1abdd016a94a71d6fe5dcc43505e78cae129f513 authored about 2 years ago by missytake <[email protected]>
skip broken check_privileges bot test

e310ee76ef3066c789c7d02b7261b798b2ee9770 authored about 2 years ago by missytake <[email protected]>
fix lint complaint

edf2533ff5d7070a0c4db6d2a3c999ccdc64d005 authored about 2 years ago by missytake <[email protected]>
fix test_adduser_and_expire test

fdaffa8e57542d65ac14a55398a1aed0ddc791cf authored about 2 years ago by missytake <[email protected]>
fix linter issues

977bab2076c96bc0666f3275d2be870d31aed8bc authored about 2 years ago by missytake <[email protected]>
fix test_add_del_user test

fc8dceed10773f7cfeaa1febf44281f8159aa7b7 authored about 2 years ago by missytake <[email protected]>
command should have output when token is deleted

c5b91971c65d59a9fead4ab0a8691141a36df1a3 authored about 2 years ago by missytake <[email protected]>
Merge logging branch

f38f56305612bb4ae7d264e43620f1b64b6c7c91 authored about 2 years ago by link2xt <[email protected]>
Use automatic transactions in new_email()

This way new_email() handler does not hold a write lock
on the database while attempting to requ...

4a570aa47f17f45d55f7605cd87dbeae2d86dafd authored about 2 years ago by link2xt <[email protected]>
Log account creation retries

01d6621bdb54a11582940aa52a6b471de0801adf authored about 2 years ago by link2xt <[email protected]>
Use `logging` module

a5ae06179bd5592e5e23c0f90c43fa97b145e162 authored about 2 years ago by link2xt <[email protected]>
Add scripts/mailadm.sh

This script runs a single command inside a temporary
container, so you can execute any `mailadm`...

28a2662ae91069a015a97f048151062cf84204a5 authored about 2 years ago by link2xt <[email protected]>
Log the exception traceback when bot fails

2a466886ae7ca1eccc4c86aa30532582a2393403 authored about 2 years ago by link2xt <[email protected]>
Add missing timeout to delete/mailbox POST request

02a0c4fda75057ecdfc211e930e8f560b60c4e72 authored about 2 years ago by link2xt <[email protected]>
Add missing timeouts to GET requests

7d822f6b695c34175f19177458f8c6ca0b15c69f authored about 2 years ago by link2xt <[email protected]>
separate read and write db in prune(). fixes #72

0933d339a813cc2dc30eb6e8cbd9a5f4534e51ac authored about 2 years ago by missytake <[email protected]>
remove container after running setup-bot

698fea188b4832b7dc5d1af4bc668b5bafdc4c46 authored about 2 years ago by missytake <[email protected]>
exit if the bot isn't set up

e397e41f6198cb9d0ce38909c9835d65af6b3f72 authored about 2 years ago by missytake <[email protected]>
recommend to stop mailadm before running setup-bot

03ed34c9a65362c0de73ca57936068af2659a27d authored about 2 years ago by missytake <[email protected]>
explain different setup steps

7beaf37a78bb416299654e6a2de8fcbe4f52bcf2 authored about 2 years ago by missytake <[email protected]>
watch DeltaChat folder for compatibility with mailcow

20d2b84eb9db4b3934f983a23c51497936c80f6c authored about 2 years ago by missytake <[email protected]>
restart main container unless stopped

run setup-bot before starting gunicorn

a2df983bfe4912c9485fcbbb34d424d4111a7268 authored about 2 years ago by missytake <[email protected]>
fixed crash during startup

0612f077d2ec9fc97a8405a5d42cf605c3ee94e1 authored about 2 years ago by missytake <[email protected]>
move prune loop to bot loop

90033c67298a48c2778a405202201712f10f7e20 authored about 2 years ago by missytake <[email protected]>
increased gunicorn timeout to 60 seconds

f57e35057d3ca97ad12df5a9b1fee507438a96f4 authored about 2 years ago by missytake <[email protected]>
check every second if the core thread died instead of every 10 minutes

7be5cba3f567475fd6ce483ed80c3c453512010b authored about 2 years ago by missytake <[email protected]>
fixed headline rst syntax

bf1289168c129b63ac8eab27fd73ebe219d0bd5f authored about 2 years ago by missytake <[email protected]>
updated wording for setup-bot command documentation

914badac8e6661baea22ee75ccf8fb63d80b12cd authored about 2 years ago by missytake <[email protected]>
exit if dc core event thread dies

4ff009b5373ebe25105299c1cd7d1a90cd48de9e authored about 2 years ago by missytake <[email protected]>
increase gunicorn workers to 4 by default

9e09328bfcc0426d55e97a64d59396fb17ba7adc authored about 2 years ago by missytake <[email protected]>
Replace `whitelist_externals` with `allowlist_externals` to support tox 4

c70c8ee07a2564ee696eb2441ce03119972b50cf authored about 2 years ago by link2xt <[email protected]>
Enable WAL on SQLite databases

09f6f2af7f837240415c62b61af4dd7ed0b19a93 authored about 2 years ago by link2xt <[email protected]>
rework thread control

d58c6e6ede3c070219d699aca3cbd75ca646bf2b authored about 2 years ago by missytake <[email protected]>
tests: only run admbot plugin instead of full bot thread

892c6139a85700ca20cff6588a26c85d48596435 authored about 2 years ago by missytake <[email protected]>
tests: trying to get calls more stable as well, but admbot thread seems to be unresponsive often

c962ad337d3356d4a10b5251faf0e1b4edbf534b authored about 2 years ago by missytake <[email protected]>
tests: show how long bot tests take for each step

e8b1954ce70484cceca9e8d6fd0b731bb808860b authored about 2 years ago by missytake <[email protected]>
tests: making admingroup setup much more reliable

f04a76746c0c329d5ab1209258ae2f63f9b5bb93 authored about 2 years ago by missytake <[email protected]>
Merge pull request #57 from deltachat/admbot-ux

Add admbot avatar, use admbot as proxy to communicate between users and admin group

690d0967d465edfed05c65b8616c60a896eaf357 authored about 2 years ago by holger krekel <[email protected]>
workaround for https://github.com/deltachat/deltachat-core-rust/issues/3650

84bc75dbac1bae95f4f76e89be2a9df16844c030 authored about 2 years ago by missytake <[email protected]>
support groups don't need to be verified

320e9437d421e7cf2b971767ebf89787600efc9d authored about 2 years ago by missytake <[email protected]>
use override_sender_name instead of group name for support user

9cff55f0ebf5aa92da8adfc95e921583ff37c423 authored about 2 years ago by missytake <[email protected]>
logging: not all messages which make it through here are commands, some are admins discussing things

883b1d0bf8c033253cda39e174e7679c944f82cf authored over 2 years ago by missytake <[email protected]>
log message appeared in more cases than fitting

31ff07c59f2d0befdc7a24bb42fc7d283aae0354 authored over 2 years ago by missytake <[email protected]>
added logging messages what happens with the received message

0c9a49a02076242be7327f201d1da7a9ee5bc22b authored over 2 years ago by missytake <[email protected]>
set bot's display name to 'mail.example.org administration'

c37fd51bf201164173bd872f48c285a248c06b0e authored over 2 years ago by missytake <[email protected]>
make sender names & overrides pretty

7a54451270ff1158b9b15dd59938740daa73ef35 authored over 2 years ago by missytake <[email protected]>
fix line wrap issue

3a7522f1398073507ff9e77fd7085587a8b5491b authored over 2 years ago by missytake <[email protected]>
test: what if the bot receives a system message?

5ee47870d502888bfcd21c8bea16e218b2356697 authored over 2 years ago by missytake <[email protected]>
comment: this branch handles 1:1 support messages

c75c459a0748939f254758913590a52d50e7a04c authored over 2 years ago by missytake <[email protected]>
use for/else loop to determine supportgroup

4ce6260931482b6917036ea78d53e59a833c7bf5 authored over 2 years ago by missytake <[email protected]>
better error message

Co-authored-by: holger krekel <[email protected]>

c09feeb0df8622cabdb3e252dacbe758b941d17c authored over 2 years ago by missytake <[email protected]>
shorten "leave group" command

Co-authored-by: holger krekel <[email protected]>

6a29e1a2af52ed49dc1ebe6d010864bb74de3b62 authored over 2 years ago by missytake <[email protected]>
rename check_privileges to is_admin_group_message

e9cfedd665f55ec79ed29edb4abf43b3661f228b authored over 2 years ago by missytake <[email protected]>
fix failing tests: admingrpid should be int everywhere

5603f96753178a154557cf836fb2abcace5d9f6b authored over 2 years ago by missytake <[email protected]>
test: clean up rebase leftovers

87b415d369ee1135bb06db575171f5bbb682d995 authored over 2 years ago by missytake <[email protected]>
test: apply test timeout on class level instead of test level

301d8735751f694cabab9bba9dfafc7b4b543297 authored over 2 years ago by missytake <[email protected]>
turn on logging for dc account objects

a6bf3e4dbdab5194af47867e7e62be7dcc47ce0b authored over 2 years ago by missytake <[email protected]>
test: relaying messages between user and support group

59455375fa1b45fc29ce7bdccb376c0e48b843e6 authored over 2 years ago by missytake <[email protected]>
run more tests in parallel

b1d9fd5d6139fc0278761e1f2d192cadf7ce9764 authored over 2 years ago by missytake <[email protected]>
test: renaming testaccounts, logging only for admbot

bcd8724db89ff128df8f1478b69d680312bc8ea5 authored over 2 years ago by missytake <[email protected]>
test: bot should leave groups which are opened by non-admins

c1696fea30911447055f379485f9aaa1aa98c16a authored over 2 years ago by missytake <[email protected]>
test: does bot have profile picture set?

b11e3f97afa39c11a5fe7315605be7481dc1d1b6 authored over 2 years ago by missytake <[email protected]>
properly wait until threads end during test teardown

01302298bac89e8040775fea965ec3d737fae34f authored over 2 years ago by missytake <[email protected]>
better shutdown handling

but thread.join() still doesn't kill the thread properly

694d6d3c0cdc75e0156eb1dd47e3a3812351910e authored over 2 years ago by missytake <[email protected]>
tests: create a bot + admin group for integration tests (doesn't work yet)

84cd614f8c9234dda836e7878674419a9baf4732 authored over 2 years ago by missytake <[email protected]>
don't confuse the 1:1 chat with the supportuser's name with the same-called group

004efc36b070ce667916b56d0340a5f35ba9969f authored over 2 years ago by missytake <[email protected]>
fix: quote can be None

273f147b914f887fa365e6fdc9d012c83005d793 authored over 2 years ago by missytake <[email protected]>
if supportgroup already exists, reuse it

e1a613e896a30dd69abf6041b706730f99faeeaa authored over 2 years ago by missytake <[email protected]>
bot leaves any group which isn't the admin group

1bad0e8cd1031cd1199e17ed6d938f228ee2ad19 authored over 2 years ago by missytake <[email protected]>
after rebase: admingroup is stored in AdmBot already

35c2126914a49e2f554407a1aeacd6ff541b1ea9 authored over 2 years ago by missytake <[email protected]>
on incoming user support request, open support group. relay quotes from support group back to user

a65c8516bfd13610a35f02e1ac3203399a8b0698 authored over 2 years ago by missytake <[email protected]>
forward messages from users to admin group

80fff2ce00421fc99edf3e85190021aaa08e0a64 authored over 2 years ago by missytake <[email protected]>
forward replies from admins to users

641417dfd3d04b9eee350918c7bbb81efc1197b8 authored over 2 years ago by missytake <[email protected]>
don't leave group when sender is an admin

9a9e588ca6d8e39f2b89c69daec12033f6a1b409 authored over 2 years ago by missytake <[email protected]>
set avatar at the beginning of bot process

74028c96bd5380a92116bc0863635ce5272eb60a authored over 2 years ago by missytake <[email protected]>
add bot avatar file

60c35caa483b1329ca605ccb5b8ce2a68bc7edf0 authored over 2 years ago by missytake <[email protected]>
test: apply test timeout on class level instead of test level

e7c1300140756fed1f94a82880662b04b90b1ecf authored over 2 years ago by missytake <[email protected]>
also test whether bot replies correctly

6edfe9557584a69cb8dd13c527b4b8c219d9fa63 authored over 2 years ago by missytake <[email protected]>
turn on logging for dc account objects

9f5978a2881ab9cea13afd61d7caebd47f3181d1 authored over 2 years ago by missytake <[email protected]>
comment: explain why wait for exactly 5 messages

29db9614a19d110631663aae5ee30fa2c14bdf02 authored over 2 years ago by missytake <[email protected]>
the bot tests *can* work in 60 seconds. If they take longer, they don't finish at all.

4b04668c4b21d6c7f2a70d9516cf8efea26ebcb8 authored over 2 years ago by missytake <[email protected]>
use pytest_timeout

93b187b2675a4fe6773842a62cb9eafbd98f768a authored over 2 years ago by missytake <[email protected]>
clarify that we're waiting for one new message

2753ea03c96974a8c86974ea8c2cbe5ed97b2e95 authored over 2 years ago by missytake <[email protected]>
making the admingroup a fixture

aa4c6b0c7c8f9b9b048026cc7d3d009b16e96079 authored over 2 years ago by missytake <[email protected]>
increased timeout to 60 seconds, GitHub runners seem to take longer than my laptop

1901d6f645f9d757fafb9944b9a9227e129fd9e5 authored over 2 years ago by missytake <[email protected]>
increased timeout for test_check_privileges, fix lint

d59ced9b951d33816d87ba18adf534cbed7c0086 authored over 2 years ago by missytake <[email protected]>
change tox.ini to run 4 tests in parallel

6749ad9f0fbee99e13f5c934cc9b3f738d0a3abc authored over 2 years ago by missytake <[email protected]>
made timeout global variable

d51b0711c2a9d2bcbd637564cc1bdf883bc01347 authored over 2 years ago by missytake <[email protected]>
add timeout for bot replies (20 seconds)

f5f7ca689bf181155c58d9973014c8786eae318e authored over 2 years ago by missytake <[email protected]>
properly wait until threads end during test teardown

7e562c77aef3d4728d104663f497a21183543334 authored over 2 years ago by missytake <[email protected]>
first working bot tests

5593a8bd5d1acb7058ed4365ac33dbeb5339a078 authored over 2 years ago by missytake <[email protected]>
better shutdown handling

but thread.join() still doesn't kill the thread properly

2459656d2d79e8d0b8af1f242aa3202e0f1d71be authored over 2 years ago by missytake <[email protected]>
tests: create a bot + admin group for integration tests (doesn't work yet)

145d9fa76409e4bf38bd9659913afb9c68e5f7b9 authored over 2 years ago by missytake <[email protected]>
list-tokens: always return at least one line of text

0294c0d7d3459a16b7360ffc8c0b98d6f478e2c9 authored over 2 years ago by missytake <[email protected]>
fix: get bot database path from env

9fa6438979391baf8ecb915694539ed0212c80ff authored over 2 years ago by missytake <[email protected]>
fix docstring

72f7b8b8de8b30c1005799df017b1a0968a22283 authored over 2 years ago by missytake <[email protected]>