feat: files up to 4 GB again (Dropstar, 2026-10-28)
All checks were successful
Build and deploy / Validate source (push) Successful in 1m5s
Build and deploy / Integration suite on a real stack (push) Successful in 5m22s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m24s

It was 5 GB, then 1 GB from 2026-10-21. ClamAV keeps scanning up to its own
2000 MiB limit; a larger file passes by the file-format check, as before
the 1 GB limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-28 09:58:42 -03:00
parent 312e1e3aa3
commit ee6344dc74
10 changed files with 20 additions and 19 deletions

View File

@@ -839,7 +839,7 @@ h2 em{font-style:normal;color:var(--laranja)}
<div class="zona" id="zona" tabindex="0" role="button">
<div class="ico"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="m17 8-5-5-5 5"/><path d="M12 3v12"/></svg></div>
<b id="zTit">Arraste aqui</b><span id="zSub"></span>
<span id="zLimite">Até 1 GB por arquivo.</span>
<span id="zLimite">Até 4 GB por arquivo.</span>
<span class="bt">ou escolher no computador</span>
<span class="zOutra"><b id="zOutra">Adicionar outra folha</b> ou arraste aqui</span>
<span class="zManual" id="zManual">Tem <b>CDR, AI, PSD ou TIFF</b>? Pode mandar também.

View File

@@ -74,7 +74,7 @@ async function sel(fs){
const fora = fs.filter(f=>!regra.test(f.name));
fs = fs.filter(f=>regra.test(f.name));
recusa(fora);
const max=window.dtfUploadMaxBytes||1073741824;
const max=window.dtfUploadMaxBytes||4294967296;
const grandes=fs.filter(f=>f.size>max);
if(grandes.length){
const el=$('recusa');