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
76fddc126d
switch to Go 1.21 for CI and docker images
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2024-05-14 20:36:57 +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
5d9cda9d34
CI: set Go version to 1.20.11
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-11-10 18:49:03 +01:00
Nicola Murino
14d79e052c
update deps
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-11-10 18:12:46 +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
5c1c7e4fa3
update deps
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-11-01 10:55:51 +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
a4009c8894
events page: fix dismissable alert
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-29 08:18:06 +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
CUI Hao
cd953e6794
webadmin: fix typo on webpages ( #1438 )
...
Signed-off-by: CUI Hao <cuihao.leo@gmail.com>
2023-10-23 09:58:12 +02:00
Nicola Murino
f5d64a1a8a
docker: upgrade also build environment before build
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-13 12:51:25 +02:00
Nicola Murino
9a9d16292a
docker: upgrade packages
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-10-12 22:04:58 +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
f37b57884f
editfiles: fix label
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-09-17 17:38:20 +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
991739d47a
WebUIs: update the css to hide the theme hard coded background image
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-09-08 18:54:52 +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
89a251d640
update pgx to the latest commit
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-07-09 11:23:26 +02:00
Nicola Murino
dbbae3129d
update deps
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-07-08 17:21:55 +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
abac3cfc8d
revert pgx to an older version
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-07-04 13:41:32 +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
de72495092
Windows setup: add PrepareToInstall event function
...
so the service is stopped before the installation starts and
we avoid the force close app warning
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-29 12:15:38 +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
b9ace46180
add auth plugin
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-25 18:58:13 +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
1d120bdd26
WebAdmin: don't show hidden deny policy for allowed patterns
...
The deny policy only applies to denied patterns, showing an allowed
pattern as hidden will confuse users
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-14 19:01:22 +02:00
Nicola Murino
7245710b31
CI: fix MariaDB initialization
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-12 20:04:48 +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
97bbf37af4
branch 2.5.x
...
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-06-09 19:47:17 +02:00