Commit Graph

74 Commits (0e8c28c948ec7240ba02162501bc9d687927eb4d)
 

Author SHA1 Message Date
trivernis 0e8c28c948
Move endpoints to sub module in api_core
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 039d510a61
Add additional options to file deletion
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5dce13508c
Fix publishing command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4156cfe210
Add CBOR support
closes #11

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 59abaa2cec
Add publish workflow
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d7a047ea90
Add support for notes api
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a0eea94340
Add low level notes api
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7ef1ec6c59
Fix tests with testdata
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ed2c8f9e0a
Increment version
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c6aa3f97f4
Add deprecation hint to service name usages
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 903acc8845
Change tag import wrapper to use service identifiers instead of names
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 53f29a33d5
Deprecate service_names_with_tags on file wrapper
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
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 36d0853a8b
Increment version
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 daffe24734
Increment version and update documentation
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel b82ecbef75
Merge pull request #5 from Trivernis/feature/client-api-19
Feature/client api 19
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 68a6d00c4c
Refactor hydrus service
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 27ec3b98f0
Refactor hydrus file
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5ffae11044
Refactor hydrus page
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5332ce66e8
Fix invalid example in readme
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel 98f22ef1c5
Merge pull request #4 from Trivernis/feature/client-api-18
Feature/client api 18
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 89a736d87e
Increment version
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 141ed9e0f0
Add logging to client function calls
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 47e22c7c00
Add rustls feature behind a feature flag
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel 0e409754e7
Merge pull request #3 from Trivernis/feature/managing-cookies-and-headers
Feature/managing cookies and headers
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 b3a5b6fee8
Increment version
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel d7a7ba20d8
Merge pull request #2 from Trivernis/feature/page-management
Feature/page management
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