Commit Graph

262 Commits

Author SHA1 Message Date
tastytea 2527e9523e
Added support for /api/v1/filters and /api/v1/filters/:id. 2019-04-19 05:20:48 +02:00
tastytea 7f46be68d1
Added daylight savings time detection to Easy::Entity::get_time(). 2019-04-18 04:46:55 +02:00
tastytea 275504a079
Added "visible_in_picker" to required fields in Easy::emoji. 2019-04-16 19:51:34 +02:00
tastytea 4a3432e339
Added support for /api/v1/accounts.
the build was successful Details
2019-04-16 19:26:09 +02:00
tastytea 346154c062
Added Easy::Token. 2019-04-16 17:56:45 +02:00
tastytea 8db37998fc
Fixed include path. 2019-04-16 17:55:49 +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 5408f6f235
Added test for malformed JSON. 2019-04-15 03:48:39 +02:00
tastytea f84a272f53
Added support for "errors" in addition to "error". #12
the build was successful Details
2019-04-15 03:07:04 +02:00
tastytea 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
tastytea 7d245e0df1
Fixed deletion of parameters. 2019-04-14 19:57:39 +02:00
tastytea 64d4c65668
Added "emojis" to required fields in Easy::Account. 2019-04-14 19:57:07 +02:00
tastytea 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
tastytea d4736308fd
Put http_error_code in return_base. 2019-04-14 17:58:33 +02:00
tastytea a65cb89d20
Removed obsolete parameters from documentation.
the build was successful Details
2019-04-14 06:44:11 +02:00
tastytea 4e8c44a4ba
Added list of types to readme.
the build was successful Details
2019-04-13 21:50:20 +02:00
tastytea 4614cfba0c
Documentation fixes. 2019-04-13 21:04:59 +02:00
tastytea 3fe21ccfc7
Small documetation fixes.
the build was successful Details
2019-04-13 02:54:46 +02:00
tastytea 4302814e17
Replaced Easy::alertmap with Easy::alerts. 2019-04-13 02:45:27 +02:00
tastytea bc82dac69b
Marked Easy::time operators const. 2019-04-13 02:27:45 +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 c2eff2b09e
Print remaining content of the stream in debug mode.
the build was successful Details
2019-04-10 21:12:13 +02:00
tastytea 031c0c3e22
Catch path by value in request_stream().
the build was successful Details
2019-04-10 21:04:04 +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 ccedfba4af
Added GET_STREAM to switch in http::request(). 2019-04-09 21:58:02 +02:00
tastytea c9a826ebcb
Improved documentation a bit.
the build was successful Details
2019-04-05 14:41:18 +02:00
tastytea 6a01efc6aa
Moved API::http::method to http_method. 2019-04-05 14:40:54 +02:00
tastytea 88d69be298
Let Account::Source fall back to Easy::Entity. 2019-04-05 14:39:35 +02:00
tastytea a63f63bd4f
Fixed include guard. 2019-04-02 11:20:35 +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 c35b7f56fa
Moved easy types to easy/types.hpp.
the build was successful Details
2019-03-31 22:24:14 +02:00
tastytea 86dccaf2d7
Removed inclusion of easy.hpp from entities.
Also added override to valid().
2019-03-31 21:43:57 +02:00
tastytea 6f11116b1c
strtime: Explicitly cast char array to const string.
the build was successful Details
2019-03-31 00:08:11 +01:00
tastytea 6690d2bd0b
Changed for-loop to std::transform. 2019-03-31 00:02:02 +01:00
tastytea 94651f8dba
Changed for-loop to std::transform. 2019-03-30 23:59:27 +01:00
tastytea 07c39ab4bf
Changed for-loop to std::transform. 2019-03-30 23:57:25 +01:00
tastytea 3328821bca
Changed for-loop to std::transform. 2019-03-30 23:55:40 +01:00
tastytea c7f7123ba6
Fixed some capture clauses. 2019-03-30 23:49:08 +01:00
tastytea f5b05893cd
Changed for-loop to std::transform. 2019-03-30 23:42:06 +01:00
tastytea d84a18a0e7
Changed for-loop to std::transform. 2019-03-30 23:15:22 +01:00
tastytea 7ac5b2545a
Cleaned up whitespace. 2019-03-30 23:10:30 +01:00
tastytea ff0bd7b906
Replaced for-loop with std::transform.
the build was successful Details
2019-03-30 22:24:15 +01:00
tastytea 57ec1fd23a
Cleaned up whitespace. 2019-03-30 22:14:58 +01:00
tastytea 43fd2aae6e
Changed debug.hpp to respect 80 char rule. 2019-03-30 20:53:53 +01:00
tastytea baf417ce69
Added documentation to return_entity{,_vector}.
the build was successful Details
2019-03-30 13:18:42 +01:00
tastytea c854230f95
Added documentation for return_base and return_call. 2019-03-30 13:06:57 +01:00