Also it now saves current actor in localStorage and initalizes it in
Apollo Cache (just like user stuff). This allows not relying on
loggedPerson query anymore.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Use Upload Media logic from Pleroma
Backend changes for picture upload
Move AS <-> Model conversion to separate module
Front changes
Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Rename avatar to avatar_url, same with header.
Add a comment to explain why the tweak with HTTPoison and TLS1.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Rename avatar to avatar_url
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
rename old avatar properties in front-end to avatar_url
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
fix change gravatar from ?d= to ?default=
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
reorganize aliases and imports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
set avatar url only when gravatar exists, add a test for that case
Signed-off-by: Thomas Citharel <tcit@tcit.fr>