Commit graph

81 commits

Author SHA1 Message Date
alyssa wada
a6b8c6f30e remove manual CTAs and add section shortcode to alert-behavior 2022-11-03 14:11:37 -06:00
alyssa wada
35e37b07e7 Add temporary language to currently empty alert behavior doc until new content is complete 2022-11-03 11:34:32 -06:00
Alyssa Wada
95dcc3b942
Merge pull request #644 from grafana/docs-restucture-1
documentation file restructure phase 1 - restructures existing content to help users navigate Grafana OnCall documentation more easily.
2022-11-03 11:20:16 -06:00
Vadim Stepanov
e2456315af
Allow no-auth SMTP connection for email notifications (#759)
* DEFAULT_FROM_EMAIL -> EMAIL_FROM

* add EMAIL_FROM live setting

* EMAIL_FROM -> EMAIL_FROM_ADDRESS

* merge dev

* add test for get_from_email

* allow live settings to be null on internal API

* remove redundant tests
2022-11-03 16:18:37 +00:00
Jack Baldry
78025c2a60
Fix spelling of Alertmanager
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-27 14:01:07 -04:00
Jack Baldry
e55f7dc951
Merge branch 'dev' into docs-restucture-1 2022-10-27 13:58:26 -04:00
Jack Baldry
87d0a50e03
Ensure canonical URLs match the new page locations
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-26 12:32:47 -04:00
Jack Baldry
7a22410bf6
Remove grafana-cloud absolute aliases
They will only redirect to oncall docs and not to grafana-cloud docs.
Relative aliases will correctly redirect within the grafana-cloud docs.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-26 12:21:59 -04:00
Jack Baldry
f9b9096fa0
Run prettier on modified files front matter
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-25 10:41:01 -04:00
Jack Baldry
037fa48b8f
Rewrite aliases to be relative
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-25 10:39:05 -04:00
Ildar Iskhakov
a4471fc4d2
Merge pull request #677 from grafana/dev
Merge dev to main
2022-10-20 13:57:11 +08:00
Vadim Stepanov
e67d3519fe
Restore email notifications (#621)
* remove email verification related code

* remove email verification related code

* remove sendgrid callback

* remove sendgrid related code

* remove sendgrid related code

* rename sendgrid app to email

* remove email from built-in channels

* remove email from built-in channels

* remove email from built-in channels

* add email backend: https://github.com/grafana/oncall/pull/50

* add email templater

* add email templater

* convert md to html

* add email settings to live settings

* use task to send email, handle some exceptions to create logs

* remove ERROR_NOTIFICATION_MAIL_DELIVERY_FAILED usage

* add email limit logic

* fix tests

* add docs

* remove old email templates

* remove old email templates

* add template_fields to messaging backend

* add messaging backends templates to public api

* add comment for deprecated fields

* fix test

* fix tests

* disable email by default

* don't retry on SMTPException and TimeoutError

* add tests

* bring email back to public api docs

* return ERROR_NOTIFICATION_MAIL_LIMIT_EXCEEDED

* make template_fields tuple

* build_subject_and_title -> build_subject_and_message

* add one more comment about template deprecation

* use 8 as backend id

* add comment about gaierror and BadHeaderError

* add comment on importing in notify_user_async

* edit oss docs
2022-10-19 12:32:56 +01:00
Jack Baldry
e5513d1275
Fix relref links
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-18 14:41:22 -04:00
Anton Tokarev
96e2a7fba6
Fix anchor back too (#649) 2022-10-17 15:28:51 +03:00
alyssa wada
8e21117821 relref fixes 2022-10-12 16:14:06 -06:00
alyssa wada
7d5d205996 restructure batch 2 2022-10-12 15:40:52 -06:00
alyssa wada
80c572ee23 relrefs for batch 1 2022-10-12 14:20:19 -06:00
alyssa wada
1ef1927040 Docs file restucture - Batch 1 2022-10-11 16:20:19 -06:00
Joey Orlando
9f3f691ea4
Feat 549 - add telegram permalink to alert groups http response (#551)
* rename AlertGroup.permalink to slack_permalink

* add telegram key to alert_groups permalinks object in public API response
2022-09-28 16:59:57 +02:00
Joey Orlando
e16064c6ba
#539 - add slack permalink to alert group public API response (#543)
* add .python-version to .gitignore

* add .nvmrc to frontend

Also update DEVELOPER.md to mention optionally using nvm

* update DEVELOPER.md to reflect running successfully locally

* markdown autoformatter styling changes

* add slack permalink to alertgroup public api http response

* update changelog

* address PR comments

- rename permalink to permalinks in alert group public api seralizer
- add permalinks property to AlertGroup model
- update public api alert groups test
- update alertgroups public documentation to include permalinks property

* add default DEBUG = True in dev.py settings
2022-09-22 15:17:17 +02:00
Robby Milo
4cc6d53a4a
Merge remote-tracking branch 'origin/dev' into robbymilo/docs-breadcrumbs 2022-08-26 10:34:49 +02:00
Vadim Stepanov
8428848844
Telegram docs/instructions update (#406)
* update Telegram Setup section for open-source.md

* update channel connection instruction

* update Telegram configuration docs
2022-08-25 14:02:32 +01:00
Robby Milo
b45a420a30
fix ref errors 2022-08-25 12:34:49 +02:00
Robby Milo
23fd02d50d
fix docs breadcrumbs 2022-08-25 12:24:11 +02:00
Alyssa Wada
1366af90fc
1 engine = 1 frontend (#370)
* 1 engine = 1 frontend

* note bold
2022-08-17 10:56:04 +03:00
alyssa wada
b1df6b54db Add notification types 2022-08-12 15:27:07 -06:00
Ildar Iskhakov
20e476b68e Fix docs 2022-08-04 13:41:59 +03:00
Matvey Kukuy
6907477462
Merge pull request #227 from njohnstone2/226-regex-replace
support regex_replace()
2022-07-19 11:16:34 +03:00
Vadim Stepanov
7248d30796
Fix link 2022-07-19 08:47:17 +01:00
Vadim Stepanov
d6840009b7
Add docs on OSS update (#242)
* add update docs

* add oncall_db_migration pull

* add -f docker-compose.yml to pull command

* add --remove-orphans

* update -> update version header
2022-07-18 14:05:03 +01:00
Innokentii Konstantinov
aeed7b6952 Fix docs 2022-07-13 16:07:16 +04:00
Nelson Johnstone
ded39d8df3
support regex_replace() 2022-07-13 14:55:32 +10:00
Matias Bordese
b0d98e772e
Merge pull request #162 from grafana/matiasb-shift-rrule-until
Add UNTIL support for shifts recurrence rules
2022-07-04 09:47:43 -03:00
Matias Bordese
fc4165056e
Merge pull request #160 from grafana/matiasb-hourly-shifts
Add hourly support to custom shifts frequency
2022-07-04 09:46:19 -03:00
Matvey Kukuy
01d1d0588b Fixing helm chart link 2022-06-30 17:21:26 +03:00
Matvey Kukuy
a67ac794e3 Fixing links, restoring "Production environment" part 2022-06-30 17:18:05 +03:00
Alyssa Wada
f8de6eb74b
Merge pull request #168 from grafana/ms-teams-doc
Add MS teams doc
2022-06-29 11:37:55 -06:00
alyssa wada
876d2ce7ee update escalation instruction 2022-06-29 11:28:32 -06:00
alyssa wada
dad6cfc1c8 add microsoft teams doc to support integration release 2022-06-28 13:55:10 -06:00
Matias Bordese
c8b8449afc Add UNTIL support for shifts recurrence rules 2022-06-28 11:21:36 -03:00
Vadim Stepanov
c8964188e7
Allow Telegram DMs without channel connection (#142)
* allow posting DM messages to Telegram without connecting a channel

* fix get_channel_for_alert_group, add tests

* add docs on usage without channel connection
2022-06-28 09:11:19 +01:00
Matias Bordese
817693b1c0 Add hourly support to custom shifts frequency 2022-06-27 17:26:53 -03:00
Alyssa Wada
7cb20f1ee4
Merge branch 'dev' into oncall-doc-edits 2022-06-21 09:37:15 -06:00
alyssa wada
3633c6438a minor format edit 2022-06-21 09:18:46 -06:00
alyssa wada
2d68326865 Merge branch 'oncall-doc-edits' of github.com:grafana/oncall into oncall-doc-edits 2022-06-21 09:11:10 -06:00
alyssa wada
3f8dad4467 open source edits 2022-06-21 09:10:45 -06:00
Alyssa Wada
4d7d817234
Apply suggestions from code review
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2022-06-16 16:09:42 -06:00
Nate Childers
a865914dca
Update open-source.md
not sure if this should link to dev or main branch but the original url here was a 404
2022-06-15 05:07:26 -04:00
alyssa wada
cd0c8ac722 OnCall open source edits 2022-06-14 16:52:36 -06:00
Matvey Kukuy
5064fb0d9f Merge 2022-06-14 19:17:20 +03:00