oncall-engine/engine/apps
Matias Bordese bba6eb333e
Add db indexes to user table (#3067)
Add composite indexes based on existing queries/usage, ensuring partial
index prefixes are useful too.

- `is_active` filtering is set in the default `User` manager
- most of our user queries are per `organization`
- multiple cases filter by `username` or `email` (most notably schedule
related queries, given the low-level backend ical representation)

Also rework how users are fetched from DB when getting users from
schedules ical representation (which was particularly slow when regex
filtering by required permission).

Related to https://github.com/grafana/oncall-private/issues/2163
2023-09-27 12:35:52 +00:00
..
alerts Handle Slack ratelimit on alert group deletion (#3038) 2023-09-19 08:41:47 +00:00
api Add mobile app auth on integration & escalation chain endpoints (#3056) 2023-09-26 16:31:26 +01:00
api_for_grafana_incident Add render_for_web information to alert group incident API (#3005) 2023-09-12 12:02:42 +00:00
auth_token Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00
base Telegram long polling (#2250) 2023-08-24 09:12:24 +02:00
email Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
grafana_plugin Status to not access grafana headers from mobile request (#2870) 2023-08-23 19:39:02 +00:00
heartbeat Use periodic task for heartbeats (#2723) 2023-08-10 02:25:00 +00:00
integrations Fixing ratelimit texts 2023-09-27 14:18:00 +03:00
metrics_exporter Fix metrics and dashboard (#2895) 2023-08-29 13:52:24 +00:00
mobile_app Notify user when their shift swap request is taken (#2992) 2023-09-07 14:59:54 +00:00
oss_installation Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_notifications Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
public_api Add schedules enable_web_overrides option to public API (#3062) 2023-09-26 14:04:53 -03:00
schedules Add db indexes to user table (#3067) 2023-09-27 12:35:52 +00:00
slack Handle Slack ratelimit on alert group deletion (#3038) 2023-09-19 08:41:47 +00:00
social_auth apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
telegram Fix "Replied message not found" Telegram bug (#3013) 2023-09-12 15:55:13 +00:00
twilioapp Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
user_management Add db indexes to user table (#3067) 2023-09-27 12:35:52 +00:00
webhooks Webhooks Public API (#2790) 2023-08-22 14:05:52 -06:00
zvonok Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00