Skip to content

Added email verification - #267

Open
ArtemBratyashin wants to merge 1 commit into
mainfrom
email_validation_fix
Open

ArtemBratyashin wants to merge 1 commit into
mainfrom
email_validation_fix

Conversation

@ArtemBratyashin

Copy link
Copy Markdown
Contributor

Изменения

Добавил проверку email.

Детали реализации

Функция расширена и в ней добавлено больше условий

Check-List

  • Вы проверили свой код перед отправкой запроса?
  • Вы написали тесты к реализованным функциям?
  • Вы не забыли применить форматирование black и isort для Back-End или Prettier для Front-End?

@github-actions

Copy link
Copy Markdown

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
auth_backend
   __main__.py330%1–4
   base.py12467%6–9
   exceptions.py45784%24, 32, 50–52, 57, 78
auth_backend/admin
   admin.py973762%17, 38, 41, 44–48, 51–55, 58–60, 91, 94, 97–102, 105–113, 116–117, 147, 150, 153–156
   auth.py412929%14–24, 27–31, 34–35, 39–49
   filter.py171135%13–24
auth_backend/auth_method
   base.py63887%50–60, 142
   method_mixins.py32391%27, 50, 61
   oauth.py561770%37, 43, 48–53, 57–68, 94–99
   outer.py1143867%26, 33, 40, 47, 98, 104, 108–113, 132–133, 138–139, 167–172, 185–193, 205–211
   userdata_mixin.py19668%27, 32, 37–40
auth_backend/auth_plugins
   airflow.py331652%25–36, 41–64
   authentic.py19011738%52–64, 69–82, 86–101, 105–111, 115–121, 128–130, 140–196, 203–253, 258, 263–264, 274–281, 297–316, 320–325, 330–340, 345–358
   coder.py321650%24–33, 38–51
   email.py27514049%33, 44, 46, 48, 51, 55, 59–60, 91–94, 164–183, 209, 247–256, 273, 287, 291–321, 331–381, 387–433, 442–478, 486–544, 552–580, 586–588
   github.py1046339%56–115, 129–173, 183, 188, 194–206
   google.py1126443%64–123, 137–165, 175, 181–185, 189–194, 198–207
   keycloak.py1046240%52–114, 124–174, 184, 189, 195–200
   lkmsu.py16411232%59–112, 130–168, 178–200, 205, 210, 216–226, 230–244, 248–277, 281–290
   mailu.py341847%24–33, 38–53
   postgres.py432053%28–34, 39–45, 50–62
   telegram.py1035448%57–84, 99–117, 130, 138, 146–166, 171–185
   vk.py1288236%70–122, 136–174, 184, 189, 195–212, 219–245
   yandex.py1278335%57–127, 140–178, 189, 195, 201–227
auth_backend/cli
   group.py13130%1–17
   process.py56560%1–71
   scope.py11110%1–20
   user.py20200%1–40
   user_group.py12120%1–25
auth_backend/kafka
   kafka.py502354%29–32, 41–43, 55–58, 71–81, 84, 89, 92, 101–103
   kafkameta.py9278%8, 12
auth_backend/models
   base.py83989%28–31, 79, 100–102, 106
   db.py1523676%46, 55, 59, 65–68, 72, 76–80, 84, 120, 124–128, 132–134, 214, 218–229, 233, 240
   dynamic_settings.py27774%24–31
auth_backend/routes
   base.py37295%25–26
   exc_handlers.py43784%31, 38, 56, 69, 95, 117, 125
   groups.py1001189%42, 44, 62–63, 69, 92, 108–110, 163, 165
   oidc.py34294%93, 103
   scopes.py391951%15–23, 34–35, 45, 55–56, 68–73, 83–86
   user.py974356%52, 54, 56–65, 71–77, 89–109, 152, 162, 166–187
   user_session.py845238%39–41, 54–90, 98, 112–122, 130–138, 146–164, 175–190
auth_backend/schemas
   models.py100397%150–152
auth_backend/schemas/types
   scopes.py241154%30–32, 36–43
auth_backend/utils
   jwt.py57788%34–41
   oidc_token.py371657%26, 35–63, 74
   security.py46883%37–40, 50, 55, 59, 62, 65
   smtp.py781976%75–78, 100–120
   string.py7186%12
   user_session_control.py412441%31–55, 69–73, 78–79
TOTAL3334142457% 

Summary

Tests Skipped Failures Errors Time
73 6 💤 7 ❌ 30 🔥 6.201s ⏱️

@ArtemBratyashin ArtemBratyashin self-assigned this Sep 16, 2026
@ArtemBratyashin ArtemBratyashin linked an issue Sep 16, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Проблемы с Email

1 participant