Commit Graph

127 Commits

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