Commit Graph

56 Commits

Author SHA1 Message Date
d619533c7c Remove environment variables, you can only use the settings file now 2022-12-08 12:37:59 +01:00
e52c066824 Remove every try except 2022-12-08 12:34:06 +01:00
09fa6ece48 Improve HTML 2022-12-07 21:36:46 +01:00
b60257f9e9 Improve HTML 2022-12-07 13:13:25 +01:00
53d87b29b1 Remove space and newline when adding new feed 2022-12-07 12:51:07 +01:00
0ae9215e2c Make HTML sexier 2022-12-06 17:02:02 +01:00
80d5174f22 Fix /remove and add try except 2022-12-06 17:01:42 +01:00
b8bec60a3d Move JavaScript further down 2022-12-06 14:44:33 +01:00
76933ae8a0 Add navbar 2022-12-06 14:42:36 +01:00
465ebd20b6 Make feed.html sexier 2022-12-06 13:59:24 +01:00
a9a6884d39 Add try except when closing program 2022-12-06 12:37:20 +01:00
f4fe22fd5e Shutdown scheduler and reader on shutdown 2022-12-06 10:51:43 +01:00
f0ec10122a Add job for checking for new entries 2022-12-06 10:51:21 +01:00
8b4dc47840 Move reader.update_feeds to send_to_discord 2022-12-06 10:50:37 +01:00
2aa372ff87 Fix get_data_dir 2022-12-06 10:49:59 +01:00
bc1b6c699a Add type hints 2022-12-06 10:49:38 +01:00
42ea4ced74 Fix /add 2022-12-06 10:25:22 +01:00
c8e76291a5 Fix send_to_discord and add more excepts 2022-12-06 10:18:33 +01:00
b5c3edf871 Convert /feed to GET instead of POST 2022-12-06 09:39:32 +01:00
4c5faa2181 Add type hints 2022-12-05 19:12:23 +01:00
31524f5e00 Run Black and use exc_info in logger.error 2022-12-05 13:13:47 +01:00
9a0177a17f Use real function name and not alias 2022-12-05 12:03:49 +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
3cb38f8714 Remove unused import 2022-12-05 09:03:52 +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
c2645effdb Fix stats in index.html 2022-12-04 12:26:32 +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
b8a94b6009 Update to newest version of Reader, fix webhooks and fix tests 2022-09-26 19:43:51 +02:00
5a577ac3fb Format code 2022-08-02 14:59:59 +02:00
f1bef033e8 Rename delete variable to confirm_delete 2022-04-13 20:42:08 +02:00
1c64d6ac0f Remove unnecessary int() 2022-04-13 20:40:37 +02:00
bbbb6d4bc7 Format code 2022-04-13 20:40:03 +02: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
466e6eafd6 Add tests 2021-12-14 15:16:28 +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