Commit graph

1381 commits

Author SHA1 Message Date
Nicola Murino
909928e641
fix CI, replace deprecated S3 API
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-12-14 16:40:36 +01:00
Nicola Murino
be2e24e63d
update deps
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-12-14 16:06:20 +01:00
Nicola Murino
8e86782d85
webdav: fix GET as PROPFIND if a prefix is defined
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-04-09 20:18:19 +02:00
Nicola Murino
fc520076b3
set version to 2.4.5
backport the latest patch from main

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-04-08 15:29:45 +02:00
Nicola Murino
2ccb6c2672
Improve checking for the create_dirs permission
Do not allow implicit directory creation on file uploads if create_dirs
permission is not granted

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-04-06 12:42:22 +02:00
Nicola Murino
fcd97ee20d
CI: set golangci-lint version to v1.51.2
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-03-25 12:15:00 +01:00
Nicola Murino
5b878b95e7
update deps
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-03-25 11:27:40 +01:00
Nicola Murino
5eedaa4b5d
docker: ensure to download compatible plugins
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-02-12 16:32:03 +01:00
Nicola Murino
b084564c3f
azblob: update to the latest SDK
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-02-10 17:34:21 +01:00
Nicola Murino
b925504795
set version to 2.4.4
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-02-04 16:30:14 +01:00
Nicola Murino
9c9c9fa3a5
sftpd: fix duplicate defender error introduced in the previous commit
improve the defender test cases by verifying the expected score

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-25 22:00:21 +01:00
Nicola Murino
87820d980b
defender: allow to set a different score for "no auth tried" events
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-25 18:56:37 +01:00
Nicola Murino
16d908e76b
update users: also disconnect users from remote nodes when requested
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-24 18:58:53 +01:00
Nicola Murino
ca3f28d2f5
loaddata API: add some missing returns
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-23 19:17:29 +01:00
Nicola Murino
bd118e61bc
allow to start if only httpd service is enabled
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-17 18:22:33 +01:00
Nicola Murino
88372b6da7
update css and js deps
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-15 15:07:26 +01:00
Nicola Murino
56f45dc36d
OpenAPI: fix group settings documentation
the OpenAPI docs should really be improved, but nobody seems interested
enough to sponsor this work

Fixes #1141

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-15 15:06:47 +01:00
Nicola Murino
7d19d3f10b
vfs: implement GetDirSize for Cloud Storage providers
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-06 18:00:25 +01:00
Nicola Murino
a5d6441fb6
update test certificates
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-03 11:48:54 +01:00
Nicola Murino
5605496c5f
eventmanager: don't modify in place fs events paths
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-01 16:31:36 +01:00
Nicola Murino
64c28bf6aa
OpenAPI schema: fix some definitions
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-01 09:57:23 +01:00
Nicola Murino
b9e75ff661
OpenAPI: set charset also for text/plain responses
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-19 18:39:05 +01:00
Nicola Murino
362396811e
OpenAPI: added charset=utf-8 to application/json content type
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-19 18:36:04 +01:00
Nicola Murino
916e53cf9a
CI: add nosqlite build tag when CGO is disabled
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-18 16:12:11 +01:00
Nicola Murino
5f35b8b704
gcsfs: backport from main
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-18 10:29:57 +01:00
Nicola Murino
08e29d4ee0
respect token validation mode for CSRF header
Fixes #1104

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-16 19:15:26 +01:00
Nicola Murino
ff4c1b239e
AzureBlobs: update SDK to v0.6.1
Remove path escape for blob names, this issue is now fixed within
the SDK

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-16 18:57:11 +01:00
Nicola Murino
49c8affcef
S3: improve "directories" detection
Fixes #1097

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-13 08:56:06 +01:00
Nicola Murino
14139af165
local fs: fixed paths validation for some Windows specific edge cases
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-12 10:42:15 +01:00
Nicola Murino
af4f54bf11
ensure to always validate password strength
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-09 19:44:35 +01:00
Nicola Murino
9ba468698b
fix build with some features disabled
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-04 09:24:21 +01:00
Nicola Murino
0f74c077ac
ftpd: check the TYPE parameter in a case-insensitive manner
also pin plugin versions in docker image

Fixes #1082

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-12-04 08:32:27 +01:00
Nicola Murino
dd98c06397
allow WebClient login with multi-step auth enabled
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-29 18:47:53 +01:00
Nicola Murino
b989cdabe5
set version to 2.4.2
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-25 15:06:12 +01:00
Nicola Murino
9e7e89d69e
backports from main
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-24 18:36:25 +01:00
Nicola Murino
f64056b820
update nfpm to 2.22.1
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-20 15:40:44 +01:00
Nicola Murino
7e6d944cb5
WebClient: add drag and drop upload UI
thanks to @wooneusean for the help

Fixes #951

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-20 13:49:04 +01:00
Nicola Murino
a66d207291
fix SeaweedFS rename compatibility
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-20 13:07:43 +01:00
Nicola Murino
0a8edcd811
backports from main
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-19 13:07:03 +01:00
Nicola Murino
0fa08ddbaa
set version to 2.4.1
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-12 18:41:49 +01:00
Nicola Murino
3d4c35522a
initprovider: fix loading users with MFA config
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-11 19:48:27 +01:00
Nicola Murino
f400e67daa
fix restore users with MFA config
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-11 18:12:56 +01:00
Nicola Murino
4e10275fd1
clarify that the PROXY protocol is supported for SFTP/FTP
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-07 09:17:12 +01:00
Nicola Murino
7bd71474ef
plugins: fix hash check
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-05 10:23:41 +01:00
Nicola Murino
0ac2120532
WebUI: try harder to prevent browsers from auto-filling in password fields
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-04 19:20:57 +01:00
Nicola Murino
9e5287cfb4
webdav: always open files for reading in lazy mode
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-03 08:53:19 +01:00
Nicola Murino
450ab6b252
shared providers: allow to immediately re-add soft-deleted event rules
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-01 17:40:39 +01:00
Nicola Murino
51d900558a
WebDAV: make test cases more robust
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-01 14:30:00 +01:00
Nicola Murino
a71690ff2a
shared providers: allow to immediately re-add soft-deleted users
there is no need to wait for cache updates

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-01 13:17:49 +01:00
Nicola Murino
f390eab1de
sftpfs: reuse connections
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-11-01 13:17:26 +01:00