Commit Graph

334 Commits

Author SHA1 Message Date
e1b61b5041
Deprecated return_entity(_vector) and some high-level abstractions.
send_post(), send_toot() and get_notifications().
I don't have the energy to implement and maintain an useful set of high-level
abstractions.
2019-10-13 23:56:39 +02:00
57238020a3
Do not return lowercased header, but the original one. 2019-10-07 23:06:15 +02:00
bfe77f1b18
Don't install HTML documentation with autogenerated packages. 2019-10-06 17:19:07 +02:00
719f8a7664
Actually delete parameters in delete_params(). 2019-10-06 16:39:06 +02:00
c3a5df62e5
Add Link::min_id() and allow for alphanumeric IDs. 2019-10-06 16:39:06 +02:00
d43b1c72db
Match headers case-insensitively. 2019-10-06 14:58:04 +02:00
2fa3bff89c
Re-add support for getting headers. 2019-10-06 14:35:06 +02:00
ff43aea4ab
Add CentOS 7 workaround.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 03:55:13 +02:00
795bf14e51
Corrected version in documentation from 0.107.0 to 0.110.0.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 02:58:58 +02:00
14d2e53cfc
Add support for the streaming event “filters_changed”. 2019-09-20 02:52:56 +02:00
f8ed45dcc4
Deleted report from return types and added Poll and Conversations.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 02:41:27 +02:00
d100d1a2b6
Add support for GET /api/v1/streaming/direct. 2019-09-20 02:38:56 +02:00
ff649fd2eb
Add support for /api/v1/streaming/hashtag/local. 2019-09-20 02:37:33 +02:00
7f80bff4e1
Add support for /api/v1/streaming/health. 2019-09-20 02:36:16 +02:00
3446bbf5d6
Deleted Easy::Report and GET /api/v1/reports.
Some checks failed
continuous-integration/drone/push Build is failing
They are no longer documented by Mastodon.
2019-09-20 02:29:45 +02:00
14a1d92442
Added /api/v1/conversations. 2019-09-20 02:26:47 +02:00
c3e00e2e31
Added Easy::Conversation. 2019-09-20 02:26:07 +02:00
1b514df555
Added /api/v1/polls/:id and /api/v1/polls/:id/votes.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 00:40:22 +02:00
416675a667
Added Entity Easy::Poll. 2019-09-20 00:07:17 +02:00
4d5b331a0f
Removed /api/v1/search.
Because it is not documented by tootsuite anymore.
2019-09-19 23:21:58 +02:00
08ae30835c
Confirmed that proxies work, added debug message with proxy info.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-30 08:06:48 +02:00
707771c7bf
Bugfix: Do not try to set proxy in parent class.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-25 05:27:00 +02:00
6b070dec98
Percent-decode proxy username and password. 2019-08-25 05:08:37 +02:00
d2a4d835de
Moved set_proxy() to API::http().
Some checks failed
continuous-integration/drone/push Build is failing
API::set_proxy() calls API::http::set_proxy(). Deleted API::get_proxy().
2019-08-25 04:50:08 +02:00
acbcb6224e
Mastodon::http inherits proxy config from parent.
All checks were successful
continuous-integration/drone/push Build is passing
Ff set_proxy() is called, _http.inherit_proxy() is called.
2019-08-21 11:06:41 +02:00
188033a0c1
Simplify get_proxy(). 2019-08-21 10:52:06 +02:00
41a580b32b
Rewrite parsing of http_proxy environment variable.
The regex matches host, port, username and password.
2019-08-21 10:42:59 +02:00
915c85e9e9
Changed error codes and introduced error constants.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-21 08:00:46 +02:00
5ddea09924
Repair domain-change detection on HTTP redirect.
Also added debug statements.
2019-08-21 07:28:28 +02:00
c48c1a66f2
Removed and replaced last bits of curlpp.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-21 04:54:17 +02:00
62d28c523a
Updated TODOs and FIXMEs. 2019-08-21 04:20:25 +02:00
12c0b896db
Use references for HTMLForm, where possible.
HTMLForm can't be copied, so I'm returning using unique_ptr in maptoformdata()
and references everywhere else.
2019-08-21 03:53:51 +02:00
ecb49c7e00
Actually send forms. 2019-08-21 03:36:25 +02:00
bc58a977f0
Add more debug statements around forms. 2019-08-21 03:35:44 +02:00
f97608ecfa
[WIP] Switch from curlpp to POCO.
Compilable, but untested and unfinished.
2019-08-20 18:13:51 +02:00
5f73020056
Modernized CMake recipes. 2019-08-16 02:08:14 +02:00
231663b07e
Changed license to AGPL3.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-15 22:53:38 +02:00
f159f0c391
Get numbers in Easy::Tag::History::accounts() and ::use().
We were trying to get strings before.
2019-08-12 05:48:26 +02:00
2a7d02fba8
Marked members of Easy::Tag::History const. 2019-08-12 05:47:49 +02:00
39af18fe35
Removed nonsensical ifdefs. 2019-08-12 04:55:31 +02:00
338274e368
Removed old TODOs. 2019-08-12 03:29:55 +02:00
919f67b123
marked operators bool and uint8_t of return_base const.
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-22 22:09:50 +02:00
7874ca7830
Updated Easy::Relationship. 2019-07-21 02:48:48 +02:00
b1afd2533d
Fixed validity-check for push subscriptions. 2019-07-21 02:33:28 +02:00
dbce486c9b
Blocked Kiwi Farms, added explanation in README.
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-14 18:01:10 +02:00
9b0c68f2bf
Prevent usage with Gab domains.
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-26 02:35:35 +02:00
57bf54ed32
Fixed regex in unescape_html(). 2019-05-18 06:16:54 +02:00
3a36744d72
Fixed Instance::stats(). 2019-05-13 23:08:04 +02:00
8f5d40ff7f
Updated Easy::Instance.
Added urls() and stats() and removed streaming_api().
2019-05-13 21:52:28 +02:00
8a6bef8c2c
Made type names more consistent. 2019-05-13 21:31:38 +02:00