Commit Graph

527 Commits

Author SHA1 Message Date
Jann Stute 8602f2f68a fix: remove unneccessary import 2024-11-30 12:25:02 +01:00
Jann Stute 05c7d9425d fix: also port test changes 2024-11-30 12:23:14 +01:00
Jann Stute d9da558458 Revert changes to search_tags in favor of changes from #604 2024-11-30 12:07:08 +01:00
Jann Stute 6fb1d4bff7 fix: make mypy happy 2024-11-28 23:58:27 +01:00
Jann Stute a784fe68e6 implement special:untagged 2024-11-28 23:28:15 +01:00
Jann Stute 83e156f69b finish refactoring of FilterState 2024-11-28 22:54:35 +01:00
Jann Stute ea175800be remove summary as it is not applicable anymore 2024-11-28 22:54:35 +01:00
Jann Stute 3ab8d6a871 remove obsolete filename search 2024-11-28 22:54:35 +01:00
Jann Stute 3d4b649903 implement NOT 2024-11-28 22:54:34 +01:00
Jann Stute 1f5a4dcc7e make mypy happy 2024-11-28 22:54:34 +01:00
Jann Stute cdf2f09d60 fix: search_library now correctly returns the number of *unique* entries 2024-11-28 22:51:02 +01:00
Jann Stute d74743565d fix: item_thumb didn't query entries correctly 2024-11-28 22:51:02 +01:00
Jann Stute 7a3679d730 remove obsolete tests 2024-11-28 22:51:02 +01:00
Jann Stute 2f9133754a ruff fixes 2024-11-28 22:51:02 +01:00
Jann Stute db6284f5bd remove obsolete Search Mode UI and related code 2024-11-28 22:51:02 +01:00
Jann Stute f9bf7a7eae fix: use default value notation instead of if None statement in __post_init__ 2024-11-28 22:51:02 +01:00
Jann Stute 7c43686823 refactoring: remove FilterState.id and implement Library.get_entry_full as replacement 2024-11-28 22:51:02 +01:00
Jann Stute 27fac24da3 fix: path now uses GLOB operator for proper GLOBs 2024-11-28 22:51:02 +01:00
Jann Stute eda7f5200f refactoring 2024-11-28 22:51:02 +01:00
Jann Stute 0d4afd47c8 fix tag search 2024-11-28 22:51:02 +01:00
Jann Stute 6eab426183 fix: remove uncecessary line that broke search when searching for exact name 2024-11-28 22:51:02 +01:00
Jann Stute 9681bfcf78 add todos 2024-11-28 22:51:02 +01:00
Jann Stute cb8437b0a3 use query lang instead of tag_id FIlterState 2024-11-28 22:51:01 +01:00
Jann Stute 927beed5f9 fix: changed joins to outerjoins and added missing outerjoin 2024-11-28 22:51:01 +01:00
Jann Stute e2e378f19b Revert "fix: Entries without Tags are now searchable"
This reverts commit 19b40af7480b0c068b81b642b51536a9ec96d030.
2024-11-28 22:51:01 +01:00
Jann Stute a636864ed0 make mypy happy 2024-11-28 22:51:01 +01:00
Jann Stute 06761a594b fix: Entries without Tags are now searchable 2024-11-28 22:51:01 +01:00
Jann Stute de08849faa fix: check for None properly 2024-11-28 22:51:01 +01:00
Jann Stute 958ba86ef7 rudimentary search field integration 2024-11-28 22:51:01 +01:00
Jann Stute fc3db94c40 refactoring and fixes 2024-11-28 22:51:01 +01:00
Jann Stute f592f070aa Revert "make mypy happy"
This reverts commit 926d0dd2e79d06203e84e2f83c06c7fe5b33de23.
2024-11-28 22:51:01 +01:00
Jann Stute e0c404a1a6 add __init__.py 2024-11-28 22:51:01 +01:00
Jann Stute 1507c5c9d7 make mypy happy 2024-11-28 22:51:01 +01:00
Jann Stute 47a3b968ce add BaseVisitor class 2024-11-28 22:51:01 +01:00
Jann Stute 6f3586448b add parent property to AST 2024-11-28 22:51:01 +01:00
Jann Stute 581b7acd43 add more constraint types 2024-11-28 22:51:01 +01:00
Jann Stute e9afa42848 add missing todo 2024-11-28 22:51:01 +01:00
Jann Stute 25a64d941f ruff format 2024-11-28 22:51:01 +01:00
Jann Stute 2bbad4a5d1 make mypy happy 2024-11-28 22:51:01 +01:00
Jann Stute eae8d9d571 fix: term was parsing ANDList instead of ORList 2024-11-28 22:51:01 +01:00
Jann Stute 7981d13274 add files 2024-11-28 22:51:01 +01:00
Jann Stute 20f93719d7 fix(ci): surpress errant mypy warnings (#609)
* fix: mypy error in ts_qt

* fix: mypy error in file_opener due to conflicting types

* fix: remove unnecessary type ignores

* refix type ignore comments

* partially revert "refix type ignore comments" due to being implemented in #608
2024-11-28 13:19:08 -08:00
Travis Abendshien 262893a1bb add .DS_Store to .gitignore 2024-11-27 21:25:03 -08:00
Travis Abendshien 7b2636e4a7 add syncthing to .gitignore 2024-11-24 10:29:29 -08:00
DandyDev01 0d166e63c0 feat(parity): backend for aliases and parent tags (#596)
* backend for aliases and parents

* resolve merge conflics
2024-11-21 12:29:35 -08:00
Travis Abendshien f6a1ca6783 docs: update contribution guidelines 2024-11-19 17:54:44 -08:00
Coolio 7ae2bc24d6 feat(ui): pre-select default tag name in BuildTagPanel (#592)
This changes the behavior of the tag name inside `BuildTagPanel` for newly created tags:
* The default "New Tag" name is now automatically highlighted
* Blank tag names (including spaces) are no longer allowed to be created
* NOTE: This does not change the tag name column rules in the db, nor does it necessarily need to

***

* [Feature Request]: Make the create tag panel have empty tag name field

* [Feature Request]: Make the create tag panel have empty tag name field

* Revert "[Feature Request]: Make the create tag panel have empty tag name field"

This reverts commit f9c7f5d889.

* [Feature Request]: Make the create tag panel have empty tag name field

* Revert "[Feature Request]: Make the create tag panel have empty tag name field"

This reverts commit e5df3e0f15.

* Update .gitignore

* Updated as per disscussion in issue #591 (DRAFT

* Updated as per disscussion in issue #591 (DRAFT

* Added formatting

* Updated code as per discussion is #592

* Updated code as per discussion is #592 (again)

* Fixed spacing

* Add placeholder text to name field.

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

* Use universal red color for red border.

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

* fix: add `src.core.palette` imports

---------

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
2024-11-19 14:14:34 -08:00
Дмитрий 2977e07223 ui: select thumb on press instead of click (#556)
Co-authored-by: gred <gred25@yandex.ru>
2024-11-18 15:35:00 -08:00
DandyDev01 774c886288 fix(ui): update ui when removing fields (#560) 2024-11-18 15:19:28 -08:00
python357-1 bec513f558 feat: add autocomplete for search engine (#586)
* feat: add autocomplete for mediatype, filetype, path, tag, and tag_id searches

* fix: address issues brought up in review

* fix: fix mypy issue

* fix: fix mypy issues for real this time
2024-11-18 10:45:51 -08:00