Commit Graph

103 Commits (29505561c4eaf94e3bda150926dcf9b0774139bb)
 

Author SHA1 Message Date
Trivernis 29505561c4 Merge branch 'main' of github.com:Trivernis/mediarepo-api 3 years ago
Trivernis ac3bc9cffd Update bromine version
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel 996d6babef Create LICENSE 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 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 a723ebab95 Add custom timeouts to events
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 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
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 5d510cbf15 Fix caching key for thumbnails
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 68b8aa39c9 Fix error when parsing hashes from uris
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 3ad889f724 Fix iterative folder resolving algorithm
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 52aa9d4f20 Add tracing to file retrieval command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago