oncall-engine/engine/apps
Joey Orlando 182f18de2c
fix parsing of grafana feature flags that're enabled via the feature_toggles.enabled syntax (#2477)
# What this PR does

Grafana provides two methods for enabling feature flags:
- `feature_toggles.enabled`
- `feature_toggles.<name_of_feature_flag>`

For example, to enable `accessControlOnCall` you could either do:
```json
{
  "feature_toggles": {
    "enabled": "accessControlOnCall,someOtherCoolFeatureFlag"
  }
}
```

or:
```json
{
  "feature_toggles": {
    "accessControlOnCall": true,
    "someOtherCoolFeatureFlag": true
  }
}
```

In method 1, if they're multiple feature flags present, they are _comma
separated, not space separated_. This PR fixes this parsing issue.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required) (N/A)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-07-10 04:59:15 -04:00
..
alerts add missing database migrations 2023-07-05 18:27:56 +02:00
api fix pagination next and previous links for schedules and integrations GET endpoints (#2467) 2023-07-07 12:24:21 -04:00
api_for_grafana_incident add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
auth_token add missing database migrations 2023-07-05 18:27:56 +02:00
base add zvonok integration (#2339) 2023-07-05 05:55:53 +00:00
email Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
grafana_plugin fix parsing of grafana feature flags that're enabled via the feature_toggles.enabled syntax (#2477) 2023-07-10 04:59:15 -04:00
heartbeat Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
integrations Fix amv2 2023-06-14 14:43:00 +08:00
metrics_exporter Add "user_was_notified_of_alert_groups" metric (#2334) 2023-06-28 08:15:19 +00:00
mobile_app modify FCMDevice model to be a proxy model so that we dont create a table for it 2023-07-05 18:38:38 +02:00
oss_installation continue addressing mypy violations (#2170) 2023-06-27 10:23:08 +00:00
phone_notifications Fix phone call & SMS relay (#2345) 2023-06-26 16:09:21 +00:00
public_api Resolution notes endpoint docs (#2404) 2023-06-29 14:08:21 +00:00
schedules add user (full) avatar to schedule filter events internal API endpoint (#2459) 2023-07-06 15:43:04 -04:00
slack fix mypy return errors (#2408) 2023-07-05 11:36:59 +00:00
social_auth Social auth exception logging (#2041) 2023-06-02 11:20:54 +00:00
telegram fix mypy return errors (#2408) 2023-07-05 11:36:59 +00:00
twilioapp fix mypy return errors (#2408) 2023-07-05 11:36:59 +00:00
user_management Add organization moved exception to mobile app auth (#2422) 2023-07-05 06:11:56 +00:00
webhooks re-enable mypy GitHub Actions CI job (#2390) 2023-06-29 14:01:52 +00:00
zvonok Update CHANGELOG.md 2023-07-05 14:30:51 +08:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00