Matias Bordese
f378eab7b7
Allow enabling schedules alpha per organization
2022-10-05 14:06:42 -03:00
Matias Bordese
2a3fc397db
Clear users cache before schedule tests logic/asserts
2022-10-03 15:00:23 -03:00
Matias Bordese
f8314ef9c2
Fix timing issue with schedule tests reusing cached users ( #592 )
...
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
2022-10-03 11:37:59 +01:00
Rares Mardare
81df9c4838
Merge pull request #520 from grafana/472-wrong-team
...
472 wrong team
2022-09-29 14:59:52 +03: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
Rares Mardare
ea54d21b76
Merge branch 'dev' into 472-wrong-team
2022-09-26 13:34:46 +03:00
Maxim Mordasov
9330b89101
Schedules alpha fixes ( #541 )
...
* schedule alpha major fixes
* Fix shift update for web schedules
* Fix priority level regex, fix getting shifts without duration
* Fix shift update for web schedules
* Fix tests for shift update
* Fix priority level test
* schedule alpha fixes
* add final schedule click handler
* fix date time picker
* fix utc timzeonr time picker
* fix utc time data
* dont use user timezone on start
Co-authored-by: Julia <ferril.darkdiver@gmail.com>
2022-09-21 11:19:59 +01:00
Julia
aeb8de96a2
Update comment for wrong_team_response in UserView
2022-09-20 14:47:42 +03:00
Julia
c92faf23c6
Add tests for wrong team for user
2022-09-16 11:53:47 +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
Julia
67eb0b423d
Merge branch 'dev' into on-call-shifts-rotation-index
...
# Conflicts:
# engine/apps/schedules/models/on_call_schedule.py
2022-09-08 16:43:35 +03:00
Matias Bordese
62ace52ff0
Merge pull request #507 from grafana/matiasb/fix-preview-rotation-start
...
Update preview rotation start logic to match update logic
2022-09-08 10:32:31 -03:00
Matias Bordese
2d13f9116b
Update shift preview to return events for (all) affected shifts
2022-09-08 09:33:51 -03:00
Matias Bordese
a4c036d5aa
Update preview rotation start logic to match update logic
2022-09-07 15:37:03 -03:00
Matias Bordese
e5c247cf42
Add name search filter to schedules API
2022-09-07 14:34:43 -03:00
Julia
9f71b5d72f
Merge branch 'dev' into on-call-shifts-rotation-index
2022-09-07 18:54:39 +03:00
Matias Bordese
026474b43b
Merge pull request #486 from grafana/matiasb/update-preview-shift-pk-reuse
...
Update web schedule shift preview PK reusing logic
2022-09-07 11:35:34 -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
Matias Bordese
b48aadc01c
Merge pull request #473 from grafana/matiasb/fix-update-channel-filter-api-multiple-backends
...
Fix channel filter updates when there are multiple backends
2022-09-06 17:14:07 -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
Julia
5c0d0ace3e
Remove user group rotation reordering
2022-09-06 12:59:38 +03: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
c413c54329
Update web schedule shift preview PK reusing logic
2022-09-05 15:50:58 -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
7fd0e5ecf7
Skip empty events in final schedule
2022-09-02 16:45:35 -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
ecbc3ea778
Fix channel filter updates when there are multiple backends
2022-09-02 14:26:47 -03:00
Vadim Stepanov
2fdce0504b
Improve version mismatch warning ( #469 )
2022-09-02 15:16:00 +01: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
771ad617ff
Fix schedule test, sort users before compare
2022-08-23 17:11:04 -03: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