48 Commits (ba3dfadb94353714f4f4ac969f957c7ab3db7349)
 

Author SHA1 Message Date
Peery ba3dfadb94 Added *.log to gitignore
Added the log files to be ignored by git
2 years 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.
2 years ago
Peery a66c601410 Added context menu on image
Added a context menu on the image label to copy the file URL into the clipboard.
2 years ago
Peery 7fc5bf349c Added an Application Icon
Created an added an application icon to the importer window
2 years ago
Peery d78c00ddf4 Fixed an issue when importing tags
Fixed an issue where if the link generation returned None a crash would occur.
3 years ago
Peery 79d1930146 Clickable file name to open local folder
Changed the file name label to be a link that opens the containing folder. Changed the link style to be the same as text.
3 years ago
Peery c1371a41f4 Fixed a Bug with URL prediction
Fixed an issue where the already set URL was incorrectly read and therefore not taken into account for tag importing.
3 years ago
Peery 8568123194 Fixed a Bug in TagModifyDialog handling
Fixed an issue where a cancelled TagModifyDialog was causing errors in logging due to returning None.
3 years ago
Peery 2b4cac949a Renamed tables in DB_adapter
Renamed the database tables to reflect the newest schema in the scripts. Changed the db_adapter calls to fit.
3 years 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.
3 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.
3 years ago
Peery b81ca5a40c Removed completion for tag search bar 3 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.
3 years ago
Peery 7a41c675ec Reworked logging
Re-implemented logging using python's logging module instead of simple print() calls.
3 years ago
Peery 756b95abc8 Changed printing logs for logging purposes
Changed some logs to better suit being logged instead of just debugging purposes.
3 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.
3 years ago
Peery 8905693dd9 Fixed Bug when switching from video media
Fixed an issue where the QVideoWidget was hidden when switching away from a video but never shown again when switching back to anyone.
3 years ago
Peery 2764fef612 Replaced fuzzy DB queries with parameterized queries
Removed cases where string formatting was used for preparing SQL queries (vulnerable to SQL Injection) and replaced them with parameterization.
3 years ago
Peery a8dcbcc386 Changed maximum number of image number spinbox
Raised the maximum to be always equal to the image list.
3 years ago
Peery ede0c01ed3 Upgraded DB scripts to recent version (minor)
The character limit of the presence name column in the DB was raised from 20 to 30
3 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
3 years ago
Peery 95fb1dbd0e Added mkv to the playable Videos 3 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
3 years ago
Peery af671102d5 Made URl clickable in TagImportDialog
Made the predicted url in TagImportDialog clickable and open the url in a browser with QDesktopServices.
Also fixed the source url in window.py to use QDesktopServices
3 years ago
Peery aed0def559 Removed unused parameter
Removed an unused parameter from ArtNetManager.import_tags()
3 years ago
Peery 4757789efc Changed Artist SQL statements to fit column renaming
Renamed the column Artist.description to Artist.name in the SQL schema and implemented the change in the DB adapter.
3 years ago
Peery 9733828897 Added DB connection timeout
Added a timeout of 3 seconds when trying to connect to the database.
3 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.
3 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
3 years ago
Peery 52030c3409 Added minimal depdency versions
Upgraded dependencies and noticed a breaking change in pyqt5 (QMainWindow.move() requires integer parameters). Fixed it and introduced minimal versions in requirements.txt
3 years ago
Peery 121c0a8e6a Added Artnet-DB as a submodule
Added the database schema used as a submodule so that the versions used are tracked
3 years ago
peery cba7484864 Added Quick Select keybind on tag search
Implemented that if return was to be pressed while only 1 tag search result was left that it's selection state is toggled.
3 years ago
peery 6eb55bb3dc Cleaned up import 3 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 5a2d4b9b73 Fixed a bug concerning aliases 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
4 years ago
peery 6026e736ba Added Database Schema checks
The database schema is now checked if the correct (and only the correct) tables are present.
4 years ago
peery b9fe65b445 Added Security Note to config
Config is known to be insecurely stored as the password is hard-coded for now.
4 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.
4 years ago
peery 39830c2ec8 Added Validators, pscopg2-binary, requirements to requirements
Added missed requirement validator and replaced psycopg2 with the bianry version
4 years ago
peery a26eaf241d Added Validators, pscopg2-binary to requirements
Added missed requirement validator and replaced psycopg2 with the bianry version
4 years ago
Peery 8e61bffbd3 Support for text files
Added Support for text file displaying.
4 years ago
Peery 907f90ffdd Introduced None title Handling
Changed filename titles to be recognized as empty and replace empty titles with an unknown string.
4 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
4 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.
4 years ago
Peery 99069ba77d ArtNet App
Moved ArtNet from another repo here
4 years ago
Peery a179ed4fb6 Added requirements.txt 4 years ago
Peery d7912cbecd Init + gitignore 4 years ago