sftpgo/internal/httpd
Nicola Murino 7fa0959af4
eventmanager: add support for global star path matching
This introduce a backward incompatible change for filesystem path matching
in the Event Manager, now patterns like "*.txt" will no longer match any
file with the "txt" suffix, you need to change them to "/**/*.txt".

Also change pre-delete behaviour, now if an error is returned the client
will get a permission denied error. This is the same as the other pre-*
action. Previously it was not possible to deny deletion of a file.

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-01-02 15:59:00 +01:00
..
api_admin.go REST API: add location header to 201 responses 2022-12-23 13:08:04 +01:00
api_defender.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
api_eventrule.go REST API: add location header to 201 responses 2022-12-23 13:08:04 +01:00
api_events.go provider events: add support for omit_object_data search param 2022-12-08 10:02:12 +01:00
api_folder.go REST API: add location header to 201 responses 2022-12-23 13:08:04 +01:00
api_group.go REST API: add location header to 201 responses 2022-12-23 13:08:04 +01:00
api_http_user.go WebClient: add copy action 2022-12-30 19:30:16 +01:00
api_keys.go REST API: remove merging of fields on updates 2022-12-23 09:36:20 +01:00
api_maintenance.go add role to events 2022-12-03 11:45:27 +01:00
api_metadata.go add roles 2022-11-16 19:04:50 +01:00
api_mfa.go add role to events 2022-12-03 11:45:27 +01:00
api_quota.go add roles 2022-11-16 19:04:50 +01:00
api_retention.go add roles 2022-11-16 19:04:50 +01:00
api_role.go REST API: add location header to 201 responses 2022-12-23 13:08:04 +01:00
api_shares.go REST API: remove merging of fields on updates 2022-12-23 09:36:20 +01:00
api_user.go REST API: add location header to 201 responses 2022-12-23 13:08:04 +01:00
api_utils.go add role to events 2022-12-03 11:45:27 +01:00
auth_utils.go add support for password policies 2022-12-11 17:15:34 +01:00
file.go use the new atomic types introduced in Go 1.19 2022-08-30 15:47:41 +02:00
flash.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
flash_test.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
handler.go eventmanager: add support for global star path matching 2023-01-02 15:59:00 +01:00
httpd.go WebClient: add copy action 2022-12-30 19:30:16 +01:00
httpd_test.go eventmanager: add support for pre-* actions 2023-01-01 17:59:41 +01:00
internal_test.go add support for password policies 2022-12-11 17:15:34 +01:00
middleware.go respect token validation mode for CSRF header 2022-12-16 19:14:56 +01:00
oidc.go add role to events 2022-12-03 11:45:27 +01:00
oidc_test.go add role to events 2022-12-03 11:45:27 +01:00
oidcmanager.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
resetcode.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
resources.go add support for embedding templates and other static resources 2022-07-24 20:02:37 +02:00
resources_embedded.go add support for embedding templates and other static resources 2022-07-24 20:02:37 +02:00
server.go WebClient: add copy action 2022-12-30 19:30:16 +01:00
web.go move SFTPGo package to the internal folder 2022-07-24 16:18:54 +02:00
webadmin.go eventmanager: add copy action 2022-12-27 18:51:53 +01:00
webclient.go WebClient: add copy action 2022-12-30 19:30:16 +01:00