70 Commits

Author SHA1 Message Date
97a82423a4 fix (tus): edge case on tus protocol 2024-12-04 16:05:28 +11:00
dba8bc000a fix (cloudflare): cloudflare cache issue 2024-12-03 23:35:15 +11:00
1b47b613b6 fix (cloudflare): cloudflare chunked issue 2024-12-03 23:14:13 +11:00
177961c62d fix (plg_video_thumbnail): error when backend doesn't support fileseek 2024-12-02 17:24:03 +11:00
0dfa9b3335 fix (panic): concurrent map access
this fix a panic that can be replicated using the video thumbnail
plugin, opening up a page with a lot of videos. Under the hood, the
server would call ffmpeg that would make a bunch of HTTP range requests
that would call the cache concurrently, hence causing the panic
2024-12-02 16:28:38 +11:00
ff67ed97ed feature (thumbnail): video thumbnail plugin
up until now, the stance was to refuse video thumbnail because it's too
slow but really many people don't seem to care that much about it and
keep insisting to have it.

With this solution, it's not in the base build but it gives an
option for those people to make it happen
2024-12-02 15:39:25 +11:00
ac9d1a4980 feature (tus): chunked upload via TUS
instead of inventing a new protocol for chunked upload that can be
resumed, we might as well use something that already exists like TUS.

As such we removed our custom implementation to favor that standard
2024-11-29 15:04:34 +11:00
0dea98d4bd fix (chunked): chunked upload connection close
only close connection when using chunked upload. This is key if you must
use something like to work with Cloudflare
2024-11-28 01:32:41 +11:00
de5e2d9583 fix (cloudflare): proxy with size limit
Cloudflare does limit the size of file upload by an arbitrary number. We
can go around that by using chunked upload but somehow that wasn't
enough, to circumvent that issue, we make it clear to the proxy it
should close the connection and we hope the problem we go away
2024-11-27 23:45:39 +11:00
87a1987219 feature (upload): support for chunked uploads 2024-11-27 00:52:29 +11:00
b87fbe9948 fix (audit): hint to auditor 2024-05-17 03:01:50 +10:00
3b003c3725 feature (authorisation): change authorisation via plugin 2024-05-04 01:39:36 +10:00
be716e6cf9 fix (time): hide time whenever not available 2024-04-22 01:05:20 +10:00
c906a4d264 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2024-04-02 18:57:13 +11:00
3d65a40273 feature (csp): admin option to enable/disable csp
One of the use case for this is to be able to open an html document via
an iframe and have the content of the document to be fully loaded when
we can assume the storage setup in Filestash is trusted
2024-04-02 18:53:34 +11:00
225107005a chore (refactoring): cleanup old code 2024-03-13 00:37:44 +11:00
9e142d5de5 feature (dynamic): make configuration dynamic 2024-03-13 00:18:24 +11:00
86175220cd fix (nfs): improved nfsv3 handling 2024-01-03 17:39:39 +11:00
1f52ea90e4 improve (zip): no need to zip single file 2023-04-28 08:55:53 +10:00
8758cb4b5b fix (unzip): reduce wait time 2023-04-27 20:50:21 +10:00
e05c868740 feature (unzip): extract zip files 2023-04-27 20:10:20 +10:00
8ca7a0e3f9 maintain (path): absolute path
getting things ready to have config coming as a plugin to handle
various distributions
2023-03-02 20:15:56 +11:00
a78e817657 feature (thumbnailer): add plugin type for thumbnail generation 2022-12-02 07:09:11 +11:00
01b418b608 fix (contentType): disable js in file cat API 2022-10-03 00:06:41 +11:00
a82177e719 maintain (ctx): pass app context as pointer 2022-08-30 17:27:23 +10:00
f72b630e50 fix (csp): csp policy on cat
The issue this is fixing is for the plg_opener_htmlframe which does
open html documents as an iframe. Without this, we couldn't load any
js at all which was causing issue to render things like markdown via
external libs and such
2022-05-13 08:43:47 +10:00
0edfdfda86 fix (zip): store error in error.log when zipping content 2022-01-21 01:50:19 +11:00
03996a5239 fix (zip): fix a leak and improve config handling 2022-01-20 17:17:03 +11:00
50920396b7 fix (zip): additional debug information on zip 2022-01-19 18:07:18 +11:00
a91df1637d feature (search): search as a plugin 2022-01-14 16:38:42 +11:00
fd395b0f04 improve (upload): remove multipart for faster upload 2021-10-03 03:18:48 +11:00
be09a0f60f fix (access): UI should show/hide according to plugin meta 2021-09-16 23:21:36 +10:00
c2992b1185 improve (log): additional logging 2021-08-28 15:44:08 +10:00
f7a4e52703 maintain (go): go format 2021-08-22 16:47:09 +10:00
b26bdfa1c6 merge 2021-08-22 13:11:22 +10:00
d581e8b4ca fix (multipart): remove multipart form data - #401
* added line to fix caching issue on upload, where cache does not clear

* removed comments and added error logging line

Co-authored-by: Bobby Dawson <bobby@donorsearch.net>
2021-08-22 13:05:09 +10:00
bbe21185b6 improve (upload): Limit memory usage when parsing multipart form data, so that large files are stored in disk (#382)
Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-05-25 21:57:46 +10:00
d37497cd0e fix(zip): close file after copying to zip (#388) 2021-04-06 20:47:15 +10:00
cddbcfc6d1 feature (zip): configurable timeout on zip download 2021-03-29 23:44:24 +11:00
eb81398ce8 feature (zip): download file(s) at once 2021-03-21 23:01:10 +11:00
3bdbba92df fix (path): windows path bug #299 2020-08-31 14:13:16 +10:00
f3e6c8c030 feature (documents): handle office documents using onlyoffice 2019-12-21 15:17:09 +11:00
71f9b24bf7 fix (video): range request had issues breaking videos from webdav ?!? 2019-11-16 01:02:10 +11:00
4814175f00 fix (#187): handle simlinks 2019-08-13 16:02:00 +01:00
b3dc3f04b3 improve (C deps): improve interaction with C code + various fix 2019-04-30 13:21:06 +10:00
=
ca5198ac0b improve (static): attempt at statically compile everything - revamp 2019-04-29 19:26:11 +10:00
=
b2d6f5f1e4 feature (plg_security_svg): admin can decide upon viewing svg documents 2019-04-22 21:15:28 +10:00
=
801760838c feature (seach): index content subject to search 2019-04-12 02:37:31 +10:00
=
e88758567d improve (API): Cat now returns a io.ReadCloser to make it obvious it has to be closed 2019-04-04 19:27:06 +11:00
0127fa2c02 feature (search): search feature 2019-04-02 19:48:50 +11:00