Commit graph

38 commits

Author SHA1 Message Date
Miroslavsckaya f0546c0d72 Merge pull request 'Fix #53. Temporarily (?) sanitizing all HTML tags from RSS item descriptions to avoid non-closed tags being sent to Telegram API.' (#55) from fix_53 into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #55
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
2023-07-20 16:50:04 +00:00
Alexey Skobkin e1e9ce0055
Fix #53. Temporarily (?) sanitizing all HTML tags from RSS item descriptions to avoid non-closed tags being sent to Telegram API.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2023-07-20 01:21:28 +03:00
Miroslavsckaya 960cee77e9 Merge pull request 'Fix #51. Using another symbol for cut text to avoid HTML parsing error in Telegram API.' (#52) from fix_51 into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #52
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
2023-07-03 06:37:11 +00:00
Alexey Skobkin e25842708a
Fix #51. Using another symbol for cut text to avoid HTML parsing error in Telegram API.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2023-07-02 23:07:09 +03:00
Miroslavsckaya e66c5a7306 Merge pull request 'Fix #49 - message length limit error' (#50) from fix_49 into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #50
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
2023-07-01 18:23:14 +00:00
Alexey Skobkin aedf80a4df
Fix #49. Introducing Telegram message length limit and trimming descriptions which exceed it.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2023-06-29 00:39:05 +03:00
Miroslavsckaya 20acceed8c Merge pull request 'Fixing notification error when date is None.' (#48) from fix_47 into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #48
Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
2023-06-26 15:58:25 +00:00
Alexey Skobkin 08b2d216ee
Fix #47.
All checks were successful
continuous-integration/drone Build is passing
2023-06-25 19:37:52 +03:00
Miroslavsckaya 31c112a4fa Database migration (#45)
All checks were successful
continuous-integration/drone/push Build is passing
Closes #16

Co-authored-by: mitsuha_s <stmiroslavsckaya@yandex.ru>
Reviewed-on: #45
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-08-21 23:43:35 +03:00
Alexey Skobkin 90a26dd1c8 #36 Removing image tag which couldn't be present at the time of the build. (#44)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #44
2022-08-14 00:11:52 +03:00
Alexey Skobkin 2dff7ebeaa Docker image CI build (#43)
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #43
2022-08-14 00:04:19 +03:00
Miroslavsckaya 3d40035f6b Docker image (#42)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #42
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-08-13 19:41:19 +03:00
Miroslavsckaya e0992b2351 Migrate to PostgreSQL (#39)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #39
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-07-14 01:53:53 +03:00
Miroslavsckaya 92ced4c91b Fix representation date in FeedItem (#38)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #38
Reviewed-by: Alexey Skobkin <skobkin-ru@ya.ru>
2022-07-10 17:40:19 +03:00
Alexey Skobkin 6ac2610637 Logging added (#34)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #34
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 15:07:26 +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