Commit Graph

256 Commits

Author SHA1 Message Date
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
5408f6f235
Added test for malformed JSON. 2019-04-15 03:48:39 +02:00
f84a272f53
Added support for "errors" in addition to "error". #12
All checks were successful
the build was successful
2019-04-15 03:07:04 +02:00
9d1bb4a6e3
Changed requirement for a valid Easy::Status.
Made it required that "replies_count" and "application" is present in
statuses.
2019-04-15 02:03:24 +02:00
7d245e0df1
Fixed deletion of parameters. 2019-04-14 19:57:39 +02:00
64d4c65668
Added "emojis" to required fields in Easy::Account. 2019-04-14 19:57:07 +02:00
7de4c8c0ba
Do not require contact_account in Easy::Instance.
It is not required to have one, according to
<https://docs.joinmastodon.org/api/entities/#instance>.
2019-04-14 18:09:25 +02:00
d4736308fd
Put http_error_code in return_base. 2019-04-14 17:58:33 +02:00
a65cb89d20
Removed obsolete parameters from documentation.
All checks were successful
the build was successful
2019-04-14 06:44:11 +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
4614cfba0c
Documentation fixes. 2019-04-13 21:04:59 +02:00
3fe21ccfc7
Small documetation fixes.
All checks were successful
the build was successful
2019-04-13 02:54:46 +02:00
4302814e17
Replaced Easy::alertmap with Easy::alerts. 2019-04-13 02:45:27 +02:00
bc82dac69b
Marked Easy::time operators const. 2019-04-13 02:27:45 +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
c2eff2b09e
Print remaining content of the stream in debug mode.
All checks were successful
the build was successful
2019-04-10 21:12:13 +02:00
031c0c3e22
Catch path by value in request_stream().
All checks were successful
the build was successful
2019-04-10 21:04:04 +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
ccedfba4af
Added GET_STREAM to switch in http::request(). 2019-04-09 21:58:02 +02:00
c9a826ebcb
Improved documentation a bit.
All checks were successful
the build was successful
2019-04-05 14:41:18 +02:00
6a01efc6aa
Moved API::http::method to http_method. 2019-04-05 14:40:54 +02:00
88d69be298
Let Account::Source fall back to Easy::Entity. 2019-04-05 14:39:35 +02:00
a63f63bd4f
Fixed include guard. 2019-04-02 11:20:35 +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
c35b7f56fa
Moved easy types to easy/types.hpp.
All checks were successful
the build was successful
2019-03-31 22:24:14 +02:00
86dccaf2d7
Removed inclusion of easy.hpp from entities.
Also added override to valid().
2019-03-31 21:43:57 +02:00
6f11116b1c
strtime: Explicitly cast char array to const string.
All checks were successful
the build was successful
2019-03-31 00:08:11 +01:00
6690d2bd0b
Changed for-loop to std::transform. 2019-03-31 00:02:02 +01:00
94651f8dba
Changed for-loop to std::transform. 2019-03-30 23:59:27 +01:00
07c39ab4bf
Changed for-loop to std::transform. 2019-03-30 23:57:25 +01:00
3328821bca
Changed for-loop to std::transform. 2019-03-30 23:55:40 +01:00
c7f7123ba6
Fixed some capture clauses. 2019-03-30 23:49:08 +01:00
f5b05893cd
Changed for-loop to std::transform. 2019-03-30 23:42:06 +01:00
d84a18a0e7
Changed for-loop to std::transform. 2019-03-30 23:15:22 +01:00
7ac5b2545a
Cleaned up whitespace. 2019-03-30 23:10:30 +01:00
ff0bd7b906
Replaced for-loop with std::transform.
All checks were successful
the build was successful
2019-03-30 22:24:15 +01:00
57ec1fd23a
Cleaned up whitespace. 2019-03-30 22:14:58 +01:00
43fd2aae6e
Changed debug.hpp to respect 80 char rule. 2019-03-30 20:53:53 +01:00
baf417ce69
Added documentation to return_entity{,_vector}.
All checks were successful
the build was successful
2019-03-30 13:18:42 +01:00
c854230f95
Added documentation for return_base and return_call. 2019-03-30 13:06:57 +01:00
da1ee09640
Added explicit instantiations for return_entity{,_vector}. 2019-03-30 12:12:59 +01:00
54a1fb0d3e
Added Easy::time as time type.
All checks were successful
the build was successful
2019-03-29 14:44:39 +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
76dc6a623c
Put Easy return types in own header. 2019-03-28 15:35:23 +01:00
ce5f9510a6
Put Entity in own header. 2019-03-28 15:35:00 +01:00
4aad1425eb
Turned Easy into namespace, renamed class Easy::API.
Don't look, I'm not done yet! :-)
2019-03-28 15:30:56 +01:00