Skip to content

Commit

Permalink
๐Ÿš€ [Deploy] - ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž ์ •๋ณด ์—ด๋žŒ ๊ฐ€๋Šฅ ์ด์Šˆ ํ•ด๊ฒฐ ๋ฐ˜์˜ (1) (#221)
Browse files Browse the repository at this point in the history
* ๐Ÿ› [Fix] - Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜ nickname ์ด์Šˆ ํ•ด๊ฒฐ (#205)

* refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* fix: Work ์ƒ์„ฑ ๋‚ ์งœ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœ ์„ค์ •

* fix: PeerReview์ผ ๊ฒฝ์šฐ ์ถ”๊ฐ€

* Chore: ํ”„๋กœ์ ํŠธ readme ๊พธ๋ฏธ๊ธฐ

* chore: README ์ˆ˜์ •

* Fix: ๋กœ๊ทธ์•„์›ƒ ์‹œ, ์ฟ ํ‚ค ์‚ญ์ œ ์ฝ”๋“œ ์ˆ˜์ •

* Refactor: ํ•„์š”์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ

* !HOTFIX: ๋ช…๋ น์–ด ์ด๋ฆ„ ์ˆ˜์ •์— ๋”ฐ๋ฅธ listener ์ฝ”๋“œ ์ˆ˜์ •

* Chore: DB ์ •๋ณด ์ˆ˜์ •

* Fix: JDA ๋กœ๊ทธ ์ •๋ณด ๊ธฐ๋ก ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜ ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜
 ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* ๐Ÿ› [Fix] - Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜ (#207)

* refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* fix: Work ์ƒ์„ฑ ๋‚ ์งœ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœ ์„ค์ •

* fix: PeerReview์ผ ๊ฒฝ์šฐ ์ถ”๊ฐ€

* Chore: ํ”„๋กœ์ ํŠธ readme ๊พธ๋ฏธ๊ธฐ

* chore: README ์ˆ˜์ •

* Fix: ๋กœ๊ทธ์•„์›ƒ ์‹œ, ์ฟ ํ‚ค ์‚ญ์ œ ์ฝ”๋“œ ์ˆ˜์ •

* Refactor: ํ•„์š”์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ

* !HOTFIX: ๋ช…๋ น์–ด ์ด๋ฆ„ ์ˆ˜์ •์— ๋”ฐ๋ฅธ listener ์ฝ”๋“œ ์ˆ˜์ •

* Chore: DB ์ •๋ณด ์ˆ˜์ •

* Fix: JDA ๋กœ๊ทธ ์ •๋ณด ๊ธฐ๋ก ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜ ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜
 ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜
 ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* ๐Ÿ› [Fix] - Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜ nickname ์ด์Šˆ ํ•ด๊ฒฐ #51 (#209)

* refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* fix: Work ์ƒ์„ฑ ๋‚ ์งœ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœ ์„ค์ •

* fix: PeerReview์ผ ๊ฒฝ์šฐ ์ถ”๊ฐ€

* Chore: ํ”„๋กœ์ ํŠธ readme ๊พธ๋ฏธ๊ธฐ

* chore: README ์ˆ˜์ •

* Fix: ๋กœ๊ทธ์•„์›ƒ ์‹œ, ์ฟ ํ‚ค ์‚ญ์ œ ์ฝ”๋“œ ์ˆ˜์ •

* Refactor: ํ•„์š”์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ

* !HOTFIX: ๋ช…๋ น์–ด ์ด๋ฆ„ ์ˆ˜์ •์— ๋”ฐ๋ฅธ listener ์ฝ”๋“œ ์ˆ˜์ •

* Chore: DB ์ •๋ณด ์ˆ˜์ •

* Fix: JDA ๋กœ๊ทธ ์ •๋ณด ๊ธฐ๋ก ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜ ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜
 ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* Fix: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ์ „ํ™˜
 ์ค‘ ์ƒ๊ธด ์ด์Šˆ ํ•ด๊ฒฐ

* Chore: ํ”„๋ก ํŠธ์—”๋“œ redirect url ์ˆ˜์ •

* Fix: ๋””์Šค์ฝ”๋“œ ์†Œ์…œ ๋กœ๊ทธ์ธ ์ด์Šˆ ํ•ด๊ฒฐ

* ๐Ÿ› [Fix] - ์†Œ์…œ ๋กœ๊ทธ์ธ ํ›„, ์ถ”๊ฐ€ ์ •๋ณด ์ž…๋ ฅ ๋ฐ›๋Š” ๊ธฐ๋Šฅ ์˜ค๋ฅ˜ (#212)

* refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* fix: Work ์ƒ์„ฑ ๋‚ ์งœ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœ ์„ค์ •

* fix: PeerReview์ผ ๊ฒฝ์šฐ ์ถ”๊ฐ€

* Chore: ํ”„๋กœ์ ํŠธ readme ๊พธ๋ฏธ๊ธฐ

* chore: README ์ˆ˜์ •

* Fix: ๋กœ๊ทธ์•„์›ƒ ์‹œ, ์ฟ ํ‚ค ์‚ญ์ œ ์ฝ”๋“œ ์ˆ˜์ •

* Refactor: ํ•„์š”์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ

* !HOTFIX: ๋ช…๋ น์–ด ์ด๋ฆ„ ์ˆ˜์ •์— ๋”ฐ๋ฅธ listener ์ฝ”๋“œ ์ˆ˜์ •

* Chore: DB ์ •๋ณด ์ˆ˜์ •

* Fix: JDA ๋กœ๊ทธ ์ •๋ณด ๊ธฐ๋ก ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Fix: updateUserInfo ์˜ค๋ฅ˜ ํ•ด๊ฒฐ

* Fix: ๋””์Šค์ฝ”๋“œ ์ „ํ™˜์œผ๋กœ ์ธํ•œ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ

* ๐Ÿ› [Fix] - DiscordListener ์˜ค๋ฅ˜ ํ•ด๊ฒฐ (#214)

* refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* fix: Work ์ƒ์„ฑ ๋‚ ์งœ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœ ์„ค์ •

* fix: PeerReview์ผ ๊ฒฝ์šฐ ์ถ”๊ฐ€

* Chore: ํ”„๋กœ์ ํŠธ readme ๊พธ๋ฏธ๊ธฐ

* chore: README ์ˆ˜์ •

* Fix: ๋กœ๊ทธ์•„์›ƒ ์‹œ, ์ฟ ํ‚ค ์‚ญ์ œ ์ฝ”๋“œ ์ˆ˜์ •

* Refactor: ํ•„์š”์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ

* !HOTFIX: ๋ช…๋ น์–ด ์ด๋ฆ„ ์ˆ˜์ •์— ๋”ฐ๋ฅธ listener ์ฝ”๋“œ ์ˆ˜์ •

* Chore: DB ์ •๋ณด ์ˆ˜์ •

* Fix: JDA ๋กœ๊ทธ ์ •๋ณด ๊ธฐ๋ก ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* Refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* Refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* Fix: ๋””์Šค์ฝ”๋“œ ์•„์ด๋”” ์ถ”๊ฐ€

* Fix: ๊ธฐ๋ณธ ํ”„๋กœํ•„ ์‚ฌ์ง„ ์ง€์ •

* Fix: serialId => discordId๋กœ ์ „ํ™˜

* Refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* ๐Ÿ› [Fix] - ๋ฐ›์€ ์งˆ๋ฌธ ํŒŒํŠธ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ (#218)

* refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* fix: Work ์ƒ์„ฑ ๋‚ ์งœ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœ ์„ค์ •

* fix: PeerReview์ผ ๊ฒฝ์šฐ ์ถ”๊ฐ€

* Chore: ํ”„๋กœ์ ํŠธ readme ๊พธ๋ฏธ๊ธฐ

* chore: README ์ˆ˜์ •

* Fix: ๋กœ๊ทธ์•„์›ƒ ์‹œ, ์ฟ ํ‚ค ์‚ญ์ œ ์ฝ”๋“œ ์ˆ˜์ •

* Refactor: ํ•„์š”์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ

* !HOTFIX: ๋ช…๋ น์–ด ์ด๋ฆ„ ์ˆ˜์ •์— ๋”ฐ๋ฅธ listener ์ฝ”๋“œ ์ˆ˜์ •

* Chore: DB ์ •๋ณด ์ˆ˜์ •

* Fix: JDA ๋กœ๊ทธ ์ •๋ณด ๊ธฐ๋ก ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Fix: ๋กœ๊ทธ์ธ ์‚ฌ์šฉ์ž๊ฐ€ ํƒ€๊ฒŸ ๋ฉค๋ฒ„์™€ ์—ฐ๊ด€์ด ์—†์„ ๊ฒฝ์šฐ ์˜ˆ์™ธ์ฒ˜๋ฆฌ

* ๐Ÿ› [Fix] - ๋ฉค๋ฒ„ ์ •๋ณด API ์˜ˆ์™ธ์ฒ˜๋ฆฌ (#220)

* refactor: ์ฝ”๋“œ ์Šคํƒ€์ผ ์ˆ˜์ •

* fix: Work ์ƒ์„ฑ ๋‚ ์งœ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœ ์„ค์ •

* fix: PeerReview์ผ ๊ฒฝ์šฐ ์ถ”๊ฐ€

* Chore: ํ”„๋กœ์ ํŠธ readme ๊พธ๋ฏธ๊ธฐ

* chore: README ์ˆ˜์ •

* Fix: ๋กœ๊ทธ์•„์›ƒ ์‹œ, ์ฟ ํ‚ค ์‚ญ์ œ ์ฝ”๋“œ ์ˆ˜์ •

* Refactor: ํ•„์š”์—†๋Š” ์ฝ”๋“œ ์‚ญ์ œ

* !HOTFIX: ๋ช…๋ น์–ด ์ด๋ฆ„ ์ˆ˜์ •์— ๋”ฐ๋ฅธ listener ์ฝ”๋“œ ์ˆ˜์ •

* Chore: DB ์ •๋ณด ์ˆ˜์ •

* Fix: JDA ๋กœ๊ทธ ์ •๋ณด ๊ธฐ๋ก ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Feat: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Chore: Discord ์†Œ์…œ ๋กœ๊ทธ์ธ Credentials ์ถ”๊ฐ€

* Fix: ๋กœ๊ทธ์ธ ์‚ฌ์šฉ์ž๊ฐ€ ํƒ€๊ฒŸ ๋ฉค๋ฒ„์™€ ์—ฐ๊ด€์ด ์—†์„ ๊ฒฝ์šฐ ์˜ˆ์™ธ์ฒ˜๋ฆฌ
  • Loading branch information
JeongHeumChoi authored Jul 25, 2024
1 parent 27e8a2f commit 5234e7d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public enum ErrorCode {
INVALID_CREATE_PEER_REVIEW_TO_OTHER_TEAM_MEMBER(40011, HttpStatus.BAD_REQUEST, "๋‹ค๋ฅธ ํŒ€์˜ ๋ฉค๋ฒ„์—๊ฒŒ ๋ฆฌ๋ทฐ๋ฅผ ์ž‘์„ฑํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค."),
INVALID_QUERY_PARAMETER(40012, HttpStatus.BAD_REQUEST, "์œ ํšจํ•˜์ง€ ์•Š๋Š” ์ฟผ๋ฆฌ ํŒŒ๋ผ๋ฏธํ„ฐ์ž…๋‹ˆ๋‹ค."),
MISMATCH_TEAM_AND_MEMBER(40013, HttpStatus.BAD_REQUEST, "ํŒ€๊ณผ ๋ฉค๋ฒ„๊ฐ€ ์ผ์น˜ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค."),
INVALID_LOGIN_USER_AND_TARGET_MEMBER(40014, HttpStatus.BAD_REQUEST, "๋กœ๊ทธ์ธ ์‚ฌ์šฉ์ž๋Š” ํƒ€๊ฒŸ ์‚ฌ์šฉ์ž์™€ ๊ฐ™์€ ํŒ€์ด ์•„๋‹™๋‹ˆ๋‹ค."),

//401
INVALID_HEADER_VALUE(40100, HttpStatus.UNAUTHORIZED, "์˜ฌ๋ฐ”๋ฅด์ง€ ์•Š์€ ํ—ค๋”๊ฐ’์ž…๋‹ˆ๋‹ค."),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,16 @@ public TeamRetrieveListDto listRetrieveTeam(Long userId, Long membersId, String
Member targetMember = memberRepository.findById(membersId)
.orElseThrow(() -> new CommonException(ErrorCode.NOT_FOUND_MEMBER));
User targetUser = targetMember.getUser();
User currentUser = userRepository.findById(userId)
.orElseThrow(() -> new CommonException(ErrorCode.NOT_FOUND_USER));
List<Member> memberList = memberRepository.findAllByUser(targetUser);
List<Member> verifyAssociation = memberList.stream()
.filter(member ->
memberRepository.existsByUserAndTeam(currentUser, member.getTeam())
)
.toList();
if (verifyAssociation.isEmpty())
throw new CommonException(ErrorCode.INVALID_LOGIN_USER_AND_TARGET_MEMBER);

Stream<Member> memberStream;
switch (sort) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ public UserDto getUserInfoByMembersId(Long userId, Long membersId) {
Member targetMember = memberRepository.findById(membersId)
.orElseThrow(() -> new CommonException(ErrorCode.NOT_FOUND_MEMBER));
User targetUser = targetMember.getUser();
User currentUser = userRepository.findById(userId)
.orElseThrow(() -> new CommonException(ErrorCode.NOT_FOUND_USER));
List<Member> memberList = memberRepository.findAllByUser(targetUser);
List<Member> verifyAssociation = memberList.stream()
.filter(member ->
memberRepository.existsByUserAndTeam(currentUser, member.getTeam())
)
.toList();
if (verifyAssociation.isEmpty())
throw new CommonException(ErrorCode.INVALID_LOGIN_USER_AND_TARGET_MEMBER);

return UserDto.of(
targetUser.getId(),
membersId,
Expand Down

0 comments on commit 5234e7d

Please sign in to comment.