Nicola Murino
25a498a153
improve error wrapping
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2024-05-14 20:45:25 +02:00
Nicola Murino
b3ce596385
update certificates in test cases
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2024-05-10 17:38:19 +02:00
Nicola Murino
a73c6569f9
fix the error message for errors that occur during file transfers
...
we should special case path errors and replace the fs path with the
virtual path.
Thanks to @nezzzumi for reporting this issue
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2024-05-10 16:04:44 +02:00
Nicola Murino
a6a92f0d69
set version to 2.5.6
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-12-18 18:35:18 +01:00
Nicola Murino
a3d6d9cd33
portable mode: fix panic while validating TLS certificates
...
Fixes #1480
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-12-12 18:19:56 +01:00
Nicola Murino
8812e5e450
S3: fix compatibility with newer SDK versions
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-12-12 18:16:53 +01:00
Nicola Murino
a132a21a38
keyboard interactive auth: respect hook disabled setting
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-11-18 11:26:37 +01:00
Nicola Murino
b81f819b3e
httpd: fixed logging of refused requests due to rate limiting/blocklisting
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-11-08 19:25:45 +01:00
Nicola Murino
ebec3042e9
loaddata: do not reveal the existence of the files in error messages
...
return a generic error message
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-11-01 10:52:32 +01:00
Nicola Murino
50cae4ee7d
httpd: add database based token manager
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-31 19:56:59 +01:00
Nicola Murino
c50d2c15e8
httpd request logger: set log level based on the status code
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-28 10:39:09 +02:00
Nicola Murino
1c579d73f8
suppress lint warning
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-10 20:54:10 +02:00
Nicola Murino
904ad2f691
sshd: skip host keys with invalid algorithms
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-10 19:59:22 +02:00
Nicola Murino
bc6bdb2f05
backports from main
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-10 19:22:52 +02:00
Nicola Murino
d9ac1a5631
WebClient: fix icon for 0 byte files
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-04 19:39:46 +02:00
Nicola Murino
d6e31ce8e2
web UIs: fix dismissable alerts
...
alerts can now be shown again after the user dismissal
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-09-17 17:31:40 +02:00
Nicola Murino
cf1cc25a48
SQL providers: make sure we don't exceed the allowed placeholders
...
Fixes #1415
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-09-12 19:16:54 +02:00
Nicola Murino
9906caefd5
httpd: disable directory index for static files
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-09-08 19:56:20 +02:00
Nicola Murino
bef0e10d1e
update deps
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-09-08 19:19:25 +02:00
Nicola Murino
e8df1b6e4c
validate API key scope
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-09-08 18:54:57 +02:00
Nicola Murino
1508fc9253
External/plugin auth: check for password change after empty response
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-08-26 12:07:06 +02:00
Nicola Murino
520e22b63d
backports from main branch
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-08-20 17:22:03 +02:00
Nicola Murino
d6b584e064
shares: respect password strength
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-07-16 16:53:43 +02:00
Nicola Murino
cc381443be
set version to 2.5.4
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-07-14 20:35:45 +02:00
Nicola Murino
c457538280
file patterns: fix denied except rules
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-07-08 17:09:44 +02:00
Nicola Murino
7f65aa1fa4
set version to 2.5.3-dev
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-07-04 19:43:00 +02:00
Nicola Murino
a805a930e8
set version to 2.5.3
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-29 12:21:13 +02:00
Nicola Murino
7c845f07d5
config: fix loading commands args from env vars
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-25 21:32:37 +02:00
Nicola Murino
e446e3392d
check second factor after plugin authentication
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-25 07:18:42 +02:00
Nicola Murino
a503feaab6
set version to 2.5.2
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-17 18:33:56 +02:00
Nicola Murino
cba894987c
WebClient: show user quota
...
Also remove per-source data transfer limits. This was an
oversight
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-16 21:31:15 +02:00
Nicola Murino
3a3df5670d
WebAdmin: relax key prefix validation
...
try to automatically fix leading and trailing slashes
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-12 19:15:02 +02:00
Nicola Murino
324d695d93
try to fix a randomly failing test case
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-08 19:41:58 +02:00
Nicola Murino
9d60972743
WebClient: redirect to the requested URL after login
...
This feature is only useful and enabled for file manager urls
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-08 18:14:47 +02:00
Nicola Murino
f938af5a61
WebClient: fix sorting by size
...
Fixes #1313
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-04 21:45:31 +02:00
Nicola Murino
3499edd5c2
WebUI: remove leading and trailing spaces from user-submitted input
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-04 08:45:17 +02:00
Nicola Murino
9470cd6e69
multi-node installations: use a different backup path for each node
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-03 17:54:24 +02:00
Nicola Murino
74e5999c63
added support for verifying sha256/sha512 passwords hash
...
this simplifies the migration of users from some proprietary products
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-03 16:58:45 +02:00
Nicola Murino
48939b2b4f
add XOAUTH2
...
start the countdown, let's see how long it takes for your favorite
Go-based proprietary SFTP server to notice this change, copy the SFTPGo
code and thus violate its license, and announce the same feature :)
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-03 16:17:32 +02:00
Nicola Murino
8339fee69d
smtp: add debug option
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-30 19:11:28 +02:00
Nicola Murino
8f934f7c82
email action: allow to configure Bcc
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-25 19:55:27 +02:00
Nicola Murino
e11473cf52
config: limit the size for env files
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-25 05:25:28 +02:00
Nicola Murino
f8f8962ccb
file patterns: evaluate allowed filters before the denied ones
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-24 19:56:53 +02:00
Nicola Murino
2238043efd
EventManager: add email field placeholder
...
Fixes #1288
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-24 19:08:51 +02:00
Nicola Murino
255985b7b0
Windows: start the service in a goroutine
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-23 12:59:27 +02:00
Nicola Murino
2b77709a04
back to development
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-21 09:23:24 +02:00
Nicola Murino
5b4a1bda2e
set version to 2.5.1
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-20 17:39:23 +02:00
Nicola Murino
3f94f6d0e7
proxy protocol: fix require policy in some edge cases
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-20 16:08:57 +02:00
Nicola Murino
d28a53a6cf
webdav: fix caching with external auth/plugins
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-20 12:39:07 +02:00
Nicola Murino
bbaca578cd
EventManager: add content type option for email config
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-17 19:28:13 +02:00