Commit Graph

302 Commits

Author SHA1 Message Date
yedpodtrzitko 06f528f8b5 CR feedback 2024-05-14 12:37:09 +08:00
yedpodtrzitko 94a0b00007 add list of libraries into sidebar 2024-05-14 12:37:08 +08:00
Travis Abendshien f35d9c1313 Merge pull request #165 from yedpodtrzitko/yed/ci-run
ci: try to run the app
2024-05-13 14:31:46 -07:00
Theasacraft 6a2199dd2e Fix pillow decompression bomb error mentioned in #164 (#166)
* Fixes DecompressionBombError

* Fixes DecompressionBombError in PreviewPanel

* Ruff reformat

* Handle all DecompressionBombErrors

* Handle all DecompressionBombErrors

* RUFF

* fix typo

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>

* fix typo

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>

* Ruff reformat

---------

Co-authored-by: Thesacraft <admin@samuelbellmann.de>
2024-05-13 14:18:07 -07:00
Xarvex 0416fde7f5 Refactor: remove __init__.py files meant for Python versions before 3.3 (#160)
* Refactor: remove __init__ meant for Python versions before 3.3
This does mess with a large amount of imports, as the system was being
misused to re-export submodules. This change is necessary if PyInstaller
is to work at all.

* Thanks Ruff

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>

---------

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
2024-05-13 12:50:04 -07:00
Travis Abendshien 02d6b22b25 Splash screen now stays on top of other windows 2024-05-13 12:13:06 -07:00
Travis Abendshien 851d1fb3b2 Changes to allow for native menu bars 2024-05-13 01:10:40 -07:00
Travis Abendshien 4616da4e5f Added the splash screen to the QResources system 2024-05-12 23:52:44 -07:00
Travis Abendshien d43b00bd00 Updated macOS Icon
- Also cleaned up surrounding commented-out code
- This should hopefully fix the dock icon trying to swap during runtime
2024-05-12 23:44:41 -07:00
Travis Abendshien b00dbf9548 Squashed commit of the following:
commit 094b6d50d975ec8feaa24af6a8a7b121fe87bce3
Author: Travis Abendshien <lvnvtravis@gmail.com>
Date:   Sun May 12 19:52:25 2024 -0700

    Formatted using Ruff

    Co-Authored-By: yed podtrzitko <yedpodtrzitko@users.noreply.github.com>

commit 088ef5263e38c948dda9a875fcc56af97762a73e
Author: Travis Abendshien <lvnvtravis@gmail.com>
Date:   Sun May 12 19:51:03 2024 -0700

    Reduced QResource Usage + Path Refactor

    - Removed unused or redundant QResources
    - Removed unreliable uses of the Qt resource system in favor of direct paths
    - Refactored paths with "parent.parent.parent" to use ".parents[index]"

    Co-Authored-By: yed podtrzitko <yedpodtrzitko@users.noreply.github.com>
2024-05-12 21:15:46 -07:00
Travis Abendshien f8d44c5fae Updated Application Icons
- Updated application icons
- Added .icns file for macOS
- (Potentially) stopped macOS dock icon from being updated with a different icon during runtime
2024-05-12 21:05:29 -07:00
yedpodtrzitko 93526fa73f run tagstudio in CI 2024-05-13 08:46:55 +08:00
Travis Abendshien f69f173368 Disable Native Menubars 2024-05-12 15:23:03 -07:00
Travis Abendshien 92752aef4a Reverted macOS menubar change
Reverted exception to allow the native macOS menubar in 94f929d122 because it doesn't work anyway.
2024-05-12 14:51:49 -07:00
Travis Abendshien 3aa71d6f8a Formatted with Ruff 2024-05-10 15:45:19 -07:00
Travis Abendshien 94f929d122 Allow the use of the native macOS menu bar 2024-05-10 15:43:26 -07:00
Travis Abendshien 03a46ae57b Style Changes
- Removed legacy style experiments, including strange translucent widgets and indigo default tags
- Renamed "Folders To Tags" to "Create Tags From Folders"
- Edited formatting of "Create Tags From Folders" modal
- Renamed "Tag Database" to "Manage Tags"/"Library Tags"
- Tweaked names of other menubar actions
- Removed some commented-out code
2024-05-10 15:29:28 -07:00
yed podtrzitko b8d72a65c8 misc: remove duplicate code for tags updating (#135) 2024-05-09 17:39:46 -07:00
William de Castro 8321f43d6e Add Build Script for mac os systems (#76)
* chore: add TagStudio.spec to gitignore

Prevent TagStudio.spec to be added to repo in the future

* chore: add Build Script for macos

Create script using pyinstaller to generate a macos app for tagstudio

* chore: revert duplicated files

* chore: rename build file naming
2024-05-09 01:22:51 -07:00
Sylvia K f9ea20e29c Refactor: Deduplication in pagination.py's "Set Elipses Sizes" section (#141) 2024-05-08 12:07:58 -07:00
Travis Abendshien b6ccb88a95 Fixed Some Images Breaking Thumbnailer
Fixed images that were considered to be "truncated" from breaking the thumbnail renderer when trying to transpose via an EXIF flag. This was happening with certain panorama photos.
2024-05-08 11:39:03 -07:00
Travis Abendshien de434872d6 Merge pull request #145 from yedpodtrzitko/yed/hold-the-jobs
dont run job threads needlessly
2024-05-08 10:36:58 -07:00
Travis Abendshien 7acfecf7b9 Merge pull request #147 from arthniwa/add-help-menu-action
Add action to help menu
2024-05-08 10:15:46 -07:00
arthniwa 7f776f4c86 Fix format required by Ruff 2024-05-08 10:57:48 -05:00
yedpodtrzitko e803f6adcb wait for threads to finish 2024-05-08 22:49:05 +08:00
Travis Abendshien 7ef2aa6a80 Merge pull request #78 from Thesacraft/main
Build Script for windows
2024-05-07 23:15:32 -07:00
arthniwa 48ad4aaad2 Add action to help menu
Add "Go to GitHub Repository" to the help menu.
2024-05-08 00:42:16 -05:00
yedpodtrzitko 0e621011fc dont run job threads needlessly 2024-05-08 11:18:01 +08:00
Travis Abendshien 57a15f651e Merge pull request #140 from yedpodtrzitko/yed/fix-edit-enter
fix input enterPressed event
2024-05-04 23:36:40 -07:00
yedpodtrzitko 3aa4fa214f fix input enterPressed event 2024-05-05 14:22:37 +08:00
Travis Abendshien ec55e92599 Merge pull request #136 from SylviaSK/main
Fix for #119, Prompt for new location user if library cannot be saved
2024-05-04 18:28:23 -07:00
Travis Abendshien c27f99e3a4 Merge pull request #117 from abby-freakazoid/improve-startup-script 2024-05-04 15:53:36 -07:00
Sylvia Krech 78ea0b3641 close_library() fix 2024-05-04 16:45:38 -05:00
Sylvia Krech 523f233f4a Ruff formatting 2024-05-04 15:16:31 -05:00
Sylvia Krech ea05907227 Fix for #119, Prompt for new location user if library cannot be saved 2024-05-04 12:20:43 -05:00
Travis Abendshien 089c8dd50c Reformatted using Ruff 2024-05-03 19:40:36 -07:00
Travis Abendshien 77d7559014 Merge pull request #111 from yedpodtrzitko/yed/sidebar-active-cursor
feat: add hand cursor for active sidebar elements
2024-05-03 19:15:37 -07:00
Travis Abendshien 164aba1bb0 Merge pull request #113 from TechCrafterGaming/PR-003
minor bug fixes to Tag Search Box
2024-05-03 19:08:34 -07:00
Travis Abendshien fd622ea378 Merge pull request #114 from Loran425/refactor/tag_database
Remove functionally duplicated code in update_tags
2024-05-03 18:22:42 -07:00
Travis Abendshien b2d87b05d8 Merge pull request #123 from SylviaSK/main
Fix opening to a file with spaces in path on windows / #120
2024-05-03 18:13:07 -07:00
Travis Abendshien ac3d7c95cb Merge pull request #126 from JinguBangWest/main
Refactor strip_web_protocol()
2024-05-03 17:59:32 -07:00
Travis Abendshien 64514db457 Merge pull request #107 from yedpodtrzitko/yed/ruff-formatting
add code formatting & Github Action via ruff
2024-05-03 17:52:10 -07:00
JinguBangWest 58c773a0de change to string.removeprefix(prefix) 2024-05-03 14:37:32 -04:00
JinguBangWest bb1161baa9 Refactor strip_web_protocol
This allows for more prefixes to be added in the future if needed without repeating code multiple times.
2024-05-02 22:05:57 -04:00
Sylvia Krech cd719c6d01 minor comment fix 2024-05-02 11:54:10 -05:00
Sylvia Krech 9a405dd336 Fix for #120, Windows filepaths with spaces 2024-05-02 11:47:32 -05:00
yedpodtrzitko afd6e113d2 add ruff pre-commit hook and README info 2024-05-02 14:19:58 +08:00
Travis Abendshien ea8d954548 Merge pull request #122 from abby-freakazoid/bugfix/validate-library-path-before-open/#118
Fix library reopen doesn't check if path is valid #118
2024-05-01 23:00:06 -07:00
Travis Abendshien a1fcd23d13 Merge pull request #121 from gabrieljreed/bugfix/right-click-file-path/#116
Bugfix/right click file path/#116
2024-05-01 22:34:47 -07:00
Abby 99a0bfe919 Fix library reopen doesn't check if path is valid #118 2024-05-02 00:25:21 -05:00