Commit Graph

56 Commits (69f3af1fa55ebf83599e1d29f452a65928c29505)

Author SHA1 Message Date
trivernis 6e150a3701
Add file size to file metadata
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 516b27d7ad
Add job to generate missing thumbnails on startup
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d7e0f42fe2
Update bromine
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
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 ddde0ea113 Add shutdown command to gracefully stop running daemons
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 f74bac100b Add file metadata command
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 ac3bc9cffd Update bromine version
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 b9a0935631 Upgrade futures again
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis e56c7b04ec Downgrade futures to solve conflict with tauri version
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 445df0962f Update dependencies
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 ce516ca498 Add daemon discovery check
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 f789863287 Update rmp-ipc to bromine and reexport it
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ba04083d2c Update rmp-ipc and add more tracing
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis cccc5ac713 Add api to delete thumbnails for a file
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 a2a6b858f0 Update rmp-ipc and add timeout
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 2a69c5b748 Add schema to retrieve file content and api to get a file by 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 52aa9d4f20 Add tracing to file retrieval command
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 5fee8a2e4a Improve display of version mismatch error
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6929a88c92 Change update_file_name to expect a metadata response
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 1dc4a32953 Change daemons to be killed on drop
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 305ac256d1 Add daemon management commands
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b64cb29137 Update rmp-ipc version
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d9495e83f5 Fix feature set for rmp-ipc and tauri-plugin
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago