Mobilizon-Reshare-condividi.../mobilizon_bots/publishers
SlyK182 de3e503cd6
Notification system (#13)
* Fixed typo

* Added proper exceptions for publishers

* Updated publishers logics: using messengers to allow publications without events

* Added new exception 'InvalidSettings'

* Updated notifiers and publishers: retrieve credentials and destination from config, use only message/event in constructors, lesser refactoring

* Updated publishers' tests

* Updated notifiers and publishers config for Telegram service, updated settings.toml file

* Updated 'post()' method and removed useless config checks for Telegram bot

* Added jinja2 template management for message formatting methods

* Manage message validation in publishers' run() method

* Better config management for notifiers and publishers

* Lesser update to logging and error-raising management (#23)
2021-07-05 21:44:11 +02:00
..
templates Notification system (#13) 2021-07-05 21:44:11 +02:00
__init__.py Notification system (#13) 2021-07-05 21:44:11 +02:00
abstract.py Notification system (#13) 2021-07-05 21:44:11 +02:00
exceptions.py Notification system (#13) 2021-07-05 21:44:11 +02:00
telegram.py Notification system (#13) 2021-07-05 21:44:11 +02:00