10 Commits

Author SHA1 Message Date
0406fe4f6f Refactor and enhance type hints across multiple modules
- Updated the `from_tuple` method in `Prof` class to specify return type.
- Added type hints for various methods in `LehmannsClient`, `OpenAI`, `WebRequest`, and `ZoteroController` classes to improve code clarity and type safety.
- Modified `pdf_to_csv` function to return a string instead of a DataFrame.
- Enhanced error handling and type hints in `wordparser` and `xmlparser` modules.
- Removed unused UI file `Ui_medianadder.ts`.
- Improved the layout and structure of the `semesterapparat_ui` to enhance user experience.
- Updated file picker to support `.doc` files in addition to `.docx`.
- Added unique item handling in `Ui` class to prevent duplicates in apparat list.
- General code cleanup and consistency improvements across various files.
2025-10-21 09:09:54 +02:00
3cc6e793d2 more AI optimizations, reworked logger 2025-10-09 12:35:15 +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
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
f0148d8855 add image, rework SemesterDocument 2025-04-14 11:07:48 +02:00
50dd03aee7 extract printer mail to settings file 2025-04-07 07:49:38 +02:00
f6f9f89354 refactor: clean up unused imports and improve code organization 2025-03-26 10:21:11 +01:00
997d618ff1 fix broken files after faulty update 2025-01-14 08:51:58 +01:00