Edit Comments added to API + mega-update #27

Merged
osilkin98 merged 11 commits from update into master 2020-01-03 21:36:26 +01:00
Showing only changes of commit 9d40cdca0f - Show all commits

View file

@ -2,13 +2,16 @@ import logging
import sqlite3 import sqlite3
from asyncio import coroutine from asyncio import coroutine
from src.server.validation import is_valid_channel
import src.database.queries as db from src.server.validation import is_valid_base_comment
from server.validation import is_valid_channel, is_valid_base_comment, is_valid_credential_input, \ from src.server.validation import is_valid_credential_input
validate_signature_from_claim from src.server.validation import validate_signature_from_claim
from server.validation import body_is_valid from src.server.validation import body_is_valid
from src.server.misc import get_claim_from_id from src.server.misc import get_claim_from_id
from server.external import send_notifications, send_notification from src.server.external import send_notifications
from src.server.external import send_notification
import src.database.queries as db
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)