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

[데이먼] 스프링 카페 4단계 - 로그인 구현 #151

Open
wants to merge 34 commits into
base: dukcode
Choose a base branch
from

Commits on Mar 21, 2022

  1. Feat: SignUpUserDto를 사용하여 로그인 처리하도록 변경

    - SignUpUserDto 클래스 추가
    - UserController 에서 로그인 시 SignUpUserDto 이용 하도록 업데이트
    - controller 패키지 이동
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    5655c7c View commit details
    Browse the repository at this point in the history
  2. Feat: 로그인 기능 구현

    - LoginUserDto 추가
    - fogin.html Thymeleaf 적용
    - fogin_failed.html Thymeleaf 적용
    - UserService login() 메서드 추가
    - fragment.html 경로 오류 수정
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    2c66fad View commit details
    Browse the repository at this point in the history
  3. Feat: 로그인 세션 적용

    - 로그인 홈 html 생성
    - UserController login() 메서드 세션 적용
    - HomeController 클래스 생성
    - QuestionController에 있던 home() 메서드 HomeController로 이동
    - home()메서드 로그인 여부에 따라 다른 view mapping
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    f866dd0 View commit details
    Browse the repository at this point in the history
  4. Feat: 로그아웃 기능 구현

    - UserController logout() 메서드 구현
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    af31bd0 View commit details
    Browse the repository at this point in the history
  5. Refactor: SessionName 하드코딩 제거

    - SessionConst 클래스 생성
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    9f3bdba View commit details
    Browse the repository at this point in the history
  6. Feat: 모든 페이지에서 login 여부에 따라 navigation 동작 수정

    - fragment_login.html index_login.html 삭제
    - fragment.html session 유무에 따라 if문 작성
    - Controller에서 index_login view mapping 삭제
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    6a066c8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3db23f7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6cc281e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8923038 View commit details
    Browse the repository at this point in the history
  10. Feat: 로그인시 field error, global err 동작 업데이트

    - User, LoginUserDto: validation annotation 업데이트
    - JDBCTemplateRepository: findByUserId(), findById() null 반환하도록 업데이트
    - application.properties, errors.properties: 에러 메세지 출력을 위한 설정 업데이트
    - login_failed.html: 에러 메세지 동적으로 적용(Thymeleaf)
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    ceb4ebf View commit details
    Browse the repository at this point in the history
  11. Refactor: login.html login_failed.html 통합

    - login_failed.html: 삭제
    - login.html: 동적 error메세지 출력
    - UserController: GET /users/login 시 Model에 LoginUserDto 포함
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    ad39c99 View commit details
    Browse the repository at this point in the history
  12. Feat: 회원 가입시 Validation 기능 업데이트

    - UserController: signUpForm() 메서드 Model에 SignUpUserDto 담도록 업데이트
    - UserController: signUp() 메서드 validation 추가
    - errors.properties: name, email 관련 에러 메세지 추가
    - form.html: 에러있을 시 동적 렌더링 추가
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    75b9942 View commit details
    Browse the repository at this point in the history
  13. Feat: 회원가입 시 중복아이디 Validation

    - SignUpUserDto와 UpdateUserDto 같으므로 UserDto로 통합
    - UserController: UserDto사용 하도록 업데이트
    - UserController: 회원가입 메서드 중복 아이디 검증 기능 구현
    - errors.properties: 중복 아이디 가입 에러메세지 업데이트
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    76c79d5 View commit details
    Browse the repository at this point in the history
  14. Feat: 회원 정보 수정 시 아이디 변경 validation 업데이트

    - UserController: update 관련 함수 아이디 변경 validation 업데이트
    - errors.properties: 아이디 변경 관련 에러메세지 추가
    - update.html: 동적 에러메시지 적용
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    8a4f961 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    394d7b6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    2f66a85 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    34eab58 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9c1c53a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    78a6b9f View commit details
    Browse the repository at this point in the history
  20. Test: initial data update

    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    deaa256 View commit details
    Browse the repository at this point in the history
  21. Fix: login 성공 시 questions 안뜨는 문제 해결

    - 로그인 성공시 웰컴페이지로 리다이렉트 하도록 변경
    dukcode committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    ffd8883 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2f0a1d3 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. Configuration menu
    Copy the full SHA
    81bb7ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdb91ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16893a9 View commit details
    Browse the repository at this point in the history
  4. Refactor: URL 재설계

    - POST users/new에서 POST /users 로 변경
    - POST users/{userId}/update에서 POST /user/{userId} 로 변경
    - POST questions/new에서 POST /questions 로 변경
    dukcode committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    3509455 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    0f525df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1296cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0012324 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af76fc8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0190212 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    67f8278 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6619869 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    27b7422 View commit details
    Browse the repository at this point in the history