Wykres commitów

29 Commity (main)

Autor SHA1 Wiadomość Data
Ryan Barrett 5e99d5d215
AP: add FEP-fffd proxy links
for #543. worried about interop with this one, I suspect some fediverse platforms may have trouble with a multi-valued url field, even though it's valid AS2 and how FEP-fffd works. will watch carefully.
2025-07-31 15:50:35 -07:00
Ryan Barrett a4a5166059
nostr: misc minor bug fixes, tweaks, comments 2025-07-03 20:18:00 -07:00
Ryan Barrett edcda6c142
Nostr: resolve and require valid NIP-05 identifier
for #446. adds new Nostr.valid_nip05 property and new `no-profile` and `no-nip05` status values, currently only used for Nostr users
2025-06-20 12:37:00 -07:00
Ryan Barrett fe5dd7cdc0
Nostr.owns_handle: return None (maybe) for domains 2025-06-19 14:02:05 -07:00
Ryan Barrett b35214aa11
noop, minor reformatting and comment 2025-06-19 13:32:37 -07:00
Ryan Barrett cf969dc4e9
nostr NIP-05 endpoint: support looking up users by bridged NIP-05 address
for #446
2025-06-14 13:19:30 -07:00
Ryan Barrett 9531841f52
add new ids.handle_as_domain function, User.handle_as_domain computed property
for #446
2025-06-14 12:33:32 -07:00
Ryan Barrett 65bab6869f
Nostr.handle: if no NIP-05, return npub
for #446
2025-06-12 22:34:18 -07:00
Ryan Barrett 778ec605ab
Nostr.send: replace existing nostr obj.copies, store obj
for #446
2025-06-12 18:44:23 -07:00
Ryan Barrett e2b4957226
unify Protocol.add_source_links and ATProto.add_source_links
Protocol.add_source_links now handles both HTML and plain text source link footer, based on the protocol class's HTML_PROFILES boolean constant. keeps a smaller ATProto.add_source_links for truncation.

for snarfed/bridgy-fed#446
2025-06-12 16:50:32 -07:00
Ryan Barrett 3cf4ecac7a
nostr: add debug logging for websocket traffic
for #446
2025-06-11 15:55:47 -07:00
Ryan Barrett cdc7c1f429
nostr: fill in relays in follow, reply, repost tags
for #446
2025-06-11 14:52:28 -07:00
Ryan Barrett 4258dceaf4
nostr: use nos.lol as default relay
for #446
2025-06-10 21:59:24 -07:00
Ryan Barrett f8e0f0862f
implement Nostr.reload_profile to fetch kind 0 profile and NIP-65 relay list
for #446
2025-06-06 21:22:27 -07:00
Ryan Barrett 1718c4ebb7
add User.npub_hex method, use User.npub/nsec[_hex] in Nostr
for #446
2025-06-06 20:03:52 -07:00
Ryan Barrett 8e63c4973e
change Nostr.relays from repeated string to key to NIP-65 Object
for #446
2025-06-06 18:52:38 -07:00
Ryan Barrett 3e1a1e2dd8
add Nostr.relays, use to implement target_for
will be populated from NIP-65 events. for #446
2025-06-06 18:38:43 -07:00
Ryan Barrett 11c4822fc5
use NIP-19 nostr:npub URIs for Nostr key ids
for #446
2025-06-06 18:16:46 -07:00
Ryan Barrett 4a2ce2d24b
add User.npub_hex method, use User.npub/nsec[_hex] in Nostr
for #446
2025-06-06 18:08:30 -07:00
Ryan Barrett 7f7af177fb
nostr: update tests for Nostr.query verifying signatures
snarfed/granary@c756718f2c
2025-06-04 20:50:50 -07:00
Ryan Barrett cfb7b3bd90
nostr: first pass at NIP-05 endpoint /.well-known/nostr.json
mostly works but still needs to convert back to original protocol's handle

for #446
2025-06-04 16:34:32 -07:00
Ryan Barrett 02ebdfe9e8
nostr: implement Nostr.handle
for #446
2025-06-04 15:28:51 -07:00
Ryan Barrett bc72af261e
nostr: implement Nostr.fetch
for #446
2025-06-04 11:36:40 -07:00
Ryan Barrett 1196cd8907
nostr: implement create_for; make send add to Object.copies
for #446
2025-06-03 12:31:39 -07:00
Ryan Barrett 69aad8031e
nostr: expand _convert, implement send
send uses websockets directly, not via granary's Nostr.create, because Nostr.create does some granary-specific stuff we don't need.
2025-06-02 08:39:52 -07:00
Ryan Barrett 37f8536cd5
nostr: implement handle_to_id, web_url, bridged_web_url_for, _convert
for #446
2025-05-30 20:38:40 -07:00
Ryan Barrett e2eaacf2dc
Nostr.owns_id: reuse granary.nostr.is_bech32
for #446
2025-05-30 14:42:35 -07:00
Ryan Barrett 63e2d4d695
nostr: noop: Object key ids will be NIP-21 nostr: URIs
https://nips.nostr.com/21
2025-05-30 13:29:36 -07:00
Ryan Barrett 046e91a9c5
start on Nostr!
for #446
2025-05-30 13:00:50 -07:00