Commit Graph

334 Commits

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