Commit Graph

59 Commits (7260eb825ad982c735ae35e96341cda890e32cb9)
 

Author SHA1 Message Date
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
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
Julius Riegel df5f36204c
Merge pull request #1 from Trivernis/feature/high-level-wrapper
Feature/high level wrapper
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 21cd993416
Increment version
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago