Commit Graph

269 Commits

Author SHA1 Message Date
318eda9101
Confirmed that Account::moved() works
and changed my mind about writable Status::Attachment.
2019-04-22 05:15:03 +02:00
2287a4753c
Fixed operator << warnings.
All checks were successful
the build was successful
2019-04-21 13:59:31 +02:00
d3d9f0f4e4
Fixed operator << for Easy::return_entity. 2019-04-21 13:17:39 +02:00
7558c73648
Reformatted switch. 2019-04-21 06:15:37 +02:00
14d0263606
Added support for /api/v1/suggestions,
and /api/v1/suggestions/:account_id.
2019-04-20 00:39:52 +02:00
eaaa63a20c
Fixed definition of newly moved functions, changed calls to them.
All checks were successful
the build was successful
2019-04-19 10:42:30 +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
7f46be68d1
Added daylight savings time detection to Easy::Entity::get_time(). 2019-04-18 04:46:55 +02:00
275504a079
Added "visible_in_picker" to required fields in Easy::emoji. 2019-04-16 19:51:34 +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
346154c062
Added Easy::Token. 2019-04-16 17:56:45 +02:00
8db37998fc
Fixed include path. 2019-04-16 17:55:49 +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
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