Skip to content

Comments

feat(be): log userIp when submission for detect cheating#1866

Merged
mnseok merged 20 commits intomainfrom
1864-log-userip-when-submission
Aug 8, 2024
Merged

feat(be): log userIp when submission for detect cheating#1866
mnseok merged 20 commits intomainfrom
1864-log-userip-when-submission

Conversation

@mnseok
Copy link
Contributor

@mnseok mnseok commented Jul 25, 2024

Description

cheating 검출 목적으로
submission을 제출할 때 문제번호, contest or workbook 번호, userIp를 로깅할 수 있도록 하였습니다.


Before submitting the PR, please make sure you do the following

@vercel
Copy link

vercel bot commented Jul 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
codedang ❌ Failed (Inspect) Aug 8, 2024 9:46am

@mnseok mnseok changed the title 1864 log userip when submission feat(be): log userIP when submission for detect cheating Jul 25, 2024
@mnseok mnseok changed the title feat(be): log userIP when submission for detect cheating feat(be): log userIp when submission for detect cheating Jul 25, 2024
Copy link
Member

@Jaehyeon1020 Jaehyeon1020 left a comment

Choose a reason for hiding this comment

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

스테이지 서버에서 로깅 잘 되는지 확인 부탁드립니다!

Copy link
Member

@Jaehyeon1020 Jaehyeon1020 left a comment

Choose a reason for hiding this comment

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

기획이 좀 혼동됐는데, ip를 단순히 로깅하는 것이 아닌 Submission 테이블에 ip 필드를 생성해 Submission이 발생할 때 ip를 저장해야 한다고 합니다. 😢

Copy link
Member

@Jaehyeon1020 Jaehyeon1020 left a comment

Choose a reason for hiding this comment

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

테스트쪽에 달아드린 리뷰만 확인하고 Approve하면 될 것 같아요!

Copy link
Member

@Jaehyeon1020 Jaehyeon1020 left a comment

Choose a reason for hiding this comment

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

굿 !!

@mnseok mnseok merged commit 9cdf481 into main Aug 8, 2024
@mnseok mnseok deleted the 1864-log-userip-when-submission branch August 8, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants