Commit graph

25 commits

Author SHA1 Message Date
Alexey Skobkin 01ab35210f
pylama code style fixes. 2022-07-10 15:06:39 +03:00
Alexey Skobkin 099c9f77a3
Logging added. LOG_LEVEL env variable introduced. 2022-07-10 15:06:32 +03:00
Alexey Skobkin 56cb4138b5 Sanitizing HTML to leave only HTML tags allowed by Telegram Bot API. (#33)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #33
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
Co-authored-by: Alexey Skobkin <skobkin-ru@ya.ru>
Co-committed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-07-10 13:22:44 +03:00
Miroslavsckaya 7c373c8f78 Fixes (#28)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #28
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-07-09 02:49:12 +03:00
Miroslavsckaya 78467bc5fb Update manager (#23)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #23
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-07-08 22:23:12 +03:00
Alexey Skobkin 799ecd239a Update bot running instructions in README.md
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-05-31 12:15:47 +03:00
Alexey Skobkin de4491fa02 #20 Pipelines merged. Deploy pipeline removed for now. Pylama now checks only changed files.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-31 02:20:19 +03:00
Alexey Skobkin 2e44df0bbd #2 #7 Telegram module (#10)
All checks were successful
continuous-integration/drone/push Build is passing
`telegram` module. Closes #2 #7.

Two service classes:

* `Notifier` class
* `CommandProcessor` class

Two [middlewares](https://github.com/eternnoir/pyTelegramBotAPI/tree/master/examples/middleware):

* `UserAuthMiddleware`
* `ExceptionHandlerMiddleware`

One exception for usage in the code called by the bot:

* `DisplayableException`

Merge **ONLY** after #9 is merged.

Reviewed-on: #10
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
2022-05-30 23:54:26 +03:00
Miroslavsckaya 22dcc4ef06 Database module (#17)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: mitsuha_s <stmiroslavsckaya@yandex.ru>
Reviewed-on: #17
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-05-29 23:19:17 +03:00
Miroslavsckaya 04bdbbe79c Merge pull request 'RSS module' (#19) from feature_rss into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #19
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-05-29 23:13:39 +03:00
mitsuha_s d7d7838eb5 little codestyle changes
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-05-29 23:11:23 +00:00
mitsuha_s fa0632e84d make get_items and convert_to_feed_item methods private
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-05-29 23:00:59 +00:00
mitsuha_s ba2ff845d3 add convert_to_FeedItem method
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-05-29 20:38:49 +00:00
mitsuha_s 51c9754ad8 add FeedItem class 2022-05-29 20:29:51 +00:00
mitsuha_s 669bc48a37 add get_items method 2022-05-29 20:28:48 +00:00
mitsuha_s 1dd2ccfc6e add get_feed method 2022-05-29 20:25:07 +00:00
mitsuha_s 7e96992c7f add Feed class 2022-05-29 20:18:12 +00:00
mitsuha_s 7361e449b3 create rss module, add RssReader class 2022-05-29 20:17:03 +00:00
Alexey Skobkin 5d4a43e2c6 Merge pull request 'Pylama code audit' (#13) from feature_pylama into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #13
2022-05-02 17:38:30 +03:00
Alexey Skobkin e69e63a9a3 Pylama draft.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-05-02 17:32:59 +03:00
Miroslavsckaya 6c99a2af58 Merge pull request 'Drone CI' (#12) from feature_drone into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #12
2022-05-02 15:32:29 +03:00
Miroslavsckaya 536ea4f130 Merge pull request 'Python venv' (#9) from feature_venv into master
Reviewed-on: #9
2022-05-02 15:27:18 +03:00
Alexey Skobkin f044a777c4 Drone CI draft.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-05-02 03:03:00 +03:00
Alexey Skobkin 746afab067 Adding venv. 'pyTelegramBotAPI' already included. 2022-05-02 01:45:55 +03:00
Stanislava M 3b57893866 add README 2022-04-30 22:29:45 +03:00