mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
upload: Limit total size of files uploaded by a user to 1GB.
Fixes #3884.
This commit is contained in:
committed by
Tim Abbott
parent
777b7d4cb7
commit
866a7b06b2
@@ -1109,6 +1109,10 @@ $(function () {
|
||||
case 'REQUEST ENTITY TOO LARGE':
|
||||
msg = i18n.t("Sorry, the file was too large.");
|
||||
break;
|
||||
case 'QuotaExceeded':
|
||||
msg = i18n.t("Upload would exceed your maximum quota."
|
||||
+ " Consider deleting some previously uploaded files.");
|
||||
break;
|
||||
default:
|
||||
msg = i18n.t("An unknown error occured.");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user