Julia
bcf6ccb865
Move calculation of event start and end dates to separate method
2022-08-18 13:55:07 +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
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
Matvey Kukuy
7bc4aaa3b7
Bump django version ( #362 )
2022-08-12 11:49:20 +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
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
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
Matias Bordese
8b60fab8f0
Disable gather digit step for cloud phone call ( #308 )
2022-08-02 12:58:36 +03: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
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
Ildar Iskhakov
9c72924881
Use forked push-notifications library with fixed migration
2022-07-22 22:22:59 +03: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