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
Julia
32daaf74ce
Fix tests
2022-08-18 18:27:34 +03:00
Julia
febe4cc9e0
Add calculation for rotation index
2022-08-18 18:04:38 +03:00
Julia
0fae8b7dcf
Fix circular import
2022-08-18 14:28:48 +03:00
Julia
bcf6ccb865
Move calculation of event start and end dates to separate method
2022-08-18 13:55:07 +03: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
Julia
736bc3b348
Fix events dates calculation for old shifts and ical schedules
2022-08-17 17:04:27 +03:00
Julia
5405af3598
Fix test
2022-08-17 13:54:56 +03:00
Julia
1e3e39d5e0
Add tests for events datetime calculation
2022-08-17 13:17:28 +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
Julia
a0efa4e025
Improve update shift logic using rotation start and until dates
2022-08-16 15:38:52 +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
Ildar Iskhakov
21e87bc0d6
Merge pull request #326 from grafana/ildar/critical-alert-on-ios
...
Enable critical alerts for IOS devices
2022-08-03 13:18:57 +03:00
Ildar Iskhakov
4fee9049e0
Enable critical alerts for IOS devices
2022-08-03 12:56:15 +03:00
Michael Derynck
3c1716a2fb
Lint
2022-08-02 15:26:17 -06:00
Michael Derynck
7cee7d4bce
Use blocks instead of attachments so text is used for fallback instead of repeating
2022-08-02 15:24:13 -06:00
Michael Derynck
23c1f9a744
Use text fallback field in all places where attachments and blocks are used
2022-08-02 11:50:38 -06:00
Innokentii Konstantinov
819add5f2e
Add DANGEROUS_WEBHOOKS_ENABLED live setting ( #286 )
...
* Add DANGEROUS_WEBHOOKS_ENABLED live setting
* Style fix
* Fix DANGEROUS_WEBHOOKS_ENABLED check
2022-08-02 14:20:18 +04:00