Annotate

.editorconfig @ 13627:2db7b3b65363

core.configmanager: Add function for getting secrets from separate files Idea is to enable easily retrieving of secret values from files outside of the config, e.g. via the method used by systemd credentials. CREDENTIALS_DIRECTORY is expected to be set by the process manager invoking Prosody, so being unset and unavailable from prosodyctl is going to be normal and a warning is reported in that case. Care will have to be taken to make it clear that prosodyctl check will not work with such values. An error is thrown if the directory is unavailable when running under Prosody.
author Kim Alvefur <zash@zash.se>
date Thu, 16 Jan 2025 15:21:34 +0100
parent 13194:b8398218dd23
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13191
1266efb7101c editorconfig: Add link to format description
Kim Alvefur <zash@zash.se>
parents: 11706
diff changeset
1 # https://editorconfig.org/
1266efb7101c editorconfig: Add link to format description
Kim Alvefur <zash@zash.se>
parents: 11706
diff changeset
2
11706
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 root = true
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 [*]
13192
4a107a63b0a3 editorconfig: Explicitly specify preferred charset (UTF-8)
Kim Alvefur <zash@zash.se>
parents: 13191
diff changeset
6 charset = utf-8
11706
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 end_of_line = lf
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 indent_style = tab
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 insert_final_newline = true
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 trim_trailing_whitespace = true
13193
e2e4779c6790 editorconfig: Specify max line length to match luacheck settings
Kim Alvefur <zash@zash.se>
parents: 13192
diff changeset
11 max_line_length = 150
11706
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 [CHANGES]
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 indent_size = 4
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 indent_style = space
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 [configure]
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 indent_size = 3
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 indent_style = space
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20
13194
b8398218dd23 editorconfig: Include the command used to normalize *.xml
Kim Alvefur <zash@zash.se>
parents: 13193
diff changeset
21 [*.xml]
b8398218dd23 editorconfig: Include the command used to normalize *.xml
Kim Alvefur <zash@zash.se>
parents: 13193
diff changeset
22 # xmllint --nsclean --encode UTF-8 --noent --format -
11706
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 indent_size = 2
56feb0cf7052 editorconfig: We use tabs
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 indent_style = space