Commit Graph

127 Commits

Author SHA1 Message Date
d43b1c72db
Match headers case-insensitively. 2019-10-06 14:58:04 +02:00
d100d1a2b6
Add support for GET /api/v1/streaming/direct. 2019-09-20 02:38:56 +02:00
ff649fd2eb
Add support for /api/v1/streaming/hashtag/local. 2019-09-20 02:37:33 +02:00
7f80bff4e1
Add support for /api/v1/streaming/health. 2019-09-20 02:36:16 +02:00
14a1d92442
Added /api/v1/conversations. 2019-09-20 02:26:47 +02:00
1b514df555
Added /api/v1/polls/:id and /api/v1/polls/:id/votes.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 00:40:22 +02:00
4d5b331a0f
Removed /api/v1/search.
Because it is not documented by tootsuite anymore.
2019-09-19 23:21:58 +02:00
707771c7bf
Bugfix: Do not try to set proxy in parent class.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-25 05:27:00 +02:00
d2a4d835de
Moved set_proxy() to API::http().
Some checks failed
continuous-integration/drone/push Build is failing
API::set_proxy() calls API::http::set_proxy(). Deleted API::get_proxy().
2019-08-25 04:50:08 +02:00
acbcb6224e
Mastodon::http inherits proxy config from parent.
All checks were successful
continuous-integration/drone/push Build is passing
Ff set_proxy() is called, _http.inherit_proxy() is called.
2019-08-21 11:06:41 +02:00
915c85e9e9
Changed error codes and introduced error constants.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-21 08:00:46 +02:00
c48c1a66f2
Removed and replaced last bits of curlpp.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-21 04:54:17 +02:00
12c0b896db
Use references for HTMLForm, where possible.
HTMLForm can't be copied, so I'm returning using unique_ptr in maptoformdata()
and references everywhere else.
2019-08-21 03:53:51 +02:00
f97608ecfa
[WIP] Switch from curlpp to POCO.
Compilable, but untested and unfinished.
2019-08-20 18:13:51 +02:00
231663b07e
Changed license to AGPL3.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-15 22:53:38 +02:00
39af18fe35
Removed nonsensical ifdefs. 2019-08-12 04:55:31 +02:00
14593ccf17
Changed wording a bit. 2019-05-01 01:28:46 +02:00
892a05e9fb
Removed mentions of base64. 2019-04-27 21:48:15 +02:00
14d0263606
Added support for /api/v1/suggestions,
and /api/v1/suggestions/:account_id.
2019-04-20 00:39:52 +02:00
fb27e79b3d
Deprecated API::urlencode, API::urldecode, API::unescape_html.
Some checks failed
the build failed
Replaced by Mastodon::urlencode, Mastodon::urldecode,
Mastodon::unescape_html.
2019-04-19 09:11:37 +02:00
2527e9523e
Added support for /api/v1/filters and /api/v1/filters/:id. 2019-04-19 05:20:48 +02:00
4a3432e339
Added support for /api/v1/accounts.
All checks were successful
the build was successful
2019-04-16 19:26:09 +02:00
76073881fe
Added support for /api/v1/apps/verify_credentials.
All checks were successful
the build was successful
2019-04-16 02:58:20 +02:00
7d245e0df1
Fixed deletion of parameters. 2019-04-14 19:57:39 +02:00
4e8c44a4ba
Added list of types to readme.
All checks were successful
the build was successful
2019-04-13 21:50:20 +02:00
a3f2e94034
Bettered documentation. 2019-04-13 02:27:21 +02:00
a0d47d48fa
Replaced parametermap with own types.
All checks were successful
the build was successful
2019-04-12 01:10:33 +02:00
09ecd8e5e4
Report errors with get_stream() in-stream.
All checks were successful
the build was successful
2019-04-10 20:52:36 +02:00
a551516be2
Added short descriptions to the examples.
All checks were successful
the build was successful
Also added example02 to doxygen-documentation.
2019-04-10 02:35:38 +02:00
bde8d11706
Revamped streams. 2019-04-10 02:25:55 +02:00
6a01efc6aa
Moved API::http::method to http_method. 2019-04-05 14:40:54 +02:00
b49e8600ac
Moved types to types.hpp and reformatted mastodon-cpp.hpp.
Also renamed easy/types.hpp to easy/types_easy.hpp.
2019-04-02 11:16:52 +02:00
38e8809b92
Moved return_base and return_call to their own header. 2019-04-02 10:37:27 +02:00
c854230f95
Added documentation for return_base and return_call. 2019-03-30 13:06:57 +01:00
dff3b11c00
Cleaned up, fixed formatting and so on.
All checks were successful
the build was successful
2019-03-28 21:23:24 +01:00
354f7e1b90
Removed unnecessary type qualifiers. 2019-03-28 13:45:30 +01:00
f227b25e85
Revert "Added const to overloaded operators."
All checks were successful
the build was successful
This reverts commit 2103eb4ac2.
2019-03-03 12:24:09 +01:00
2103eb4ac2
Added const to overloaded operators.
Some checks failed
the build failed
2019-03-03 12:14:11 +01:00
f28fac5579
Fixed << overloading. 2019-03-03 11:16:23 +01:00
d31c83f1d9
Did API inventory.
All checks were successful
the build was successful
Added missing calls to readme, reordered calls, marked deprecated
calls.
2019-03-03 10:41:10 +01:00
e1b32d13c8
Added example.
All checks were successful
the build was successful
2019-03-02 13:52:35 +01:00
9f21c5811a
Changed error codes for curlpp errors. 2019-03-02 11:53:02 +01:00
4fb13d1876
Removed constexpr for g++-5.
All checks were successful
the build was successful
2019-02-25 14:55:01 +01:00
25628e1d5d
Added virtual destructors to API and Easy::Entity.
Some checks failed
the build failed
2019-02-25 14:36:49 +01:00
7bdeaeb236
Changed return types for simple calls.
Some checks failed
the build failed
Also added return_entity, return_entity_vector and GenericEntity().
2019-02-25 13:55:24 +01:00
ada8f45415
Changed return tyoe for register_app[12]. 2019-02-25 12:32:19 +01:00
cbb1e18b0c
Replaced return types for get_stream, patch, post, put, del
Some checks failed
the build failed
2019-02-22 12:36:03 +01:00
ade55f8f19
Updated error descriptions. 2019-02-22 12:14:15 +01:00
e034dbc299
Replaced return codes in API::http. 2019-02-22 12:03:28 +01:00
514ae8dc63
Added new return types, replaced return types for API::get(). 2019-02-22 11:33:36 +01:00