Commit graph

119 commits

Author SHA1 Message Date
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 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 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
maike e24a0f8738 [email] Add MDA script to setup.py 2020-07-17 15:51:14 +02:00
maike a9c9f4f1c0 [email] We don't need mail_data, but we need a DB secret 2020-07-17 15:51:14 +02:00
maike d53f0832d6 [email] Add API call to receive mails 2020-07-17 15:51:14 +02:00
maike 31fbfbe8c4 [email] Add MDA script which passes mails to API 2020-07-17 15:51:14 +02:00
maike 4c2d9e63c6 [email] Add database model 2020-07-17 15:51:14 +02:00
Cathy Hu 2aab9d3273 [telegram] Add start, stop, status, update REST endpoints and /stop command 2020-07-17 15:07:24 +02:00
Cathy Hu fe3fc6485c [core] Add enabled and status in censor 2020-07-17 15:06:34 +02:00
hagi 466e41ebe8 [core] Change formating 2020-07-16 14:08:27 +02:00
hagi 8391ea0b04 [core] Change pw length logger to debug 2020-07-16 14:08:27 +02:00
hagi 1c45c75e0f [core] Check password length 2020-07-16 14:08:27 +02:00
Cathy Hu 277eb77047 [core] Add debug level 2020-07-15 16:53:01 +02:00
Martin Rey 4dfdb5a29c [core] Add verbose flag to cli 2020-07-15 16:53:01 +02:00
Cathy Hu 051dd062ac [doc] Add docstrings for core 2020-07-13 19:14:22 +02:00
Thomas Lindner a00a6b8497 [tests] Mock send_email 2020-07-11 18:23:44 +02:00
Cathy Hu 4b6a211c09 [telegram] Add telegram bot 2020-07-11 12:34:38 +02:00
Cathy Hu 7a18d36217 [core] Fix commandline parser 2020-07-11 12:34:38 +02:00
Thomas Lindner 0e53b900c0 [core] Unbreak pdoc3/pytest command line arguments 2020-07-09 18:14:09 +02:00
Martin Rey 8a32a80480 [core] Change OptionParser to ArgumentParser 2020-07-09 15:13:32 +02:00
Cathy Hu 66684c2fea [twitter] Move twitter config options to subpoint twitter 2020-07-08 13:32:34 +02:00
Cathy Hu 8af6205146 [twitter] Require access tokens to be set in model 2020-07-08 13:32:34 +02:00
Cathy Hu c5781200c7 [twitter] Delete twitter bot entry on oauth error 2020-07-08 13:32:34 +02:00
Cathy Hu 361f84c720 [misc] Show timestamp in logs 2020-07-08 13:32:34 +02:00
Cathy Hu 64cb53f225 [twitter] Add DELETE id, GET all, GET id for twitter 2020-07-08 13:32:34 +02:00
Cathy Hu 5bc69c8a33 [core] Add censor filter debug messages 2020-07-08 13:32:34 +02:00
Cathy Hu 2e4be2de15 [twitter] Terminate bot if oauth not successful and fix initial since_id 2020-07-08 13:32:34 +02:00
Cathy Hu fae170ffb9 [twitter] Add column to track twitter oauth verification status 2020-07-08 13:32:34 +02:00
Cathy Hu cd62b5b0a7 [twitter] Connect Twitter bot to core 2020-07-08 13:32:34 +02:00
Cathy Hu dd2c66bf35 [twitter] Add twitter oauth REST endpoint 2020-07-08 13:32:34 +02:00
Cathy Hu c655c77c07 [twitter] Allow null entry in model for tokens and since_ids 2020-07-08 13:32:34 +02:00
Cathy Hu cc4bf13388 [twitter] Fix DMs since_id check 2020-07-08 13:32:34 +02:00
Cathy Hu 3f5f5106e0 [core] Check if Regex input is valid 2020-07-08 13:32:34 +02:00
Cathy Hu ec1c8f7cad [twitter] Add twitter API interaction 2020-07-08 13:32:34 +02:00
Cathy Hu e84ac9d6bb [twitter] Add model and webapi stub for twitter 2020-07-08 13:32:34 +02:00
Thomas Lindner b1d0197037 [tests] Add fixtures 2020-07-08 13:00:35 +02:00
Thomas Lindner 03ae33c8fe [core] Add root_url config parameter #24 2020-07-06 16:51:33 +02:00
Cathy Hu bedcaa940e [misc] Reformat code to match black styleguide 2020-07-02 14:31:53 +02:00
Cathy Hu 72486ccd04 [core] Move platforms folder into main kibicara package 2020-07-01 21:44:19 +02:00
Cathy Hu 1f8ea799f2 [core] Add main kibicara module 2020-07-01 21:39:13 +02:00
Cathy Hu 54c40e5ee8 [core] Add core REST API 2020-07-01 21:34:16 +02:00
Cathy Hu 647fe0ef36 [core] Add send process for notification/confirm email 2020-07-01 21:30:12 +02:00
Cathy Hu fd212bb5b6 [core] Add API for platform core 2020-07-01 21:28:00 +02:00
Cathy Hu e03e7660b2 [core] Add database model 2020-07-01 21:24:03 +02:00
Cathy Hu c05d8cadad [core] Add parser for configuration 2020-07-01 21:21:39 +02:00
Cathy Hu 284bfffec1 [misc] Add initial kibicara package stub 2020-07-01 20:40:06 +02:00