Commit Graph

53 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 275504a079
Added "visible_in_picker" to required fields in Easy::emoji. 2019-04-16 19:51:34 +02:00
tastytea 346154c062
Added Easy::Token. 2019-04-16 17:56:45 +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 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 4302814e17
Replaced Easy::alertmap with Easy::alerts. 2019-04-13 02:45:27 +02:00
tastytea 88d69be298
Let Account::Source fall back to Easy::Entity. 2019-04-05 14:39:35 +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 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 54a1fb0d3e
Added Easy::time as time type.
the build was successful Details
2019-03-29 14:44:39 +01:00
tastytea 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
tastytea 0b35fa0828
Uodated copyright years. 2019-03-20 06:15:43 +01:00
tastytea e07dc45184
Inherit constructors from Entity. 2019-03-11 20:48:54 +01:00
tastytea c8baf41582
Renamed macros.hpp to debug.hpp. 2019-02-22 11:35:06 +01:00
tastytea 318221a2e6
Changed uint_fast16_t to uint16_t and uint_fast64_t to uint64_t. 2019-02-22 08:29:54 +01:00
tastytea 24687cba07
Removed deprecated code. 2019-02-22 08:23:26 +01:00
tastytea 115726edf8
Escaped @ in doxygen documentation.
the build was successful Details
2019-02-19 04:41:24 +01:00
tastytea b601369bfd
Forgot an int->string conversion. 2019-01-27 04:15:52 +01:00
tastytea 0b47e0ec8d
Changed ids from uint_fast64_t to const string in all Entities. 2019-01-27 03:44:08 +01:00
tastytea ee82d35357
Removed const where it has no effect.
the build was successful Details
2018-12-04 11:26:28 +01:00
tastytea 1f5e356b2a
Added Instance::max_toot_chars() 2018-12-04 09:44:32 +01:00
tastytea ad7ac09ae1
Added Relationship::endorsed() and Relationship::showing_notifications() 2018-11-17 20:47:38 +01:00
tastytea c492158f64
Enhanced description for language(const string &language) 2018-11-17 20:41:06 +01:00
tastytea 121cf0f32b
Added Status::card() 2018-11-17 20:38:09 +01:00
tastytea a8e27d7f5d
Added Status::replies_count() 2018-11-17 20:32:36 +01:00
tastytea f64984f331
Updated Easy::Account for Mastodon 2.4.0+ 2018-09-16 02:45:24 +02:00
tastytea b74381ceed
Enhanced Entity::valid
the build was successful Details
It now checks if all non-nullable attributes are set. fixes #10
2018-07-14 11:54:13 +02:00
tastytea f9c32f38d3
Removed redundant debug messages
the build was successful Details
2018-06-21 12:42:38 +02:00
tastytea 7bd17a0ef0
Added a lot more version tags to the documentation
the build was successful Details
That was tedious! 😓
2018-06-14 11:17:26 +02:00
tastytea 43504f6ef7
Added Easy::send_toot (Closes #1)
the build failed Details
2018-06-14 04:11:28 +02:00
tastytea 8f30451ec1
Made Easy::Attachment writable (#1)
the build was successful Details
2018-06-14 03:19:23 +02:00
tastytea 929e815c73
added @since-tags 2018-06-14 01:52:05 +02:00
tastytea a56f6f0340
Made Easy::Status writable (#1)
the build was successful Details
2018-06-13 23:55:19 +02:00
tastytea de8665481e
removed unnecessary 2018-06-12 03:06:02 +02:00
tastytea b3dfec4204
Added Easy::Account::fields()
Returns the metadata fields introduced in Mastodon 2.4.0.
2018-06-12 03:05:12 +02:00
tastytea 14e164d7b4
old hashtags are now suffixed with _v1, new hashtags with _v2. hashtags() is an alias for _v1. 2018-06-11 01:54:15 +02:00
tastytea 8be8d24f6c
Added support for bot tag in Easy::Account 2018-06-11 01:44:41 +02:00
tastytea 3423e7f672
Added Easy::Tag::History 2018-06-11 01:41:30 +02:00
tastytea 55837e78d2
Added /api/v2/search, copied Easy::Result::hashtag to hashtag_v1, changed Easy::Result::hashtag to return Easy::Tag objects 2018-06-11 01:38:36 +02:00
tastytea e01ce6b96f
Added since-tag 2018-05-25 14:21:35 +02:00
tastytea d7043c06a6
Added Easy::PushSubscription 2018-05-23 20:21:41 +02:00
tastytea 87a432f326
bugfix: An exception was thrown when converting empty strings to uint64 2018-05-11 06:15:35 +02:00
tastytea 42dcc47f5b
bugfix: Easy::Notification.status() was broken 2018-04-18 18:37:55 +02:00
tastytea f664ff2da8
corrected header path 2018-04-11 16:09:52 +02:00