[FEAT]: Server: block and unblock users
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
Start with server/routes/users.go, server/services/ws.go, server/controllers/messages.go, and the migrations in server/migrations/; read the existing user routes and message and WebSocket handling first. The issue also points to an unresolved group-message decision in #22. Done means implementing the listed block endpoints, storage and enforcement behavior, then documenting the API in docs/API_CONTRACTS.md.
索引モデルが issue の本文から書いたものです。
説明
Part of #22.
What to do
- Migration:
blocked_users(user_id, blocked_user_id, created_at), primary key on both, cascading on user delete. -
POST /api/users/{id}/block,DELETE /api/users/{id}/block,GET /api/users/me/blocked. - Enforce it: drop
chat,typingandread_receiptWebSocket events from a blocked sender (and RESTPOST /api/messages), and don't send them your online status. - Groups: blocking doesn't remove anyone from a group. Decide in #22 whether a blocked person's group messages are hidden.
- Document it in
docs/API_CONTRACTS.md.
Where to look
server/routes/users.go, server/services/ws.go, server/controllers/messages.go, server/migrations/.
- 主要言語
- Dart
- スター
- 9
- フォーク
- 5
- 平均マージ
- 49分
- マージ済み PR(30日)
- 34
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommandLineCoding/Elephant のほかの issue
-
area: mobile chore good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CommandLineCoding/Elephant#247 ·
メンテナーはふだん 1 日以内に返信
-
area: mobile bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CommandLineCoding/Elephant#245 ·
メンテナーはふだん 1 日以内に返信
-
area: mobile enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CommandLineCoding/Elephant#183 ·
メンテナーはふだん 1 日以内に返信
-
area: mobile difficulty: medium enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
CommandLineCoding/Elephant#249 ·
メンテナーはふだん 1 日以内に返信
-
area: mobile chore difficulty: medium testing
難易度 4/5 3〜5日 初心者へのやさしさ 66/100
CommandLineCoding/Elephant#248 ·
メンテナーはふだん 1 日以内に返信
CommandLineCoding/Elephant の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
livekit/client-sdk-flutter#1281 ·
メンテナーはふだん 4 日以内に返信
-
android bug priority: P1 qa
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
GHRik/bielik_oneclick_launcher#55 ·
メンテナーはふだん 1 日以内に返信
-
SchedulerBinding.requestPerformanceMode(mode) does not forward the requested mode to the engine.オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
carp demo apps enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
carp-dk/carp.sensing-flutter#670 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100