Commit Graph

21 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
06965db26a minor and major reworks: rename swb to SRU, add a test for pdf parsing
major: rework mail to send mail as plaintext instead of html, preventing the bleed-in of html text
2025-10-07 14:15:10 +02:00
af53b0310f refactor: update import statement and enhance word_to_semap function with AI parameter 2025-09-01 14:32:05 +02:00
3fbb8bbd52 add openai model to config, rework logging to use appdirs logging dir 2025-06-03 15:28:14 +02:00
d02a8a271f rework wordparser
- add dropdown selector
- fix bug where Telefon: key got overwritten
2025-06-03 13:15:06 +02:00
b1d523f574 update wordparser 2025-05-26 13:22:47 +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
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
7abe3d8cc0 add logger 2025-04-28 10:18:07 +02:00
80b96865e7 add SemapDocument and Book dataclasses, improve word document parsing 2025-04-25 12:16:14 +02: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
WorldTeacher
2746b917eb rework icons, codechanges, bugfixes, typofixes 2024-10-09 08:47:48 +02:00
WorldTeacher
115248098a rework elsa file parser, add function to add dicts 2024-06-27 13:18:19 +02:00
WorldTeacher
9b8e0621fe add valid letters to detect paragraphs 2024-06-26 16:34:26 +02:00
WorldTeacher
f204ed2b30 add elsa word parser 2024-05-24 10:07:44 +02:00
WorldTeacher
0a9818940c add files 2024-01-26 08:28:01 +01:00