Henrique Dias
0b925cbca9
fix: unblock stalled and frozen uploads
...
A TUS PATCH rejected before its body was read left the client still streaming
a chunk. net/http gives up draining an unread request body after 256KiB and
then closes the connection, so the status we replied with was lost and the
browser saw a bare transport error instead. The client could not tell a
conflict from a network fault, retried blindly, and the upload stalled after
the first chunk — while curl, which reads the response as it writes, still
reported the status and appeared to work. Drain what is left of a rejected
chunk so the answer arrives on a connection that stays usable. The explicit
r.Body.Close() had to go with it: it ran before the drain, and the server
closes the request body itself once the handler returns.
Pressing Upload awaited a recursive listing of the whole destination subtree
before a single byte was sent, with no sign that anything was happening. On a
large destination that reads as a dead button, and the walk kept running after
the client gave up, then reported the failed write as a 500. A flat upload can
only collide with a direct child of the destination, so walk recursively only
for folder uploads, stop the walk once the request is done, and show the action
as busy while the destination is checked.
Along the way: a failed upload was credited as fully sent, so the progress bar
reported 100% when nothing had been written; the progress timer was recreated
without clearing the previous one; and the chunk size field threw on a value
with no unit and raced its own debounce on submit, so it appeared to refuse
every change.
Fixes #6006
Refs #5987
2026-07-27 16:28:17 +02:00
renovate[bot]
9dd7c7d099
chore(deps): update dependency postcss to v8.5.18 [security] ( #6047 )
2026-07-27 07:47:17 +02:00
renovate[bot]
91e68edb8c
chore(deps): update dependency dompurify to v3.4.12 [security] ( #6046 )
2026-07-27 07:41:48 +02:00
Henrique Dias
0dd8905886
Revert "chore(deps): update all non-major dependencies ( #5946 )"
...
This reverts commit 032271bafa .
2026-07-26 08:00:07 +02:00
renovate[bot]
032271bafa
chore(deps): update all non-major dependencies ( #5946 )
2026-07-26 07:58:26 +02:00
Henrique Dias
67e893eee7
fix: use aria-selected
2026-07-25 22:09:01 +02:00
transifex-integration[bot]
6232686e22
chore: update translations
2026-07-25 07:30:18 +02:00
superafun
b21b1245ae
fix: accessibility and security improvements ( #6033 )
2026-07-25 07:30:02 +02:00
Archit Goyal
7361d91ea2
fix(upload): handle encoded path conflicts safely ( #6040 )
2026-07-25 07:29:49 +02:00
transifex-integration[bot]
f0785391bf
chore: update translations ( #6019 )
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-07-18 07:20:43 +02:00
transifex-integration[bot]
2651260a1c
chore: update translations
2026-07-04 08:24:37 +02:00
Henrique Dias
4470288ba1
fix: deduplicate PT language
2026-07-04 08:24:17 +02:00
林桉
dfc2e887e1
fix: avoid recursive conflict checks for copy and move ( #6009 )
2026-07-04 08:13:31 +02:00
Aditya Raj Singh
aac2516637
fix(preview): keep the EPUB table-of-contents button clear of the header ( #6010 )
2026-07-04 08:09:10 +02:00
Henrique Dias
ec13054671
fix(share): stop exposing password hash and bypass token in share API (GHSA-833g-cqhp-h72j)
...
The share management endpoints serialized the storage struct directly, returning
the bcrypt password_hash (crackable offline) and the bypass token for every
share an authenticated caller could list, with admins seeing them for all users.
Return a response DTO that exposes only whether a share is password-protected
(hasPassword) and drops both secrets. The storage struct keeps its tags so the
secrets stay persisted and the server-side auth/public flows are unchanged.
Updates the frontend to use hasPassword and adds a regression test.
2026-06-27 09:08:56 +02:00
Henrique Dias
2472fbcd30
fix: normalize recursive listing paths to forward slashes ( #6003 )
2026-06-27 08:01:26 +02:00
transifex-integration[bot]
6209f8fddd
chore: update translations ( #5990 )
2026-06-27 07:19:42 +02:00
Henrique Dias
a1a514dcbb
fix: copy/move allow overwrite
2026-06-06 08:28:31 +02:00
Henrique Dias
5f7311d324
refactor: cleanup and simplify upload.ts
2026-06-06 08:15:16 +02:00
Puneet Dixit
c1abe8f561
fix: await copy move conflict detection ( #5978 )
2026-06-04 17:16:30 +02:00
Puneet Dixit
0bb2768754
fix: keep mobile file sort controls visible ( #5977 )
2026-06-04 12:49:30 +02:00
transifex-integration[bot]
103683069e
chore: Updates for project File Browser ( #5947 )
2026-06-03 11:25:04 +02:00
Ariel Leyva
5328e80d2e
fix: parse csv files with uneven columns in their rows ( #5965 )
2026-06-03 11:22:05 +02:00
Jose Olcese
6ad8160aa3
fix(router): handle undefined catchAll param on root redirect ( #5955 )
2026-05-21 15:39:45 +02:00
transifex-integration[bot]
d978d1ecca
chore: sync translations ( #5945 )
2026-05-17 15:05:08 +02:00
Henrique Dias
e38c28273a
chore: fix typo
2026-05-17 15:00:44 +02:00
transifex-integration[bot]
da2dff0933
chore: sync translations
2026-05-17 14:59:45 +02:00
renovate[bot]
261bca67bc
chore(deps): update all non-major dependencies ( #5929 )
2026-05-17 14:59:19 +02:00
Anthony Geourjon and Henrique Dias
f4e148523e
fix: Fix conflict modal and add a resume transfert option ( #5884 )
...
Co-authored-by: Henrique Dias <mail@hacdias.com >
2026-05-05 14:24:06 +02:00
renovate[bot]
1f22fe65ec
chore(deps): update all non-major dependencies ( #5926 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 14:15:22 +02:00
transifex-integration[bot]
e2bdf6f747
chore: update translations
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-05-05 14:15:09 +02:00
renovate[bot]
d236f1c563
chore(deps): update dependency marked to v18 ( #5897 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 07:18:13 +02:00
hreczkosiej
4edf425a9f
chore(i18n): add a translation for disk usage ( #5916 )
2026-04-28 07:14:10 +02:00
transifex-integration[bot]
a1a7ac4f04
chore: update translations ( #5918 )
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-04-28 07:11:49 +02:00
renovate[bot]
74917c8037
chore(deps): update all non-major dependencies ( #5915 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 07:11:23 +02:00
transifex-integration[bot]
7bd27f5e82
chore: sync translations ( #5901 )
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-04-18 07:50:38 +02:00
Nicholas A. Thompson
9f4288b1b4
docs: Update documentation links in Global.vue ( #5905 )
2026-04-18 07:49:11 +02:00
renovate[bot]
da6b7ac26b
chore(deps): update all non-major dependencies ( #5912 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-18 07:48:22 +02:00
renovate[bot]
9b80a9aa6c
chore(deps): update all non-major dependencies ( #5870 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-11 07:54:27 +02:00
transifex-integration[bot]
0321415a15
chore: pull translations ( #5871 )
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-04-11 07:51:05 +02:00
Brumaire
0fadf28b18
fix(preview): let arrow keys seek video instead of switching files ( #5895 )
2026-04-11 07:48:27 +02:00
Ariel Leyva
876cdb3426
feat: enable copy operation on drag‑and‑drop with ctrl key ( #5882 )
2026-04-04 09:54:19 +02:00
Ariel Leyva
0f39bd055e
fix: check download permission when sharing permission is enabled ( #5875 )
2026-04-04 09:11:21 +02:00
Henrique Dias
126227bb27
fix: disable scripted content in epub
2026-03-28 19:14:02 +01:00
renovate[bot]
8d8cd26d7f
chore(deps): update all non-major dependencies ( #5838 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-28 19:04:25 +01:00
transifex-integration[bot]
0616f6811f
chore: Updates for project File Browser ( #5847 )
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-03-28 18:59:51 +01:00
fabb
432f3e60ff
fix: double slash in TUS upload path when readEntries returns multiple batches ( #5848 )
2026-03-28 18:59:28 +01:00
Henrique Dias
09a26166b4
fix: make perm.share depend on share.download
2026-03-14 08:31:55 +01:00
Henrique Dias
c21af0791a
fix: around languages
2026-03-14 08:12:03 +01:00
transifex-integration[bot]
858eb42651
feat: Updates for project File Browser ( #5807 )
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2026-03-14 07:57:56 +01:00