flarum/realtime has no admin-facing documentation
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- nginx, php, redis
- Lĩnh vực
- devops, documentation
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 76
- Fork
- 137
- Merge trung bình
- 5 giờ 12 phút
- Pull request đã merge (30 ngày)
- 77
Chuẩn bị môi trường
- 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 flarum/docs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Create minimum specificationsĐang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
flarum/docs#493 · 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 45/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
srikanth235/centraid#1155 ·
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 85/100
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 73/100
microsoft/monaco-editor#5563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Package downloads never retry: getUrlWithResuming's retry catch cannot see a rejected requestĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày