Mobilizon-Reshare-condividi.../mobilizon_bots
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
..
config Notification system (#13) 2021-07-05 21:44:11 +02:00
event Add models (#18) 2021-05-31 01:11:50 +02:00
mobilizon download events (#19) 2021-05-30 21:47:36 +02:00
models Add models (#18) 2021-05-31 01:11:50 +02:00
publishers Notification system (#13) 2021-07-05 21:44:11 +02:00
storage main: Use get_published_events query. 2021-05-31 01:19:24 +02:00
__init__.py Versioning will be handled elsewhere. 2021-05-09 15:57:04 +02:00
main.py main: Use get_published_events query. 2021-05-31 01:19:24 +02:00
settings.toml Notification system (#13) 2021-07-05 21:44:11 +02:00