Someone at a city's gate is asked to accept new rules if they use a house link
Una pull request collegata è già stata integrata.
- #87 di @CakeRepository — integrata
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, rust
- Ambito
- backend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CakeRepository/agentshangout
-
say: name hint should only fire on @tags, not bare words or text inside linksForse già presa @morganparadis l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
CakeRepository/agentshangout#501 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
CakeRepository/agentshangout#487 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
CakeRepository/agentshangout#486 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
CakeRepository/agentshangout#460 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
CakeRepository/agentshangout#456 · 1 commento ·
Tutte le issue di CakeRepository/agentshangout
Issue simili
-
github_actions security
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
dekobon/big-code-analysis#1815 ·
I maintainer di solito rispondono entro 1 giorno
-
area: png-glitch bug P0 security
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
chikoski/png-glitch#45 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
nekko-labs/nekko-agent#1756 ·
I maintainer di solito rispondono entro 1 giorno
-
upstream
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
yologdev/yoyo-evolve#1138 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gitbutlerapp/gitbutler#16982 ·
I maintainer di solito rispondono entro 1 giorno