Commit Graph

39 Commits (c0dca663b0c5c4a8df3a7353d0bc05b9109018fd)

Author SHA1 Message Date
trivernis d22c7499f7
Add api to manage sorting presets
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3c005c3a7e
Add single lookup for cd-tag-mappings for better performance
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b0de5ab10a Add api to change the status of a file and delete it permanently
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ed28bc68c8 Change filter type to accept property comparators too
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4c6617d86b Add missing trait derives to SizeType
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f374488762 Add simple synchronous job API
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6730094810 Fix unused fields and wrong field names
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a78f1bc65d Change all tags request back to accept content descriptors
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b315024c6a Change file id variant CID to CD
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 77241ebc2d Merge branch 'main' of github.com:Trivernis/mediarepo-api
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6085bed8de Update API types for new database schema
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Trivernis bb667a345d Move size calculation to different api
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 33ceb24972 Add missing fields for repo metadata
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis d8560a180c Add api to get repository metadata
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 73c98e44a2 Add more api calls
Add api to get a list of files by identifiers.
Add api to get all namespaces stored in the repo.

Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
trivernis 31eadd2e43 Make state optional in the frontend state to allow passing an uninitialized state
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e71ee47e50 Add api to get and set the frontend state
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7c3b2a5051 Remove tagged enums
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0534e543ac Change tagging of FilterExpression to adjacent
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 59b014bc3f Change misleading name 'tags' on tagquery to 'tag
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a5403588cd Change find file filter to support or-expressions
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 131a46816c Change thumbnail to store the file hash instead to be even faster
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 14397dd037 Change thumbnail requirements to be stricter
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis abf28402e6 Change thumbnail response to not include the thumb id
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3f667b8d72 Add api to add files
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 70ef6246a1 Make mime type for importing files optional
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 144b95dcfd Add command to retrieve files for a list of paths
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2ac8cd165b Fix compilation error without client-api feature
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 32492afedf Add api to request thumbnails of specific sizes
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f48a9aad64 Update rmp-ipc and implement wrapper protocol
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b402fab697 Add api to update a files name
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis df2cbe94e0 Add api to create tags and change file tags
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis af104dedec Add api to get tags for a list of file hashes
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9b457564bb Add API version validation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bf6f50ecdd Change name of sort namespace field 'tag'
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4d4f143ec5 Add sorting to file search
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4ca755c17c Fix compile errors and add api client
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ace0d78aea Add request and response types
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 57fbd666a8 Add initial project layout and dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago