Commit Graph

42 Commits

Author SHA1 Message Date
0c53778f99 Refactor database message handling to support multiple messages and enhance type hints across various classes 2025-05-14 14:34:40 +02:00
f7c499ea6e Refactor logging setup across multiple modules to use loguru with consistent configuration
- Updated logging initialization in MessageCalendar, admin_edit_prof, elsa_main, graph, iconLine, searchPage, and richtext modules to use loguru.
- Changed log rotation and retention settings for log files to improve log management.
- Replaced logger.debug/info calls with log.debug/info for consistency.
- Fixed a typo in the searchPage UI and updated related references in the UI files.
- Removed unused imports and cleaned up code for better readability.
2025-05-13 15:49:52 +02:00
99b9f50784 rework database to use json string instead of dataclass dump. Prevents failed decodings, makes contents searchable, if needed 2025-05-13 11:37:25 +02:00
8f90247e98 Refactor UI and remove unused tests
- Deleted the generated UI file `untitled_ui.py` as it is no longer needed.
- Updated `search_statistic_page.ui` to enhance table properties, including grid style and sort indicators.
- Modified `search_statistic_page_ui.py` to reflect changes in the UI file and improve table header settings.
- Improved cleanup logic in `richtext.py` to ensure files are only deleted if they exist.
- Adjusted spacing in document generation for better formatting.
- Removed obsolete test files: `database_test.py`, `many_webrequest_test.py`, `test_database.py`, and `webrequest_test.py` to clean up the test suite.
2025-05-12 15:26:58 +02:00
468e8674ab update logging, update docuprint add new ui for generating documents 2025-05-09 11:57:18 +02:00
424411b077 add type checking, update deletion function in searchpage, add function to import apparat data from document 2025-04-28 15:31:35 +02:00
8b83b8c305 add logger 2025-04-28 10:16:24 +02:00
80b96865e7 add SemapDocument and Book dataclasses, improve word document parsing 2025-04-25 12:16:14 +02:00
ac32b86b17 fix bug in extend_loan function 2025-04-07 07:53:36 +02:00
f6f9f89354 refactor: clean up unused imports and improve code organization 2025-03-26 10:21:11 +01:00
08cd18f3f1 rebase codebase, delete trunk, move threads to backend 2025-01-14 16:20:08 +01:00
2acaea588b more changes 2025-01-14 09:44:32 +01:00
997d618ff1 fix broken files after faulty update 2025-01-14 08:51:58 +01:00
eda556b5ea rework logging, add more dataclasses, reworked config 2024-12-17 10:02:56 +01:00
f84c030eea feat: add documentation for ELSA and extend functionality, include new icons and update semester logic 2024-12-10 11:24:04 +01:00
6a2ca5e719 chore: revert to use base settings class instead of partial settings 2024-11-27 14:48:47 +01:00
WorldTeacher
f3eed7486d feat: create config class to replace use of config file in application 2024-10-29 16:07:30 +01:00
WorldTeacher
ff8e6a1e58 add elsa prof functions for seperate profs 2024-10-10 14:38:25 +02:00
WorldTeacher
2746b917eb rework icons, codechanges, bugfixes, typofixes 2024-10-09 08:47:48 +02:00
WorldTeacher
cd74214c17 rework prof data using dataclass, change database code, fix bugs 2024-09-23 15:45:42 +02:00
WorldTeacher
14627cb824 fix error where same prof can't be used twice for apparats 2024-09-20 08:28:35 +02:00
WorldTeacher
3794f35942 database feature
add function to determine the script, function and line that called the
database, embed data into log to make fixes easier
2024-07-03 14:41:09 +02:00
WorldTeacher
7e0de3f032 db bug fix 2024-07-01 15:46:15 +02:00
WorldTeacher
6fa3e18f22 updates 2024-06-28 10:14:07 +02:00
WorldTeacher
5e53c1a61b rework elsa media database function 2024-06-27 13:17:41 +02:00
WorldTeacher
8590517399 database elsa changes 2024-06-26 16:33:31 +02:00
WorldTeacher
1aef1b3e3a fixes + updates
add ascii-lowercase symbols that can be at the end of a query
add inspect module to name database logger based on calling class
2024-06-18 14:11:31 +02:00
WorldTeacher
fd692b8c99 updates 2024-06-11 13:28:23 +02:00
WorldTeacher
3668abc334 add elsa functions 2024-05-24 10:09:02 +02:00
WorldTeacher
0de3cb3487 small bugfix based on changed structure 2024-05-21 13:20:45 +02:00
WorldTeacher
ef5f862a2b formatting 2024-05-16 15:31:06 +02:00
WorldTeacher
f0a7f72f59 remove hardcoded db 2024-05-07 14:20:50 +02:00
WorldTeacher
67d782e1b3 proper formatting 2024-02-22 21:31:54 +01:00
WorldTeacher
6d1119783f add wfh files 2024-02-19 18:12:19 +01:00
WorldTeacher
aa828f0afe refactor docstring from custom format to google 2024-02-14 15:49:02 +01:00
WorldTeacher
892fa97f58 small fixes, working state, ui update 2024-02-12 14:03:06 +01:00
WorldTeacher
a33e632e34 Refactor database.py: Fix variable name and add debug statements 2024-02-08 15:56:01 +01:00
WorldTeacher
e602325678 update database functionality 2024-02-07 11:39:01 +01:00
WorldTeacher
c0ccf00dcb rework recreateFile function 2024-01-31 15:18:47 +01:00
WorldTeacher
6fa71edc2d refactor database class 2024-01-31 14:17:30 +01:00
WorldTeacher
1c1b5802f6 updates 2024-01-26 13:10:33 +01:00
WorldTeacher
0a9818940c add files 2024-01-26 08:28:01 +01:00