Commit graph

38 commits

Author SHA1 Message Date
mitsuha_s 8a4bec01c1 refactor send_updates method in Notifier class and add __register_request_and_wait method
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-08 21:49:13 +00:00
mitsuha_s 5bb83c2a09 change max_line_length in pylama.ini
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-08 21:09:10 +00:00
mitsuha_s 53fa8caf1e little code style changes
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-08 21:04:37 +00:00
mitsuha_s 25af6c2176 little changes in pylama.ini
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-08 20:59:52 +00:00
mitsuha_s 2caa1e0618 add docstrings 2022-07-08 20:57:41 +00:00
mitsuha_s d25ca99da1 fix html code
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-08 20:16:33 +00:00
mitsuha_s 4f25c2dd3f minor fixes
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-04 18:38:23 +00:00
mitsuha_s 42de1efed1 add a date display in update sent to the user
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-06-12 22:52:16 +00:00
mitsuha_s 82641cc655 delete the date field from the database schema 2022-06-12 22:42:41 +00:00
mitsuha_s 4e6cb3f28f add update.py 2022-06-12 22:34:02 +00:00
mitsuha_s eae90190e1 add sending the feed title to the user 2022-06-12 22:13:30 +00:00
mitsuha_s e9a311ac67 add feed title to Feed class 2022-06-12 20:48:05 +00:00
mitsuha_s f02b8d85c6 add a row factory to the database module 2022-06-12 20:08:11 +00:00
mitsuha_s 94c1447093 refactor a bit in rss.py
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-06-12 17:13:58 +00:00
mitsuha_s b2c49a583a refactor rss.py
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-06-12 13:18:55 +00:00
mitsuha_s 18f680a9e9 correct return values in some methods from database.py 2022-06-12 13:02:18 +00:00
mitsuha_s 94d77a42f4 implement update manager
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-06-11 22:51:39 +00:00
mitsuha_s 629db4c25d fix methods in rss.py 2022-06-11 16:46:19 +00: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