From 3d82323eaaef4c532cf19a2aaede3f260f17b238 Mon Sep 17 00:00:00 2001 From: Alexey Fedechkin Date: Fri, 20 Nov 2020 13:51:34 +0700 Subject: [PATCH 1/3] Update avatars.js increase the maximum avatar size --- models/avatars.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/avatars.js b/models/avatars.js index 2fda031dd..e823dfea5 100644 --- a/models/avatars.js +++ b/models/avatars.js @@ -1,7 +1,7 @@ Avatars = new FS.Collection('avatars', { stores: [new FS.Store.GridFS('avatars')], filter: { - maxSize: 72000, + maxSize: 520000, allow: { contentTypes: ['image/*'], }, From cbf3bcfe1c99d6ddcbfe58d60ca676028568a16a Mon Sep 17 00:00:00 2001 From: Alexey Fedechkin Date: Fri, 20 Nov 2020 14:03:46 +0700 Subject: [PATCH 2/3] Update en-GB.i18n.json --- i18n/en-GB.i18n.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/en-GB.i18n.json b/i18n/en-GB.i18n.json index acb7dab19..873b4a562 100644 --- a/i18n/en-GB.i18n.json +++ b/i18n/en-GB.i18n.json @@ -120,7 +120,7 @@ "attachmentDeletePopup-title": "Delete Attachment?", "attachments": "Attachments", "auto-watch": "Automatically watch boards when they are created", - "avatar-too-big": "The avatar is too large (70KB max)", + "avatar-too-big": "The avatar is too large (520KB max)", "back": "Back", "board-change-color": "Change colour", "board-nb-stars": "%s stars", From d667554686a44dbc0d6c8119e913d9a983c512cc Mon Sep 17 00:00:00 2001 From: Alexey Fedechkin Date: Fri, 20 Nov 2020 14:04:16 +0700 Subject: [PATCH 3/3] Update en.i18n.json --- i18n/en.i18n.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index b11eb4bf0..9133211d8 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -120,7 +120,7 @@ "attachmentDeletePopup-title": "Delete Attachment?", "attachments": "Attachments", "auto-watch": "Automatically watch boards when they are created", - "avatar-too-big": "The avatar is too large (70KB max)", + "avatar-too-big": "The avatar is too large (520KB max)", "back": "Back", "board-change-color": "Change color", "board-nb-stars": "%s stars",