Innokentii Konstantinov
45a2d46405
Fix deletion of public api tokens ( #422 )
2022-08-30 14:25:19 +01:00
Matias Bordese
363e90c861
Fix custom on call shift test
2022-08-29 14:33:19 -03:00
Innokentii Konstantinov
b703130dcb
Revert "Fix GRAFANA_CLOUD_ONCALL_API_URL"
...
This reverts commit fb67003f1e .
2022-08-29 17:36:27 +05:00
Innokentii Konstantinov
fb67003f1e
Fix GRAFANA_CLOUD_ONCALL_API_URL
2022-08-29 17:34:27 +05:00
Innokentii Konstantinov
76901a564b
Handle case when user somehow deleted all their notification policies
2022-08-26 14:26:01 +05:00
Innokentii Konstantinov
356aa336ad
Remove auto-recreating logic for UserNotificationPolicy ( #414 )
...
* Remove auto-recreating logic for UserNotificationPolicy
It's removed to get rid of select_for_update on User on each notify_user_task
* Fix and add tests
* remove get_user_policies method
2022-08-26 13:46:50 +05:00
Innokentii Konstantinov
434fe17617
user_id -> linked_user_id ( #410 )
2022-08-25 13:34:19 +05:00
Vadim Stepanov
b32d24a85e
Generate unique distinction for alert groups with broken templates / unrenderable distinction ( #405 )
...
* Generate unique distinction for alert groups with broken templates
* insert_demo_uuid -> insert_random_uuid
2022-08-24 16:40:10 +01:00
Vadim Stepanov
eba799abb4
Handle Telegram BadRequest ( #404 )
2022-08-24 15:35:01 +01:00
Innokentii Konstantinov
8730a8c7e4
use insight instead of insight_logs
2022-08-24 13:39:05 +05:00
Innokentii Konstantinov
4765c9b07c
Insight logs ( #348 )
...
* Entity events insight logs
* Insight logging
* Fix event for updating templates
* Format fixes
* Remove organization_log_type.py
* Simplify signature of chatops_insight_log
* insight logs formatting
* Add possibility to enable all insight logging via DynamicSetting
* Fixes
* Style fixes
* Add migration
* Fix migration
2022-08-24 12:04:44 +05:00
Innokentii Konstantinov
b58f32e396
Set DATA_UPLOAD_MAX_MEMORY_SIZE to 1mb ( #393 )
...
* Set DATA_UPLOAD_MAX_MEMORY_SIZE to 1mb
* Remove comment
* More clear DATA_UPLOAD_MAX_MEMORY_SIZE literal
* Add getenv_integer
2022-08-24 11:59:01 +05:00
Matias Bordese
ddc2cf2083
Merge pull request #400 from grafana/matiasb/fix-sorting-in-schedule-test
...
Fix schedule test, sort users before compare
2022-08-23 17:15:43 -03:00
Matias Bordese
771ad617ff
Fix schedule test, sort users before compare
2022-08-23 17:11:04 -03:00
Matias Bordese
3c4ba80f5f
Merge pull request #397 from grafana/matiasb/user-already-linked-telegram-account
...
Handle user already linked to telegram account when verifying
2022-08-23 16:52:29 -03:00
Matias Bordese
94b634234e
Merge pull request #396 from grafana/matiasb/fix-next-rotation-event-start
...
Revisit recurring events start date respect to rotation start
2022-08-23 16:52:10 -03:00
Matias Bordese
5b6f4b2c54
Handle user already linked to telegram account when verifying
2022-08-23 14:59:10 -03:00
Matias Bordese
619b09bc6e
Revisit recurring events start date respect to rotation start
2022-08-23 12:06:14 -03:00
Ildar Iskhakov
762c681ebf
Merge pull request #323 from grafana/167-slack-notification-not-displaying
...
Fix slack notifications not displaying properly
2022-08-23 18:03:12 +03:00
Vadim Stepanov
3cd9a81d7d
Add logging for Telegram BadRequest ( #394 )
2022-08-23 15:17:05 +01:00
Matias Bordese
c73df126cc
Merge pull request #359 from grafana/matiasb/messaging-backends-explicit-enum
...
Make messaging backends enum be defined explicitly
2022-08-22 12:14:46 -03:00
Innokentii Konstantinov
6fb22e0860
Add alert detail view ( #385 )
...
* Alert detail view
* Add id to alert serializer
2022-08-19 14:03:07 +05:00
Rares Mardare
96cb5b7e00
Merge pull request #354 from grafana/531-links-new-tab
...
351 - Open external links in new tab
2022-08-18 13:15:08 +03:00
Vadim Stepanov
ed98178b53
Wrong team error for alert groups page ( #337 )
...
* WIP
* WIP added stub for getAlert endpoint
* add TeamFilteringMixin
* handle 403 wrong_team for alert group page
* use TeamFilteringMixin only for alert groups
* return original_get_object for schedules and webhooks
* lint
* fix texts
* add support for None in 403 response, add comments
* handle NotFound in retreive
* remove comments
* use HTTP_403_FORBIDDEN
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-08-17 10:46:53 +03:00
Matias Bordese
82d0548cd3
Fix rotation start in tests after merged updates
2022-08-16 11:02:12 -03:00
Matias Bordese
5c87b7562c
Fix to check for final type in schedule filter_events
2022-08-16 10:50:16 -03:00
Matias Bordese
4477c56b25
Add shift preview endpoint for web schedule
2022-08-16 10:50:16 -03:00
Matias Bordese
96e2fd6926
Merge pull request #320 from grafana/matiasb-combine-same-shift-events
...
Update schedule filter_events to combine overlapping same-shift events
2022-08-16 10:44:57 -03:00
Yulya Artyukhina
6f8ee39026
Merge pull request #330 from grafana/on-call-shifts-generate-ical-update
...
Update generating ical for on-call shifts
2022-08-16 15:26:47 +03:00
Michael Derynck
4c37e199e9
Merge pull request #369 from grafana/static-url-env-var
...
Make STATIC_URL configurable from env
2022-08-15 14:24:57 -06:00
Michael Derynck
0221ce612a
Make STATIC_URL configurable from env
2022-08-15 12:08:53 -06:00
Matias Bordese
b32d3dcbe2
Merge pull request #345 from grafana/matiasb/postgresql-backend-dev
...
Add postgresql support for development/testing
2022-08-15 12:46:29 -03:00
Michael Derynck
3c2a14e0dc
Tolerate UserId/UserID in X-Grafana-Context header ( #364 )
2022-08-12 09:57:54 -06:00
Rares Mardare
94c245dc3a
Hook auto-formatting
2022-08-12 12:23:27 +03:00
Matvey Kukuy
7bc4aaa3b7
Bump django version ( #362 )
2022-08-12 11:49:20 +03:00
Matias Bordese
2a2ecb6612
Make messaging backends enum be defined explicitly
2022-08-11 17:26:45 -03:00
Rares Mardare
b2e4813ae6
Open external links from env screen in new tab
2022-08-11 17:29:11 +03:00
Ildar Iskhakov
2ddc20b1f3
Remove excessive usage of attachments
2022-08-09 21:50:22 +03:00
Matias Bordese
1a1c8efa96
Update schedule filter_events to combine overlapping same-shift events
2022-08-09 11:01:07 -03:00
Matias Bordese
aa3330f71a
Merge pull request #340 from grafana/matiasb/refactoring-final-schedule-helpers
...
Move schedule helpers (filter events, final events) to model
2022-08-09 10:55:24 -03:00
Andrew Grangaard
07b41fdfa8
Fix spelling of "lose" ( #346 )
2022-08-09 15:56:07 +03:00
Matias Bordese
3b3802870a
Add postgresql support for development/testing
2022-08-08 15:33:40 -03:00
Matias Bordese
4a35d2522a
Move schedule helpers (filter events, final) to model
2022-08-04 17:00:09 -03:00
Ildar Iskhakov
3933c225d9
Merge branch 'dev' into 167-slack-notification-not-displaying
2022-08-04 15:33:58 +03:00
Julia
81373fd072
Add comments
2022-08-04 13:46:23 +03:00
Ildar Iskhakov
4e16767eaa
Cleanup unused code
2022-08-04 13:37:15 +03:00
Ildar Iskhakov
d036864d9a
Fix resolution notes bug
2022-08-04 12:27:08 +03:00
Vadim Stepanov
d409b839b3
Fix circular import for CloudConnector ( #329 )
2022-08-03 12:43:28 +01:00
Julia
3b2d20edcd
Add tests for on-call shift, fix schedules tests
2022-08-03 14:38:48 +03:00
Julia
0fd1266614
Update generating ical for on-call shifts with respect to rotation start date
2022-08-03 14:35:06 +03:00