aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Allow limiting a new item to one or more privacy groups.Harald Eilertsen2020-01-011-0/+28
|
* tests: Verify authorization properly.Harald Eilertsen2020-01-011-15/+14
|
* Update to Mockito 0.19 for smoother tests.Harald Eilertsen2019-07-291-12/+11
| | | | | Provides matching against query params, so we don't need the ugly regexes anymore.
* Reduce duplication in tests.Harald Eilertsen2019-06-121-84/+35
| | | | | Adds a default_mock method for most cases, and a client method that sets up the zotapi client with the proper test url and credentials.
* Fix uploading of attachments to posts.Harald Eilertsen2019-06-121-3/+3
| | | | | | | The field needs to be named `media`, and we also need to handle the result of the operation. This refactors the result handling into a separate private function.
* Implement fetching privacy group members.Harald Eilertsen2019-06-101-0/+30
|
* Fetch privacy groups.Harald Eilertsen2019-06-091-0/+14
|
* Add test for uploading two files.Harald Eilertsen2018-12-161-0/+37
|
* Upload one file should now work.Harald Eilertsen2018-12-162-2/+15
|
* Begin multipart/form-data upload support.Harald Eilertsen2018-11-191-0/+20
|
* Begin implement undocumented abconfig API.Harald Eilertsen2018-09-231-0/+14
|
* Begin implementaton of undocumented abook api to fetch connections.Harald Eilertsen2018-09-231-0/+14
|
* Add fetching xchans by guid and has too.Harald Eilertsen2018-08-231-0/+28
|
* Add support for fetching xchan data by address.Harald Eilertsen2018-08-211-0/+14
| | | | | | | Not entirely happy with it, have updated the signature of Client::fetch_stream and Client::url to take args, which are left out if they're not serializable (or empty, I hope.) Should probably use an Option instead, or maybe even two entry points for the api.
* Allow setting title for new items.Harald Eilertsen2018-08-201-0/+21
|
* Use builder pattern to construct items.Harald Eilertsen2018-08-201-1/+1
|
* First attempt at creating posts.Harald Eilertsen2018-08-191-0/+16
|
* Add licence blurb to sources.Harald Eilertsen2018-08-191-0/+16
|
* Add method for fetching network stream.Harald Eilertsen2018-08-191-0/+15
|
* Return error from channel stream API if unauthorized.Harald Eilertsen2018-08-191-1/+16
|
* Pass authorization info to endpoint.Harald Eilertsen2018-08-071-2/+3
| | | | | | It seems like Hubzilla will accept basic authorization info in the first request. This does not follow the described signal flow for basic authorization, but for now we'll use whatever works.
* First iteration of getting channel stream from server.Harald Eilertsen2018-08-071-0/+18