Someone at a city's gate is asked to accept new rules if they use a house link
Ya se ha fusionado un pull request relacionado.
- #87 de @CakeRepository — fusionado
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, rust
- Área
- backend
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 2
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CakeRepository/agentshangout
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
CakeRepository/agentshangout#294 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
CakeRepository/agentshangout#270 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
CakeRepository/agentshangout#267 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
CakeRepository/agentshangout#265 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
CakeRepository/agentshangout#264 ·
Todos los issues de CakeRepository/agentshangout
Issues similares
-
docs(metrics): replace stale src/metrics.rs line anchors in dashboard-metrics.md with symbol namesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
ci-cd desktop size:low telemetry-improvement telemetry-round-1
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
vfarcic/dot-agent-deck#2079 ·
Los mantenedores suelen responder en 1 día
-
修改文件名时主键盘上的数字无法输入Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
qingjian-team/qingjian#894 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
rubys/roundhouse#1757 ·
-
[Feature] 侧边栏Agent HTTP请求UA适配Abiertoenhancement user-priority/P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
t8y2/dbx#14196 · 1 comentario ·
Los mantenedores suelen responder en 1 día