healthchecks_healthchecks/hc/front
Pēteris Caune e0e79028aa
Update GitHub onboarding view to re-check repo access rights
Before change:
* we fetch the list of repos from GitHub
* the user selects a repo
* we check if the selected repo was in our list and save integration

After:
* we fetch the list of repos from GitHub
* the user selects a repo
* we fetch the list of repos again, check if the selected repo is
  in the fresh list, then save the integration

This prevents a scenario where the user leaves the "select a repo"
page open for a long time, their GitHub access is revoked at some
point during this time, but they are still
able to complete the setup process.
2025-03-25 12:09:45 +02:00
..
management Improve type hints in the pygmentize management command 2024-05-01 11:34:39 +03:00
migrations Login works, stubbed out canary index page 2015-06-11 23:44:49 +03:00
templatetags Update the "Running, started ... ago" template to use seconds precision 2025-01-02 15:49:32 +02:00
tests Update GitHub onboarding view to re-check repo access rights 2025-03-25 12:09:45 +02:00
__init__.py Login works, stubbed out canary index page 2015-06-11 23:44:49 +03:00
admin.py Remove unused imports, cleanup. 2020-04-07 10:08:20 +03:00
context_processors.py Improve type hints 2023-10-26 08:35:06 +03:00
decorators.py Fix type warnings, improve type hints in hc.front.views 2023-09-06 11:18:47 +03:00
forms.py Add support for attaching labels to issues 2025-02-25 12:30:52 +02:00
models.py Remove unused imports, cleanup. 2020-04-07 10:08:20 +03:00
urls.py Update docs about authenticated prometheus metrics endpoint 2025-03-03 16:59:02 +02:00
validators.py Fix "class Foo(object):" -> "class Foo:" 2024-10-29 17:57:50 +02:00
views.py Update GitHub onboarding view to re-check repo access rights 2025-03-25 12:09:45 +02:00