Commit Graph

334 Commits

Author SHA1 Message Date
cadf0d777e
Version bump 0.5.7.
Forgot to bump the version in the CMake recipe, packages couldn't be
built.
2020-11-13 15:07:41 +01:00
aeb7396961
Generate API documentation with CMake.
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-13 14:25:22 +01:00
f4bd5abd01
Fix some warnings.
Avoid copy, initialize members in header, initialize variables.
2020-11-13 14:17:44 +01:00
c9211e621e
Reformat examples. 2020-11-13 14:05:28 +01:00
3a93aec941
Reformat tests. 2020-11-13 14:01:09 +01:00
9efc8d2dfd
Reformat source files. 2020-11-13 14:00:03 +01:00
8c7493e68e
Reformat header files. 2020-11-13 13:45:59 +01:00
63d2497966
Update .clang-tidy, add .clang-format. 2020-11-13 13:41:13 +01:00
4da6929392
Add note about scopes in documentation for ObtainToken::step_1().
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-13 13:33:24 +01:00
24cb2d523d
ObtainToken: Change grant_type to authorization_code.
All checks were successful
continuous-integration/drone/push Build is passing
client_credentials worked before but not anymore. 🤷
2020-11-13 13:03:49 +01:00
41f470d2aa
Add read to scopes in obtain-token example.
Without that, we cannot very our credentials. Mastodon needs
read::accounts, Pleroma needs read.
2020-11-13 13:02:52 +01:00
e563731efe
Avoid copies, fix warnings. 2020-11-13 12:01:18 +01:00
ef11508ca1
Bump maximum CMake version to 3.16.
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-19 19:33:34 +02:00
c2bc1b5e7b
Only use add_compile_definitions with CMake >= 3.12. 2020-05-19 19:32:34 +02:00
3c23f6d1a0
Version bump 0.5.5. 2020-05-19 19:26:51 +02:00
3909187f7a
Add -DNDEBUG for non-debug builds.
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-19 19:24:21 +02:00
2ada3b406b
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-18 15:44:12 +02:00
d20818221d
Add Support for Pleroma 2.0.2.
All checks were successful
continuous-integration/drone/push Build is passing
Add endpoint: /api/pleroma/admin/users/:nickname/update_credentials
2020-04-18 15:25:49 +02:00
f16e6d61e0
Remove unused using declaration. 2020-04-18 15:25:49 +02:00
576c84aa36
Version bump 0.5.4.
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-21 12:26:42 +01:00
aea4b0f492
Merge branch 'develop' into main
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-03-21 12:25:54 +01:00
5bf1e9bf25
Define copy constructor for instance.
All checks were successful
continuous-integration/drone/push Build is passing
Needed because the underlying CURLWrapper is not copied but freshly created, so
access_token, proxy, cainfo and useragent have to be set.
2020-03-21 11:38:34 +01:00
251d8a975c
Set access token in CURLWrapper too if it is set in Instance. 2020-03-21 11:26:23 +01:00
b5144fd9ce
Ensure that the first parameter in all GET calls is prefaced with ?.
All checks were successful
continuous-integration/drone/push Build is passing
All calls to CURLWrapper::add_parameters_to_uri() but the first used & for all
parameters, because the boolean keeping track was implemented wrong.
2020-03-20 16:29:16 +01:00
0bbc6ac4c7
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-20 14:48:59 +01:00
abd7079c5a
Allow argument in constructor of Connection to be const.
Some checks are pending
continuous-integration/drone/push Build is running
2020-03-20 14:47:44 +01:00
ce27005e9c
Version bump 0.5.2.
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-20 13:53:13 +01:00
778b7c3a5f
Merge branch 'develop' into main 2020-03-20 13:52:59 +01:00
9d37bebdc8
Add missing constructors and assignment operators
All checks were successful
continuous-integration/drone/push Build is passing
… to Instance and Connection.
2020-03-20 13:49:30 +01:00
fc32e8ac0a
Add copy constructor for CURLWrapper.
The copy constructor does the same as the constructor. A new CURL handle is used
for the “copy”.
2020-03-20 13:49:20 +01:00
d1b3455584
Version bump 0.5.1.
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-12 12:15:39 +01:00
f983acb910
Merge branch 'develop' into main 2020-03-12 12:15:19 +01:00
da1c2ba409
Handle more than one replacement in replace_parameter_in_uri().
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-12 12:12:31 +01:00
00056c224e
Update parameter replacements for Pleroma 2.0.0.
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-12 11:40:11 +01:00
854d2f67af
Updated Pleroma endpoints to version 2.0.0.
* v1::
  * pleroma_conversations_id_read
  * pleroma_accounts_id_scrobbles
  * pleroma_scrobble
  * pleroma_statuses_id_reactions_emoji
  * pleroma_statuses_id_reactions

* pleroma::
  * admin_users_nickname_toggle_activation
  * admin_users_permission_group_permission_group
  * admin_users_activate
  * admin_users_deactivate
  * admin_instances_instance_statuses
  * admin_statuses
  * admin_users_force_password_reset
  * admin_grouped_reports
  * admin_reports_id_notes
  * admin_reports_report_id_notes_id
  * admin_restart
  * admin_config_descriptions
  * admin_moderation_log
  * admin_reload_emoji
  * admin_users_confirm_email
  * admin_users_resend_confirm_email
  * admin_stats
  * emoji_packs
  * emoji_packs_name
  * emoji_packs_name_update_file
  * emoji_packs_name_update_metadata
  * emoji_packs_download_from
  * emoji_packs_list_from
  * emoji_packs_name_download_shared
2020-03-12 11:38:41 +01:00
e1a2b4e843
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-16 14:09:01 +01:00
b80e40ada1
Update contribution guidelines.
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-16 14:08:17 +01:00
1c3efd3589
Typo: A space too much. 2020-02-12 20:22:47 +01:00
ac07daddce
Make map of named entities into 2 columns.
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-12 17:13:17 +01:00
58aebfc4c0
Mark unescape_html() nodiscard.
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-03 13:06:01 +01:00
965780fbba
Version bump 0.5.0.
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-02 15:26:43 +01:00
95696ba5ca
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-02 15:18:31 +01:00
3bbc24ba57
Decrease loops drastically in unescape_html().
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-02 15:02:19 +01:00
af1993c71f
Add hyperlinks to git commands in contributing guidelines. 2020-02-02 15:01:50 +01:00
fa1cbbeb91
Merge branch 'develop' into main
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-31 03:57:55 +01:00
185ab91978
Rename buffer_mutex → _buffer_mutex.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-28 08:11:56 +01:00
cdd7a465d2
Update .clang-tidy. 2020-01-28 08:03:16 +01:00
2bbead14e5
Add .clang-tidy. 2020-01-27 03:19:47 +01:00
56cabf48a8
Add clang-tidy exceptions for http_method. 2020-01-27 01:09:20 +01:00
4dc7dbb4e6
CMake: We are already in the build directory. 2020-01-27 01:08:45 +01:00