38 Commits (2bb9b06a8f7a22f3f17ed0ed77de5e60932d99c0)
 

Author SHA1 Message Date
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