index
:
mastodonpp
main
C++ wrapper for the Mastodon and Pleroma APIs. This mirror exists as a backup in case the original project is ever gone from elsewhere on the Net.
tastytea
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
instance.cpp
Commit message (
Collapse
)
Author
Age
*
Reformat source files.
tastytea
2020-11-13
|
*
ObtainToken: Change grant_type to authorization_code.
tastytea
2020-11-13
|
|
|
|
client_credentials worked before but not anymore. 🤷
*
Define copy constructor for instance.
tastytea
2020-03-21
|
|
|
|
|
Needed because the underlying CURLWrapper is not copied but freshly created, so access_token, proxy, cainfo and useragent have to be set.
*
Set access token in CURLWrapper too if it is set in Instance.
tastytea
2020-03-21
|
*
Extract post formats via regex.
tastytea
2020-01-14
|
*
Use regex to extract NodeInfo addresses.
tastytea
2020-01-14
|
*
Use regex to extract max_toot_chars.
tastytea
2020-01-14
|
*
Move types into types.hpp and add answer_type::next() and prev().
tastytea
2020-01-14
|
*
Simplify connection setup.
tastytea
2020-01-12
|
|
|
|
By adding CURLWrapper::setup_connection_properties.
*
Add Instance::ObtainToken.
tastytea
2020-01-12
|
*
Marked some functions noexcept.
tastytea
2020-01-12
|
*
Return default max chars on exception in get_max_chars().
tastytea
2020-01-11
|
*
Add Instance::get_post_formats().
tastytea
2020-01-11
|
*
Add Instance::get_nodeinfo().
tastytea
2020-01-11
|
*
Add missing header.
tastytea
2020-01-11
|
*
Replace string with string_view where possible.
tastytea
2020-01-08
|
*
Add support for parameters (GET).
tastytea
2020-01-08
|
*
Renamed return_types.hpp to answer.hpp.
tastytea
2020-01-06
|
*
Query max_toot_chars the first time get_max_chars() is called.
tastytea
2020-01-06
|
*
Change signature of Instance.
tastytea
2020-01-06
|
*
Refactored constructor of Instance.
tastytea
2020-01-05
|
*
Make assignment to _max_chars clearer.
tastytea
2020-01-05
|
*
Query instance for max_toot_chars.
tastytea
2020-01-05
|
*
Instance: Add getters for hostname, baseuri and access_token.
tastytea
2020-01-05
|
*
Move low-level network stuff to CURLWrapper.
tastytea
2020-01-04
|
*
Silence some linter warnings I can't do anything about.
tastytea
2020-01-04
|
*
Only initialize libcurl once.
tastytea
2020-01-04
|
*
Add curl initialization.
tastytea
2020-01-04
|
*
Use Instance and Request classes.
tastytea
2020-01-03