Commit Graph

128 Commits (4c170ca33331c398ead245907b4a195d6dccd653)

Author SHA1 Message Date
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
trivernis 144b95dcfd Add command to retrieve files for a list of paths
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c0ce49abc9 Add installation task for missing dependencies on ubuntu to workflow
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 560b63ede9 Add missing import for windows build
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9dcbf0efda Add builds for all features to build workflow
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d4069b14ae Fix build compiler flags for windows
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a2d7617d94 Add github action to build on multiple platforms
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 22bddaff52 Fix configured default socket file
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5f14077fed Add command to get thumbnails of a specific size
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 89bf781bd9 Add support for unix sockets
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f397ad858f Change connection implementation to use the .tcp file in the repository
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 ee9d4b0312 Fix command to update the file name returning nothing
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 209bc8a9d0 Add tauri command to get all tags for a list of files
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 55fc99bcce Add commands to delete and check repositories
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b91a3ab4d2 Add shutting down of daemons when the repository is changed
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 03718e9a67 Change last opened field to u64
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis cadf866cd7 Add more tracing
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 57ebbf87e0 Add sorting of repositories by last opened
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b4a528e2bb Change client online checking to use a non-pooled approach
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 98539718c1 Fix disconnecting from a repository not removing the selected repository
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 455dd331f3 Add commands to close and disconnect repositories
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 e54fda8f5c Change repo config to differentiate local and remote repositories
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 778bb2fe77 Fix command to check if a daemon is running
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 aab7f71e12 Improve buffer performance
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9c1ba03bac Switch to pooled ipc client
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 32e85dae7a Add cleaning of buffers to separate worker thread
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 09c4776321 Add caching to buffers
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 2ad64f61da Use TagQuery instead of strings for tag searches
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b7742a0fba Change reponse type of get_all_tags
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a0316b01d2 Add api to get a list of all tags
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7e8b244018 Fix fetching of raw byte payloads for read_file and read_thumbnail
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 02653bdae8 Add more tracing and error handling§
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
trivernis d7a9a1450f Add repository commands
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6912ad6f05 Add commands to repo plugin
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f90580ea06 Add tag api
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 8b5af04075 Add file api
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