Commit Graph

406 Commits

Author SHA1 Message Date
95b74398f3 Move parse_time function to main.py and remove parser.py; update tests accordingly 2025-02-25 16:22:30 +01:00
cc293e800d Refactor calculate function and move it to main.py; remove misc.py and update tests 2025-02-25 16:19:21 +01:00
b61ea5af19 Ignore more Ruff rules so we don't spam noqas everywhere 2025-02-24 17:16:06 +01:00
ae8949f396 Add logging for reminder operations and webhook messages 2025-02-24 17:08:00 +01:00
0ae73d3744 Update comments in .env.example 2025-02-24 17:00:55 +01:00
4aa0bd7837 Reduce the amount of files and functions 2025-02-24 13:52:00 +01:00
2806e6044d Refactor calculate() to properly handle paused jobs and fix tests 2025-02-21 21:11:50 +01:00
af6e88ba47 Improve permission checks in event handling 2025-02-20 11:18:53 +01:00
04c58228cb Update ruff pre-commit hook to version 0.9.6 2025-02-13 03:09:51 +01:00
176a1a058c Refactor /remind list to use a normal embed and fix calculate() function 2025-02-13 03:07:27 +01:00
f82c410097 Use skip instead of remove in debug messages to not scare the user 2025-02-11 18:38:47 +01:00
b6f64e6cd0 Fix string formatting in job logging 2025-02-11 17:40:31 +01:00
1dba51a40d Add time and timezone information to message when creating reminder 2025-02-11 17:26:34 +01:00
39ecf4bb6c Add job event listener for missed jobs and errors; integrate Sentry for error tracking 2025-02-09 00:33:39 +01:00
b843364e1e Remove timeout handling from JobManagementView 2025-02-04 13:00:47 +01:00
5261640189 Fix /remind add not working 2025-02-04 12:58:01 +01:00
97c4f8faec Add PyPy to Python version matrix in GitHub Actions 2025-02-01 23:38:49 +01:00
8e8e081e94 Refactor GitHub Actions workflows; add new workflows for Poetry and uv 2025-02-01 23:11:11 +01:00
22b90fdcee Lower Python requirement to 3.10 instead of 3.13 2025-01-30 02:44:12 +01:00
9a629ce773 Refactor timezone handling, raise if fucked on startup 2025-01-26 15:51:08 +01:00
97bb8b760f Fix kwargs being job_kwargs in add_job 2025-01-26 04:56:21 +01:00
aec8c55299 Add Sentry DSN to .env.example and use computer name as environment 2025-01-26 04:52:52 +01:00
22f7028c1e Fix tests 2025-01-26 04:38:15 +01:00
4bd937a570 Add Loguru for enhanced logging and update logging statements for clarity 2025-01-26 04:34:23 +01:00
1287f8ca4b Remove logging of job timeout in JobManagementView 2025-01-26 03:52:48 +01:00
fb1db7f222 Improve message deletion logic to handle timeout messages and skip invalid webhook token errors 2025-01-26 03:52:36 +01:00
a08b7e7cd7 Integrate Sentry for error tracking and enhance error handling in bot and UI interactions 2025-01-26 03:24:38 +01:00
c968dc62a2 Implement message cleanup on bot close and enhance job management view timeout handling 2025-01-26 01:37:09 +01:00
36e9173d9d Add footer to /remind list 2025-01-25 23:56:55 +01:00
b87f62ba74 Only list jobs that are in the current guild 2025-01-25 19:24:26 +01:00
90a3b9e72e Add /remind event 2025-01-24 23:16:19 +01:00
93d2e54e97 Enhance test assertions with detailed error messages 2025-01-23 20:18:27 +01:00
bf5c08346e Update Dockerfile and add comments in pyproject.toml 2025-01-23 18:39:47 +01:00
62b200d131 Update Renovate configuration 2025-01-22 17:54:23 +01:00
bab8141b38 Add SECURITY.md for vulnerability reporting guidelines 2025-01-22 17:50:13 +01:00
07bc11fbff Move settings to a function and add tests 2025-01-22 17:45:29 +01:00
d5926e5cb9 Use --pytest-test-first 2025-01-21 18:59:51 +01:00
b25f18c7fb Remove unused functions 2025-01-21 18:54:21 +01:00
b8152836c8 Refactor job modification logic and improve label handling in ModifyJobModal 2025-01-20 23:28:18 +01:00
5774939385 Update pre-commit hooks and remove unused ones 2025-01-19 16:02:40 +01:00
07297e5a56 Add /remind backup and /remind restore commands 2025-01-18 23:50:27 +01:00
4b3acc0948 Refactor things 2025-01-16 00:25:19 +01:00
ea079fb9b1 Refactor everything 2025-01-15 00:31:26 +01:00
e379afe108 Add better error handling 2025-01-14 00:22:52 +01:00
f1695848ef Add /remind interval 2025-01-12 23:39:32 +01:00
87e12cd208 Refactor /remind cron 2025-01-12 02:05:59 +01:00
566c0ce891 Add /remind cron command 2025-01-11 19:52:12 +01:00
14bf6d7fbe Move ui stuff to ui.py 2025-01-10 23:00:53 +01:00
735d7b853c Update pre-commit hooks to use latest versions of ruff and actionlint 2025-01-10 21:25:41 +01:00
1b1deb72d9 Make pause button have the correct label 2025-01-08 21:08:12 +01:00