Add avatar max size limit
authorChocobozzz <me@florianbigard.com>
Wed, 3 Jan 2018 10:10:40 +0000 (11:10 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 3 Jan 2018 10:10:40 +0000 (11:10 +0100)
commit01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea
tree9e01809f09adbcd512a8dedf73093a123f88e02c
parent47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04
Add avatar max size limit
17 files changed:
client/src/app/account/account-settings/account-settings.component.html
client/src/app/account/account-settings/account-settings.component.scss
client/src/app/account/account-settings/account-settings.component.ts
client/src/app/core/server/server.service.ts
package.json
server.ts
server/controllers/api/config.ts
server/helpers/custom-validators/activitypub/actor.ts
server/helpers/custom-validators/activitypub/misc.ts
server/initializers/constants.ts
server/middlewares/validators/users.ts
server/models/activitypub/actor.ts
server/models/server/server.ts
server/tests/api/check-params/users.ts
server/tests/api/fixtures/avatar-big.png [new file with mode: 0644]
shared/models/server-config.model.ts
yarn.lock