oncall-engine/engine/apps
Yulya Artyukhina 381520ee13
Get rid of installation token + add a bunch of tests (#624)
* Get rid of installation token (for OSS installations)

This is done by being required to supply the grafana API URL as an
environment variable on the backend. Additionally, optionally an OnCall
API URL environment variable can be passed in to the frontend (this basically
allows completely skipping the need to configure anything).
- deduplicated a lot of the sync logic on the frontend + made
error message more useful and consistent
- Split PluginConfigPage component into several subcomponents
(making it easier to test each individual component)
- Moved RootWithLoader (from plugin/GrafanaPluginRootPage) into its own
subcomponent (making it easier to test)
- Added tests for pre-existing components that were touched:
  - PluginConfigPage component (and its new subcomponents)
  - state/plugin and state/rootBaseStore functions
  - apps.grafana_plugin django app

Helm changes:
- add GRAFANA_API_URL to oncall.env
- some yaml autoformatting changes
- remove reference to python manage.py issue_invite_for_the_frontend --override

Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
2022-11-21 16:26:00 +01:00
..
alerts Handle 404 for get_alerting_config 2022-11-18 17:07:39 +08:00
api remove grafana_plugin_management django app (#812) 2022-11-09 13:53:59 +01:00
api_for_grafana_incident World, meet OnCall! 2022-06-03 08:09:47 -06:00
auth_token Check id instead of object to avoid unnecessary query 2022-10-28 15:45:51 -06:00
base live settings: treat empty string as empty value (#805) 2022-11-08 15:41:12 +00:00
email Allow no-auth SMTP connection for email notifications (#759) 2022-11-03 16:18:37 +00:00
grafana_plugin Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
heartbeat Insight logs (#348) 2022-08-24 12:04:44 +05:00
integrations Check id instead of object to avoid unnecessary query 2022-10-28 15:45:51 -06:00
oss_installation Conform URLs (#281) 2022-07-25 09:12:50 -06:00
public_api Cleanup on deletion/archivation of slack channel (#822) 2022-11-16 17:56:05 +08:00
schedules Ensure start date matches by_day selection 2022-11-08 12:24:28 -03:00
slack Merge pull request #836 from grafana/fix-warning-popup-on-slack-slash-command 2022-11-21 11:51:59 +01:00
social_auth Support of oncall-gw (#741) 2022-11-08 14:43:22 +08:00
telegram Support mutliregion telegram (#676) 2022-10-25 14:53:07 +08:00
twilioapp Add simple check if using API key instead of AUTH token 2022-11-09 21:52:42 -07:00
user_management Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00