Yulya Artyukhina
fdd369c16b
Merge pull request #288 from grafana/julia-web-schedule-backend-3
...
Create new oncall shift on update for started shifts
2022-07-28 17:30:35 +03:00
Julia
60ac09b950
Correct until validation
2022-07-28 12:18:14 +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
Julia
26d3ac6a48
fix serializer, add tests for shifts internal api endpoint
2022-07-27 13:40:07 +03:00
Julia
c3fc514ad4
Update oncall shift serializer
2022-07-26 16:42:30 +03:00
Julia
0406d7a1f3
Add title for shifts, update shift validation for internal api endpoint
2022-07-25 15:37:25 +03:00
Vadim Stepanov
76f67b171a
Show only maintenances for current team ( #287 )
2022-07-25 11:09:06 +01:00
Julia
9537e72e4e
Add creation oncall shift on update by internal api
2022-07-25 12:52:57 +03: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
cf6a43c71e
Override shifts use rolling_users
2022-07-22 11:54:53 -03:00
Matias Bordese
4649f1faaa
Update schedule tests for missing shift rotation_start
2022-07-22 09:29:34 -03: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
Julia
b7a0411142
Fix oncall shifts serializer, fix migration, update oncall shift log text
2022-07-20 13:11:16 +03:00
Ildar Iskhakov
7e12254d09
Merge pull request #256 from grafana/iskhakov/mobile-app-fixes
...
Add fixes for the mobile app
2022-07-20 11:04:35 +03:00
Ildar Iskhakov
035d5e99c7
Fix linter
2022-07-20 10:58:54 +03:00
Ildar Iskhakov
ee7a58b5cf
Add fixes for the mobile app
2022-07-20 10:26:14 +03:00
Vadim Stepanov
193519abc0
Add version mismatch warning ( #241 )
...
* add version mismatch warning
* add link to update docs
2022-07-18 14:24:03 +01:00
Julia
59e88d0c43
fix update shift at internal api endpoint
2022-07-18 15:43:57 +03:00
Julia
f7b3563600
Update serializers for oncall shifts
2022-07-18 15:23:15 +03:00
Julia
24cfd3686a
fix tests
2022-07-18 13:29:01 +03:00
Julia
a4c481a1ff
Add rotation_start field to shifts public api endpoint, fix tests
2022-07-18 12:59:50 +03:00
Vadim Stepanov
16bbfbbe73
Alert list view & caching rework ( #216 )
...
* remove cache usage in AlertGroupView
* remove CustomSearchFilter
* remove caching for alerts
* remove readonly db setup
* render templates on alert creation
* serialize only necessary fields on alert groups list
* optimize AlertGroupListSerializer
* return on-demand templating for alerts
* return on-demand templating for alert groups
* use CursorPaginator
* remove templating on alert create
* pass alert to AlertGroupWebRenderer
* alert_count -> alerts_count
* make sql joins after pagination
* add migration
* bring alert.save() back
* fix tests
* fix tests
* fix tests
* add perpage query param
* add cursor pagination to incidents page
* remove cached_render_for_web usage
* post merge fix
* keep cursor
* lint
* remove get_alert_groups_and_days_for_previous_same_period
* fix pagination on navigate
* refine search_fields on AlertGroupView
Co-authored-by: Maxim <hello.makson@gmail.com>
Co-authored-by: Maxim <maxim.mordasov@grafana.com>
2022-07-14 15:19:25 +01:00
Yulia Shanyrova
78598fb95b
Merge pull request #224 from grafana/1099-list-shift-missing-users
...
Return list of usernames in a shift that do not match users in OnCall
2022-07-14 13:32:07 +02: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
Michael Derynck
9ce53b8215
Fix tests
2022-07-12 11:47:37 -06:00
Michael Derynck
75172d5e2c
Return list of usernames in a shift that do not match users in OnCall
2022-07-12 11:00:02 -06:00
Julia
5ebcb39499
fix by_day value, fix getting next event date with respect to rotation end date
2022-07-12 17:13:56 +03:00
Julia
6dc4657371
fix searching shifts by schedule_id
2022-07-12 14:46:34 +03:00
Julia
d8a3206130
Add oncall shift endpoint to internal api
2022-07-12 13:59:17 +03:00
Vadim Stepanov
df32f9099f
Add API support for user timezone and working hours ( #201 )
...
* add API support for user timezone and working hours
* add tests
2022-07-11 13:16:56 +01:00
Matias Bordese
b5e624e2ed
Merge pull request #196 from grafana/matiasb-web-schedule-backend-1
...
Initial web schedule model and serializers. Add override shift type.
2022-07-08 14:27:01 -03:00
Matias Bordese
87fda3caf6
Use shift public key in events
2022-07-06 15:47:21 -03:00
Matias Bordese
fea2456a8f
Add schedule filter_events plugin API
2022-07-05 15:50:38 -03:00
Matias Bordese
a153d283e4
Initial web schedule model and serializers. Add override shift type.
2022-07-05 12:41:55 -03:00
Julia
5f87f83b2b
Update public endpoint for routes
...
- Add field for telegram
- Add support for messaging backends
2022-06-29 14:05:02 +03:00
Innokentii Konstantinov
174309a531
Optimize schedules select in escalation page ( #129 )
...
* Add FastScheduleSerializer
* Linting
* Chnaged Gselect for RemoteSelect for notifySchedules in escalation policies
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-06-23 13:46:04 +04:00
Innokentii Konstantinov
e06f77389a
Fix Status column in the user table ( #123 )
...
* Fix Status column in the user table
* Request features in users table
* Remove check of features in users table
* Polishing
* Fix style
* Inroduce hidden_fields
* Fix comment
2022-06-22 18:11:17 +04:00
Matias Bordese
2a5e0dc1f1
Merge pull request #43 from grafana/remove-unused-feature-flag
...
Remove unused messaging backends feature flag
2022-06-15 14:29:26 -03:00
Michael Derynck
66e8cf2cbc
Merge dev to main ( #54 )
...
* Log (failed) attempt to notify a user with viewer role
* Remove https:// prefix from BASE_URL docker env var
* Fix cloud heartbeat name
* Polishing telegram
* Update docker-compose.yml
* Update plugin README (#48 )
* Update README and screenshot, remove plop for build info since version is now displayed prominently
* Sign build
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
* Build actions (#38 )
* Drone, github action changes
* Minor version updates
* Update frontend dependencies
* Re-enable unit test
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
* Revert stylelint version (#52 )
* Revert stylelint version
* Build plugin as well as lint
* Build in previous step
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
* Update screenshot (#53 )
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
Co-authored-by: Matias Bordese <mbordese@gmail.com>
Co-authored-by: Matvey Kukuy <Matvey-Kuk@users.noreply.github.com>
Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>
Co-authored-by: Matvey Kukuy <matvey@amixr.io>
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
2022-06-13 16:39:58 -06:00
Innokentii Konstantinov
48bfe86d62
Add cloud connection statuses on user page ( #34 )
...
* Add cloud connection statuses on user page
* Add fixes for oncall hobby docker-compose installation
* Fix for links and for cloud user status at User settings
* Delete cloud api token on cloud disconnect
* Merge branch 'dev' into cloud_connection_statuses_on_user_page
* Fix cloud statuses for users
* Fix usagestats service
* Fix phone verification message in users table
* added request after syncing user
* Add endpoint to create CloudHeartbeat and polish code
* Fix imports
* Check token and heartbeat setting in setup_hertbeat_integration
* Add macthed_users_count in cloud users
* Sync users on token change
* Fix query param
* Fix tests
* Heartbit button logic, tab width fix, coount users fix
* Solve problem of existent cloud heartbeat integration
* Solve problem of existent cloud heartbeat integration 2
* Solve problem of existent cloud heartbeat integration 3
* fix build
* build fix, styles for env variables description
Co-authored-by: Ildar Iskhakov <ildar.iskhakov@grafana.com>
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-06-13 16:29:08 +04:00
Matias Bordese
c0708902d2
Remove unused messaging backends feature flag
2022-06-10 11:09:05 -03:00
Innokentii Konstantinov
2de3e17e3d
Fix tests
2022-06-08 20:33:53 +04:00