Ildar Iskhakov
1b7ada4315
Add database migrations linter ( #1020 )
...
# What this PR does
This PR adds
[django-migration-linter](https://github.com/3YOURMIND/django-migration-linter )
to keep database migrations
backwards compatible
- we can automatically run migrations and they are zero-downtime, e.g.
old code can work with the migrated database
- we can run and rollback migrations without worrying about data safety
- OnCall is deployed to the multiple environments core team is not able
to control
See [django-migration-linter
checklist](https://github.com/3YOURMIND/django-migration-linter/blob/main/docs/incompatibilities.md )
for the common mistakes and best practices
## Which issue(s) this PR fixes
## Checklist
- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated
---------
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-02-06 16:01:37 +08:00
Michael Derynck
d15a507763
Add simple check if using API key instead of AUTH token
2022-11-09 21:52:42 -07:00
Michael Derynck
bc16795fa8
Allow use of API keys as alternative to account auth token for Twilio credentials
2022-10-11 14:47:16 -06:00
Michael Derynck
c8fc19b402
Use stack-slug instead of org-title
2022-09-06 13:45:34 -06:00
Matias Bordese
8b60fab8f0
Disable gather digit step for cloud phone call ( #308 )
2022-08-02 12:58:36 +03:00
Michael Derynck
90603a1a9b
Revert "Revert fix for twilio path prefix, not working needs more testing ( #293 )" ( #296 )
...
This reverts commit 573122021b .
2022-07-26 12:57:39 -06:00
Michael Derynck
573122021b
Revert fix for twilio path prefix, not working needs more testing ( #293 )
2022-07-26 10:18:42 -06:00
Michael Derynck
6a2ffa9432
When checking call is coming from twilio account for path prefix being stripped by a server earlier in the chain ( #290 )
2022-07-26 09:43:39 -06:00
Michael Derynck
ce8f4e53fa
Conform URLs ( #281 )
...
* Make any URLs build from env vars tolerant of path prefix, trailing/leading slashes
* Add comment
* Lint
2022-07-25 09:12:50 -06:00
Michael Derynck
fc97a4e3de
Merge dev
2022-07-12 15:45:59 -06:00
Michael Derynck
74a32c444a
Use utility function to create URLs
2022-07-12 15:42:20 -06:00
Innokentii Konstantinov
f8f86db7b0
Fix phone notifications for oss ( #171 )
...
* Fix phone notifications for oss
* Don't pass status_callback_method while processing 21609 error from twilio
2022-07-12 12:56:01 +04:00
Innokentii Konstantinov
3fae0c9ff2
Fix always error message for cloud notifications
2022-06-09 15:48:43 +04:00
Innokentii Konstantinov
94af30b8bb
Fixes and logging to debug cloud notifications ( #31 )
2022-06-09 15:11:30 +04:00
Innokentii Konstantinov
e277534f32
Sync only admins and editors
2022-06-08 17:31:55 +04:00
Innokentii Konstantinov
5a0150192e
Push migration
2022-06-06 19:05:50 +04:00
Innokentii Konstantinov
5e494531eb
Add CloudUsersView
2022-06-03 23:03:54 +04:00
Matias Bordese
f68d3f2146
Plug in sms/phone cloud notifications
2022-06-03 14:59:43 -03:00
Innokentii Konstantinov
0cdd2d7b8b
First touch on grafana cloud notifications
2022-06-03 19:47:25 +04:00
Michael Derynck
6b40f95033
World, meet OnCall!
...
Co-authored-by: Eve832 <eve.meelan@grafana.com>
Co-authored-by: Francisco Montes de Oca <nevermind89x@gmail.com>
Co-authored-by: Ildar Iskhakov <ildar.iskhakov@grafana.com>
Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>
Co-authored-by: Julia <ferril.darkdiver@gmail.com>
Co-authored-by: maskin25 <kengurek@gmail.com>
Co-authored-by: Matias Bordese <mbordese@gmail.com>
Co-authored-by: Matvey Kukuy <motakuk@gmail.com>
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
Co-authored-by: Richard Hartmann <richih@richih.org>
Co-authored-by: Robby Milo <robbymilo@fastmail.com>
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-06-03 08:09:47 -06:00