oncall-engine/engine/apps
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
..
alerts Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
api Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
api_for_grafana_incident World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth_token Remove demo token related code/logic 2022-06-09 09:16:10 -03:00
base Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
grafana_plugin Fix creation contact points for grafana alerting integration 2022-06-16 17:16:31 +03:00
grafana_plugin_management World, meet OnCall! 2022-06-03 08:09:47 -06:00
heartbeat World, meet OnCall! 2022-06-03 08:09:47 -06:00
integrations Fix Typo (HearBeat vs HeartBeat) 2022-06-25 11:19:40 +02:00
migration_tool World, meet OnCall! 2022-06-03 08:09:47 -06:00
oss_installation 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
public_api Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
schedules Return list of usernames in a shift that do not match users in OnCall 2022-07-12 11:00:02 -06:00
sendgridapp World, meet OnCall! 2022-06-03 08:09:47 -06:00
slack Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
social_auth Slack polishing & docs 2022-06-13 15:33:56 +03:00
telegram Allow Telegram DMs without channel connection (#142) 2022-06-28 09:11:19 +01:00
twilioapp Merge dev 2022-07-12 15:45:59 -06:00
user_management Alert list view & caching rework (#216) 2022-07-14 15:19:25 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00