flarum/realtime has no admin-facing documentation
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- nginx, php, redis
- Área
- devops, documentation
Línea de trabajo
Start by comparing the realtime README with extend/realtime.md, console.md, and the existing Bundled Extensions documentation. Confirm the admin setup, commands, queue requirements, daemon supervision, configuration options, and nginx path described in the issue. Done means the chosen documentation location contains an accurate admin guide and console.md covers the listed missing commands.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
flarum/realtime is bundled in 2.0, but there is nothing on docs.flarum.org that tells an admin how to run it. Unlike the other bundled extensions it is not something you simply enable: it needs a long-running daemon and a queue worker, so enabling it without setting those up leaves a forum with a feature that silently does not work.
What exists today
extend/realtime.mddocuments theRealtimeextender, for extension developers.- The Bundled Extensions sidebar category contains exactly one page,
extensions/audit. - Outside that developer page, the docs barely mention realtime at all, and
console.mddoes not mention its commands.
What the extension's README documents that the site does not
The README is effectively a complete admin guide already, and none of it is published:
- That it "contains a service you will need to install", needs an environment that can run processes continuously, and needs a queue (Redis recommended), so it "isn't likely applicable to anyone hosted on shared hosting environments".
php flarum realtime:serve -vvv --debugfor testing, and production daemon setup with either supervisor (a/etc/supervisor/conf.d/realtime.confexample) or systemd (aflarum-realtime.serviceexample).- The
websocketblock inconfig.phpand every option in it, with defaults:server-host,server-port,js-client-host,js-client-port,js-client-secure,php-client-host,php-client-port,php-client-secure,php-client-timeout,app-key,app-secret,max-connections. - Running the socket encrypted by proxying the port with nginx, including the ordering requirement that the realtime include comes before the Flarum include.
- That the daemon halts itself within 10 seconds when it sees an extension toggled,
--ignore-extension-togglesto turn that off, andrealtime:haltto force a restart from CI/CD. - The
SendTriggerJobFAQ: raise the queue worker timeout (php flarum queue:work --timeout=360) or the job fails every time.
Two smaller things alongside it
console.mddocuments ten commands and does not includerealtime:serve,realtime:haltorrealtime:info. While there: it also omitsavatars:backfill-variants,avatars:convert-to-webp,schema:dump,extension:enable,bisect,queue:pause,queue:resume,announcements:refreshandextensions:sync-abandoned.- The README's nginx snippet still points at
vendor/blomstra/realtime/.nginx.conf. The package isflarum/realtimenow and ships its own.nginx.conf, so that path looks like a leftover from before it was bundled and would not resolve for anyone following it.
Why this seems worth settling before 2.0 is final
Realtime is one of 2.0's headline features, and its deployment story (process supervision, a queue, TLS termination) is exactly the kind of thing admins will ask about on day one, and exactly the kind of thing where guessing produces a broken forum.
I am happy to write the page, but the shape is yours to decide rather than mine to assume: whether it belongs under Bundled Extensions or alongside scheduler.md and queue.md under Management, how much of the supervisor and systemd guidance should live on docs.flarum.org as opposed to staying in the README, and which deployment method you would rather recommend first. Say which you prefer and I will draft it.
- Lenguaje dominante
- JavaScript
- Estrellas
- 76
- Forks
- 137
- Merge medio
- 5 h 12 min
- PR fusionados (30 d)
- 77
Preparar el entorno
- 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 flarum/docs
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 91/100
Los mantenedores suelen responder en 1 día
-
Create minimum specificationsAbierto
Dificultad 2/5 Medio día Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
flarum/docs#493 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
Todos los issues de flarum/docs
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
micromatch/picomatch#243 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
b310-digital/teammapper#1515 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
c1overzz/dsh-bili-scroll#153 ·
Los mantenedores suelen responder en 1 día
-
01 type: bug 21 status: confirmed 41 lvl: easy 62 scope: viewer
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día