Commit Graph

44 Commits (b7f902e3dd0c5b8c000742e0dd67964feb5400c1)

Author SHA1 Message Date
trivernis b7f902e3dd
Add support for file service metadata timestamps
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2b5599b821
Add support for returning file hashes on search
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b52c28e31e
Improve tests and wrapper functions
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7260eb825a
Add support for adding tags to services by service keys
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis be51ac4054
Fix automated tests
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 8bb7149e11
Remove log and use tracing instead
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a74cabcbcc
Add dotenv support for tests
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis fa904761f5
Fix parsing of or chains from string
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3773ffdf8e
Add additional test for negated tags in or-chains
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f9e06a9af2
Add support for or-chains
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9d80486662
Add search function to hydrus service
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2a297c0636
Add hydrus search builder for complex searches
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ad30c14ddb
Add additional parameter to search requests
With the new client api 19 there's options to sort
results returned by search and filter by tag and file service.
The FileSearchOptions struct allows using those extra parameters.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 123574b3f7
Add high level function to assign files to a page
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d576c7c675
Add function to add files to a page
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 382019c4be
Update docs for new tag builder
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f1a423f721
Addd Tag and System Tag builder
This change also removes the Search location type.
With the System Tag Builder all expressions for searching for
tags with the system predicate can be build.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 72dfe76172
Fix fetching files by id not working
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d48a5da471
Add function to set hydrus user agent to hydrus
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d84eceb840
Add wrapper for addresses to set and get cookies
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis cd5de8ee1c
Add function to set hydrus user agent
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5d25aceab5
Add functions to get and set cookies to low level api
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7b8d04bc7d
Add wrapper for hydrus pages
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 92ff53e163
Add client endpoint to focus a page
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9854927938
Add endpoint to get information about a single page
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6cfa8be646
Add client endpoint to get all pages
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c746212e7d
Update documentation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis deccbee806
Add retrieval of metadata to the file wrapper
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9ca1715177
Add bulk tagging support
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d3b4093f93
Add retrieval of its bytes to the file struct
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a73e7de532
Add search functionality to hydrus wrapper
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 43c5ac47ee
Add functions to add and modify tags to the file struct
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7d6b2bfe96
Add functions to files to retrieve information, associate urls and get tags
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 188da6c4c1
Add association function to urls
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis fe01a4ae5c
Add importing functions to url type
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 798e37141e
Add importing to hydrus wrapper
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ef8d998efb
Add hydrus wrapper with services and version info
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f7c11ce905
Add url associating, retrieval etc
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5563d61155
Add searching and fetching of files
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2c5b3225f0
Improve types
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e2c97a8272
Add README and Crates.io metadata
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 47b1202056
Add tag cleaning and adding functionality
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 968156aa7d
Add file adding/deleting/archiving functions
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9fe17d4c90
Add access management functions
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago