* fix: drop type_key column from text_fields and datetime_fields tables
* fix: commit empty DB_VERSION 200 library
* fix: use recommended renaming order for field tables
* ci: initial version of pyright workflow
* ci: remove invalid pyright settings
* debug: return ALL results from pyright
* ci: remove unnecessary reviewdog install
* Revert "debug: return ALL results from pyright"
This reverts commit 471e39d29f.
* ci: choose reporter based on event type
* ci: choose correct reporter for non-pr event
* ci: small cleanup
* ci: also install pytest deps
* doc: add license info for new workflow
* chore: bump pyright patch version
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
* fix: add back settings for basedpyright
---------
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
* doc: add REUSE comment headers
* doc: add REUSE comment headers for mkDocs overrides
The original license text was moved to the LICENSES directory
and the MIT license identifier was used since only encoding differences
to the MIT license were present.
Further, the existing copyright notice was moved to SPDX-FileCopyrightText
and one for the TagStudio Contributors was added since the files are not
entirely the same as the originals in the mkdocs-material project.
* doc: add license information files for the translations
* doc: add licence file for oxanium font
As stated on [Google Fonts](https://fonts.google.com/specimen/Oxanium/license), this font is licensed under OFL-1.1.
* doc: re-license flow_layout.py to GPL-3.0-only
This is possible because the Qt example this is based on can be licensed
under BSD-3-Clause which is GPL-3.0 compatible.
* doc: add REUSE comment header for singleton.py
Comparing our implementation with the one it is based on, they really
don't have much more in common than the general idea of the
implementation, which afaik can't be copyrighted.
* doc: Add REUSE comment header for blender_renderer.py
We can plainly license this under GPL-3.0 according to https://www.blender.org/about/license/
* doc: add REUSE comment headers to vendored files
* doc: add REUSE comment header for rounded_pixmap_style.py
Source of name for copyright notice:
Answer by eyllanesc: https://stackoverflow.com/users/6622587/eyllanesc
Profile links to Github: https://github.com/eyllanesc
Stackoverflow licensing: https://stackoverflow.com/help/licensing
* doc: add REUSE comment headers
* doc: add license information file for icon_mono.svg
* doc: add REUSE comment header for files in .github
* doc: add REUSE.toml to give license information for various files without spamming .license files
* fix: use type parameter instead of subclass
* doc: add entries for remaining files in REUSE.toml
According to info from github comment by CyanVoxel: https://github.com/TagStudioDev/TagStudio/pull/1361#issuecomment-4423632570
* ci: add REUSE check workflow
Src: 'https://reuse.software/dev/#github-actions'
* doc: add missing license
* doc: fix license for material-design-icons
* license: change license to MIT for two files only changes by Computerdores and CyanVoxel
* doc: remove unnecessary .license files
* doc: fix incorrect license entries
* doc: add missing license doc
* perf: create sqlite indexes for common columns
* perf: optimize Library.search_tags
* fix(tag_search): do ordering before applying limit
* tag_search: order shorter tag names first
* update tests
* cleanup
* tag_search: use same sorting order when returning all tags
* use dict for deduplicating tags
* fix(tag_search): return descendants instead of ancestors
* perf(tag_search): remove slow calls to method `Library.tags`
* feat: add ability to configure automatic loading of new files over 10000
* Renaming things
* rename and reorder
* fix: remove duplicated add_new_files_callback() call
* feat: add test for failing GitHub API call.
* fix: don't raise exceptions in get_most_recent_release_version.
* style: apply ruff.
* That not should not have been there.
* refactor: cleanup parameters of open_library and open_sqlite_library
* doc: notes on what tables are affected by which migration steps
* refactor(migration order): move DBv6 repairs
* refactor(migration order): move DBv8 repairs
* refactor(migration order): move DBv9 repairs
* refactor(migration order): move DBv100 repairs
* refactor(migration order): move DBv102 repairs
* refactor: merge migration methods
* doc: final comment changes
* fix: query tag ids independent of future DB changes
* feat: remove preferences table
* refactor: various references to LibraryPrefs
* fix: update josn migration UI
* refactor: remove last vestiges of preferences table
* fix: remove newly unnecessary translations
* doc: document library format changes
* refactor: merge the two methods used for migration 104
* fix: typo in sql statement
* fix: add back support for preferences table in get_version
* fix: properly remove directory in test
* fix: incorrect schema check in get_version
* fix: update search lib via migration
* fix: update assert in test
* fix: ignore element order in assert in test
* fix: use correct path
* fix: better test output
---------
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
Replace duplicate double-quote with single-quote so that
escaped single quotes inside single-quoted strings are
handled correctly (e.g. 'O''Brien' now tokenizes as O'Brien
instead of O'Brien).
Discovered during automated code review.