sftpgo-mirror/internal/httpd
Nicola Murino 662164c7ff
smtp: require templates only if a server is configured or in service mode
This regression was introduced after recent changes to allow setting the SMTP
settings from the WebAdmin UI.

Fixes #1217

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-03-01 18:31:02 +01:00
..
api_admin.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_configs.go WebAdmin: add configs section 2023-02-19 19:03:45 +01:00
api_defender.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
api_eventrule.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_events.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
api_folder.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_group.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_http_user.go WebClient: return proper status code for http.MaxBytesError 2023-02-27 11:03:05 +01:00
api_iplist.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_keys.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_maintenance.go WebAdmin: add configs section 2023-02-19 19:03:45 +01:00
api_metadata.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
api_mfa.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
api_quota.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
api_retention.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
api_role.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_shares.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
api_user.go move IP/Network lists to the data provider 2023-02-09 09:33:33 +01:00
api_utils.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
auth_utils.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
file.go update Copyright year 2023-01-03 10:18:30 +01:00
flash.go update Copyright year 2023-01-03 10:18:30 +01:00
flash_test.go update Copyright year 2023-01-03 10:18:30 +01:00
handler.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
httpd.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
httpd_test.go smtp: require templates only if a server is configured or in service mode 2023-03-01 18:31:02 +01:00
internal_test.go WebClient: return proper status code for http.MaxBytesError 2023-02-27 11:03:05 +01:00
middleware.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
oidc.go don't expose error messages from pre-actions and post connect hooks 2023-02-28 18:01:09 +01:00
oidc_test.go don't expose error messages from pre-actions and post connect hooks 2023-02-28 18:01:09 +01:00
oidcmanager.go update Copyright year 2023-01-03 10:18:30 +01:00
resetcode.go update Copyright year 2023-01-03 10:18:30 +01:00
resources.go update Copyright year 2023-01-03 10:18:30 +01:00
resources_embedded.go update Copyright year 2023-01-03 10:18:30 +01:00
server.go don't expose error messages from pre-actions and post connect hooks 2023-02-28 18:01:09 +01:00
web.go update Copyright year 2023-01-03 10:18:30 +01:00
webadmin.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00
webclient.go printf: replace %#v with the more explicit %q 2023-02-27 19:19:57 +01:00