Commit Graph

60 Commits

Author SHA1 Message Date
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
a766ff001c
Check if files exists. 2019-04-27 21:38:01 +02:00
eaaa63a20c
Fixed definition of newly moved functions, changed calls to them.
All checks were successful
the build was successful
2019-04-19 10:42:30 +02:00
fb27e79b3d
Deprecated API::urlencode, API::urldecode, API::unescape_html.
Some checks failed
the build failed
Replaced by Mastodon::urlencode, Mastodon::urldecode,
Mastodon::unescape_html.
2019-04-19 09:11:37 +02:00
2527e9523e
Added support for /api/v1/filters and /api/v1/filters/:id. 2019-04-19 05:20:48 +02:00
7d245e0df1
Fixed deletion of parameters. 2019-04-14 19:57:39 +02:00
a0d47d48fa
Replaced parametermap with own types.
All checks were successful
the build was successful
2019-04-12 01:10:33 +02:00
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
38e8809b92
Moved return_base and return_call to their own header. 2019-04-02 10:37:27 +02:00
ff0bd7b906
Replaced for-loop with std::transform.
All checks were successful
the build was successful
2019-03-30 22:24:15 +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
354f7e1b90
Removed unnecessary type qualifiers. 2019-03-28 13:45:30 +01:00
0b35fa0828
Uodated copyright years. 2019-03-20 06:15:43 +01:00
c4fae35100
Reformatted for 80 char rule.
All checks were successful
the build was successful
2019-03-14 18:34:34 +01:00
f227b25e85
Revert "Added const to overloaded operators."
All checks were successful
the build was successful
This reverts commit 2103eb4ac2.
2019-03-03 12:24:09 +01:00
2103eb4ac2
Added const to overloaded operators.
Some checks failed
the build failed
2019-03-03 12:14:11 +01:00
f28fac5579
Fixed << overloading. 2019-03-03 11:16:23 +01:00
4fb13d1876
Removed constexpr for g++-5.
All checks were successful
the build was successful
2019-02-25 14:55:01 +01:00
25628e1d5d
Added virtual destructors to API and Easy::Entity.
Some checks failed
the build failed
2019-02-25 14:36:49 +01:00
ada8f45415
Changed return tyoe for register_app[12]. 2019-02-25 12:32:19 +01:00
cbb1e18b0c
Replaced return types for get_stream, patch, post, put, del
Some checks failed
the build failed
2019-02-22 12:36:03 +01:00
e034dbc299
Replaced return codes in API::http. 2019-02-22 12:03:28 +01:00
c8baf41582
Renamed macros.hpp to debug.hpp. 2019-02-22 11:35:06 +01:00
514ae8dc63
Added new return types, replaced return types for API::get(). 2019-02-22 11:33:36 +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
ffaf4a551a
Bugfix: Do not assume client_id, client_secret and token are hexadecimal.
All checks were successful
the build was successful
2019-02-04 19:14:54 +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
5df220913b
Added API::urldecode()
All checks were successful
the build was successful
2018-06-28 14:19:43 +02:00
eaff505f15
bugfix: Made sure that arrays are send as arrays when they only have 1 entry
This applies to account_ids, exclude_types, and media_ids
2018-06-14 04:10:08 +02:00
b9603587c5
Added proxy to get_stream() 2018-05-26 23:48:03 +02:00
86a614dd61
Added proxy support 2018-05-26 22:34:31 +02:00
897e36dc44
made urlencode() static 2018-05-09 06:27:11 +02:00
091a27e412
added unescape_html 2018-05-09 06:09:47 +02:00
bbdcf70efd
Added support for passing exceptions 2018-04-10 10:17:46 +02:00
844fb2c577
Replaced uint16_t with uint_fast16_t, refactoring 2018-04-02 01:47:44 +02:00
d3193c08a0
Header has to match completely in get_header() 2018-03-11 15:30:02 +01:00
90c2941b5d
Bugfix: website in URL generated by register_app1() is now escaped. 2018-03-07 17:38:07 +01:00
59da12f520
Added get_instance() 2018-03-07 10:27:27 +01:00
a7c96cf30e
Incremented all error codes by 10 2018-02-28 22:42:26 +01:00
e6b5869ca8
fixed missing return statements 2018-02-28 08:00:34 +01:00
aa9b7b0db7
Re-added urlencode() for backwards-compatibility. Marked as deprecated. 2018-02-28 07:51:49 +01:00
db7bf85142
Changed register_app[12], deprecated old versions 2018-02-28 07:00:24 +01:00
f9b6009b57
Enable access to HTTP headers 2018-02-25 23:20:02 +01:00
505849ee2b
Replaced own urlencode() with curlpp::escape() 2018-02-22 03:04:15 +01:00
065b9bc6d8
Return new URL on HTTP 301 and 308 2018-02-17 20:05:24 +01:00
8222ff6da1
Documentation update, saving access_token 2018-02-11 12:26:42 +01:00
fec50bc146
app registering support 2018-02-09 22:21:01 +01:00