Commit graph

87 commits

Author SHA1 Message Date
Martin Rey 4146cb89b5 [misc] Improve docstrings
Mostly by removing whitespace before and after the docstring
2020-12-30 21:45:06 +01:00
Martin Rey 2954f3700b [misc] Sort imports with isort 2020-12-30 21:45:06 +01:00
Martin Rey ff822bb58a [misc] Fix typo 2020-12-30 21:45:06 +01:00
Martin Rey eba21e8409 [misc] Use single quotes when possible 2020-12-30 21:45:06 +01:00
Martin Rey d0fc51fd7e [misc] Simplify return
A variable is only used for return and can thus be simplified
2020-12-30 21:45:06 +01:00
Martin Rey 8705fe0b1f [misc] Concat strings explicitly 2020-12-30 21:45:06 +01:00
Martin Rey e85a4cebb0 [misc] Add member to copyright section of edited files 2020-12-30 21:45:06 +01:00
Martin Rey 2db213af69 [misc] Use format() instead of %s, f-strings, concat 2020-12-30 21:45:06 +01:00
Martin Rey d5c8eb628d
[telegram] Add support for help command 2020-10-12 15:32:10 +02:00
Cathy Hu d66bf759e1 [email] Fix email sender bug 2020-09-16 23:41:38 +02:00
Cathy Hu 7b8d17b77b [email] Fix unsubscribe bug 2020-09-11 23:34:05 +02:00
Cathy Hu 906dba0c83 [email] Fix mda 2020-09-11 22:19:51 +02:00
Cathy Hu 4edaeb706a [email] Limit messages to subscribers 2020-09-11 22:03:02 +02:00
Cathy Hu 92f8ee6a11 [email] Add immediate response if email is in list 2020-09-11 18:40:35 +02:00
Cathy Hu 3025d8b05a [misc] Fix all 204 responses 2020-09-11 02:58:39 +02:00
Cathy Hu 28396eb379 [misc] Fix production issues 2020-09-10 19:37:06 +02:00
Cathy Hu b1997e46c2 [twitter] Fix issue with twitter exceeding request count 2020-09-09 14:19:21 +02:00
Cathy Hu ad4f9fb4fb [email] Fix email unsubscribe error handling 2020-09-06 23:06:52 +02:00
Cathy Hu 04515dfa76 [twitter] Add removal of twitter corpses on twitter create 2020-09-06 21:00:59 +02:00
Cathy Hu 7d54375b43 [core] Fix hood destruction process 2020-09-06 19:11:18 +02:00
Cathy Hu a24e5ff4f9 [twitter] Make twitter callback private 2020-09-05 21:32:10 +02:00
Cathy Hu 32dd8b9207 [misc] Reformat to fit new black guidelines 2020-09-05 01:39:24 +02:00
Cathy Hu d8a270573e [telegram] Add public telegram endpoint to list all bots to a hood 2020-09-03 17:38:12 +02:00
Cathy Hu d8c138982d [email] Add public email endpoint to list all bots to a hood 2020-09-03 17:37:25 +02:00
Cathy Hu 5575782b9b [twitter] Add public twitter endpoint to list all bots to a hood 2020-09-03 17:36:49 +02:00
Cathy Hu f1bc3cba8b [core] Add frontend_url and replace some root_url with frontend path for twitter callback 2020-08-31 21:41:23 +02:00
Cathy Hu 5e9a947284 [telegram] Add username to telegram bots 2020-08-31 14:08:53 +02:00
Cathy Hu a7f0898fd7 [twitter] Add username to twitter bots 2020-08-31 14:08:21 +02:00
Thomas Lindner 3eba5e2ac5 [frontend] Generate services from openapi.json 2020-07-25 21:46:39 +02:00
Cathy Hu 87a315f340 [frontend] Add openapi generator and annotate OpenAPI in backend 2020-07-25 19:47:07 +02:00
Cathy Hu 48db2de748 [tests] Add REST API tests for creating a twitter bot and fix issues 2020-07-19 00:40:28 +02:00
Cathy Hu 268e1d6853 [email] Add start, stop, status REST endpoints 2020-07-18 13:53:11 +02:00
Cathy Hu 9e765e970a [twitter] Fix import error 2020-07-17 23:48:16 +02:00
Cathy Hu 98f60d498b [telegram] Fix telegram api key update bug 2020-07-17 23:41:50 +02:00
Cathy Hu f6eef5dc73 [twitter] Add start, stop, status REST endpoints 2020-07-17 23:40:14 +02:00
Thomas Lindner fc324f102d [misc] Add flake8 to tox and fix existing issues 2020-07-17 19:59:25 +02:00
Cathy Hu f6f6ecdd7c [email] Fix rest api tests and code 2020-07-17 15:51:14 +02:00
Cathy Hu 0a09e7a624 [email] Fix email bot 2020-07-17 15:51:14 +02:00
maike 5b3ac2be75 [email] Change request methods: REST API does not need to answer GET 2020-07-17 15:51:14 +02:00
maike 1bfa7b6a41 [email] Fix email parsing in kibicara_mda 2020-07-17 15:51:14 +02:00
maike b9dafa9fc8 [email] Only one email bot per hood - reducing API 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 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 0725523926 [email] Fix coding style 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