Commit Graph

70 Commits

Author SHA1 Message Date
290395d38d add error checking for non-existent users trying to log in 2025-07-03 09:22:43 +02:00
42dc945ab6 change critical to debug for database path log 2025-07-03 07:22:26 +02:00
a6d9498b39 rework documentation launch, use generated files instead of pure mkdocs, add quiet handler for use with logging in terminal 2025-07-03 07:20:57 +02:00
c06ff40fd6 fix issue with database path falling back to faulty path
update logic in welcome wizard, add checks for qapplication instance
2025-06-24 13:46:08 +02:00
86849b67f5 rework semester class using chatgpt - fixes offset bug, implements generate_missing function 2025-06-18 13:32:59 +02:00
7eb55c21d0 migrate from PyQt6 to PySide6, remove unneeded dependencies 2025-06-17 16:21:56 +02:00
3fbb8bbd52 add openai model to config, rework logging to use appdirs logging dir 2025-06-03 15:28:14 +02:00
b874656eba set log level to INFO for improved logging clarity 2025-06-03 13:17:13 +02:00
abe17d8c57 fix path decoding 2025-06-03 13:16:03 +02:00
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
0c8ecb2054 Remove unused imports and clean up code structure across multiple files 2025-05-13 11:39:47 +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
d71de1bd1a add files from folder merger 2025-05-12 09:05:09 +02:00
468e8674ab update logging, update docuprint add new ui for generating documents 2025-05-09 11:57:18 +02:00
8c68655f9f add type checking, error handling, fix search issue. Closes #3 Closes #4 Fixes #3 Fixes #4 2025-04-28 15:36:29 +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
e6bbc469b1 update logging to be on a per file basis 2025-04-28 10:43:45 +02:00
5923bfd7ff add logger 2025-04-28 10:18:28 +02:00
8b83b8c305 add logger 2025-04-28 10:16:24 +02:00
eb0b7a1fec add testclass, rework logging 2025-04-28 10:15:22 +02:00
80b96865e7 add SemapDocument and Book dataclasses, improve word document parsing 2025-04-25 12:16:14 +02:00
6ff7a70d11 rework logging, fix calculation error 2025-04-07 07:53:57 +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
4d1fc94ffa create documentation thread 2025-02-06 15:35:08 +01:00
02d7b5a09f delete unnecessary files 2025-02-06 15:34:13 +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
598da9bfac rework semester functions to better generate offsets 2025-01-08 13:34:46 +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
84f9d69a61 add missing fields 2024-06-27 13:17:48 +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
633cfcc649 init file changes 2024-06-11 09:48:38 +02:00
WorldTeacher
caa96f9565 delete files 2024-06-11 09:41:21 +02:00