Merge branch 'giza' into claude/dazzling-aryabhata-889d64

The group inbox (NIP-4E) and confederation Part C landed on giza meanwhile.
Where threshold ECDH meets the inbox:

- schema: the inbox has 45 and 46, so the group's direct messages are v47,
  AutoMigration(46, 47);
- the group's 10050 is one event: InboxRefusal declines a bad relay list and
  InboxAnnouncements publishes it; GroupDmRelayRefusal and the second
  publisher are gone, and the inbox's line and label are the ones shown;
- kind 13 batches split on the seal's n tag, by InboxSeal's own reading:
  inbox replies to InboxRefusal and InboxReplies, every other seal to
  GroupDmRefusal and GroupDmSender;
- a wrap to the group tries the inbox keys first, and opens a round only for
  what they cannot; the inbox's unopened count leaves out what was opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-22 12:28:55 +02:00
commit f57e9b8dd0
105 files changed
+23295 -766

No files matched your search

@@ -740,6 +740,60 @@
<string name="group_signs_with">%1$s: %2$d of %3$d admins to sign</string>
<string name="confederation_formed">Formed</string>
<string name="this_is_the_confederations_room">This is the room of the confederation %1$s. Its key is held by the admins of its groups together. Until the confederation can sign, who is in this room cannot change.</string>
<string name="confederation_signing">The confederation's signature</string>
<string name="approve_for_the_confederation">Approve</string>
<string name="decline_for_the_confederation">Decline</string>
<string name="signed_by_admins_of_groups">Signed by %1$d admins of %2$d groups together, once enough of them approve. You approve for every group you are an admin of.</string>
<string name="the_confederation_signed_it">The confederation signed it</string>
<string name="the_confederation_did_not_sign_it">The confederation did not sign it: %1$s</string>
<string name="you_declined_this">You declined this</string>
<string name="answer_yes">Approved</string>
<string name="answer_no">Declined</string>
<string name="this_device_holds_no_such_request">This device holds no such request for the confederation to sign</string>
<string name="propose_the_charter">Propose the charter</string>
<string name="the_charter_names_the_groups">The charter is the confederation's public statement of the groups it is made of, signed with its own key. It is how members who are not admins hear of it.</string>
<!-- The group's inbox: docs/group-inbox.md -->
<string name="inbox">Inbox</string>
<string name="inbox_settings">Inbox settings</string>
<string name="no_new_messages">No new messages</string>
<string name="one_new_message">1 new message</string>
<string name="n_new_messages">%1$d new messages</string>
<string name="set_up_an_inbox">Set up an inbox</string>
<string name="let_anyone_on_nostr_write_to_the_group_privately">Let anyone on nostr write to the group privately</string>
<string name="the_admins_are_making_the_inbox_key">The admins are making the group's inbox key</string>
<string name="couldn_t_find_the_group">Couldn't find the group</string>
<string name="nobody_has_written_to_the_group_yet">Nobody has written to the group yet.</string>
<string name="earlier_mail_is_not_on_this_device">Messages sent before you held the group's inbox key aren't on this device.</string>
<string name="one_message_this_device_can_t_open">1 message this device can't open</string>
<string name="n_messages_this_device_can_t_open">%1$d messages this device can't open</string>
<string name="why_a_message_can_t_be_opened">It was sent to the group's npub by an app that doesn't know the group's inbox key, or to a key from before you were an admin.</string>
<string name="the_group_hasn_t_announced_its_inbox">The group hasn't signed its inbox announcement yet, so nobody can write to it.</string>
<string name="the_group">The group</string>
<string name="the_group_wrote">The group: %1$s</string>
<string name="you_and_the_group">%1$s and the group</string>
<string name="inbox_setup_explainer">The group's admins will make a key together. Every admin holds it and can read what arrives. Nobody can write to the group until it signs its announcement, and the group signs every reply.</string>
<string name="where_mail_should_arrive">Where mail should arrive</string>
<string name="one_relay_per_line">One relay per line, starting wss://</string>
<string name="inbox_key_generation">Key %1$d, %2$s</string>
<string name="announced_anyone_can_write_to_it">Announced: anyone can write to it</string>
<string name="waiting_for_the_group_to_sign_its_announcement">Waiting for the group to sign its announcement</string>
<string name="retired_kept_to_open_older_mail">Retired, kept to open older mail</string>
<string name="mail_arrives_on">Mail arrives on %1$s</string>
<string name="waiting_on">Waiting on %1$s</string>
<string name="rotate_the_inbox_key">Rotate the inbox key</string>
<string name="rotate_explainer">Makes a new key with the current admins. Mail sent to the old key can still be read by the admins who held it, and a removed admin keeps what they already read.</string>
<string name="couldn_t_start_the_ceremony">Couldn't start the ceremony</string>
<string name="the_inbox_key_ceremony_started">The inbox key ceremony started</string>
<string name="no_inbox_relays_were_valid">None of those is a relay a stranger could reach</string>
<string name="reply_as_the_group">Reply as the group</string>
<string name="ask_the_group_to_sign_this_reply">Ask the group to sign this reply</string>
<string name="the_group_signs_a_reply">The group's quorum has to sign this before it is sent. It goes out in the group's name, not yours, and can't be taken back once signed.</string>
<string name="has_announced_no_inbox_key">%1$s has announced no inbox key, so their app may not be able to open a message from a group.</string>
<string name="could_not_ask_the_group_to_sign_this_reply">Couldn't ask the group to sign this reply.</string>
<string name="not_yet_on_a_relay">Not yet on a relay</string>
<string name="send_reply_again">Send again</string>
<string name="sent_again">Sent again</string>
<string name="the_admins_have_changed_since_this_key_was_made">The group's admins have changed since this key was made. It changes on its own once an admin's device starts a new ceremony, or you can rotate it now.</string>
<!-- A group's direct messages: docs/group-threshold-ecdh.md -->
<string name="open_the_groups_messages">Open the group's messages</string>
<string name="nobody_can_write_to_the_group_yet">Nobody can write to the group yet</string>
@@ -757,7 +811,6 @@
<string name="ask_the_group_to_sign">Ask the group to sign</string>
<string name="could_not_ask_the_group_to_sign_its_message_relays">Couldn't ask the group to sign where it receives messages.</string>
<string name="only_a_current_admin_can_open_the_groups_messages">Only a current admin holding a share can open the group's messages.</string>
<string name="nobody_has_written_to_the_group_yet">Nobody has written to the group yet</string>
<string name="one_message_being_opened">1 message being opened</string>
<string name="n_messages_being_opened">%1$d messages being opened</string>
<string name="waiting_for_one_more_admin_to_open_this">Waiting for 1 more admin to open this</string>
@@ -765,7 +818,6 @@
<string name="not_yet_answered_by">Not yet answered by %1$s</string>
<string name="n_more_are_queued">%1$d more are queued: the group was sent more than its admins open in an hour</string>
<string name="a_message_this_screen_cant_show_yet">A message this screen can't show yet</string>
<string name="the_group">The group</string>
<string name="signed_not_yet_sent">Signed, not yet sent</string>
<string name="sent">Sent</string>
<string name="signed_but_not_sent">Signed but not sent</string>