Community posts: document storage and history for people; later improvements

オープン 初心者向け
#508 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
領域
documentation

調査の方向性

docs/COLLABORATION_HANDOFF.mdと、ユーザー向けドキュメントのdocs/PEOPLE_CONVERSATIONS.mdおよびdocs/COLLABORATION_NETWORK_PROFILE.mdを読みます。散在しているユーザー向けの説明を、記載されている保存、可視性、履歴、Libraryファイルの動作を網羅する短いセクションにまとめます。開発者向けの詳細はhandoffドキュメントに残し、新しいセクションへのリンクを追加します。ユーザーが明確な説明を一か所で見つけられ、handoffドキュメントからそこへリンクされていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

How Community posts are stored and passed on works, but it is documented only for developers and in pieces (docs/COLLABORATION_HANDOFF.md:79-80 has the 24 h / 200 posts / 1 MiB rule; docs/PEOPLE_CONVERSATIONS.md and docs/COLLABORATION_NETWORK_PROFILE.md cover the protocol). No doc tells a person what happens to a post.

Facts (source at 8a74b669c):

  • Each Home keeps the posts Chat shows (newest 500 per conversation, no age limit) and the signed originals it passes on (24 h, at most 200 posts and 1 MiB). Both are plain JSON in the Home's data folder.
  • No server stores posts. The seed's Community node relays gossip and keeps nothing on disk.
  • A Home that was offline gets missed posts only from Homes online now, only if both sides show presence, and only from the last 24 h.
  • Posts are signed but not encrypted: every member, and every node on the topic including the seed hub, can read them.
  • A post cannot be deleted or edited; other Homes keep it until it falls out of their newest 500.
  • A Library file posted in Community stays on the sender's Home; only the sender's contacts can fetch it while that Home runs.

1. Document it (replace, not add): one short section in the user docs, built from the facts above, that replaces the scattered user-facing bits; the developer detail stays in COLLABORATION_HANDOFF.md and links to it.

2. Improvements to decide later:

  • Delete your own post (a signed retraction that other Homes honor).
  • Longer history: catch-up beyond 24 h and 200 posts, and catch-up that does not require showing presence.
  • Encrypt stored posts at rest, like the per-person direct-message store.
  • Private Communities: membership instead of the open grant, and posts encrypted to members.
  • Say in Chat, once and briefly, that Community posts are public.
主要言語
Rust
スター
6
フォーク
2
平均マージ
1日 3時間
マージ済み PR(30日)
42

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elastos/elastos-runtime のほかの issue

elastos/elastos-runtime の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。