grafana/docs/sources
owensmallwood d5b9602a79
Config: Can add static headers to email messages (#79365)
* Can add allowed custom headers to an email Message. WIP.

* adds slug as a custom email header to all outgoing emails

* Headers are static - declared as key/value pairs in config. All static headers get added to emails.

* updates comment

* adds tests for parsing smtp static headers

* updates test to assert static headers are included when building email

* updates test to use multiple static headers

* updates test names

* fixes linting issue with error

* ignore gocyclo for loading config

* updates email headers in tests to be formatted properly

* add static headers first

* updates tests to assert that regular headers like From cant be overwritten

* ensures only the header is in a valid format for smtp and not the value

* updates comment and error message wording

* adds to docs and ini sample files

* updates smtp.static_headers docs examples formatting

* removes lines commented with semi colons

* prettier:write

* renames var
2023-12-14 12:59:43 -06:00
..
administration Navigation: More updates to the docs for admin subsections (#78857) 2023-11-30 08:19:07 -06:00
alerting Special alerts for NoData and Error (#79193) 2023-12-12 15:54:33 +01:00
breaking-changes Docs: Fixing Security Advisory URL (#75483) 2023-10-24 12:21:02 -07:00
dashboards PublicDashboards: Remove unsupported datasource warning for cloudwatch (#79403) 2023-12-13 09:18:29 -03:00
datasources Fixed broken url link for applying annotation in this doc page (#78673) 2023-11-27 15:19:51 +01:00
developers update angular plugin list (#79380) 2023-12-12 10:20:09 -08:00
explore Explore: Create menu for short link button (#77336) 2023-12-12 09:55:03 -06:00
fundamentals Docs: Remove old plugin docs, fix URLs to go to new dev portal (#75325) 2023-09-29 07:43:48 +01:00
getting-started Docs: add dashgpt information (#77177) 2023-10-27 13:55:52 -04:00
introduction Docs: Update list of open source projects (#79432) 2023-12-13 09:49:12 -05:00
old-alerting Update all use of docs/shared in Grafana to use keyword arguments (#74167) 2023-08-31 11:00:04 +01:00
panels-visualizations Docs: add/update frontmatter descriptions for panel config pages (#79412) 2023-12-13 16:24:26 -05:00
release-notes Fix developer links and newly discovered spelling errors (#75875) 2023-10-03 13:49:27 +01:00
search Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
setup-grafana Config: Can add static headers to email messages (#79365) 2023-12-14 12:59:43 -06:00
shared Docs: add missing alt text (1/3) (#79274) 2023-12-08 11:24:35 -05:00
troubleshooting Docs: fix broken links (#71911) 2023-07-20 12:39:59 -04:00
tutorials Alerting: Update 'Create alert' to 'New alert rule' in the panel and docs (#76950) 2023-11-02 17:33:53 +01:00
upgrade-guide Whats'new : Added new datasource permission api changes (#78571) 2023-11-28 09:35:27 -05:00
whatsnew Docs: add missing alt text (1/3) (#79274) 2023-12-08 11:24:35 -05:00
_index.md Set TEMPO_VERSION as "latest" across all pages (#78822) 2023-11-29 15:55:28 +00:00
cli.md Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00