Commit Graph

53 Commits

Author SHA1 Message Date
tastytea 7d245e0df1
Fixed deletion of parameters. 2019-04-14 19:57:39 +02:00
tastytea a0d47d48fa
Replaced parametermap with own types.
the build was successful Details
2019-04-12 01:10:33 +02:00
tastytea 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
tastytea 38e8809b92
Moved return_base and return_call to their own header. 2019-04-02 10:37:27 +02:00
tastytea ff0bd7b906
Replaced for-loop with std::transform.
the build was successful Details
2019-03-30 22:24:15 +01:00
tastytea 54a1fb0d3e
Added Easy::time as time type.
the build was successful Details
2019-03-29 14:44:39 +01:00
tastytea 354f7e1b90
Removed unnecessary type qualifiers. 2019-03-28 13:45:30 +01:00
tastytea 0b35fa0828
Uodated copyright years. 2019-03-20 06:15:43 +01:00
tastytea c4fae35100
Reformatted for 80 char rule.
the build was successful Details
2019-03-14 18:34:34 +01:00
tastytea f227b25e85
Revert "Added const to overloaded operators."
the build was successful Details
This reverts commit 2103eb4ac2.
2019-03-03 12:24:09 +01:00
tastytea 2103eb4ac2
Added const to overloaded operators.
the build failed Details
2019-03-03 12:14:11 +01:00
tastytea f28fac5579
Fixed << overloading. 2019-03-03 11:16:23 +01:00
tastytea 4fb13d1876
Removed constexpr for g++-5.
the build was successful Details
2019-02-25 14:55:01 +01:00
tastytea 25628e1d5d
Added virtual destructors to API and Easy::Entity.
the build failed Details
2019-02-25 14:36:49 +01:00
tastytea ada8f45415
Changed return tyoe for register_app[12]. 2019-02-25 12:32:19 +01:00
tastytea cbb1e18b0c
Replaced return types for get_stream, patch, post, put, del
the build failed Details
2019-02-22 12:36:03 +01:00
tastytea e034dbc299
Replaced return codes in API::http. 2019-02-22 12:03:28 +01:00
tastytea c8baf41582
Renamed macros.hpp to debug.hpp. 2019-02-22 11:35:06 +01:00
tastytea 514ae8dc63
Added new return types, replaced return types for API::get(). 2019-02-22 11:33:36 +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 ffaf4a551a
Bugfix: Do not assume client_id, client_secret and token are hexadecimal.
the build was successful Details
2019-02-04 19:14:54 +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 5df220913b
Added API::urldecode()
the build was successful Details
2018-06-28 14:19:43 +02:00
tastytea 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
tastytea b9603587c5
Added proxy to get_stream() 2018-05-26 23:48:03 +02:00
tastytea 86a614dd61
Added proxy support 2018-05-26 22:34:31 +02:00
tastytea 897e36dc44
made urlencode() static 2018-05-09 06:27:11 +02:00
tastytea 091a27e412
added unescape_html 2018-05-09 06:09:47 +02:00
tastytea bbdcf70efd
Added support for passing exceptions 2018-04-10 10:17:46 +02:00
tastytea 844fb2c577
Replaced uint16_t with uint_fast16_t, refactoring 2018-04-02 01:47:44 +02:00
tastytea d3193c08a0
Header has to match completely in get_header() 2018-03-11 15:30:02 +01:00
tastytea 90c2941b5d
Bugfix: website in URL generated by register_app1() is now escaped. 2018-03-07 17:38:07 +01:00
tastytea 59da12f520
Added get_instance() 2018-03-07 10:27:27 +01:00
tastytea a7c96cf30e
Incremented all error codes by 10 2018-02-28 22:42:26 +01:00
tastytea e6b5869ca8
fixed missing return statements 2018-02-28 08:00:34 +01:00
tastytea aa9b7b0db7
Re-added urlencode() for backwards-compatibility. Marked as deprecated. 2018-02-28 07:51:49 +01:00
tastytea db7bf85142
Changed register_app[12], deprecated old versions 2018-02-28 07:00:24 +01:00
tastytea f9b6009b57
Enable access to HTTP headers 2018-02-25 23:20:02 +01:00
tastytea 505849ee2b
Replaced own urlencode() with curlpp::escape() 2018-02-22 03:04:15 +01:00
tastytea 065b9bc6d8
Return new URL on HTTP 301 and 308 2018-02-17 20:05:24 +01:00
tastytea 8222ff6da1
Documentation update, saving access_token 2018-02-11 12:26:42 +01:00
tastytea fec50bc146
app registering support 2018-02-09 22:21:01 +01:00
tastytea 071ebdc607
Binary data can be a filename now. 2018-02-09 20:14:50 +01:00
tastytea ba84233569
Replaced boost::asio with curlpp 2018-02-09 16:01:24 +01:00
tastytea 0a81597e3d
started work on app registering 2018-02-05 14:56:16 +01:00
tastytea 83efdf7ce0
Fixed PATCH, implemented all POST requests 2018-01-22 02:25:09 +01:00
tastytea ac680f1ef5
Added PATC, doesn't work (needs research) 2018-01-21 23:54:42 +01:00
tastytea 1844f3571a
Added percent-encoding 2018-01-17 23:51:59 +01:00
tastytea 5bba324385
Breaking change: parameters is now a multimap, not a vector anymore 2018-01-15 20:23:21 +01:00