Commit graph

37 commits

Author SHA1 Message Date
mitsuha_s 41b7eb32b6 add running the bot and runnig update with Docker documentation to README.md; add .env.dist to .dockerignore; set default value to LOG_LEVEL in .env.dist
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-08-05 00:40:22 +03:00
mitsuha_s 8a82511618 add optional variables in .env.dist; remove *.db from .gitignore; add build command in docker-compose.yml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-27 18:20:58 +03:00
mitsuha_s 90ac75fc11 add .env.dist
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-26 23:16:48 +00:00
mitsuha_s 7e466a9384 add default values from environment variables 2022-07-26 23:15:25 +00:00
mitsuha_s a3327a505c remove invalid values in docker-compose.yml and add little documentation for environment values
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-26 19:38:38 +00:00
mitsuha_s dcc7dda040 add docker-compose.yml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-26 18:07:34 +00:00
mitsuha_s 505e5f1ad5 code style changes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-25 23:29:06 +00:00
mitsuha_s 6381661232 add other used environment variables
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-25 22:47:30 +00:00
mitsuha_s 2b4684275e add .dockerignore
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-22 13:49:54 +00:00
mitsuha_s dcba2e3b80 add python version in Dockerfile and change PYTHONUNBUFFERED value to 1 2022-07-22 13:43:03 +00:00
mitsuha_s b8c91b351a add Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-21 21:14:56 +00: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