Commit Graph

109 Commits (4ce961eed47a44d128e512a43308871bea7632c4)

Author SHA1 Message Date
trivernis cfdb88e304 Add commands for deleting and changing file status
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 0e1538bdd3 Fix tests
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 717de6684a Add simple sleep after shutdown command to allow a full repository shutdown
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 3924fd8f45 Increase job timeout
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 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 60fdcb5d74 Fix missing request data for size_metadata request
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 d7e12ebff7 Increase timeout for fetching repository metadata
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 60140fcd97 Add missing tauri commands
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 a723ebab95 Add custom timeouts to events
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9fe670a648 Add clearing of the buffer after closing a repository
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 aa568a9365 Add daemon discovery to has_executable check
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2cb7e9cb9b Add daemon path fallback discovery check
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 faa7b4e17c Add automated tests
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 4e2a348a13 Update windows code
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6e9d57e5e6 Fix bromine reexport compiling with all feature combinations
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 8218ae3235 Add command to delete local repositories
TG-25

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a713c20aa4 Add size limit to cache buffer
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f82bd68b44 Reintroduce command to get the contents of a file
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 e4ba7f2674 Rename delete_thumbnail command to delete_thumbnails
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 9411cbd1ab Add plugin command to save files on the local system
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 e240d5f1ad Change scheme runtimes to use one shared runtime instead of creating a new one
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e1aceced33 Fix tokio runtime in custom schemes not having time enabled
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 03f70e2f8a Change custom schemes to run in tokio runtime
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 3dbd15e102 Fix issues with file import
This commit fixes the resolving of directories that sometimes still
contain folders, the mapping of the created and modified time as well as
the deletion of files after import if the deletion flag was set.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago