24 Commits (3374f96bca2747ecd84e38fc87d4f984a9eecfc5)

Author SHA1 Message Date
Peery 3374f96bca
Configuration Key moved into key file
Removed the hard-coded config encryption key and replaced it with a key file that gets generated by ArtNet if not present with a pseudo-random hex using the secret module.

This should improve credential security.
Deletion of the old config files might be necessary.
1 year ago
Peery 7ef4d88768
Moved window classes and adjusted references
Moved the browse and import window into the gui/windows folder
1 year ago
Peery 24feb63e5e Fixed Crashes related to recent DB Changes
Fixed a few bugs/crashes that were caused by code still expecting tag name lists being returned by the DB API instead of the new dictionaries.

I should really automate tests or do something to catch these better in the future ...
1 year ago
Peery 1596faee7f Tag Tooltips in the Importer UI
Changed several DB methods to return dictionaries with description and similar tag data instead which allows the importer to also create the tooltip texts which gives more detailed info about a tag in EVERY tag frame without needing to query for each tag specifically.
1 year ago
Peery b37a21d785 Half-done collections and UI changes
Minor tweaks and refactors. A half-baked collection support and several UI tweaks.

Just committing these are they are "old" changes and the current state turns out to be pretty stable.
1 year ago
Peery 8a30dc2cb9 Changed Source Link editing; Added Collection UI
Replaced the link LineEdit with a tool button and a dialog to make room for another label that displays selected collections.
2 years ago
Peery 2bb9b06a8f Added Browser Window (WIP)
Added the first draft of the browser window and implemented switching between it and the importer window via menu action.
Also renamed window.py to importer_window and abstracted some features into a superclass from which the browser window can also inherit. This allows an equal interface for them.
Also fixed a bug in the db_adapter.py where an old column name was used for a query.
2 years ago
Peery 385bfebca3 Fixed Bug; Added Completer to tag search bar
Fixed a bug when closing DB connection dialog during startup causing an error later. A normal exit suffices.
2 years ago
Peery 7a41c675ec Reworked logging
Re-implemented logging using python's logging module instead of simple print() calls.
2 years ago
Peery 756b95abc8 Changed printing logs for logging purposes
Changed some logs to better suit being logged instead of just debugging purposes.
2 years ago
Peery 95498c061d Added description field to UI
Added a QTextEdit for art descriptions.
Also added the ability to save and load them from the database. Changing of the description field also triggers a unsaved changes prompt.
2 years ago
Peery a8dcbcc386 Changed maximum number of image number spinbox
Raised the maximum to be always equal to the image list.
2 years ago
Peery 1dd8f4af30 Added quick select for TagSelectDialog
Implemented the last remaining tag in the TagSelectDialog to be automatically selected when confirming the dialog.
Improved logging of DB connection and selected tags
2 years ago
Peery e45106cd2c Fixed Bug in Importing Tags
Fixed a bug where imported tags were not considered if they were implied by any other tag in the whole database.
Also made the image author link clickable and open the URL with QDesktopServices
2 years ago
Peery aed0def559 Removed unused parameter
Removed an unused parameter from ArtNetManager.import_tags()
2 years ago
Peery ccf4e1feb5 Fixed Bug that kept image shown after changing root
Renamed ArtNetManager.change_image() to ArtNetManager.refresh_shown_image()
Added a refresh of image and config when changing root.
2 years ago
Peery 6fab754612 URL prediction verification with file name pattern
Introduced file name as a parameter to allow to also verify url predictions in link_generator.py
2 years ago
peery 6550b87134 Made Seeking next/prev Unknown more reliable
An additional search over the image hash is now being performed if the path returned no result.
3 years ago
peery 7a276a5492 Added config versioning and file root
Added a version number to the config with a basic warning when the loaded version is different than expected.
Saving & loading file root to config
3 years ago
peery 38b3d3d986 Fixed Issue with deletion
Fixed an issue with the delete action on an image moving to a trash folder across file systems by using shutil instead.
3 years ago
Peery 907f90ffdd Introduced None title Handling
Changed filename titles to be recognized as empty and replace empty titles with an unknown string.
3 years ago
Peery 2575f45421 Fixed alias editing bug & changed empty title handling
Fixed a bug where editing the alias or implication of a tag caused a crash.
Also changed titles that were left unedited from the file name to stay empty inside the database and not be filled with the filename
3 years ago
Peery b5e226bc3a Updated DB backend for new schemas
Update the DB backend to work with an updated schema.
Also fixed a few UI bugs caused by that.
3 years ago
Peery 99069ba77d ArtNet App
Moved ArtNet from another repo here
3 years ago