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
Matvey Kukuy
30fb243ec8
Merge pull request #212 from grafana/integration-url-path-prefix
...
Fix integrations giving the wrong URL when using a path prefix
2022-07-14 01:17:18 +03:00
Matvey Kukuy
247cb7459a
Merge pull request #149 from roock/roock_hearbeat_typo
...
Fix Typo (HearBeat vs HeartBeat)
2022-07-14 01:13:08 +03:00
Innokentii Konstantinov
cede946359
Reshape webhook payload
...
1. Remove alert.title, alert.message, alert.image_url from webhook payload, they are deprecated.
2. Pass alert_group_id to webhook payload.
2022-07-13 14:54:53 +04: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
Innokentii Konstantinov
37187ef18a
Manual incidents for all teams ( #194 )
...
* Fix creation of manual incident via submenu
* Remove legacy finish_configuration_attachments
* Add manual incidents for all teams
* Fix manual incident creation from slash command
* Fix slack title template
* Get rid of migration
2022-07-12 12:56:27 +04:00
Innokentii Konstantinov
f8f86db7b0
Fix phone notifications for oss ( #171 )
...
* Fix phone notifications for oss
* Don't pass status_callback_method while processing 21609 error from twilio
2022-07-12 12:56:01 +04: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
d18d78a48f
Disable web schedule create/update from public API
2022-07-08 12:03:18 -03:00
Yulya Artyukhina
ec094726d0
Merge pull request #175 from grafana/update-route-public-endpoint
...
Update route public endpoint
2022-07-08 17:36:06 +03:00
Julia
a0f3c22e88
Small correction for boolean checks
2022-07-08 12:05:59 +03:00
Matias Bordese
f38e79f41f
Limit number of slack messages in resolution notes popup
2022-07-07 16:36:04 -03:00
Matias Bordese
835fdaa3b7
Do not allow override shifts in calendar schedules
2022-07-07 14:38:22 -03:00
Julia
3b53543e73
Update tests for routes in public api
2022-07-07 16:34:01 +03:00
Julia
9ba3f5a9bb
Update public endpoint for routes
...
- Add abilities to enable/disable notification in different messangers
2022-07-07 16:31:25 +03:00
Julia
06b6980832
Merge branch 'dev' into update-route-public-endpoint
2022-07-07 12:16:23 +03:00
Michael Derynck
8d9daf0644
Tweak urljoin usage so integrations give back the correct URL when using a BASE_URL with a path prefix
2022-07-06 15:42:00 -06: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
Vadim Stepanov
53dcef0b18
fix parsing ICal attendees from PD schedules ( #198 )
2022-07-05 14:29:47 +01:00
Innokentii Konstantinov
77d27648d5
Add possibility to modify default route on integration create
2022-07-05 14:23:09 +04:00
Matias Bordese
b0d98e772e
Merge pull request #162 from grafana/matiasb-shift-rrule-until
...
Add UNTIL support for shifts recurrence rules
2022-07-04 09:47:43 -03:00
Matias Bordese
fc4165056e
Merge pull request #160 from grafana/matiasb-hourly-shifts
...
Add hourly support to custom shifts frequency
2022-07-04 09:46:19 -03:00
Julia
f95edaed19
Update tests for routes
2022-06-29 14:11:40 +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
Matias Bordese
c8b8449afc
Add UNTIL support for shifts recurrence rules
2022-06-28 11:21:36 -03:00
Matias Bordese
471e59c0b0
Add db migration for shift frequency choices update
2022-06-28 10:07:29 -03:00
Vadim Stepanov
c8964188e7
Allow Telegram DMs without channel connection ( #142 )
...
* allow posting DM messages to Telegram without connecting a channel
* fix get_channel_for_alert_group, add tests
* add docs on usage without channel connection
2022-06-28 09:11:19 +01:00
Matias Bordese
817693b1c0
Add hourly support to custom shifts frequency
2022-06-27 17:26:53 -03:00
Roman Pertl
7f6077e07f
Fix Typo (HearBeat vs HeartBeat)
2022-06-25 11:19:40 +02:00
Innokentii Konstantinov
e148d6fc8a
Fix listen_for_usernotificationpolicylogrecord_model_save ( #146 )
2022-06-24 17:31:39 +04:00
Vadim Stepanov
5dd0821f4c
Remove naming artifacts from personal log record messages ( #143 )
2022-06-24 13:50:29 +01:00
Innokentii Konstantinov
9bdf4288a0
Fix support of public users api in sync_users_with_cloud ( #139 )
...
* Fix support of public API
* Style fixes
2022-06-23 18:17:07 +04:00
Innokentii Konstantinov
3cdc5592ba
Fix saving of overrides_ical_file ( #138 )
2022-06-23 14:38:11 +04: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
Matias Bordese
0d12671015
List all users in public users endpoint
2022-06-22 14:46:23 -03: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
Julia
a4d9bc99a8
Rename field webhook to url for outgoing webhook public api endpoint, update tests
2022-06-21 12:53:22 +03:00
Julia
43bc8c2fe5
Add tests for outgoing webhooks public api endpoint
2022-06-17 15:41:46 +03:00
Julia
f04f4eaa3f
Update public endpoint for outgoing webhooks
...
- Add abilities to create, update and delete outgoing webhooks by public api endpoint
2022-06-17 15:35:53 +03:00
Julia
49116519b5
lint fix
2022-06-16 17:30:34 +03:00
Julia
d7492bb943
Fix creation contact points for grafana alerting integration
2022-06-16 17:16:31 +03: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
846b898bb9
Merge dev to main ( #69 )
...
* 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>
* oncall images for docs (#55 )
* Update README.md
* Top menu fix
* Fix db encoding
* Add api key docs
* Reverting utf8 fix
* bug fixes
* fix for link for OSS version
* Fixing utf8 and docker compose
* 8080 -> 8000 port for consistency
* makeReq
* Fixing images
* Fixing port
* Fixing port
* Fixing port
* Fixing port
* Fixing port
* Fixing port
* Fixing port
* Fixing port
* Replace symlink with file for CHANGELOG.MD (#68 )
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>
Co-authored-by: Alyssa Wada <101596687+alyssawada@users.noreply.github.com>
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
2022-06-14 09:14:45 -06:00