Commit Graph

93 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
560d8285b5 Feat: add delete edition dialog with fuzzy search 2025-10-10 09:10:06 +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
713dbc1a1d UI: changes to new edition UIs 2025-10-07 14:11:57 +02:00
d35b2e816e UI: refactor mail template dialog for plaintext handling, improve logging, and update UI elements 2025-09-22 09:47:18 +02:00
9831aa3a62 UI: update templates, update code 2025-09-22 09:44:28 +02:00
c4be1d8bfa files: reorganize imports, remove print lines 2025-09-22 09:42:15 +02:00
1263faa23f delete files 2025-09-17 14:27:12 +02:00
087b8753fb Add progress dialog and threading for signature updates 2025-09-03 10:39:36 +02:00
c6cbb1d825 refactor: reorganize imports and enhance Mail_Dialog to handle accepted_books 2025-09-01 14:30:10 +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
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
6f670aa1c4 Update PyQt6 UI code generator version in multiple UI files 2025-05-14 14:41:12 +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
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
e6bbc469b1 update logging to be on a per file basis 2025-04-28 10:43:45 +02:00
921a84304f add printer mail to config 2025-04-07 07:54:34 +02:00
f6f9f89354 refactor: clean up unused imports and improve code organization 2025-03-26 10:21:11 +01:00
709a342230 fix some bugs, add mail template emit signal to update list 2025-02-06 15:36:04 +01:00
08cd18f3f1 rebase codebase, delete trunk, move threads to backend 2025-01-14 16:20:08 +01:00
e51988abe1 commits 2025-01-14 10:03:58 +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
c1c4257321 ui changes 2024-12-04 15:37:19 +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
63c525ce7a feat: add buttons for exact title / any book 2024-11-26 10:16:55 +01:00
WorldTeacher
c3ff63ac70 bump files 2024-11-05 16:23:45 +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
9cec1b12be disable okay button by default
set button to be disabled untill an entry is added
2024-10-29 13:05:49 +01:00
WorldTeacher
5af4286270 updates 2024-10-10 14:41:20 +02:00
WorldTeacher
8b5c355bf1 sort profs, add check to enable check_file only if all fields are set correctly 2024-10-10 14:40:02 +02:00
WorldTeacher
84689c70ed updates 2024-08-08 14:56:11 +02:00
WorldTeacher
fba35cdf25 various updates and changes, move admin widgets into different seperate dialogs 2024-08-08 14:40:38 +02:00
WorldTeacher
947ef75db6 module fix 2024-07-04 10:44:13 +02:00
WorldTeacher
b92d47876d add windowtitle 2024-07-04 10:42:14 +02:00
WorldTeacher
93bed5c4b8 add tooltipps 2024-07-04 10:36:46 +02:00
WorldTeacher
4424d9faa1 disable quote generation until pages changed 2024-07-04 10:36:22 +02:00
WorldTeacher
37561cbbb1 update init files 2024-07-03 16:37:24 +02:00
WorldTeacher
48e3145db1 delete files 2024-07-03 16:36:52 +02:00
WorldTeacher
e559f97cc7 chore: fix drop error 2024-07-03 16:36:12 +02:00
WorldTeacher
5cee36dca4 add icon, desc, auto counter 2024-07-03 14:43:45 +02:00