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

Polina auth #2

Merged
merged 35 commits into from
Oct 1, 2024
Merged

Polina auth #2

merged 35 commits into from
Oct 1, 2024

Commits on Sep 22, 2024

  1. added auth api docs

    PtFux committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    3f74699 View commit details
    Browse the repository at this point in the history
  2. added auth api

    PtFux committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    26210b4 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. corrected auth politics

    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    696db5e View commit details
    Browse the repository at this point in the history
  2. added view-models

    добавлены модели для передачи/получения при взаимодействии с фронтендом
    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    45131f8 View commit details
    Browse the repository at this point in the history
  3. added validation error

    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    fde7673 View commit details
    Browse the repository at this point in the history
  4. rename auth project

    изменено имя проекта, чтобы соответствовать гитхабу
    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    a83f3bb View commit details
    Browse the repository at this point in the history
  5. planed behavior

    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    e0075b7 View commit details
    Browse the repository at this point in the history
  6. renamed auth project

    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    dc548de View commit details
    Browse the repository at this point in the history
  7. added parsing and valifation to AuthRegisterPost | stable version

    + added parsing and valifation to AuthRegisterPost // validation in reg.go
    + renamed project
    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    b82d133 View commit details
    Browse the repository at this point in the history
  8. great migration of files

    PtFux committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    e545620 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. corrected openapi.yaml

    PtFux committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    8b09c9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79d1a09 View commit details
    Browse the repository at this point in the history
  3. changed models

    - added common InitValidErrorInField
    - added login model
    - added common check
    PtFux committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    b9b63dd View commit details
    Browse the repository at this point in the history
  4. added python test

    PtFux committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    485c2d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1ce458 View commit details
    Browse the repository at this point in the history
  6. updated readme.md in auth

    PtFux committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    f1bdbc8 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. added many logics

    Есть две ручки - регистрации и авторизации.
    - регистрация -
      - регистрирует пользователя
      - проставляет токен в куки
      - возвращает 200, если ок, иначе - 400
    - аутентификация -
      - аутентифицирует пользователя,
      - проставляет токен в куки
      - возвращает 200, если ок, иначе - 400
    
    Также создана общая middleware, которая аутентифицирует пользователя по куки,
      - если все ок, передает бизнес модель пользователя в контекст,
      - иначе, возвращает 401
    
    Также создана middleware
      - для логирования
      - для передачи структуры бизнес-логики
    
    Также создан общий модуль логирования
    PtFux committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    d76f2c7 View commit details
    Browse the repository at this point in the history
  2. added logging response

    PtFux committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    2ce93a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. auth: added docker

    PtFux committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    57838bb View commit details
    Browse the repository at this point in the history
  2. auth: added sending error model

    PtFux committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    08e46c1 View commit details
    Browse the repository at this point in the history
  3. auth: changed module name

    PtFux committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    90eb4a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. added mutex to repository

    PtFux committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    d8aeffb View commit details
    Browse the repository at this point in the history
  2. added tests

    PtFux committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    fe07538 View commit details
    Browse the repository at this point in the history
  3. auth: status

    PtFux committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    14c4b24 View commit details
    Browse the repository at this point in the history
  4. added logging with f

    PtFux committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    0a0294b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0062fbd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    da31c89 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    63ab203 View commit details
    Browse the repository at this point in the history
  8. auth: removed '{'

    PtFux committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    5f599e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. auth: moved init behavior to handler struct

    - создана структура хэндлеров
    - behavior перенес в инит этой структуры
    - переименован модуль business
    PtFux committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    5fe923a View commit details
    Browse the repository at this point in the history
  2. added code in errors

    PtFux committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0ff7871 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. auth: resolved problems

    PtFux committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    c7e7996 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f03d87d View commit details
    Browse the repository at this point in the history
  3. auth: added smart errors

    PtFux committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    030738d View commit details
    Browse the repository at this point in the history
  4. auth: small misstype

    PtFux committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    b717751 View commit details
    Browse the repository at this point in the history