Commit Graph

180 Commits

Author SHA1 Message Date
Alex Yong 434e49bf59
fix: abort upload behavior to properly handle server-side deletion and frontend state reset (#3114)
* Fixed an issue where aborting an upload would not delete the partial upload from the server. Also fixed an issue where the abortAll function wasn't resetting and reloading the frontend properly

* Add server-side tus delete handler

---------

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
2024-04-25 01:23:44 +02:00
Oleg Lobanov ae0af1f996
chore: fix golangci-lint errors 2024-04-01 18:24:06 +02:00
kloon15 5100e587d7
feat: migrate to vue 3 (#2689)
---------

Co-authored-by: Joep <jcbuhre@gmail.com>
Co-authored-by: Omar Hussein <omarmohammad1951@gmail.com>
Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
2024-04-01 17:18:22 +02:00
ねらひかだ 5c5ab6b875
fix: files and directories are created with the correct permissions (#2966) 2024-01-30 10:12:38 +01:00
Oleg Lobanov da1fe7c9d7
fix: disable static resource files listing 2023-11-02 22:23:20 +01:00
Dardan 7fabadc871
feat: make user session timeout configurable (#2753)
Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
2023-11-02 22:01:56 +01:00
bufubaoni edd808f124
fix: avoid the front-end calling api/renew loop (#2792) 2023-11-02 09:02:51 +01:00
Oleg Lobanov 36af01daa6
fix: tus upload with cloudflare proxy
closes #2593
2023-09-15 00:39:37 +02:00
kloon15 8838a09cf5
refactor: migrate frontend tooling to vite 4 (#2645)
---------

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
2023-08-26 13:55:51 +02:00
M A E R Y O 289c8e6f32
fix: 403 error error when uploading (#2598)
Co-authored-by: 김종성 <ziippy@naver.com>
2023-08-08 22:29:03 +02:00
Oleg Lobanov efd41cc4c1
build(backend): upgrade golangci-lint to v1.53.3 2023-07-31 12:51:00 +02:00
M A E R Y O 912f27a9e3
fix: add directory creation code to partial upload handler (#2575) (#2580) 2023-07-31 12:38:11 +02:00
Tobias Goerke 7b35815754
feat: integrate tus.io for resumable and chunked uploads (#2145) 2023-07-28 18:15:44 +02:00
Anchit Bajaj b508ac3d4f
fix: xss vulnerability in /api/raw (#2570) (#2572) 2023-07-27 11:42:27 +02:00
Oleg Lobanov 10d628aecc
chore: upgrade golangci-lint to 1.51.1 2023-02-16 09:19:44 +01:00
Gabriel Alencar 428c1c606d
feat: add a new setting that disables the display of the disk usage (#2136) 2023-02-15 23:30:48 +01:00
Ramires Viana dda9a389f3 feat: hook authentication method 2022-07-20 16:40:49 +02:00
Oleg Lobanov 80030dee32
fix: disable cookie auth for non GET requests 2022-07-19 00:39:02 +02:00
Oleg Lobanov d94acdd89a
fix: use correct field name in user put api (#2026) 2022-07-05 16:55:31 +02:00
Oleg Lobanov 8118afd0ac
build(backend): upgrade golangci-lint to 1.46.2 (#1991) 2022-06-13 16:13:10 +02:00
langren1353 577c0efa9c
fix: don't calculate usage for files (#1973)
* fix: use incorrect suffix and return no 500(#1972、#1967)

* chore: set progress bar to small

Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>

* chore: refactoring

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
2022-06-13 12:50:39 +02:00
Oleg Lobanov 02730bb9bf
fix: set correct scope when user home creation is enabled 2022-06-03 16:04:15 +02:00
Oleg Lobanov d1d8e3e340
feat: add disk usage information to the sidebar 2022-06-02 13:16:37 +02:00
Ramires Viana 5da9d74da6 fix: allow CSP inline styling 2022-05-05 15:38:39 +00:00
Ramires Viana c3bd1188aa fix: expired token error 2022-05-04 12:58:19 +00:00
Oleg Lobanov 7c9a75e725
build(backend): bump dependency versions 2022-05-04 01:00:42 +04:00
Oleg Lobanov bcef7d3f73
chore: make linter happy 2022-04-30 13:49:33 +04:00
Oleg Lobanov 6366cf0b18
fix: display user scope for admin users (#1834) 2022-02-22 10:58:22 +01:00
Oleg Lobanov c782f21b0f
fix: correctly handle non-ascii passwords for shared resources 2022-02-21 20:47:28 +01:00
Oleg Lobanov 0942fc7042
fix: don't expose scope for non-admin users 2022-02-21 20:17:42 +01:00
Oleg Lobanov c1987237d0
feat: use real image path to calculate cache key 2022-02-21 19:59:22 +01:00
Adrian 8888b9f446 feat: add gallery view mode 2022-02-10 17:11:24 +01:00
Oleg Lobanov 6eb3ab0635
fix: upgrade vulnerable versions of the library 2021-12-21 00:17:26 +01:00
Oleg Lobanov f81857acce
build: refactor makefile 2021-12-20 23:36:50 +01:00
Oleg Lobanov 74b7cd8e81
fix: security issue in command runner (closes #1621) 2021-10-31 17:13:16 +01:00
lilihx 0426629a59
feat: add ability to select file modified time format (#1536) 2021-09-11 14:12:51 +02:00
Ryan Qian 0358e42d2c
feat: add manifest theme color param (#1542) 2021-09-10 17:08:15 +02:00
Oleg Lobanov 4c3099a086
fix: internal server error if --disable-preview-resize flag is set (closes #1510) 2021-08-23 10:03:11 +02:00
Ramires Viana 23d646c456 fix: escape quote on index template
fixes #1501
2021-08-20 14:43:06 +02:00
Ramires Viana c63cc5a2d2 fix: file caching directive 2021-08-20 14:43:06 +02:00
Oleg Lobanov 34d7d2c8c4
chore: upgrade golangci-lint 2021-07-26 12:00:05 +02:00
Oleg Lobanov 201329abce
chore: add Content-Security-Policy header 2021-07-26 11:08:39 +02:00
Oleg Lobanov f2b5dd3787
chore: don't break folder download if any file processing causes an error 2021-07-26 10:41:56 +02:00
Oleg Lobanov 5072bbb2cb
fix: break resource create/update handlers on error (closes #1464) 2021-07-24 15:33:54 +02:00
Oleg Lobanov 6b19ab6613
fix: don't remove files on unsuccessful updates (closes #1456) 2021-07-24 15:32:24 +02:00
Ramires Viana 209f9fa77f fix: omit file content 2021-04-23 12:04:02 +00:00
Ramires Viana aa172b8bb5 feat: gzip encoding for static js files 2021-04-22 12:48:45 +00:00
Ramires Viana 4711e7bcd5 chore: set public path on the fly 2021-04-20 19:51:10 +00:00
Ramires Viana 8a47aee137 chore: split preview creation logic 2021-04-19 13:16:48 +00:00
Ramires Viana 190cb99a79 feat: browser cache directives 2021-04-19 12:49:40 +00:00