Commit Graph

231 Commits

Author SHA1 Message Date
tastytea 31df2a703d
Use localhost-IP for proxy in example. 2020-01-14 23:13:09 +01:00
tastytea 7c81f5f4cc
Version bump 0.3.0.
continuous-integration/drone/push Build is passing Details
2020-01-14 22:54:06 +01:00
tastytea f2594d2c46
Merge branch 'develop' into main 2020-01-14 22:53:44 +01:00
tastytea 59a9747c06
Add account_id and list_id to list of parameters to replace in URIs.
continuous-integration/drone/push Build is passing Details
2020-01-14 22:50:14 +01:00
tastytea 0d8caf93e2
Fixed endpoint translations. 2020-01-14 22:47:23 +01:00
tastytea c192f352f0
Extract post formats via regex.
continuous-integration/drone/push Build is passing Details
2020-01-14 22:28:14 +01:00
tastytea bd7952e901
Fixed the minimum libcurl version for rpms. 2020-01-14 22:21:09 +01:00
tastytea 0d8b2e8490
Use regex to extract NodeInfo addresses. 2020-01-14 21:53:42 +01:00
tastytea 223db7b255
Use regex to extract max_toot_chars. 2020-01-14 21:03:04 +01:00
tastytea aafb55e7eb
Tick boxes in readme.
continuous-integration/drone/push Build is passing Details
2020-01-14 20:44:58 +01:00
tastytea a8e342202d
Move types into types.hpp and add answer_type::next() and prev(). 2020-01-14 20:44:08 +01:00
tastytea bd490e788c
Remove test for Instance::get_proxy().
continuous-integration/drone/push Build is passing Details
2020-01-12 17:54:40 +01:00
tastytea c049af3212
Merge branch 'develop' into main 2020-01-12 17:41:36 +01:00
tastytea 9ae50917dd
Remove Instance::get_proxy() and Instance::get_cainfo().
continuous-integration/drone/push Build is failing Details
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
tastytea 1b4ad05acb
Add set_useragent(). 2020-01-12 17:37:06 +01:00
tastytea 04526f37cc
Make argument of CURLWrapper::set_cafile() const. 2020-01-12 17:27:40 +01:00
tastytea 975fe57677
Simplify connection setup.
By adding CURLWrapper::setup_connection_properties.
2020-01-12 17:24:02 +01:00
tastytea b4428ed823
Mark CURLWrapper::escape_url() and unescape_url() nodiscard. 2020-01-12 17:01:09 +01:00
tastytea 78ef177e58
Hide CURLWrapper::set_proxy(). 2020-01-12 17:00:49 +01:00
tastytea b192bc70c7
Fix @since-tags that point to nonexisting versions.
continuous-integration/drone/push Build is passing Details
2020-01-12 16:30:20 +01:00
tastytea 7af01ffb17
Add ObtainToken-example.
continuous-integration/drone/push Build is passing Details
2020-01-12 16:28:11 +01:00
tastytea 02b0b05aa1
Add Instance::ObtainToken. 2020-01-12 16:28:04 +01:00
tastytea deeffc5adf
Bugfix in endpoint translation. 2020-01-12 16:06:44 +01:00
tastytea 79c5087ca5
Marked some functions noexcept.
continuous-integration/drone/push Build is failing Details
2020-01-12 15:28:26 +01:00
tastytea 7fc19639b1
Add missing header. 2020-01-12 15:25:04 +01:00
tastytea 20410ece28
Removed excess comma. 2020-01-12 15:24:05 +01:00
tastytea e669c65d2e
Merge branch 'develop' into main
continuous-integration/drone/push Build is passing Details
2020-01-12 13:38:44 +01:00
tastytea 97eb269865
Add Instance::set_cainfo(). 2020-01-12 13:37:53 +01:00
tastytea cd31af94a6
Bugfix in endpoint translation. 2020-01-12 11:45:15 +01:00
tastytea b2f370a727
Add escape_url() and unescape_url() to CURLWrapper. 2020-01-12 01:04:23 +01:00
tastytea fd5275f4a3
Return default max chars on exception in get_max_chars(). 2020-01-11 23:04:40 +01:00
tastytea 1a99e8a276
Made code in Connection::get_new_events() clearer. 2020-01-11 22:16:37 +01:00
tastytea a6b328c2d1
Add Instance::get_post_formats().
continuous-integration/drone/push Build is passing Details
2020-01-11 20:05:11 +01:00
tastytea b9bf28c264
Add Instance::get_nodeinfo(). 2020-01-11 19:51:16 +01:00
tastytea acd6da37f2
Add set_proxy() to readme example. 2020-01-11 18:16:38 +01:00
tastytea 40d985f9af
Add missing header. 2020-01-11 18:13:15 +01:00
tastytea 597cf41668
Don't check errors if it can't fail.
continuous-integration/drone/push Build is passing Details
2020-01-11 18:08:33 +01:00
tastytea d749e3aa23
Improve documentation for get_max_chars(). 2020-01-11 17:59:14 +01:00
tastytea ee87cd0436
Update feature list.
continuous-integration/drone/push Build is passing Details
2020-01-11 16:52:06 +01:00
tastytea 65ea6fd64b
version bump 0.2.0. 2020-01-11 16:50:14 +01:00
tastytea 23eb3ff43e
Merge branch 'develop' into main 2020-01-11 16:46:20 +01:00
tastytea f3f8efac25
Add DELETE example.
continuous-integration/drone/push Build is passing Details
2020-01-11 16:45:31 +01:00
tastytea 078f6d0c73
Log URI replacements. 2020-01-11 16:42:01 +01:00
tastytea 4a940062d8
Fix wrong endpoint translations.
I forgot a lot of <ID>s.
2020-01-11 16:40:13 +01:00
tastytea 5c61d6fd27
Add support for DELETE requests. 2020-01-11 16:24:06 +01:00
tastytea 03b097c6a6
Fix patch() and put() requests without parameters.
Connection::patch() and Connection::put() without parameters were making a POST
request.
2020-01-11 16:21:44 +01:00
tastytea 905a5aae0e
Fix version information for Connection::patch() and put().
continuous-integration/drone/push Build is passing Details
2020-01-11 16:16:55 +01:00
tastytea ed43f74c01
Add examples 05 and 06. 2020-01-11 16:16:50 +01:00
tastytea c67c9db40c
Fix wrong endpoint translations. 2020-01-11 16:13:14 +01:00
tastytea 5aa5bf4c9c
80 char rule. 2020-01-11 16:10:15 +01:00