Commit Graph

57 Commits (203815734ae33e0af878a4b3dc18c9270f24a0c5)

Author SHA1 Message Date
trivernis 203815734a
Add wrapper for hydrus tag search 2 years ago
trivernis 982f747976
Add add_tags/search_tags core api 2 years ago
trivernis d4c4d9465f
Control response content type via Accept header
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 843135f38c
Add support for only returning basic information or identifiers as metadata
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 715fb9f5f2
Add service selection to hydrus file wrapper operations
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6b06a9cf60
Add service selection to undelete, archive and unarchive
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
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 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 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 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