Commit Graph

26 Commits

Author SHA1 Message Date
31524f5e00 Run Black and use exc_info in logger.error 2022-12-05 13:13:47 +01:00
4f92447915 Sort functions alphabetical and fill out docstrings 2022-12-05 12:02:41 +01:00
e045f07282 Add docstrings to files 2022-12-05 11:41:05 +01:00
551644de5e Move update_feed and add_feed to own function, and create set_hook_by_name 2022-12-05 11:16:27 +01:00
80ea0b49a2 Get feed_url from entity instead of argument 2022-12-05 09:03:40 +01:00
880909a0ab Add favicon, /all has GET page for new feeds, and a base.html template 2022-12-04 19:37:58 +01:00
400b72dbf4 Add config file, dropdown for webhooks, and sends stuff to Discord 2022-12-02 16:47:47 +01:00
3bec59cdb6 Remove Typer and use Fastapi instead 2022-12-01 21:11:44 +01:00
6d4a8befd7 Rename main.py to discord_rss_bot.py 2021-12-31 04:11:14 +01:00
aa343f3544 You can now use a environment variable for database name 2021-12-22 19:19:26 +01:00
6a91dea658 Have webhook stored in reader database instead of config file 2021-12-22 02:33:26 +01:00
14b0d34145 Remove unneeded echo 2021-12-21 23:37:06 +01:00
58bff7ecb0 Use Typer instead of platformdirs 2021-12-14 01:43:30 +01:00
3e4937be65 Add docstrings to stats and delete 2021-12-14 01:20:19 +01:00
c56fc76d6a Change default for notify_discord 2021-12-14 01:19:30 +01:00
5184b71b27 Move stats to own command 2021-12-14 01:11:07 +01:00
2b6ca43dd6 You can now delete feeds 2021-12-14 00:52:18 +01:00
6cbbce030c Add backup command 2021-12-13 22:38:40 +01:00
f1c862e1d1 Fix typo: feeds -> entries in stats 2021-12-13 20:05:55 +01:00
75a4a27dcd Close database connection when command is finished instead of waiting for GC 2021-12-13 20:01:45 +01:00
71e8769e75 Change the look for check command 2021-12-13 17:41:10 +01:00
ef42aa5d38 Exit when feed already exists 2021-12-13 17:30:43 +01:00
6458efd28b Add option for sending message to Discord when a new feed is added 2021-12-13 17:30:18 +01:00
c072395647 Add stats to check command 2021-12-12 22:00:47 +01:00
203525becb Move settings to settings.py and read from a config file 2021-12-12 22:00:02 +01:00
c8bf725780 You can now add feeds and check for new entries and send them to Discord 2021-12-12 20:10:24 +01:00