Commit graph

371 commits

Author SHA1 Message Date
Cathy Hu c77d5fd25e [frontend] Add minimal example for fetching hood list 2020-08-17 16:09:07 +02:00
Cathy Hu 5b1bbfa24e [frontend] Add provider for BASE_URL 2020-08-17 16:08:32 +02:00
Cathy Hu c928532c44 [frontend] Import HTTPClientModule 2020-08-17 16:07:10 +02:00
Cathy Hu c24ea9e091 [frontend] Update openapi-generator and include ApiModule in app 2020-08-17 15:06:57 +02:00
Cathy Hu 35af22b52f [frontend] Add pages structure 2020-07-25 23:34:31 +02:00
Cathy Hu e308d0d83b [frontend] Add homepage and not found routes 2020-07-25 22:20:42 +02:00
Cathy Hu 5109d296bc [frontend] Add homepage boilerplate 2020-07-25 22:20:42 +02:00
Cathy Hu 05d4e01423 [frontend] Add Material design and Navbar 2020-07-25 22:20:42 +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 cb9e8e0136 [core] Add cors_allow_origin and production config option 2020-07-25 13:34:18 +02:00
Cathy Hu 915cc041e3 [misc] Restrict pytest path to tests/ 2020-07-25 13:32:01 +02:00
Cathy Hu ee31627859 [frontend] Add initial angular app structure 2020-07-25 11:05:36 +02:00
Cathy Hu f8ef547442 [tests] Remove unused monkeypatch 2020-07-19 00:40:28 +02:00
Cathy Hu 208efe42a7 [tests] Add REST API tests for getting all twitter bots 2020-07-19 00:40:28 +02:00
Cathy Hu a8f60b8786 [tests] Add tests for getting infos about a twitter bot 2020-07-19 00:40:28 +02:00
Cathy Hu efebe40a44 [tests] Add tests for deleting a twitter bot 2020-07-19 00:40:28 +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 a3f8679b34 [misc] Add pytest-asyncio as tests 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
Thomas Lindner 761a4f9e0a [tests] Finish adapting email tests to previous changes 2020-07-17 15:51:14 +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 33f3a02985 [core] Fix protected attributes in platformapi.py 2020-07-17 15:51:14 +02:00
maike fa3d8deb95 [email] Prefix for email recipient address 2020-07-17 15:51:14 +02:00
maike 2815f70bf8 [tests] Changed GET calls to proper REST 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 5e54fd2517 [tests] Skip MDA test - too high-level and only works sometimes 2020-07-17 15:51:14 +02:00
maike 075d04bb7d [email] Envelope from is not always set 2020-07-17 15:51:14 +02:00
maike b54b6d0e24 [tests] Finish test for kibicara_mda 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 b8113c59ae [tests] Incomplete happy path test for 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 4bee982005 [email] Get recipient from command line, not email 2020-07-17 15:51:14 +02:00
maike 29d10d5acd [tests] Incomplete test for kibicara_mda 2020-07-17 15:51:14 +02:00
maike 4ccd30cadf [email] Ensure hood name is lower case 2020-07-17 15:51:14 +02:00
maike a6ce618ca8 [email] Get recipient from email instead of command line 2020-07-17 15:51:14 +02:00
maike 2215470bd2 [tests] Fix coding style 2020-07-17 15:51:14 +02:00
maike 1ea8f3b3e2 [email] Get email row directly 2020-07-17 15:51:14 +02:00
maike 0dbade63ac [email] Fix and reduce tests 2020-07-17 15:51:14 +02:00
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