Commit Graph

48 Commits

Author SHA1 Message Date
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
4302814e17
Replaced Easy::alertmap with Easy::alerts. 2019-04-13 02:45:27 +02:00
88d69be298
Let Account::Source fall back to Easy::Entity. 2019-04-05 14:39:35 +02:00
86dccaf2d7
Removed inclusion of easy.hpp from entities.
Also added override to valid().
2019-03-31 21:43:57 +02: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
54a1fb0d3e
Added Easy::time as time type.
All checks were successful
the build was successful
2019-03-29 14:44:39 +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
0b35fa0828
Uodated copyright years. 2019-03-20 06:15:43 +01:00
e07dc45184
Inherit constructors from Entity. 2019-03-11 20:48:54 +01:00
c8baf41582
Renamed macros.hpp to debug.hpp. 2019-02-22 11:35:06 +01:00
318221a2e6
Changed uint_fast16_t to uint16_t and uint_fast64_t to uint64_t. 2019-02-22 08:29:54 +01:00
24687cba07
Removed deprecated code. 2019-02-22 08:23:26 +01:00
115726edf8
Escaped @ in doxygen documentation.
All checks were successful
the build was successful
2019-02-19 04:41:24 +01:00
b601369bfd
Forgot an int->string conversion. 2019-01-27 04:15:52 +01:00
0b47e0ec8d
Changed ids from uint_fast64_t to const string in all Entities. 2019-01-27 03:44:08 +01:00
ee82d35357
Removed const where it has no effect.
All checks were successful
the build was successful
2018-12-04 11:26:28 +01:00
1f5e356b2a
Added Instance::max_toot_chars() 2018-12-04 09:44:32 +01:00
ad7ac09ae1
Added Relationship::endorsed() and Relationship::showing_notifications() 2018-11-17 20:47:38 +01:00
c492158f64
Enhanced description for language(const string &language) 2018-11-17 20:41:06 +01:00
121cf0f32b
Added Status::card() 2018-11-17 20:38:09 +01:00
a8e27d7f5d
Added Status::replies_count() 2018-11-17 20:32:36 +01:00
f64984f331
Updated Easy::Account for Mastodon 2.4.0+ 2018-09-16 02:45:24 +02:00
b74381ceed
Enhanced Entity::valid
All checks were successful
the build was successful
It now checks if all non-nullable attributes are set. fixes #10
2018-07-14 11:54:13 +02:00
f9c32f38d3
Removed redundant debug messages
All checks were successful
the build was successful
2018-06-21 12:42:38 +02:00
7bd17a0ef0
Added a lot more version tags to the documentation
All checks were successful
the build was successful
That was tedious! 😓
2018-06-14 11:17:26 +02:00
43504f6ef7
Added Easy::send_toot (Closes #1)
Some checks failed
the build failed
2018-06-14 04:11:28 +02:00
8f30451ec1
Made Easy::Attachment writable (#1)
All checks were successful
the build was successful
2018-06-14 03:19:23 +02:00
929e815c73
added @since-tags 2018-06-14 01:52:05 +02:00
a56f6f0340
Made Easy::Status writable (#1)
All checks were successful
the build was successful
2018-06-13 23:55:19 +02:00
de8665481e
removed unnecessary 2018-06-12 03:06:02 +02:00
b3dfec4204
Added Easy::Account::fields()
Returns the metadata fields introduced in Mastodon 2.4.0.
2018-06-12 03:05:12 +02:00
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
8be8d24f6c
Added support for bot tag in Easy::Account 2018-06-11 01:44:41 +02:00
3423e7f672
Added Easy::Tag::History 2018-06-11 01:41:30 +02:00
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
e01ce6b96f
Added since-tag 2018-05-25 14:21:35 +02:00
d7043c06a6
Added Easy::PushSubscription 2018-05-23 20:21:41 +02:00
87a432f326
bugfix: An exception was thrown when converting empty strings to uint64 2018-05-11 06:15:35 +02:00
42dcc47f5b
bugfix: Easy::Notification.status() was broken 2018-04-18 18:37:55 +02:00
f664ff2da8
corrected header path 2018-04-11 16:09:52 +02:00
a6f0b20bc5
refactoring, documentation-enhancement 2018-04-04 04:38:04 +02:00
babab7c1b4
fixed Easy::Status::in_reply_to_*id() 2018-04-04 04:16:32 +02:00
87fded18db
Moved entites into src/easy/entities/ 2018-04-03 00:17:42 +02:00