Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Ryan Kelly b3b7e90b4f fix(docs): Include "displayName" in example profile response. (#326) r=@vladikoff,@eoger
Fixes #325
2018-06-19 22:33:24 -04:00
Ryan Kelly afdbcf1586 feat(amr): Report authentication info in profile data. 2018-03-28 17:47:37 +11:00
Vlad Filippov 9b3366652e
feat(avatars): enable default avatar (#307) r=@rfk
Fixes #295
2018-02-28 14:55:10 -05:00
Vlad Filippov 158eb63a0e
revert(avatars): enable default avatar (#304) (#305) r=@rfk
This reverts commit 01b0e41610.
2018-02-27 22:54:38 -05:00
Vlad Filippov 01b0e41610
feat(avatars): enable default avatar (#304) r=@rfk
Fixes #295
2018-02-26 14:29:24 -05:00
Vlad Filippov fafff0e734 chore(docs): cleanup docs for POST /v1/avatar (#283) 2017-10-03 12:21:20 -04:00
vladikoff 8fde69ebf2 refactor(avatar): remove POST avatar
Fixes #244
2017-05-16 17:11:10 -07:00
vladikoff b4194f09a9 fix(docs): remove old docs 2016-11-23 14:44:56 -05:00
vladikoff 2bac088ebe refactor(avatars): remove avatar list and some selected avatar logic 2016-11-23 14:30:34 -05:00
Larissa Gaulia 954c1a1d46 feat(server): rate limit avatar uploads (#201) r=vladikoff
fixes #132
2016-08-16 00:32:58 -04:00
Michiel de Jong f493869bcd feat(docker): Additional Dockerfile for self-hosting 2016-01-26 09:41:07 +01:00
Sean McArthur a86d0d4d31 feat(openid): make /v1/profile act as the OIDC UserInfo endpoint
Closes #175
2015-12-17 10:51:13 -08:00
Ryan Kelly 835f72442b fix(email): improve handling of 4XX errors from auth server. 2015-12-01 15:45:02 +11:00
Sean McArthur 544e3323c6 feat(display_name): return 204 if user does not have a display name
Closes #144
2015-10-01 10:47:51 -07:00
Zach Carter 45cabf2cc1 Add docs for display name 2015-05-01 10:41:50 -07:00
Sean McArthur cd38187fcd Merge pull request #95 from mozilla/image-sizes2
feat(avatar): add support for multiple image sizes
2015-03-16 12:08:10 -07:00
Sean McArthur 187b076648 feat(avatar): add support for multiple image sizes
When an avatar is uploaded, we will now generate multiple sizes of the
image, to better accommodate various environments that the avatar may
appear.

The sizes generated are based of current constants in the `lib/img/index.js`
module. The `SIZES` constant contains a map of `suffix` to `height/width`
values. The suffix `default` is special cased, and will actually mean no
suffix. Every other value will be appended on the end of the URL, with an
underscore.

The current `SIZES` are:

    {
      small: { h: 100, w: 100 },
      default: { h: 200, w: 200 },
      large: { h 600, w: 600 }
    }

which generate 3 images when an upload occurs:

- https://s3.url/<imageid>_small (100px x 100px)
- https://s3.url/<imageid> (200px x 200px)
- https://s3.url/<imageid>_large (600px x 600px)

Closes #68
Closes #89
2015-03-16 10:40:19 -07:00
Ryan Kelly 0698d434ff fix(docs): note "avatar" field in /v1/profile response 2015-03-11 20:07:30 +11:00
Sean McArthur f80417125e add oauthError
fixes #48
2014-08-27 09:38:09 -07:00
Sean McArthur 5d1ebfa1f0 add docs for DELETE 2014-08-26 15:12:07 -07:00
Sean McArthur e0078b52a1 review fixes, delete route, and more 2014-08-22 16:33:58 -07:00
Sean McArthur 5a6c2932a5 update API docs with new routes and errors 2014-08-14 17:18:16 -07:00
Sean McArthur 0c065619f5 docs!
makes all endpoints GET for now
2014-05-19 16:26:11 -07:00