54 Commits (7e291c028d6e4e0aa28f7b5c350bd33425709e0a)
 

Author SHA1 Message Date
Peery 7e291c028d
Wrong Parameter when adding implications on a new tag
When creating a new tag (create_tag()) the new implications were passing a dict when a name (string) was expected. Replaced the call with the ID version saving one tag lookup.
2 years ago
Peery bcc39c5147
Fixed an Issue with implications and alias editing
Fixed a crash when implications or aliases were edited the new dict format of the database caused crashes.
2 years 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 ...
2 years 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.
2 years ago
Peery d209f32133 Added WIP collection, browser and topic UIs
Reason is mainly to not loose these files when working on other branches
2 years ago
Peery 9a4af1e7e9 Added *.tar.gz to gitignore
Added archives or backups to be ignored by git
2 years ago
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
3 years ago
peery 6026e736ba Added Database Schema checks
The database schema is now checked if the correct (and only the correct) tables are present.
3 years ago
peery b9fe65b445 Added Security Note to config
Config is known to be insecurely stored as the password is hard-coded for now.
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 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