Commit graph

303 commits

Author SHA1 Message Date
MickaelK
4660f3a2ff feature (plg_backend_s3): calculate the right mime type 2024-01-25 21:44:55 +11:00
MickaelK
0c2e5f1351 feature (plg_backend_nfs): add option to calculate uid/gid 2024-01-10 18:32:37 +11:00
MickaelK
0367f45089 feature (nfs): improve nfs implementation 2024-01-06 17:42:02 +11:00
MickaelK
409f1bc09f feature (chroot): add chroot option to nfs backends 2024-01-06 17:17:46 +11:00
MickaelK
763201eaa6 feature (plg_backend_local): home calculation and additional options for authentication 2024-01-06 16:55:55 +11:00
MickaelK
2853898f75 feature (plg_backend_nfs4): poc for nfsv4 2024-01-03 22:44:23 +11:00
MickaelK
86175220cd fix (nfs): improved nfsv3 handling 2024-01-03 17:39:39 +11:00
MickaelK
c702402b87 fix (plg_backend_local): don't enforce home to be set 2024-01-02 23:26:25 +11:00
MickaelK
def45d5ad5 feature (s3): multithread on s3 plugin 2023-11-27 00:25:28 +11:00
MickaelK
253cb8ceba chore (maintain): maintain sqlite full text search plugin 2023-11-22 18:46:46 +11:00
MickaelK
81578f48cf chore (thumbnail): cleanup and support for ai 2023-11-20 23:33:25 +11:00
MickaelK
0d8dce3b99 feature (thumbnail): support for tiff 2023-11-20 22:36:03 +11:00
MickaelK
837f440e36 fix (thumbnailer): format update & fix png artifact 2023-11-20 20:51:20 +11:00
MickaelK
376fe22770 feature (thumb): support for webp 2023-11-16 02:06:10 +11:00
MickaelK
e72d4a290f feature (gif): a gif thumbnailer made in C 2023-11-13 23:58:16 +11:00
MickaelK
ade354fde0 fix (plg_image_c): cleanup thumbnailer 2023-11-13 23:57:51 +11:00
MickaelK
0ac2bde335 feature (thumbnail): better thumbnail plugin 2023-11-10 00:54:00 +11:00
Mickael Kerjean
d9202c7f15 release (migration): migration of admin interface 2023-10-07 22:47:37 +11:00
Mickael Kerjean
e0407c83cf merge 2023-06-16 13:13:42 +00:00
Mickael Kerjean
0f355c1030 feature (smb): direct access via share name 2023-05-12 00:59:17 +10:00
Mickael Kerjean
650abf55ba maintain (plg_authenticate_admin): cleanup 2023-04-25 11:03:32 +10:00
Mickael Kerjean
391f7cf82d maintain (plg_video_transcoder): cleaner log 2023-04-18 22:58:54 +10:00
Mickael
8c4ca9da76
fix (plg_backend_s3): revert #584 after broken e2e
This reverts commit 67e2a34853.
2023-04-10 10:56:40 +10:00
Mickael Kerjean
c7cd48ce90 fix (plg_backend_ftp): context handling 2023-04-10 10:06:21 +10:00
Mickael Kerjean
39f8fc66aa fix (ftp): recreate connection if closed
An issue would araise when the connection is closed before we had time
to do the vacuum cleaning on servers like on infinity free where "Our server has quite aggressive inactivity timeouts and will kill the connection after only 20 seconds of inactivity."

reference: https://forum.infinityfree.net/t/good-online-ftp/69285/18
2023-04-10 01:28:39 +10:00
Yanick.xia
67e2a34853
feature (plg_backend_s3): add param for forcePathStyle - #584
Co-authored-by: xiayan.cn <xiayan.cn@bytedance.com>
Co-authored-by: Mickael <mickael@kerjean.me>
2023-04-09 13:10:33 +10:00
Daniel Gomes-Sebastiao
586e803bde
feature (plg_backend_s3): access S3 via AWS role - #583
Co-authored-by: Daniel Gomes-Sebastiao <daniel.gomes@adscale.co.nz>
2023-04-09 13:07:14 +10:00
Liang Zheng
091e9c0c78
fix(s3) save #577
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2023-04-01 10:53:29 +11:00
Mickael Kerjean
fa9f1bc3e4 fix (ls): configurable ls timeout for plugins 2023-03-24 22:37:19 +11:00
Mickael Kerjean
cea8a77cd8 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2023-03-24 21:14:51 +11:00
Mickael Kerjean
425e71a3cd fix (plg_search_stateless): path issue in search 2023-03-24 21:12:32 +11:00
Liang Zheng
a57a4a7e15
fix (s3): exit s3 list via IsTruncated flag
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2023-03-24 10:53:38 +11:00
Mickael Kerjean
3a9961d6fe fix (plg_backend_artifactory): ls metadata fix 2023-03-21 22:28:41 +11:00
Mickael Kerjean
48c89767ad feature (plg_backend_artifactory): support for jfrog artifactory 2023-03-21 14:41:30 +11:00
Mickael Kerjean
176931f6c8 fix (plg_backend_nfs): production ready nfs connector 2023-03-20 23:06:00 +11:00
Mickael Kerjean
7421750226 feature (plg_backend_ftp): anonymous read only when no user given 2023-03-15 08:23:09 +11:00
Mickael Kerjean
2268e32560 feature (plg_backend_sftp): support for new authentication method 2023-03-08 12:11:01 +11:00
Mickael Kerjean
16d4d60469 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2023-03-02 20:16:36 +11:00
Mickael Kerjean
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
Louis Koo
62b066feab
fix (#559): handle large amount of deletion on s3
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
2023-02-21 17:31:10 +11:00
Mickael Kerjean
23ddbee129 fix (not implemented): image preview for jpeg or png 2023-02-09 08:32:19 +11:00
Mickael Kerjean
922d8fecc3 fix (#545): emergency fix - credit and original author @microyahoo 2023-02-08 15:23:49 +11:00
Mickael Kerjean
3727981e75 fix (s3): cloudflare s3 default 2023-01-26 01:20:39 +11:00
Mickael Kerjean
2645fd62d0 feature (plg_image_*): support for new images and cleanup 2022-12-22 22:13:52 +11:00
Mickael Kerjean
541ad580f1 cleanup (sftp): cleanup dead code 2022-12-22 19:57:27 +11:00
Mickael Kerjean
d86b779450 fix (storj): convention for folder 2022-12-21 00:25:37 +11:00
Mickael Kerjean
1f9a30c462 feature (dicom): support for dicom images 2022-12-09 20:26:20 +11:00
Mickael Kerjean
468251d69a feature (plg_image_thumbnail): more efficient image thumbnailing 2022-12-09 01:00:44 +11:00
Mickael Kerjean
fb4a6a7ab2 fix (s3): stop condition for recursive ls in s3 2022-12-08 16:05:40 +11:00
Mickael Kerjean
24cd21704b feature (nfs): reasonable default for nfs backend 2022-12-08 12:16:04 +11:00
Mickael Kerjean
7135bd4e44 feature (nfs): support for nfs storage 2022-12-08 09:19:04 +11:00
Mickael Kerjean
090fd1a66a feature (backend): support for storj 2022-12-07 08:40:41 +11:00
Mickael Kerjean
339e9486e5 feature (plg_image_thumbnail): improvement over thumbnailing 2022-12-05 00:42:02 +11:00
Mickael Kerjean
a78e817657 feature (thumbnailer): add plugin type for thumbnail generation 2022-12-02 07:09:11 +11:00
Mickael Kerjean
f5df1445d2 feature (plg_backend_ftp): handle various connection strategy 2022-12-01 01:32:55 +11:00
Mickael Kerjean
3ca1c1ec9a improve (plg_video_transcode): ffmpeg improvements 2022-11-29 21:50:30 +11:00
Mickael Kerjean
849b00ba36 clean (plg_video_transcode): more readable ffmpeg command
The idea is to play with the params in ffmpeg until we find the
perfect setup for HLS and have everything version control by git
2022-11-29 20:48:06 +11:00
Mickael Kerjean
ec575d68b1 fix (#522): issue handling certain kind of mkv
whenever too many audio are available, videojs wouldn't be able to
load the hls stream
2022-11-29 08:25:58 +11:00
Mickael Kerjean
8d34848c8a fix (timeout): bigger timeout on FTP backend 2022-11-28 17:13:47 +11:00
Mickael Kerjean
5c9c85ff2a fix (middleware): disable auth middleware 2022-11-26 01:59:28 +11:00
Mickael Kerjean
e7bb5b052a feature (s3): s3 secret key as password field 2022-11-25 16:39:10 +11:00
Mickael Kerjean
cb7f1693bd feature (config): encrypt sensitive fields in config.json 2022-11-22 08:12:36 +11:00
Mickael Kerjean
6eb26e9a70 refactoring (plg_authenticate): setup placeholders instead of values 2022-11-21 08:10:05 +11:00
Mickael Kerjean
e585be579a feature (htpasswd): enlarge scope of htpasswd auth plugin 2022-11-12 23:26:39 +11:00
Mickael Kerjean
10daf893cd improve (plg_authenticate_htpasswd): support additional algorithm 2022-11-12 00:50:45 +11:00
Mickael Kerjean
c828b22f7a improve (middleware): content for description fields 2022-11-10 00:16:08 +11:00
Mickael Kerjean
e0f2f29307 feature (htpasswd): new authentication middleware 2022-11-09 14:00:48 +11:00
Mickael Kerjean
92219db637 feature (middleware): passthrough middleware 2022-11-09 13:59:35 +11:00
Mickael Kerjean
98ef1d64e7 fix (fs): recursive removal in local and tmp backend 2022-11-03 00:12:09 +11:00
Mickael Kerjean
70884300a3 fix (plg_image_thumbnail): broken build 2022-10-04 17:49:04 +11:00
Mickael Kerjean
9b5af40f32 maintain (plg_security_scanner): new endpoint ideas
with new ideas coming from the hn thread https://news.ycombinator.com/item?id=33054379
2022-09-04 07:39:20 +10:00
Mickael Kerjean
42b2435c16 fix (plg_image_thumbnail): build issue 2022-10-04 00:26:40 +11:00
Mickael Kerjean
46b67d6711 feature (thumbnail): complete revamp of thumbnail generation 2022-10-03 23:40:46 +11:00
Mickael Kerjean
9a1045cb02 feature (plg_image_thumbnail): clean before release 2022-10-03 22:28:58 +11:00
Mickael Kerjean
918965ddbe feature (plg_image_thumbnail): new thumbnail generation
This plugin will replace plg_image_light once it has the same
features. It is much easier to install, fixing #507, #368 and every
other ticket that mention issues to compile Filestash
2022-10-03 00:01:24 +11:00
Mickael Kerjean
e8968d824a fix (window): cross compile for windows 2022-09-28 21:16:10 +10:00
Mickael Kerjean
1844c6d33e maintain (debug): add debug statements 2022-09-15 19:32:17 +10:00
Mickael Kerjean
d0e2c4a227 maintain (error): add internal error 2022-09-13 17:28:53 +10:00
Mickael Kerjean
87443235a2 fix (backend): clean up caching 2022-09-13 15:24:21 +10:00
Mickael Kerjean
720073a181 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2022-09-13 14:50:25 +10:00
thielepaul
0d55704031
fix (sftp_backend): wait until all requests are finished before closing (#506) 2022-09-13 14:49:15 +10:00
Mickael Kerjean
d53cbefc54 fix (plg_image_ascii): reasonable content type 2022-09-08 15:19:10 +10:00
Mickael Kerjean
bfe809d5ab cleanup (plugin): disable plugin that don't seem to be used 2022-09-07 00:51:32 +10:00
Mickael Kerjean
3a63eb0777 feature (plg_image_ascii): image ascii transform
The idea here is to be able to use curl and have Filestash to render
image in a terminal friendly fashion
2022-09-06 22:27:12 +10:00
Mickael Kerjean
549d6805f0 feature (api): prepare api for public use 2022-09-05 11:59:28 +10:00
Mickael Kerjean
75696a8088 fix (plg_backend_tmp): incorrect permission when creating folder 2022-08-31 00:40:23 +10:00
Mickael Kerjean
a82177e719 maintain (ctx): pass app context as pointer 2022-08-30 17:27:23 +10:00
Mickael Kerjean
b62a9dd423 fix (os): wrapper for file related operation via the os package 2022-08-30 01:46:06 +10:00
Mickael Kerjean
28c2e5070d fix (#500): ldap issue as reported in #500 2022-08-28 23:41:20 +10:00
Mickael Kerjean
812446ac23 fix (symlink): wrap os.OpenFile to prevent symlinks expansion
os.Open and os.OpenFile make it possible to open a wide range of
files as seen in https://cs.opensource.google/go/go/+/refs/tags/go1.19:src/os/types.go;l=35

We only want to handle regular files and folders, no socket, device,
symlink, ....
2022-08-28 21:43:43 +10:00
Mickael Kerjean
633f17a63b feature (plg_authenticate_passthrough): populate session data 2022-08-26 21:03:26 +10:00
Mickael Kerjean
4f4fcfc16e fix (ftp): prevent connection close when uploading / downloading 2022-08-26 15:53:49 +10:00
Mickael Kerjean
f7484b7aab fix (plg_backend_tmp): sanity check for user input 2022-08-23 18:07:44 +10:00
Mickael Kerjean
8f7ac67db7 fix (plg_backend_tmp): prevent local filesystem access 2022-08-23 17:33:52 +10:00
Mickael Kerjean
77767af252 maintain (plg_backend_nop): additional debug log 2022-08-19 12:13:52 +10:00
Mickael Kerjean
ee6256e075 fix (plg_plugin_webdav): IIS compat 2022-08-09 19:08:14 +10:00
Mickael Kerjean
b2690e906b feature (plg_backend_ftp): alternative ftp backend 2022-06-12 02:25:31 +10:00
Mickael Kerjean
77b64fcfcc improve (ldap): trim prefix for ldap backend connection 2022-05-19 00:42:06 +10:00
Mickael Kerjean
0988f7ccb0 fix (onlyoffice): issue with http/https starter 2022-05-10 20:51:19 +10:00
Mickael Kerjean
f71e07a53a fix (plg_starter_https): unused deps 2022-05-09 00:59:28 +10:00