Commit Graph

103 Commits

Author SHA1 Message Date
a4460ec17b chore: add log to file 2025-10-28 10:46:45 +01:00
f63bcc8446 feat: implement WebADIS authentication and add medianumber retrieval functionality 2025-10-21 15:26:20 +02:00
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
7e07bdea0c commit AI suggested performance enhancements 2025-10-07 14:42:40 +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
8e9eff4f3a move semester dataclass into logic dir 2025-10-07 14:10:13 +02:00
8b8c1c9393 chore: add logging, minor changes 2025-09-18 07:14:40 +02:00
e934a2b3f1 add ppn search 2025-09-08 10:35:47 +02:00
09ec304637 Refactor WebRequest class: improve location handling and logging for Semesterapparat 2025-09-03 10:38:59 +02:00
a231213276 switch from chardet to charset-normalizer 2025-09-03 10:33:39 +02:00
af53b0310f refactor: update import statement and enhance word_to_semap function with AI parameter 2025-09-01 14:32:05 +02:00
ce7d22b26b feat: add from_LehmannsSearchResult method to BookData for processing Lehmanns search results 2025-09-01 14:31:46 +02:00
5bf5eeae00 add APIs to parse data from SWB and Lehmanns 2025-09-01 14:30:37 +02:00
dbad7165bc refactor: update configuration handling and OpenAI client initialization 2025-06-06 11:14:56 +02:00
2eceb07c0b delete unneeded files 2025-06-03 15:28:47 +02:00
3fbb8bbd52 add openai model to config, rework logging to use appdirs logging dir 2025-06-03 15:28:14 +02:00
771062ab7f add openai implementation to take over some parsing functionality 2025-06-03 13:17:36 +02:00
b874656eba set log level to INFO for improved logging clarity 2025-06-03 13:17:13 +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
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
4a3a95623a delete old, dupe files 2025-05-13 15:43:07 +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
20d07f5775 add. closes #3 closes #4 2025-04-28 15:45:20 +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
e6bbc469b1 update logging to be on a per file basis 2025-04-28 10:43:45 +02:00
98ac7377ac add word_to_semap_as import 2025-04-28 10:18:39 +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
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
fba652006f typo fixes 2025-01-14 10:13:58 +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
15457383c5 remove indent 2024-11-27 13:53:33 +01:00
8876f1279e feat: add conditional handling for ARRAY mode in BookGrabber 2024-11-27 13:53:00 +01:00
a1b2fddc3c feat: enhance WebRequest and BibTextTransformer to support exact signature search and any book mode 2024-11-26 10:21:02 +01:00
6286fc2d94 feat: add adis_idn attribute to BookData class 2024-11-26 10:19:29 +01:00
b3a5fc1948 feat: enhance BookGrabber to support any and exact book modes 2024-11-26 10:18:54 +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
e55ef2d33e add use_any function
enable the addition of any matching book even if the book is not currently in the semesterapparat
2024-10-29 13:02:20 +01:00
WorldTeacher
60106a421b move appnumber to function
use function to set appnumber instead of constructor
2024-10-29 13:01:41 +01:00
WorldTeacher
ec3f6e680f change WebRequest
add use_any_book to add entries not presently in the apparat to complete internal search enging
2024-10-29 13:00:52 +01:00
WorldTeacher
0dd871f709 rework word parser
commented out print statements
2024-10-29 12:59:45 +01:00
WorldTeacher
0b65786f5f add in_apparat bool 2024-10-29 12:59:18 +01:00