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

ci: 2024-07-14 배포 #827

Merged
merged 9 commits into from
Aug 18, 2024
Merged

ci: 2024-07-14 배포 #827

merged 9 commits into from
Aug 18, 2024

Conversation

nyj001012
Copy link
Contributor

개요

  • 사서의 대출 최대 권 수 4권, 일반 사용자는 2권으로 조정
  • 기존 develop과 main브랜치를 동기화하는 과정(rebase)에서 기타 8개의 커밋이 추가됨

스크린샷 (optional)

jimin52 and others added 9 commits July 13, 2024 18:35
searchUsersById 서비스 함수의 종속성이 생각보다 많음.controller 에서 items 의 length 를 확인하도록
* refactor: 400번대 에러 반환 제거

* refactor: overDueDay 반환 값에서 제거
* feat(utils): rate limit 모듈 추가

- R, CUD에 해당하는 rate limit 모듈 추가

* refactor(cursus): rate limit 모듈 import해서 사용하도록 변경

* feat: getRateLimiter 적용

* feat(books): 유효한 ISBN인지 검사하는 로직 추가

* feat(tags): tags router에 rate limit 추가

* feat(routes): router에서 authValidate를 미들웨어로 쓰는 곳에 rate limiter 추가

* feat(auth): /get/me에 rate limiter 추가

* feat(users): 유저 생성 후 created 문장 출력 시, db에 저장된 email 값을 사용

* build: csrf 방지를 위한 lusca 패키지 추가

* feat(app): csrf 방지 로직 추가

* feat(app): csrf 방지 옵션 수정

* build: express-session 패키지 추가

* feat(app): lusca 상태 유지를 위한 세션 추가

* feat(app): cookie에도 secret 추가

* feat(app): session에서 cookie 설정 및 lusca에서 부가적인 설정 제거
* refactor: 400번대 에러 반환 제거

* refactor: overDueDay 반환 값에서 제거
* feat(lending): 사서의 대출 제한 권수 4권으로 조정

* style(lending): prettier 재적용
@nyj001012 nyj001012 added the enhancement New feature or request label Jul 13, 2024
@nyj001012 nyj001012 self-assigned this Jul 13, 2024
@Jake1152 Jake1152 self-requested a review July 25, 2024 12:12
Copy link
Member

@Jake1152 Jake1152 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

기록을 위해 슬랙에서 남겼던 질의 응답 깃허브에서도 동일하게 남기는 것으로 리뷰 대체합니다

jim

2권만 빌릴 수 있는 이유가 db 테이블의 대출한 정보를 2권까지 기록할 수 있다고 들었었는데 맞을까요
맞다면 테이블 항목이 추가된 것일까요?

yena

DB 자체에서 행 개수를 제한하지는 않고, 서비스단에서만 2권 제약을 걸어둔 거라 서비스의 제약 조건을 변경했어요

@nyj001012 nyj001012 merged commit 3ee4a43 into main Aug 18, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 완료
Development

Successfully merging this pull request may close these issues.

5 participants