oncall-engine/engine/apps/api/tests
Innokentii Konstantinov 4b91203eca
Add validation of hostname for recapctha (#1445)
# What this PR does

- Implement recapthca v3 check. DRF_RECAPTCHA didn't support hostname
validation and it's too complicated to add it.
- Add validation of verification code on oncall side to not to call
twilio with obviously invalid codes

## Checklist

- [x] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated
2023-03-06 08:59:48 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
test_alert_group.py Show 100 latest alerts on alert group page (#1417) 2023-02-28 14:12:56 +00:00
test_alert_receive_channel.py Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
test_alert_receive_channel_template.py Fix of templates api behaviour for public and private api (#1408) 2023-03-01 16:32:15 +08:00
test_channel_filter.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_custom_button.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_escalation_chain.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_escalation_policy.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_features.py Enable mobile app backend by default on OSS (#1286) 2023-02-03 12:44:22 +00:00
test_gitops.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_integration_heartbeat.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_live_settings.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_maintenance.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_oncall_shift.py Web schedules overrides are the higher priority level (#1115) 2023-01-13 08:58:35 -03:00
test_organization.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_paging.py Return alert group ID in direct paging API (#1241) 2023-01-30 11:48:25 +00:00
test_postmortem_messages.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_preview_template_options.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_public_api_tokens.py only grant admins read/write access to public api keys (#952) 2022-12-06 13:02:53 +01:00
test_route_regex_debugger.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_schedule_export.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_schedules.py Fix pagination issue when searching schedules (#1437) 2023-03-01 16:28:40 +00:00
test_set_general_log_channel.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_slack_channels.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_slack_team_settings.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_subscription.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_team.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_telegram_channel.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_terraform_renderer.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_user.py Add validation of hostname for recapctha (#1445) 2023-03-06 08:59:48 +00:00
test_user_groups.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_user_notification_policy.py Allow messaging backends to be enabled/disabled per organization (#1151) 2023-01-18 15:52:25 +00:00
test_user_schedule_export.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00