Transition to MastoAPI: user profile settings
Closes #437 (closed)
This is blocked until the API (/api/v1/accounts/update_credentials
) supports these properties
default_scope,
no_rich_text,
hide_follows,
hide_followers,
show_role
Merge request reports
Activity
also i don't understand the whole refactoring going on there
because the data format for images which the mastoAPI accepts is different than the one the legacy API accepts.
- the legacy API accepts data url (e.g, the result of
canvas.toDataURL
) - the mastoAPI accepts file or blob (e.g, the result of
canvas.toBlob
)
- the legacy API accepts data url (e.g, the result of
doesn't handle updating bio and nickname.
as I mentioned before, they are updated along with the other profile options (e.g,
no_rich_text
) altogether triggered by only one user action (i.e, clicking the submit button).isn't it an overkill to send two API calls to handle one user action regardless we can do it using one call?
there is no mastoapi equivalent to that
which accepts all options of that
Edited by Tae HoonPass options that are accepted and pester BE folk to add missing ones! It's already mentioned in pleroma#674 (closed) too
added 26 commits
-
f2956419...9364964b - 24 commits from branch
pleroma:develop
- 6631ecb2 - Switch to mastoapi for updating avatar
- 11613cd0 - Switch to mastoapi for updating banner
-
f2956419...9364964b - 24 commits from branch
added 1 commit
- 37c3c3c8 - Switch to mastoapi for updating user profile
added 28 commits
-
37c3c3c8...277790e4 - 25 commits from branch
pleroma:develop
- 2738259d - Switch to mastoapi for updating avatar
- 2c6c088f - Switch to mastoapi for updating banner
- 03414f09 - Switch to mastoapi for updating user profile
Toggle commit list-
37c3c3c8...277790e4 - 25 commits from branch
added 33 commits
-
5e2dec8b...01d05316 - 29 commits from branch
pleroma:develop
- 84c6454d - Switch to mastoapi for updating avatar
- 889389fd - Switch to mastoapi for updating banner
- c5aa30e1 - Switch to mastoapi for updating user profile
- f7eb0d98 - Update avatar uploading
Toggle commit list-
5e2dec8b...01d05316 - 29 commits from branch