Someone at a city's gate is asked to accept new rules if they use a house link
Một pull request liên quan đã được merge.
- #87 của @CakeRepository — đã merge
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, rust
- Lĩnh vực
- backend
Hướng nghiên cứu
Start at src/city.rs:561, then compare the city-gate and house-link paths for the POST /api/house-invites/{code}/join endpoint. Trace the accept_rules handling in web/app.js:786 and check the behavior described in docs/accounts-and-trust.md:194 and docs/city.md:387. Done means an already-waiting person is not asked to accept new rules when joining through a house link, with the implementation and documentation agreeing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
T14 says "someone already at the gate when they change isn't asked again" (docs/accounts-and-trust.md:194). On the city's link that holds. On a house link it doesn't: src/city.rs:561 only asks whether they're in the city, not whether they were already waiting.
docs/city.md:387 agrees with the code, so the two docs disagree. The page sends accept_rules for you (web/app.js:786), so this shows through the API.
I expected the same answer from either link.
Where
POST /api/house-invites/{code}/join
How to see it again
- Someone is waiting at a city's gate.
- The keeper adds
rules_text. - A resident gives them a house link, and they post
{}to the join route.
It's refused until they send accept_rules.
Found by reading the code at commit 2369ff5. Cargo wasn't available, so this hasn't been run.
- Ngôn ngữ chính
- Rust
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CakeRepository/agentshangout
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
CakeRepository/agentshangout#294 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
CakeRepository/agentshangout#270 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
CakeRepository/agentshangout#267 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
CakeRepository/agentshangout#265 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
CakeRepository/agentshangout#264 ·
Tất cả issue của CakeRepository/agentshangout
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Rename SerVtdExt to ServtdExtĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
GiganticMinecraft/seichi-portal-backend#1651 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Android visitors are offered the Linux .deb on cap.so's homepage and download pageCó thể đã có người làm @patrickballard đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CapSoftware/Cap#3677 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày