Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add breaking email restrictions checker in doctor #19903

Merged
merged 5 commits into from
Jun 7, 2022

Commits on Jun 6, 2022

  1. Add breaking change check in doctor

    - This patch introduces a new kind of doctor type, breaking. This file
    is made to register checks that helps with detecting when a breaking
    change might impact a Gitea instance.
    - For now the only check here(and the reason of creating this) is to
    check if all users in the database has a valid email address, which
    might not be the case after
    go-gitea#17688. This _simply_ uses the
    validation function to detect and report these cases.
    - Helps admins with detecting go-gitea#19897.
    - I have no clue which priority should be and IsDefault is true, because
    when breaking change happen and we have a doctor check for it, we can
    say "run `gitea doctor` to help you with this and maybe you find other
    errors 😉".
    Gusted committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    1689ac5 View commit details
    Browse the repository at this point in the history
  2. Makes no sense tbh

    Gusted committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    d910bc5 View commit details
    Browse the repository at this point in the history
  3. Fix copyright

    Gusted committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    cd96ac7 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Update modules/doctor/breaking.go

    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    techknowlogick and lunny committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    ce78cd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e8cf1f View commit details
    Browse the repository at this point in the history