Ryan Barrett
2626bda8a4
ATProto.send_chat: narrow getConvoForMembers error handling to just "recipient disabled chat"
...
raise others, and all from sendMessage
2024-08-21 07:55:09 -07:00
Ryan Barrett
ea6e195835
ATProto.send_chat: add new lxm claim to JWT
...
lxm scopes the JWT to a single XRPC method, so we need a token per call now. https://github.com/bluesky-social/atproto/discussions/2687
2024-08-16 14:32:47 -07:00
Ryan Barrett
2adc661aa4
/r/ and Protocol.for_id: handle bad bsky.app URLs better
...
for https://console.cloud.google.com/errors/detail/CNSB0pOhgIfdbA;locations=global;time=P30D?project=bridgy-federated
2024-08-15 14:35:49 -07:00
Ryan Barrett
799ccc2a7c
noop: ATProto.send: switch as1.is_dm to as1.recipient_if_dm
2024-08-14 17:06:58 -07:00
Ryan Barrett
a91c8087fb
ATProto.send: gracefully handle updates/deletes that don't match original AT URI
...
for eg #1252
2024-08-11 07:42:10 -07:00
Ryan Barrett
925771562f
add Protocol.SUPPORTS_DMS
...
for #1024 , #966 , etc
2024-08-08 20:41:57 -07:00
Ryan Barrett
37c781a2df
ATProto.send: handle DMs, translate and send as chat messages
...
for #1024 , #966 , etc
2024-08-08 20:17:06 -07:00
Ryan Barrett
848313dfd4
ATProto.send_chat: handle 400 from getConvoForMembers, sendMessage
...
for #1024 , #966 , etc
2024-08-07 13:09:37 -07:00
Ryan Barrett
c8d6ba510f
add ATProto.send_chat
...
for #1024 , #966 , #758 , etc
2024-08-07 13:09:37 -07:00
Ryan Barrett
c4f75bfbd0
noop: ATProto.create_report: fix log message
2024-08-07 13:09:37 -07:00
Ryan Barrett
124718ecc7
ATProto.create_report bug fix: include JWT
2024-08-05 19:38:52 -07:00
Ryan Barrett
14548dcaf6
add flag to ATProto.SUPPORTED_AS1_TYPES
2024-08-05 13:34:55 -07:00
Ryan Barrett
70dd6d3ceb
minor logging optimizations
...
for https://github.com/snarfed/bridgy-fed/issues/1149
2024-08-02 08:03:44 -07:00
Ryan Barrett
5454e19a23
ATProto.handle_to_id: skip opted out/blocked users
...
for #1215
2024-07-27 08:55:53 -07:00
Ryan Barrett
d14e19ce16
ATProto._convert: when converting images to blobs, skip images that we can't fetch
...
fixes errors registering web sites when fetching their favicons etc fails
2024-07-24 16:08:55 -07:00
Ryan Barrett
00626f5f42
ATProto.create_for: handle existing DNS record
...
delete and add new one. for #1072
2024-07-24 13:41:21 -07:00
Ryan Barrett
4c21eb2f74
ATProto.create_for: extract out set_dns_did method
...
prep for #1072
2024-07-24 08:17:06 -07:00
Ryan Barrett
da251d9ec1
ATProto: link to user page in profile footer links for web users
2024-07-23 22:11:42 -07:00
Ryan Barrett
4c5b666703
ATProto._convert: always convert RSS/Atom posts to external embeds
...
with new bluesky.from_as1 as_embed kwarg
2024-07-22 13:55:35 -07:00
Ryan Barrett
7e792ea22f
drop spam filter req't that display name is different than username
...
for https://akkoma.dev/AkkomaGang/akkoma/issues/438#issuecomment-12745 , cc @snan
2024-07-16 10:46:17 -07:00
Ryan Barrett
ee62334a93
turn on web <=> Bluesky!
...
for #1034
2024-07-15 19:40:10 -07:00
Ryan Barrett
714c317dd4
Protocol.targets: only deliver reposts, replies etc if the original post was bridged
...
for #1166 , #1151 , maybe others. #1151 is the big motivation here: that we're currently generating and sending Bluesky a ton of reposts with blank subject cid/URL, which afaict is the main reason bridging is getting stuck for some accounts and the relay is constantly calling `getRepo`. I'm hoping this will reduce or eliminate that.
this isn't a big behavior change, but it is a kind of big change to routing logic. it's tested pretty well, but I still expect something to break. we'll see.
2024-07-09 17:29:02 -07:00
Ryan Barrett
df75e97880
atproto_firehose.handle bug fix: deletes don't have records
...
for #1162
2024-07-06 14:47:14 -07:00
Ryan Barrett
e5a6ebf228
drop Protocol.HAS_FOLLOW_ACCEPTS in favor of SUPPORTED_AS1_TYPES
2024-07-05 23:12:35 -07:00
Ryan Barrett
b606924d63
refactor SUPPORTED_AS1_TYPES usage into new Protocol.check_supported method
2024-07-04 21:11:38 -07:00
Ryan Barrett
850d681f83
add Protocol.SUPPORTED_AS1_TYPES
2024-07-04 16:58:06 -07:00
Ryan Barrett
22d6cef9b1
ATProto: translate undo (of eg likes, reposts) to delete
...
for #1127
2024-06-29 21:57:22 -07:00
Ryan Barrett
48dd8b1531
ATProto.send bug fix for updating profiles
2024-06-24 18:17:58 -07:00
Ryan Barrett
6e7667c266
ATProto.send and nearby: don't assume that ids are already translated
...
for refactoring opt_out.py to be more generic
2024-06-22 16:41:23 -07:00
Ryan Barrett
e5d800cf53
ATProto: handle getRecord errors
...
hopefully fixes https://console.cloud.google.com/errors/detail/CMCs_JjSnpWBtAE;time=P30D?project=bridgy-federated
2024-06-20 11:20:24 -07:00
Ryan Barrett
0ec722f4a0
ATProto.send: handle update and delete when record doesn't exist
...
hopefully fixes https://console.cloud.google.com/errors/detail/CODcisqz56SZugE;time=P7D?project=bridgy-federated , https://console.cloud.google.com/errors/detail/CN_mkuKjg-rf_wE;time=P7D?project=bridgy-federated
2024-06-19 21:12:41 -07:00
Ryan Barrett
3d3ac1e9f4
ATProto.send: implement stop-following
...
hopefullly fixes https://console.cloud.google.com/errors/detail/CPvA_dLO4r_hIA;time=P7D?project=bridgy-federated
2024-06-19 19:59:55 -07:00
Ryan Barrett
ea3264928a
ATProto.send: move conversion check later
...
for 94676ac694
, https://console.cloud.google.com/errors/detail/COjSuYPS0qLvmAE;time=P7D?project=bridgy-federated
2024-06-19 16:42:58 -07:00
Ryan Barrett
94676ac694
ATProto.send: short circuit if we couldn't convert the object
...
for #1064 , hopefully fixes https://console.cloud.google.com/errors/detail/COjSuYPS0qLvmAE;time=P7D?project=bridgy-federated
2024-06-19 16:23:51 -07:00
Ryan Barrett
960d564614
ATProto DatastoreClient: add support for records in local repos
...
hopefully fixes https://console.cloud.google.com/errors/detail/CMCs_JjSnpWBtAE;time=P7D?project=bridgy-federated
2024-06-19 16:08:07 -07:00
Ryan Barrett
162d882112
ATProto: pass new type kwarg to granary Bluesky.truncate() call
...
for snarfed/granary@7d7e377c28
2024-06-13 19:46:43 -07:00
Ryan Barrett
387d3169a6
ATProto: rename original* custom fields to bridgyOriginal*
...
for #1092
2024-06-12 15:22:45 -07:00
Ryan Barrett
417a88a2a6
ATProto: support new off-lexicon originalDescription and originalUrl fields
...
for snarfed/bridgy-fed#1092
2024-06-12 15:22:45 -07:00
Ryan Barrett
04112c88bf
ATProto.add_source_links: switch to granary's Bluesky.truncate()
...
for #986
2024-06-10 16:15:59 -07:00
Ryan Barrett
551637f6a1
ATProto.send: ignore update/delete of object that we didn't bridge
...
fixes https://console.cloud.google.com/errors/detail/COX1ss-HvOq5Xg;time=P30D?project=bridgy-federated
2024-06-08 16:52:34 -07:00
Ryan Barrett
5b7f8de8d6
ATProto.send: handle delete when we have Object but not contents
...
fixes https://console.cloud.google.com/errors/detail/COjSuYPS0qLvmAE;time=P30D?project=bridgy-federated
2024-06-08 16:40:19 -07:00
Ryan Barrett
4a2abbac5b
ATProto.send, create_report: short circuit if repo is tombstoned
...
fixes https://console.cloud.google.com/errors/detail/CLTU-qezn5vJnQE;time=P30D?project=bridgy-federated
2024-06-08 15:16:39 -07:00
Ryan Barrett
9ff28ea690
ATProto.send: short circuit out for deletes of objects we don't have
...
fixes https://console.cloud.google.com/errors/detail/COjSuYPS0qLvmAE;time=P30D?project=bridgy-federated , https://console.cloud.google.com/errors/detail/COX1ss-HvOq5Xg;time=P30D?project=bridgy-federated
2024-06-08 14:28:16 -07:00
Ryan Barrett
026d99edc0
pass ignore_links=True to html_to_text everywhere
...
for #976
2024-06-06 18:14:35 -07:00
Ryan Barrett
183c829229
ATProto.add_source_links: truncate before adding source links
...
for #976
2024-06-06 14:16:05 -07:00
Ryan Barrett
27fc843825
Protocol.add_source_links bug fixes, handle actors inside create/update activities
...
for #976
2024-06-06 11:40:25 -07:00
Ryan Barrett
be30afd55a
ATProto: use plain text URLs domains in "bridged by Bridgy Fed" profile text
...
for #976
2024-06-06 08:58:09 -07:00
Ryan Barrett
0046f6436e
ATProto: when creating repo, store chat declaration to disable DMs
...
for https://github.com/snarfed/bridgy-fed/issues/1101
2024-06-04 20:22:31 -07:00
Ryan Barrett
ba00850840
turn on memorystore ndb global cache in hub and atproto_firehose
2024-06-04 19:27:52 -07:00
Ryan Barrett
3cb9a9366d
Web, ATProto: skip add activities, eg Bluesky list items
...
hopefully fixes https://console.cloud.google.com/errors/detail/CP7I5eaZj-_TxgE;time=P7D;refresh=true?project=bridgy-federated
2024-06-04 14:10:21 -07:00