Mobilizon reshare è una suite per condividere gli eventi Mobilizon su un'ampia selezione di piattaforme e permettere ad un'organizzazione di automatizzare la propria strategia di social media sugli eventi e la loro promozione. https://mobilizon.it
Go to file
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
mobilizon_bots Notification system (#13) 2021-07-05 21:44:11 +02:00
tests Notification system (#13) 2021-07-05 21:44:11 +02:00
.gitignore Init configuration 2021-05-03 18:31:37 +02:00
.pre-commit-config.yaml updated to python 3.9 2021-05-02 18:33:13 +02:00
.pre-commit-hooks.yaml added .gitignore and pre-commit 2021-04-25 11:10:47 +02:00
LICENSE first commit 2021-04-18 16:10:45 +02:00
README.md added README for pre-commit 2021-04-25 11:13:59 +02:00
README.rst added README for pre-commit 2021-04-25 11:13:59 +02:00
poetry.lock Add models (#18) 2021-05-31 01:11:50 +02:00
pyproject.toml Add models (#18) 2021-05-31 01:11:50 +02:00
setup.cfg reworked validation 2021-05-02 10:37:46 +02:00

README.md

Develop

To run pre-commit hooks run pre-commit install after cloning the repository.

Make sure to have pre-commit installed in your active python environment. To install: pip install pre-commit. For more info: https://pre-commit.com/