mitsuha_s
2bb167fef5
little fix in bot.by and update.py
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-14 01:48:20 +00:00
mitsuha_s
ab77d44ba3
rename db_dsn to dsn variable in bot.py and update.py
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-14 01:41:57 +00:00
mitsuha_s
2206c6299d
change time.sleep to 1
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-14 01:37:18 +00:00
mitsuha_s
292a7a3c88
little refactor in update_feed_items method
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-14 01:29:37 +00:00
mitsuha_s
61a2d8d215
not saving feed items title in the database anymore
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-14 01:21:40 +00:00
mitsuha_s
037272a167
not saving description in the database anymore
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-14 01:11:45 +00:00
mitsuha_s
c91549a311
bug fix. add comparison by guid instead of url
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-14 00:41:58 +00:00
mitsuha_s
6535055268
refuse to unpack the dict in UpdateManager
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-13 23:03:01 +00:00
mitsuha_s
ae31be33b6
fix update method in UpdateManager
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-13 22:32:47 +00:00
mitsuha_s
6759e61bc2
fix __dictrow_to_dict_list
2022-07-13 22:09:04 +00:00
mitsuha_s
2dde80f715
code style changes
2022-07-13 21:54:15 +00:00
mitsuha_s
50ac344095
rename __convert_to_list_of_dicts method to __dictrow_to_dict_list
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-13 20:50:03 +00:00
mitsuha_s
feef909c61
add __convert_to_list_of_dicts method
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-13 20:39:17 +00:00
mitsuha_s
5d0a6843b6
fix return values in add_user and add_feed methods
2022-07-13 20:15:11 +00:00
mitsuha_s
f11b0b91af
fix removal feed, refactor return id and add type hints
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-13 19:19:54 +00:00
mitsuha_s
1bdb00e8e7
WIP: migrate to PostgreSQL
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-07-11 00:25:44 +00:00
Miroslavsckaya
92ced4c91b
Fix representation date in FeedItem ( #38 )
...
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 )
...
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 )
...
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 )
...
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 )
...
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
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.
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 )
...
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 )
...
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
...
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
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
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
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
...
continuous-integration/drone/push Build is passing
Reviewed-on: #13
2022-05-02 17:38:30 +03:00
Alexey Skobkin
e69e63a9a3
Pylama draft.
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
...
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.
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