hugo/config
David Karlsson 6c9ea022a9
config: Expand default security.exec.osEnv policy
To better support private Hugo modules and automatically
launching a text editor on content creation, this change
adds the following environment variables to the default
security policy:

- HOME
- XDG_CONFIG_HOME
- USERPROFILE
- SSH_AUTH_SOCK
- DISPLAY
- LANG

Fixes #9333
2023-07-07 13:54:06 +02:00
..
allconfig Only print the path warnings once 2023-06-30 10:24:28 +02:00
privacy Misc config loading fixes 2021-06-14 17:00:32 +02:00
security config: Expand default security.exec.osEnv policy 2023-07-07 13:54:06 +02:00
services Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
testconfig Add empty Environ when loading test config 2023-06-19 17:49:45 +02:00
commonConfig.go Rework the build.writeStats struct 2023-07-02 13:04:11 +02:00
commonConfig_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
configLoader.go commands,config: Fix typo in log and error messages 2023-06-12 16:45:20 +02:00
configLoader_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
configProvider.go Only print the path warnings once 2023-06-30 10:24:28 +02:00
configProvider_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
defaultConfigProvider.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
defaultConfigProvider_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
docshelper.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
env.go all: Use strings.Cut 2022-03-21 09:32:35 +01:00
env_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
namespace.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
namespace_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00