474 Commits

Author SHA1 Message Date
Brady LaTessa
205a362bda feat(tags): add tag merging (#322)
* added merge tag context menu option, created modal, and created merge_tag logic

* forgot to close out the modal

* added ability to re-assign current tag

* ruff/mypy checks
2024-08-28 12:57:45 -07:00
Travis Abendshien
02c245504a ui: update file deletion message boxes 2024-08-27 17:12:58 -07:00
Travis Abendshien
047a2962d4 feat(ui): add delete file menu option + shortcut 2024-08-27 01:57:06 -07:00
Travis Abendshien
8a16b3adf9 feat(ui): add file deletion confirmation boxes 2024-08-27 01:34:30 -07:00
Travis Abendshien
91252ce710 feat: send deleted files to system trash
This refactors the file deletion code to send files to the system trash instead of performing a hard deletion. It also fixes deleting video files and GIFs loaded in the Preview Panel.
2024-08-26 21:07:22 -07:00
Travis Abendshien
39fcc65bcb chore: bump version to v9.4.0 2024-08-26 13:37:27 -07:00
Sean Krueger
732766d57a Bump Qt6 version to 6.7.1 2024-08-26 13:37:27 -07:00
Xarvex
ff5d226480 fix(flake): resolve mypy access to libraries 2024-08-26 13:37:27 -07:00
Sean Krueger
3c842f03ed Update Contributing documentation for dev on Nix
Moves the previous updated blurb from the README to the new CONTRIBUTING
file. Also reworks some wording to link to the Flake nix wiki page for
nix users who haven't enable flakes yet.
2024-08-26 13:37:27 -07:00
Sean Krueger
ba60a79b8f Install ruff via nixpkgs 2024-08-26 13:37:27 -07:00
Sean Krueger
df7a850c6f Add xcb as fallback when wayland fails to load
Mostly as a fallback for xserver.
2024-08-26 13:37:27 -07:00
Sean Krueger
34565af397 Setup and activate virtual environment via flake
When using the nix flake to generate a development shell, the python
virtual environment will now automatically be created and dependecies
from both requirements.txt and requirements-dev.txt will be installed.
This removes the need for using the setup script after entering the
dev shell. Exec bash must be the last thing called, as any other
commands past it will not get executed by the shell hook. Also removes
some duplicate dependencies that I found.
2024-08-26 13:37:26 -07:00
UnusualEgg
d3cd58df47 refactor: combine open launch args (#364)
Combine the `--open` and `-o` launch arguments into a single argument option.
2024-08-26 13:37:26 -07:00
peterbousaada
6b15a58e3f Swapped stacktrace to logging.exception in file_deleter.py 2024-08-26 13:37:26 -07:00
peterbousaada
8d19bef152 - removed unused imports
- swapped out `typing` to `collections.abc`
- removed unnecessary `str()` conversion in `FileDeleterHelper` constructor and `set_filepath`
2024-08-26 13:37:26 -07:00
peterbousaada
a074912ac8 Updated to use pathlib instead of os 2024-08-26 13:37:26 -07:00
peterbousaada
e0cc0dd5a7 Added the option to delete files in the right click context menu 2024-08-26 13:36:56 -07:00
Travis Abendshien
a037a3b1e2 chore: format docstrings with ruff 2024-08-24 17:28:07 -07:00
Travis Abendshien
5c4a3c5856 refactor: organize arguments, update docstrings
The ability to pass a border radius scaling argument is also included.
2024-08-24 17:22:06 -07:00
Travis Abendshien
12d69baa98 refactor: make some consts and args clearer 2024-08-24 16:41:49 -07:00
Travis Abendshien
c377b9d875 fix: remove theme_color redef 2024-08-23 13:10:34 -07:00
Travis Abendshien
9f688cd387 fix(ui) color for default icons follow theme 2024-08-23 13:09:14 -07:00
Travis Abendshien
148f792c34 refactor(ui): move loading icon to ResourceManager 2024-08-21 14:47:26 -07:00
Travis Abendshien
ccf3d788d0 chore: remove unused code 2024-08-21 13:15:55 -07:00
Travis Abendshien
a658fc4fe4 feat(ui): apply edge to default icon thumbs 2024-08-21 13:00:41 -07:00
Travis Abendshien
81dfb50b8f feat(ui): add default icons for audio+vector thumbs 2024-08-21 12:28:28 -07:00
Travis Abendshien
387baae6d6 Merge branch 'Alpha-v9.4' into thumbnails 2024-08-21 00:48:50 -07:00
Travis Abendshien
938832505b Merge branch 'main' into Alpha-v9.4 2024-08-21 00:41:10 -07:00
Travis Abendshien
e4f7055ca7 fix(ui): thumb edges fading on refresh 2024-08-21 00:37:50 -07:00
Travis Abendshien
f91861d2fe fix: handle missing files in resource_manager 2024-08-20 23:44:39 -07:00
Travis Abendshien
a244098f8e refactor: remove edge from four_corner_gradient() 2024-08-20 23:44:03 -07:00
Travis Abendshien
c070f84e7f fix: remove leading dot in preview panel ext 2024-08-20 23:38:10 -07:00
Travis Abendshien
447b5e6894 feat(ui): add more default media types and icons
Add additional default icons for:
- Blender
- Presentation
- Program
- Spreadsheet
Add/expand additional media types:
- PDF
- Packages
2024-08-20 23:37:19 -07:00
Travis Abendshien
b107fb5809 refactor: move type constants to new media classes (#331)
* refactor: move type constants to new media classes

* fix: add missing comma + sort extensions
2024-08-20 23:31:31 -07:00
Travis Abendshien
ec960f2372 (fix): use .get() to avoid KeyError (#347) 2024-08-11 19:01:08 -07:00
Sam
30b60a0d31 feat(ui): sort tags in add tag panel by color/alphabetical (close #327) (#329)
* Implement #327

Sort tags in the Library Tags panel and the Add Parent Tags panel with Archived and Favorite at the top, then sort by color, and then sort alphabetically.

* Sort tags alphabetically when a search is performed

* Format with Ruff

* Prioritize tags whose names match the query over tags that match the query in other ways
2024-07-29 16:56:14 -07:00
Travis Abendshien
6883f9ef6d feat(ui): add media types and icon resources 2024-07-25 16:00:33 -07:00
Travis Abendshien
8d2e67ddad Squashed commit of the following:
commit 9a3c19d398
Author: Travis Abendshien <lvnvtravis@gmail.com>
Date:   Wed Jul 24 22:57:32 2024 -0700

    fix: add missing comma + sort extensions

commit 53b2db9b5f
Author: Travis Abendshien <lvnvtravis@gmail.com>
Date:   Wed Jul 24 14:46:16 2024 -0700

    refactor: move type constants to new media classes
2024-07-25 12:13:59 -07:00
Travis Abendshien
ad12d64f1e (fix): catch ffmpeg errors in file tester 2024-07-25 11:54:44 -07:00
Travis Abendshien
c6a5202c91 fix(ui): hide previous thumbnail before resizing 2024-07-22 07:33:49 -07:00
Sam
ce87b11fbd Fix #2 for Add Library Tags panel (#328)
The "Add Tags" panel displays all tags when no search has been performed. Modifies the "Add Library Tags panel" to be the same.
2024-07-22 06:59:43 -07:00
Travis Abendshien
39324142f1 feat(ui): add dynamic file thumb icons 2024-07-21 08:40:19 -07:00
Travis Abendshien
196c1ba7f3 fix(ui): hide gif preview in multi-selections 2024-07-20 12:53:34 -07:00
Travis Abendshien
91ee2428ca feat(ui): use system accent color for thumb selections 2024-07-20 09:48:59 -07:00
Travis Abendshien
ad53f10ecc fix: missing audio files properly handled 2024-07-20 08:24:26 -07:00
Travis Abendshien
ef8cc6cc85 fix: mkv files with "[0][0][0][0]" codec load properly 2024-07-20 08:21:09 -07:00
Travis Abendshien
086fc1e522 feat(ui): add resizable thumbnail options 2024-07-19 23:43:50 -07:00
Travis Abendshien
3bfeb3c409 fix(ui): blender previews follow app theme 2024-07-19 21:04:49 -07:00
Travis Abendshien
ffdfd6ccdf fix(ui): large font previews follow app theme 2024-07-19 20:25:14 -07:00
Travis Abendshien
598aa4f102 feat(ui) center and color small font previews 2024-07-19 10:06:34 -07:00