Wykres commitów

24 Commity (c0f8945989902cdc36d89e8c7983c0c3343c5bf0)

Autor SHA1 Wiadomość Data
Ryan Barrett ad910e9724
DMs: set inReplyTo when replying 2024-10-28 15:49:15 -07:00
Ryan Barrett cb27835c0b
ATProto.set_username: emit #identity event over firehose
for #826
2024-10-27 21:48:32 -07:00
Ryan Barrett 4abb52b1d1
add username DM command, new Protocol.set_username method, implement in ATProto
for #826
2024-10-27 10:50:27 -07:00
Ryan Barrett 5bf5a7f4f1
opt_out.py: switch obj param to obj_id
to match bba9cb2d16
2024-10-16 18:08:14 -07:00
Ryan Barrett a452f288fe
send and receive tasks: switch from url-safe Object key to string id
will affect all send tasks, but only update-profile receive tasks, the rest already switched to passing Object properties in the HTTP request directly
2024-10-11 08:53:21 -07:00
Ryan Barrett 0fd095500c
DMs: when requesting someone already bridged, link to the requester's protocol
for https://h-net.social/@ClaireFromClare/113168702146153596
2024-09-20 11:18:31 -07:00
Ryan Barrett 4df76d0db7
when we get a delete, or a web user opts out, delete their copies in other protocols
for #1304
2024-09-16 18:27:04 -07:00
Ryan Barrett 249aa38a87
dms.receive: detect when the protocol doesn't support the requested user's handle
fixes #1318
2024-09-10 21:20:44 -07:00
Ryan Barrett f3ab1de6ac
dms.receive: minor tweak, use fallback for user_link 2024-09-10 17:45:08 -07:00
Ryan Barrett 794a772619
switch ATProto chat polling from task to cron job 2024-09-10 16:46:37 -07:00
Ryan Barrett b24071576d
dms.receive logging bug fix for when we can't parse content 2024-09-10 14:12:54 -07:00
Ryan Barrett c49742f226
dms.receive: strip leading @ if necessary
for #966
2024-09-05 13:22:58 -07:00
Ryan Barrett 3eba6d9e91
DMs: more minor tweaks to the request DM 2024-08-27 22:44:37 -07:00
Ryan Barrett e40958a7c1
DMs: tweak request text 2024-08-25 13:06:08 -07:00
Ryan Barrett 0f6798389b
dms: bug fix for request limit in memcache, use integer seconds expiration 2024-08-22 17:57:37 -07:00
Ryan Barrett 52e1a8d867
limit DM requests to 10 per user per day, via memcache counter
for #966
2024-08-22 17:18:13 -07:00
Ryan Barrett 6675d9805c
User.user_link: add name, handle, pictures, proto kwargs, remove maybe_internal_link 2024-08-21 07:55:09 -07:00
Ryan Barrett 2ed8ba2d0f
DM to request bridging: send acknowledgment DM to requester
for #966
2024-08-19 21:48:02 -07:00
Ryan Barrett c9b356f101
DM to request bridging: lots of error handling
reply to the requesting user in these cases:
* requestee doesn't exist
* requestee is already bridged
* requestee was already requested
* requester isn't bridged

for #966
2024-08-19 21:47:57 -07:00
Ryan Barrett a232cd457e
DM to request bridging: require that requesting user is bridged
for #966
2024-08-19 14:05:01 -07:00
Ryan Barrett ff57074651
dms.maybe_send: make type optional 2024-08-19 13:55:05 -07:00
Ryan Barrett 004d3617f8
dms.receive: first pass at DM handle to request bridging
for #966
2024-08-19 13:26:45 -07:00
Ryan Barrett ecab888a02
move incoming DM handling from Protocol.receive to dms.receive 2024-08-18 08:29:05 -07:00
Ryan Barrett be2b36cf8a
start new dms module, move Protocol.maybe_bot_dm into it 2024-08-17 22:53:14 -07:00