Commit Graph

28 Commits

Author SHA1 Message Date
968863301a
Mark ObtainToken constructor explicit. 2020-01-14 23:27:30 +01:00
a8e342202d
Move types into types.hpp and add answer_type::next() and prev(). 2020-01-14 20:44:08 +01:00
9ae50917dd
Remove Instance::get_proxy() and Instance::get_cainfo().
Some checks failed
continuous-integration/drone/push Build is failing
We can't get the values that were set using environment variables or build-time
options. We don't need them anymore for initializing “Connection”s.
2020-01-12 17:39:39 +01:00
1b4ad05acb
Add set_useragent(). 2020-01-12 17:37:06 +01:00
975fe57677
Simplify connection setup.
By adding CURLWrapper::setup_connection_properties.
2020-01-12 17:24:02 +01:00
b192bc70c7
Fix @since-tags that point to nonexisting versions.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-12 16:30:20 +01:00
02b0b05aa1
Add Instance::ObtainToken. 2020-01-12 16:28:04 +01:00
79c5087ca5
Marked some functions noexcept.
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-12 15:28:26 +01:00
97eb269865
Add Instance::set_cainfo(). 2020-01-12 13:37:53 +01:00
a6b328c2d1
Add Instance::get_post_formats().
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-11 20:05:11 +01:00
b9bf28c264
Add Instance::get_nodeinfo(). 2020-01-11 19:51:16 +01:00
d749e3aa23
Improve documentation for get_max_chars(). 2020-01-11 17:59:14 +01:00
f7191d1f3b
Add support for setting the access token. 2020-01-10 14:27:00 +01:00
e4a5b8e9ce
Move set_proxy() to Instance. 2020-01-09 11:23:15 +01:00
4b118e75f1
Fix / ignore some clang-tidy warnings. 2020-01-08 17:38:27 +01:00
1f78b00205
Replace string with string_view where possible. 2020-01-08 16:46:27 +01:00
0638f8fe9a
Query max_toot_chars the first time get_max_chars() is called. 2020-01-06 09:31:05 +01:00
6663cca653
Change signature of Instance. 2020-01-06 09:11:32 +01:00
61a26dbb67
Query instance for max_toot_chars. 2020-01-05 11:17:10 +01:00
db315a3a70
Instance: Add getters for hostname, baseuri and access_token. 2020-01-05 10:33:54 +01:00
a7a861351f
Move low-level network stuff to CURLWrapper. 2020-01-04 18:11:24 +01:00
81e579f162
Only initialize libcurl once. 2020-01-04 16:23:52 +01:00
5eb11534a5
Update description for Instance. 2020-01-04 13:29:36 +01:00
8f03c49569
Add constructors and assignment operators to Instance.
Explicitly set copy & move constructors to default, explicitly delete copy &
move assignment operators. Make destructor virtual.
2020-01-04 13:27:36 +01:00
892f1c6f87
Fix headers in Doxygen output. 2020-01-04 12:04:47 +01:00
e6690c85b4
Add curl initialization. 2020-01-04 11:38:27 +01:00
9874e76de2
Improve documentation.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-03 13:05:00 +01:00
4c557aae6e
Use Instance and Request classes. 2020-01-03 12:42:10 +01:00