673a3768b8
fix: add more is_banned checks to avoid infinite fetching
2025-05-21 04:30:48 +03:00
bd957e2bd2
fix: use http protocols and app.hostname
2025-05-21 03:54:25 +03:00
6141d674a9
feat: add /info command ( #1 )
...
Reviewed-on: #1
Co-authored-by: mctaylors <cantsendmails@mctaylors.ru>
Co-committed-by: mctaylors <cantsendmails@mctaylors.ru>
2025-05-20 18:15:12 +03:00
5262975275
refactor: add config.py
...
this change adds self validation in __init__, allows to make config values with different types (not just string) and stores config values in classes for easier accessibility
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-26 20:29:44 +03:00
4fbdb198ae
refactor: move imports in main.py
...
this change allows to avoid multiple and very specific imports in other python files
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-26 14:28:15 +03:00
d363fa9afd
fix: use App.HostName (if set) in /about
...
oh yeah and we're also moving that strange ternary to main.py
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-26 14:18:41 +03:00
496ea38b5c
change: update config.ini
...
use definitions from danbooru dotenv, add comments
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-26 14:03:09 +03:00
25768e4c90
refactor: add html_parser.py
...
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-10 15:16:00 +03:00
3242418ae6
fix: about used General because i forgor
...
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-02 14:28:12 +03:00
1178c80831
feat: add token in config.ini
...
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-02 14:09:49 +03:00
6ec797a387
Initial commit
...
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2025-03-02 01:20:11 +03:00