feature/tagging #16

Merged
cameron merged 22 commits from feature/tagging into master 2023-04-10 12:55:28 +00:00
Owner

Add endpoints for tagging files

Add endpoints for tagging files
cameron added 6 commits 2021-10-12 01:50:02 +00:00
Flattened out the add tag logic to make it more functional.
Update dependencies
Some checks failed
Core Repos/ImageApi/pipeline/pr-master Something is wrong with the build of this commit
39d284dbbb
cameron force-pushed feature/tagging from 39d284dbbb to 14ab02a1ec 2021-10-12 01:52:35 +00:00 Compare
cameron added 1 commit 2021-12-01 01:08:27 +00:00
Create Delete Tag endpoint
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
9cd19d03eb
cameron added 2 commits 2022-03-18 02:07:58 +00:00
Move tags to their own module
All checks were successful
Core Repos/ImageApi/pipeline/pr-master This commit looks good
40c79d13db
cameron added 2 commits 2023-03-19 01:00:55 +00:00
Almost have tag support working, still figuring out how to get photo
tags.
cameron added 1 commit 2023-03-19 16:13:30 +00:00
cameron added 1 commit 2023-03-19 16:29:47 +00:00
cameron added 1 commit 2023-03-19 19:07:00 +00:00
Implemented some functionality which will allow the service
configuration of the app to be split among the features for readability
and testability.
cameron added 5 commits 2023-03-22 19:30:37 +00:00
When tagging a file with a brand new tag, we were using the number of
rows affected as the ID instead of doing the query for the ID of the row
we just inserted, this should fix when we tag a photo with a new tag.
Manually parsing the tag_ids for the file filtering isn't amazing, but
this works in a more friendly format.

Also the All filter mode was set up in the wrong direction instead of
checking that the file had ALL the tag ids provided, it checked that all
the tag-ids were on a file, which is too restrictive and wouldn't show
many files. Perhaps an ONLY option could exist for being even more
specific.
Added some tests around filtering and searching by Tags. Added the
ability to use an in-memory Sqlite DB for more integration tests.
cameron reviewed 2023-03-22 20:35:52 +00:00
cameron left a comment
Author
Owner

LGTM

LGTM
cameron added 2 commits 2023-03-26 00:53:31 +00:00
cameron added 1 commit 2023-03-26 00:59:43 +00:00
cameron added 1 commit 2023-04-03 12:42:08 +00:00
Add a flag for new files so we can skip the exists check when seeing if
the new file is within the base directory.
cameron merged commit 5228cb14e0 into master 2023-04-10 12:55:28 +00:00
cameron deleted branch feature/tagging 2023-04-10 12:55:29 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Apps/ImageApi#16