Introduce avatar and banner and fetch Gravatar to fill avatar during registration
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>
Showing
- js/src/components/Account/Account.vue 2 additions, 2 deletionsjs/src/components/Account/Account.vue
- js/src/components/Event/Event.vue 4 additions, 4 deletionsjs/src/components/Event/Event.vue
- js/src/components/Group/Group.vue 4 additions, 4 deletionsjs/src/components/Group/Group.vue
- lib/eventos/accounts/account.ex 4 additions, 2 deletionslib/eventos/accounts/account.ex
- lib/eventos/accounts/accounts.ex 18 additions, 3 deletionslib/eventos/accounts/accounts.ex
- lib/eventos/accounts/user.ex 4 additions, 3 deletionslib/eventos/accounts/user.ex
- lib/eventos_web/views/account_view.ex 4 additions, 0 deletionslib/eventos_web/views/account_view.ex
- mix.exs 5 additions, 2 deletionsmix.exs
- mix.lock 6 additions, 2 deletionsmix.lock
- priv/repo/migrations/20180126094416_add_avatar_and_banner_to_account.exs 10 additions, 0 deletions...tions/20180126094416_add_avatar_and_banner_to_account.exs
- test/eventos_web/controllers/user_controller_test.exs 10 additions, 1 deletiontest/eventos_web/controllers/user_controller_test.exs
Loading
Please register or sign in to comment