maike
|
df5e17814c
|
[email] Let MDA exit with error if there is no usable body
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
e6fd5ffe4d
|
[email] Better 2xx HTTP return codes
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
9a6edd5fa2
|
[email] Fix unsubscribe link
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
668b702735
|
[email] Shorter way to raise an exception
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
ecba2fb595
|
[email] Pass message in json instead of data
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
8211a29ebd
|
[email] Fix database call
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
3bc43a51e9
|
[email] Only one email bot per hood
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
da26b06fe4
|
[doc] Documenting get_email usage
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
40ac9f3b85
|
[tests] Delete email bot
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
a3c5de29c5
|
[tests] Unsubscribe from email bot
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
0725523926
|
[email] Fix coding style
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
7f07e566eb
|
[tests] Write email without trigger words
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
77880e72f2
|
[tests] Unauthorized: delete email bot, write message
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
1d55c45890
|
[tests] Subscribe to email bot
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
4a2ed681ca
|
[tests] Add fixture to create email rows
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
10c496af98
|
[email] Get email row by hood *and* email.id
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
3cbd06a66f
|
[email] Column is supposed to be unique
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
0999a72fab
|
[email] Fix API call
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
ae9e931c43
|
[email] Fix database call for API secret
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
c2bdbc6f88
|
[email] Only abort MDA script if no MIME part is usable
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
ae979c37f9
|
[tests] Tests for email subscription w/o auth
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
8f7840fb7c
|
[tests] Email API happy path works now
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
c13a354367
|
[email] Subscriber routes don't need authentication
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
cf5acb144f
|
[core] Not all hood routes need authentication
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
023f0c5a46
|
[tests] Happy path tests for email API
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
d7b71d12ae
|
[tests] Testing if authorization is necessary
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
52a7f04313
|
[email] Better error handling
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
1ed95a7352
|
[email] Use token generation from kibicara.webapi.admin
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
513bff3fc7
|
[email] Fix DB call to create Email row
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
a95306c1be
|
[misc] Add maike to COPYING
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
88af3e8204
|
[email] Use envelope recipient address instead of To:
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
4b50157e54
|
[email] Move To: parsing to MDA script
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
cdd5d3b3a8
|
[email] Send message with requests instead of curl
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
43b8ec8373
|
[email] Coding style fix
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
0068558efb
|
[email] Hood name never changes
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
8e1335bc06
|
[email] Document functions, renamed recipients to subscribers
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
72bbbb1847
|
[email] Delete unnecessary route
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
b8ce2a4843
|
[email] Use NaCL instead of PyJWT for encoding
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
09758fa8e8
|
[email] Activate routes
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
261e41c6a9
|
[email] Send unsubscribe links with every message
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
4eb5b18807
|
[email] Create and Delete Email rows
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
7866b2c4d1
|
[email] Make clear where hood.name/hood.id is used
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
5e93549591
|
[email] Generate URL directly
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
71f80a2a96
|
[email] Confirmation mail for message subscriptions
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
78b271c418
|
[email] Send messages to email recipients
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
1033b778aa
|
[email] Return 451 for censored messages
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
bda5e1a133
|
[email] Fix style issues
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
1aad0b30e1
|
[email] Return 201 only if message is accepted
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
3e565caf69
|
[core] Censor returns True if message is accepted
|
2020-07-17 15:51:14 +02:00 |
|
maike
|
2ce11122c8
|
[email] Started implementing bot.py
|
2020-07-17 15:51:14 +02:00 |
|