Rares Mardare
ea54d21b76
Merge branch 'dev' into 472-wrong-team
2022-09-26 13:34:46 +03:00
Julia
aeb8de96a2
Update comment for wrong_team_response in UserView
2022-09-20 14:47:42 +03:00
Julia
4bcdcfa381
Wrong team error for user page
2022-09-16 11:52:38 +03:00
Julia
7d5636291a
Wrong team error for integrations and escalation chains pages
2022-09-12 17:30:45 +03:00
Julia
e4ae10c678
Wrong team error for schedules and custom buttons, add flag to get object from the whole organization
2022-09-12 17:26:23 +03:00
Innokentii Konstantinov
3e8c7a24c8
Add hiding personal phone numbers ( #411 )
...
* Add hiding personal phone numbers
* Fix tests
* phone number toggler
* fixed issue where id was not set
* some improvement changes
* show toggle just for validated phone numbers
* ux changes + refactored PhoneVerification
* minor changes
* linter
* hide banner
* ux changes for phone verification
* make it full width
* linter
* show action only if phone is verified
* linter
* revert isCodeSent once phone is forgotten
* fix UserHiddenFieldsSerializer
* await for loadUser
* missing WithPermissions wrapper
Co-authored-by: Rares Mardare <rares.mardare@grafana.com>
Co-authored-by: Rares Mardare <40542072+teodosii@users.noreply.github.com>
2022-09-09 12:42:40 +05:00
Matias Bordese
e5c247cf42
Add name search filter to schedules API
2022-09-07 14:34:43 -03:00
Matias Bordese
02326d81fa
Merge pull request #485 from grafana/matiasb/schedules-related-escalation-chains
...
Add related escalation chains details to schedule API
2022-09-07 11:17:05 -03:00
Matias Bordese
5a68847557
Refactoring schedule API annotations
2022-09-07 11:12:38 -03:00
Matias Bordese
0a9c9eb59a
Merge pull request #487 from grafana/matiasb/next-shifts-per-user-list-all
...
Update next shifts per user to list all (web) schedule users
2022-09-07 10:26:28 -03:00
Vadim Stepanov
afe13550da
Alert group search ( #488 )
...
* use web title template to render alert group verbose name
* remove group_verbose_name from tests
* clean up group_verbose_name
* remove verbose_name from API & plugin
* verbose_name migration
* update verbose name on web title template change
* use long queue for updating verbose name
* use first alert for updating verbose name
* improve batch_ids
* fix update_verbose_name
* post-review fixes
* post-review fixes
2022-09-06 11:30:12 +01:00
Matias Bordese
d74f4cc2be
Update next shifts per user to list all (web) schedule users
2022-09-05 17:23:35 -03:00
Matias Bordese
b41fec5439
Add related escalation chains details to schedule API
2022-09-05 15:00:14 -03:00
Matias Bordese
b5a892a9c2
Merge pull request #381 from grafana/matiasb/fix-final-schedule-event-splitting
...
Fixes for final event calculation when splitting/combining events
2022-09-05 10:10:11 -03:00
Matias Bordese
37eefe8e08
Allow empty users when previewing a web schedule shift
2022-09-02 16:45:35 -03:00
Matias Bordese
84dd4eebf5
Update shift preview to reuse shift PK when previewing update
2022-09-02 16:45:35 -03:00
Matias Bordese
c84f53c2b7
Handle shift previews for rotation updates
2022-09-02 16:45:35 -03:00
Matias Bordese
11175e27e5
Combine same-shift schedule events early
2022-09-02 16:45:35 -03:00
Matias Bordese
c9ea6e4728
Add web_schedules feature flag
2022-09-02 15:37:33 -03:00
Matias Bordese
6339b13a2f
Merge pull request #423 from grafana/matiasb/unlink-slack-account
...
Add unlink slack account option to profile
2022-08-30 10:57:36 -03:00
Innokentii Konstantinov
45a2d46405
Fix deletion of public api tokens ( #422 )
2022-08-30 14:25:19 +01:00
Matias Bordese
6b2dad72d6
Add insight log entry
2022-08-30 09:55:57 -03:00
Matias Bordese
a8124b6afe
Add unlink slack account option to profile
2022-08-29 14:41:26 -03: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
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
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
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
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
2a2ecb6612
Make messaging backends enum be defined explicitly
2022-08-11 17:26:45 -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
4a35d2522a
Move schedule helpers (filter events, final) to model
2022-08-04 17:00:09 -03:00
Vadim Stepanov
d409b839b3
Fix circular import for CloudConnector ( #329 )
2022-08-03 12:43:28 +01:00
Vadim Stepanov
8b553ce735
Validate Slack and Telegram host env variables ( #307 )
...
* Validate Slack and Telegram host env variables
* remove ImproperlyConfigured usage, improve Telegram creds handling
* update TELEGRAM_WEBHOOK_HOST description
2022-08-02 12:57:12 +03:00
Matias Bordese
8fa547ee11
Merge pull request #295 from grafana/matiasb-schedule-next-shifts-per-user
...
Add schedule next shifts per user endpoint to internal API
2022-07-29 16:29:23 -03:00
Vadim Stepanov
a1b1b83fd1
Optimize alert group list view ( #299 )
...
* Revert "Revert "Alert list view & caching rework (#216 )""
This reverts commit 730dccc3
* Revert "fix AlertGroupClassicMarkdownRenderer"
This reverts commit 82e53d8e0c513feb8aaef332fc1d3800e90538fc.
* optimize alert group list view
* optimize alert group list view
2022-07-27 14:14:59 +03:00
Matias Bordese
e6274dc992
Add schedule next shifts per user endpoint to internal API
2022-07-26 15:28:52 -03:00
Vadim Stepanov
76f67b171a
Show only maintenances for current team ( #287 )
2022-07-25 11:09:06 +01:00
Innokentii Konstantinov
0e8e6b2eb7
Merge pull request #285 from grafana/dummy_insight_logs
...
Test view for the insight logs
2022-07-25 13:41:34 +04:00
Innokentii Konstantinov
972bfd9c68
Fix propagation for the insight logger
2022-07-25 12:59:12 +04:00
Matias Bordese
1ded234d42
Updates from review, improve readability
2022-07-22 09:13:52 -03:00
Matias Bordese
fdba32a15f
Update schedule filter_events to resolve final schedule shifts
2022-07-22 09:13:52 -03:00
Ildar Iskhakov
d08425e17d
Add logger for insight logs
2022-07-22 15:09:52 +03:00
Innokentii Konstantinov
4a0dbe674c
Add TestInsightLogsAPIView
2022-07-22 14:25:50 +04:00
Yulya Artyukhina
6b456f9820
Merge pull request #220 from grafana/julia-web-schedule-backend-2
...
Internal api endpoint for oncall shifts
2022-07-22 11:52:22 +03:00
Vadim Stepanov
c37bfe45b1
Fix timezone naming clash ( #271 )
2022-07-21 15:49:17 +01:00
Vadim Stepanov
0985cb4cb5
Rollback alert group list rework ( #269 )
...
* Revert "Alert list view & caching rework (#216 )"
This reverts commit 16bbfbbe
* fix AlertGroupClassicMarkdownRenderer
2022-07-21 15:23:02 +01:00
Ildar Iskhakov
ee7a58b5cf
Add fixes for the mobile app
2022-07-20 10:26:14 +03:00