Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade dep reqwest to 0.9.1. | Harald Eilertsen | 2018-09-22 | 1 | -9/+8 |
| | |||||
* | Use enum instead of BTreeMap to select xchan. | Harald Eilertsen | 2018-08-23 | 1 | -7/+26 |
| | | | | | | | | | Since it only makes sence to fetch an xchan by one of the methods (address, hash or guid) we don't need a data type that can hold more than one value. Had to implement my own serializer for it, since serde_urlencoded don't know how to serialize enums by default. | ||||
* | Add fetching xchans by guid and has too. | Harald Eilertsen | 2018-08-23 | 1 | -0/+10 |
| | |||||
* | Add support for fetching xchan data by address. | Harald Eilertsen | 2018-08-21 | 3 | -9/+73 |
| | | | | | | | 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 Eilertsen | 2018-08-20 | 1 | -4/+11 |
| | |||||
* | Refactoring: Split into submodules. | Harald Eilertsen | 2018-08-20 | 4 | -123/+187 |
| | |||||
* | Refactoring: Make Client::post_data helper. | Harald Eilertsen | 2018-08-20 | 1 | -17/+25 |
| | | | | | This means we don't need to access internal data members of the Client in builder structs an the like. | ||||
* | Remove create_item API. | Harald Eilertsen | 2018-08-20 | 1 | -20/+0 |
| | |||||
* | Use builder pattern to construct items. | Harald Eilertsen | 2018-08-20 | 1 | -0/+42 |
| | |||||
* | First attempt at creating posts. | Harald Eilertsen | 2018-08-19 | 1 | -1/+22 |
| | |||||
* | Add licence blurb to sources. | Harald Eilertsen | 2018-08-19 | 1 | -0/+16 |
| | |||||
* | Add method for fetching network stream. | Harald Eilertsen | 2018-08-19 | 1 | -0/+5 |
| | |||||
* | Generalize channel_stream into internal helper function. | Harald Eilertsen | 2018-08-19 | 1 | -5/+9 |
| | |||||
* | Return error from channel stream API if unauthorized. | Harald Eilertsen | 2018-08-19 | 1 | -6/+32 |
| | |||||
* | Refactor generating target url | Harald Eilertsen | 2018-08-07 | 1 | -3/+4 |
| | |||||
* | Pass authorization info to endpoint. | Harald Eilertsen | 2018-08-07 | 1 | -5/+18 |
| | | | | | | 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 Eilertsen | 2018-08-07 | 1 | -0/+32 |
| | |||||
* | Zet ze ztage... | Harald Eilertsen | 2018-08-02 | 1 | -0/+7 |