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
Matias Bordese
4272f26a1e
Merge pull request #306 from grafana/matiasb-fix-intermittent-failing-test
...
Fix terraform render test to avoid intermittent fail
2022-07-29 09:11:30 -03:00
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
Matias Bordese
fa4d121320
Fix terraform render test to avoid intermittent fail
2022-07-28 10:16:43 -03:00
Julia
60ac09b950
Correct until validation
2022-07-28 12:18:14 +03:00
Julia
7d65cdf411
fix soft delete for oncall shifts
2022-07-27 14:19:27 +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
Michael Derynck
90603a1a9b
Revert "Revert fix for twilio path prefix, not working needs more testing ( #293 )" ( #296 )
...
This reverts commit 573122021b .
2022-07-26 12:57:39 -06:00
Matias Bordese
e6274dc992
Add schedule next shifts per user endpoint to internal API
2022-07-26 15:28:52 -03:00
Michael Derynck
573122021b
Revert fix for twilio path prefix, not working needs more testing ( #293 )
2022-07-26 10:18:42 -06:00
Michael Derynck
6a2ffa9432
When checking call is coming from twilio account for path prefix being stripped by a server earlier in the chain ( #290 )
2022-07-26 09:43:39 -06:00
Julia
225af99ee6
Fix creating new shift from the existing, revert changes in ical generator
2022-07-26 16:43:44 +03:00
Julia
c3fc514ad4
Update oncall shift serializer
2022-07-26 16:42:30 +03:00
Michael Derynck
ce8f4e53fa
Conform URLs ( #281 )
...
* Make any URLs build from env vars tolerant of path prefix, trailing/leading slashes
* Add comment
* Lint
2022-07-25 09:12:50 -06: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
Julia
b49955ab5c
Add soft delete for oncall shifts, check rotation start date on ical generation
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
7516183a9a
Merge pull request #268 from grafana/matiasb-resolve-web-schedule
...
Update schedule filter_events to resolve final schedule shifts
2022-07-22 14:20:20 -03:00
Michael Derynck
ff57775368
Change slack URL to be built the same as other engine URLs ( #280 )
...
* Change slack login url to be built the same way as other engine urls
* Fix tests
* Change how to override base url in create_engine_url
* Change how to override base url in create_engine_url
2022-07-22 10:02:00 -06: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
5205ceeede
More accurate invalidating of alert group web cache ( #277 )
...
* Disable invalidate ag web cache on user save
* Tweak invalidate_ag_web_cache on AlertReceiveChannel save
2022-07-22 14:58:27 +04: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
Vadim Stepanov
eeba2f5b31
Bring back cached_render_for_web ( #262 )
2022-07-21 09:21:13 +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
8e233e760d
Fixes for the mobile app
2022-07-20 11:39:08 +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
c25ced2562
Merge branch 'iskhakov/mobile-app-fixes' of https://github.com/grafana/oncall into iskhakov/mobile-app-fixes
2022-07-20 10:59:38 +03:00
Ildar Iskhakov
035d5e99c7
Fix linter
2022-07-20 10:58:54 +03:00
Innokentii Konstantinov
55fd6fd211
Fix AlertClassicMarkdownTemplater
2022-07-20 11:51:56 +04:00
Ildar Iskhakov
ddcad396e3
Clean up the code
2022-07-20 10:50:04 +03:00
Ildar Iskhakov
ee7a58b5cf
Add fixes for the mobile app
2022-07-20 10:26:14 +03:00
Michael Derynck
d8931cb05f
Use formatted UTC time for fallback in slack message ( #225 )
...
* Use formatted UTC time for fallback in slack message
* Lint
2022-07-18 07:55:05 -06: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
Julia
1893b784e8
Update oncall shifts public api endpoint
2022-07-18 12:36:26 +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