sftpgo-mirror/internal/common
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
..
actions.go Add support for graceful shutdown 2022-10-22 11:56:41 +02:00
actions_test.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
clientsmap.go use the new atomic types introduced in Go 1.19 2022-08-30 15:47:41 +02:00
clientsmap_test.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
common.go defender: allow to set a different score for "no auth tried" events 2023-01-25 18:56:37 +01:00
common_test.go defender: allow to set a different score for "no auth tried" events 2023-01-25 18:56:37 +01:00
connection.go Improve checking for the create_dirs permission 2023-04-06 12:42:22 +02:00
connection_test.go WebClient: make folder deletion recursive 2022-10-27 08:27:44 +02:00
dataretention.go API data retention check: send CSV reports for email notifications 2022-09-28 18:37:32 +02:00
dataretention_test.go API data retention check: send CSV reports for email notifications 2022-09-28 18:37:32 +02:00
defender.go defender: allow to set a different score for "no auth tried" events 2023-01-25 18:56:37 +01:00
defender_test.go defender: allow to set a different score for "no auth tried" events 2023-01-25 18:56:37 +01:00
defenderdb.go event manager: add Certificate renewal trigger 2022-08-12 17:37:29 +02:00
defenderdb_test.go defender: allow to set a different score for "no auth tried" events 2023-01-25 18:56:37 +01:00
defendermem.go event manager: add Certificate renewal trigger 2022-08-12 17:37:29 +02:00
eventmanager.go Improve checking for the create_dirs permission 2023-04-06 12:42:22 +02:00
eventmanager_test.go event rules: allow to set min/max file size using "human" notation 2022-10-16 15:28:47 +02:00
eventscheduler.go refactor: move eventmanager to common package 2022-08-01 18:48:54 +02:00
httpauth.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
httpauth_test.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
protocol_test.go backports from main 2022-11-19 13:07:03 +01:00
ratelimiter.go use the new atomic types introduced in Go 1.19 2022-08-30 15:47:41 +02:00
ratelimiter_test.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
tlsutils.go set version to 2.4.4 2023-02-04 16:30:14 +01:00
tlsutils_test.go update test certificates 2023-01-03 11:48:54 +01:00
transfer.go cryptfs: fix quota for overwrites if upload fails 2022-10-10 19:34:15 +02:00
transfer_test.go WebClient: make folder deletion recursive 2022-10-27 08:27:44 +02:00
transferschecker.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
transferschecker_test.go use the new atomic types introduced in Go 1.19 2022-08-30 15:47:41 +02:00