Sean McArthur
bc86f16887
fix(avatars): add configuration to adjust avatar upload size
...
Closes #158
2015-10-20 09:06:59 -07:00
Sean McArthur
cf1dc35dfb
fix(server): prevent null exception when oauth server is down
...
Closes #151
2015-10-12 12:27:27 -07: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
vladikoff
18cc9b9318
feat(logging): add avatar.get activity event
...
Fixes #146
2015-09-21 20:31:07 -04:00
Sean McArthur
8ac1a429c8
Merge pull request #137 from mozilla/rfk/display-name-allowed-chars
...
fix(display_name): Don't allow control characters in the display_name field
2015-08-20 10:12:26 -07:00
Sean McArthur
3bd6b14d29
fix(server): return errno 104 if oauth server is drunk
...
Closes #121
2015-08-20 09:32:50 -07:00
Ryan Kelly
5b9e20d224
fix(display_name): Don't allow control characters in the display_name field.
...
Fixes #126 .
2015-08-20 16:15:40 +10:00
Sean McArthur
79d98a3d5e
feat(events): add events to delete user data when account is deleted
...
Closes #127
2015-08-17 12:01:06 -07:00
Zachary Carter
e27223ddcb
fix(display_name): allow a blank display name
2015-07-15 16:10:33 -07:00
Sean McArthur
6352dc3c19
Merge pull request #115 from eoger/issue-112-etags-profile
...
feat(profile): add etag to profile API endpoint
2015-06-02 16:45:53 -07:00
Edouard Oger
dcf1bb64ec
feat(profile): add etag to profile API endpoint
2015-06-02 16:18:46 -07:00
Edouard Oger
07569c5d53
feat(avatar): Add etag to the profile avatar API endpoint
2015-06-02 16:07:45 -07:00
Sean McArthur
35a4875f86
feat(profile): return all /profile pieces that scopes allow
...
Closes #108
2015-04-29 18:09:23 -07:00
Zachary Carter
ad6488eb40
feat(displayName): add a profile table with a displayName field
2015-04-09 17:35:13 -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
Sean McArthur
ec25152b43
feat(images): delete images from s3 when asked to
2015-02-12 12:15:22 -08:00
Sean McArthur
b9f00df078
test(mocks): improve state of mocking in tests
2015-02-09 17:42:58 -08:00
Ryan Kelly
902d0e68ca
fix(avatars): properly detect and report image upload errors
...
Ensure that failures in the image-processing worker are reported back to
the client, rather than being silently ignored.
Closes #79
2014-11-17 11:27:25 +11:00
Zachary Carter
85ffefc9d0
fix(avatars): return the profile image id after a post or upload
2014-09-12 16:13:34 -07:00
Sean McArthur
be0afd84b0
use uid for USERID
2014-09-08 13:35:47 -07:00
Sean McArthur
f76900247c
returns avatar for /profile
...
- also fixed the crap out of the tests, all those unique hexes were
confused
2014-09-08 11:44:32 -07:00
Sean McArthur
12e8e068b1
fix avatar ids to be 32-hex
2014-08-22 16:54:09 -07:00
Sean McArthur
e0078b52a1
review fixes, delete route, and more
2014-08-22 16:33:58 -07:00
Sean McArthur
aff6cf2776
fix mysql tests
2014-08-21 11:34:59 -07:00
Sean McArthur
8733591a71
resolve fxa hosted image urls
2014-08-14 09:53:58 -07:00
Sean McArthur
f9c054a5ca
avatars wip
2014-08-13 18:50:19 -07:00
Sean McArthur
13083deaf3
remove code related to avatars
2014-06-04 11:17:28 -07:00
Sean McArthur
d4876384fd
fix tests to use GET
2014-05-19 16:38:15 -07:00
Sean McArthur
938e1c00ab
add a /profile endpoint
...
fixes #21
2014-05-16 17:29:51 -07:00
Sean McArthur
f8eda1a594
add a /v1/uid endpoint
...
fixes #20
2014-05-16 14:47:22 -07:00
Sean McArthur
5d616a064e
added shrinkwrap
2014-04-30 16:36:25 -07:00
Sean McArthur
ebdb981c0d
remove from tests, mocha supports promises
2014-04-02 16:07:01 -07:00
Sean McArthur
208ddf758f
PROFILE EMAIL ENDPOINT
2014-04-02 16:01:26 -07:00
Sean McArthur
f520203184
upload an avatar
...
fixes #1
2014-02-13 14:38:38 -08:00
Sean McArthur
0764634453
mysql works
2014-02-12 11:46:50 -08:00
Sean McArthur
65771a4294
fix mysql errors
2014-02-12 10:15:49 -08:00
Sean McArthur
c57a64a48b
add mysql db driver
2014-02-11 22:08:56 -08:00
Sean McArthur
bc9b63fb1e
POST /avatar and GET /user
2014-02-10 13:05:42 -08:00