Limit files upload (#10878)

* Limit files upload

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* Max size limit

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* Add storage usage and adjust styles

Signed-off-by: Artem Savchenko <armisav@gmail.com>

* Use mb for file size limit

Signed-off-by: Artem Savchenko <armisav@gmail.com>

---------

Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
Artyom Savchenko
2026-06-16 15:20:48 +07:00
committed by GitHub
parent 9eef305642
commit cfa72c2dac
51 changed files with 2503 additions and 81 deletions
+8
View File
@@ -295,6 +295,14 @@
"safeForSimultaneousRushProcesses": true,
"shellCommand": "cd ./dev && docker compose -f docker-compose.yaml -f docker-compose.min.yaml up -d --force-recreate"
},
{
"commandKind": "global",
"name": "docker:up:ext",
"summary": "Up extended development stack with billing + payment",
"description": "Start extended docker compose (docker-compose.yaml + docker-compose.ext.yaml) with the optional billing and payment services enabled. Required env: STRIPE_API_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_SUBSCRIPTION_PLANS (or POLAR_* equivalents).",
"safeForSimultaneousRushProcesses": true,
"shellCommand": "cd ./dev && docker compose -f docker-compose.yaml -f docker-compose.ext.yaml up -d --force-recreate"
},
{
"commandKind": "global",
"name": "docker:up:pg",
+7 -1
View File
@@ -16427,6 +16427,9 @@ importers:
'@hcengineering/account-client':
specifier: workspace:^0.7.25
version: link:../../foundations/core/packages/account-client
'@hcengineering/attachment':
specifier: workspace:^0.7.0
version: link:../attachment
'@hcengineering/billing':
specifier: workspace:^0.7.0
version: link:../billing
@@ -37730,6 +37733,9 @@ importers:
'@hcengineering/analytics-service':
specifier: workspace:^0.7.19
version: link:../../../foundations/core/packages/analytics-service
'@hcengineering/billing':
specifier: workspace:^0.7.0
version: link:../../../plugins/billing
'@hcengineering/core':
specifier: workspace:^0.7.26
version: link:../../../foundations/core/packages/core
@@ -61595,7 +61601,7 @@ snapshots:
node-loader@2.0.0(webpack@5.102.1):
dependencies:
loader-utils: 2.0.4
webpack: 5.102.1(esbuild@0.25.12)(webpack-cli@5.1.4)
webpack: 5.102.1
node-localstorage@2.2.1:
dependencies: