Commit Graph

1122 Commits

Author SHA1 Message Date
Jann Stute b11d4fe3ee refactor: introduce named placeholders and use executemany where it makes sense 2026-09-03 21:50:02 +02:00
Jann Stute 0848d7c141 fix: various small synatactic sql errors 2026-09-03 21:34:50 +02:00
Jann Stute 2cdf6c310c refactor: use multiline strings consistenly 2026-09-03 21:05:52 +02:00
Jann Stute 9e11b86171 refactor: use executemany instead of loop in DB 8 migration 2026-09-03 21:02:03 +02:00
Jann Stute 93c460d7f2 refactor: sqlalchemy-independence for the DB 400 migration 2026-09-03 20:57:41 +02:00
Jann Stute cc84df0cad refactor: sqlalchemy-independence for the DB 300 migration 2026-09-03 20:56:01 +02:00
Jann Stute 83797bc44b refactor: sqlalchemy-independence for the DB 202 migration 2026-09-03 20:53:48 +02:00
Jann Stute 890f1becf6 refactor: sqlalchemy-independence for the DB 201 migration 2026-09-03 20:50:56 +02:00
Jann Stute c29a3a7978 refactor: sqlalchemy-independence for the DB 200 migration 2026-09-03 20:47:43 +02:00
Jann Stute 549f036341 refactor: sqlalchemy-independence for the DB 104 migration 2026-09-03 20:21:25 +02:00
Jann Stute 98ae38f656 refactor: sqlalchemy-independence for the DB 103 migration 2026-09-03 20:15:54 +02:00
Jann Stute 4496754f49 refactor: sqlalchemy-independence for the DB 102 migration 2026-09-03 20:14:04 +02:00
Jann Stute eed336b8fe refactor: sqlalchemy-independence for the DB 101 migration 2026-09-03 20:11:39 +02:00
Jann Stute 5c207e879d refactor: sqlalchemy-independence for the DB 100 migration 2026-09-03 20:08:12 +02:00
Jann Stute 5a447a5b83 refactor: sqlalchemy-independence for the DB 9 migration 2026-09-03 20:05:56 +02:00
Jann Stute df75731a20 refactor: sqlalchemy-independence for the DB 8 migration 2026-09-03 19:59:48 +02:00
Jann Stute 50fded8682 refactor: sqlalchemy-independence for the DB 7 migration 2026-09-03 19:47:08 +02:00
Jann Stute 27bd1622b7 refactor: remove engine; breaks migrations until individual refactor 2026-08-28 15:04:15 +02:00
Jann Stute e2b54ef3ff refactor: sqlalchemy-independence for _set_version 2026-08-28 15:04:15 +02:00
Jann Stute 70f1a3d975 refactor: sqlalchemy-independence for _get_version 2026-08-28 15:03:54 +02:00
Travis Abendshien f978ae1ea1 fix: escape filename in glob matching (#1492) 2026-08-21 22:10:23 -07:00
Xarvex 33199f5b26 fix(nix/package): update build and Python versions 2026-08-21 12:53:59 -05:00
Travis Abendshien 8275d3e74b fix: prevent sefaults after progress bar tasks (#1490) 2026-08-20 20:43:57 -07:00
Travis Abendshien 4a3a767baf fix(ui): only update inspector once per thumbnail click (#1487) 2026-08-19 22:23:00 -07:00
Travis Abendshien f5a30489d7 build: bump python version to 3.14 (#1485)
* build: bump python to 3.14

* ci: bump python to 3.14, update docs

* build: remove version condition for audioop-lts

* chore: formatting pass

* fix: disallow 3.15.0

* build: bump pyside version to 6.11.2

* fix(ui): allow valid None value for cancelButtonText to hide button
2026-08-19 14:22:25 -07:00
Travis Abendshien 112b27f059 docs: update entry point to __main__.py 2026-08-18 14:40:57 -07:00
Travis Abendshien c32f500f3c refactor!: organize project layout (#1483)
* refactor!: organize project layout

* refactor: organize tests

* fix: change main.py with __main__.py in tagstudio.spec

* refactor: rename renderer.py to file_renderer.py
2026-08-18 13:56:35 -07:00
Xarvex f89f0a6c7f feat(nix/package): build for multiple Python versions 2026-08-18 14:27:40 -05:00
Xarvex c33455b7a0 fix(dev): add reuse linter
We use this for our CI checks but for some reason not locally. Add it to
our pyproject and Nix shell, and create a pre-commit step for it.
2026-08-17 23:43:19 -05:00
Travis Abendshien 12fd4933be fix: fix json migration UI and tests (#1484)
* fix: fix json migration UI and tests

* fix: just replace the Qt stuff with the actual iterator, please

* fix: skip UI iterator logic and just run iterator in migration modal

* fix: remove unnecessary for loop in test
2026-08-16 23:12:47 -07:00
Jann Stute 7e7def5a52 refactor(migrations): better library decoupling (#1482)
* refactor: minor improvement of version check

* refactor: don't use Library._all_entries in migrations

* chore: ruff format

* refactor: get_version split

* fix: typo

* doc: update note on deprecation of preferences table
2026-08-16 23:25:41 +02:00
Travis Abendshien 17cf87a4fa fix(docs): fix changelog header level 2026-08-16 11:57:48 -07:00
Sola-ris 3fe7922642 feat: add per-tag category display options (#1470)
* feat: add per-tag display options.

* feat: bump DB_VERSION to 301, add migration.

* tests: add tests.

* docs: document cateogry display options.

* docs: document library versions 300 and 301.

* fix: resolve ruff and pyright issues.

* fix: redo migration in the new style.

* fix: Remove unnecessary @staticmethod decorators.

* fix: Bump library version to 400.

* fix: Fix color order in colored_radio_button_style.

* fix: Commit the library produced by pytest.

* test: Add test for removing a category during tag creation.

* fix: Fix removing categories during tag creation.

* test: Add test for adding another tag after removing an existing category.

* fix: Fix adding another tag after removing an existing category.

* feat: Add separators between widgets.

* docs: Fix version in library-changes.md.

* test: Test removing a category inherited both directly and indirectly.

* fix: Fix removing a category inherited both directly and indirectly.

---------

Co-authored-by: Travis Abendshien <46939827+cyanvoxel@users.noreply.github.com>
2026-08-16 11:54:04 -07:00
Travis Abendshien 555dae50d4 chore: bump version to v9.6.4 2026-08-15 21:46:46 -07:00
Travis Abendshien e6d67c26dd docs: reorder changelog to match release notes 2026-08-15 21:46:20 -07:00
Travis Abendshien 435f5ff2b6 fix(ui) fix suggest box icon and opacity edge cases v9.6.3 2026-08-15 14:05:46 -07:00
Travis Abendshien 3cebb211b3 docs: ammend changelog 2026-08-15 13:28:26 -07:00
Travis Abendshien 512bf623c2 fix(ui): fix accent color issues on Windows (#1477) 2026-08-15 13:24:39 -07:00
Travis Abendshien 30c81257fa fix: revert update check order 2026-08-15 13:24:24 -07:00
Travis Abendshien fcd4d67711 fix(logs): use correct name for missing optional modules 2026-08-15 12:49:22 -07:00
Travis Abendshien b44ab8f161 docs: update changelog 2026-08-15 11:08:27 -07:00
Travis Abendshien 56a0b73cbd fix: early return higher DB version, log+type hint fixes (#1476) 2026-08-15 11:03:12 -07:00
Travis Abendshien 3ce65552f7 fix: yield from all_entries() instead of returning (fixes #1447, fixes #1467) 2026-08-15 10:29:46 -07:00
Weblate (bot) 49e320618c translations: update from Hosted Weblate (#1468)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (428 of 428 strings)

Co-authored-by: coolvitto <coolzdaddy55@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/ja/
Translation: TagStudio/Application Strings

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (428 of 428 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/hu/
Translation: TagStudio/Application Strings

* Translated using Weblate (Hebrew)

Currently translated at 2.3% (10 of 423 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: random stuff <random.uselesss.stuff@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/he/
Translation: TagStudio/Application Strings

* Translated using Weblate (French)

Currently translated at 100.0% (423 of 423 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Med <45147847+kitsumed@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/fr/
Translation: TagStudio/Application Strings

---------

Co-authored-by: coolvitto <coolzdaddy55@gmail.com>
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com>
Co-authored-by: random stuff <random.uselesss.stuff@gmail.com>
Co-authored-by: Med <45147847+kitsumed@users.noreply.github.com>
2026-08-14 21:46:34 -07:00
Travis Abendshien 102cfdf4a2 feat(ui): add library format version to about window 2026-08-14 10:29:37 -07:00
Travis Abendshien 47b123569e chore: bump version to v9.6.3 2026-08-14 10:29:06 -07:00
Travis Abendshien 09a54d5dfc fix(ui): remove blank action for field suggest box 2026-08-14 10:16:44 -07:00
Travis Abendshien 7782d2438f ui: add unique icon for applied tags in suggest box 2026-08-14 10:13:56 -07:00
Travis Abendshien 92e29635c7 ui: show edges of next tags in suggest box 2026-08-14 10:12:00 -07:00
Travis Abendshien 6e288afd8c refactor: consolidate added item detection on shift 2026-08-14 08:49:35 -07:00