Ryan Barrett
|
3d0c5ecea5
|
Object.resolve_ids: handle multiple inReplyTo
|
2023-11-12 13:15:08 -08:00 |
Ryan Barrett
|
a08a76c672
|
Object.resolve_ids bug fix: handle both protocol LABEL and ABBREV
|
2023-11-12 10:33:08 -08:00 |
Ryan Barrett
|
535494f21b
|
Object.to_as1 from bsky: pass at:// uri so we get id/url more often
for #715
|
2023-11-09 20:50:48 -08:00 |
Ryan Barrett
|
f97b837960
|
cache follower/following counts for 2h
|
2023-11-08 12:03:56 -08:00 |
Ryan Barrett
|
d576d2b2e4
|
move pages.count_followers to User, use it in activitypub.actor
|
2023-11-08 11:56:01 -08:00 |
Ryan Barrett
|
98bb29b333
|
drop Object.proxy_url, switch callers to ids.translate_object_id
|
2023-11-06 12:18:11 -08:00 |
Ryan Barrett
|
1f6a227aee
|
Object.actor_link bug fix: handle composite url field
fixes https://console.cloud.google.com/errors/detail/CJTXq6ri48XtKQ;time=P30D?project=bridgy-federated
|
2023-11-03 06:53:33 -07:00 |
Ryan Barrett
|
4d44363693
|
fold Object.as_bsky into ATProto.convert, translate ids
|
2023-11-02 17:41:31 -07:00 |
Ryan Barrett
|
72e180f854
|
User/Object.get_copy: return key id if proto is the source protocol
|
2023-11-02 13:08:23 -07:00 |
Ryan Barrett
|
0ca49e837a
|
add Object.get_copy, User.get_copy
|
2023-11-02 13:08:23 -07:00 |
Ryan Barrett
|
9aff3122c0
|
noop: rename get_for_copy[ies] => get_for_original[s]
|
2023-11-02 13:08:23 -07:00 |
Ryan Barrett
|
db646909e2
|
delivery: switch from threads to tasks, one per send
for #652
|
2023-10-31 12:49:27 -07:00 |
Ryan Barrett
|
cfbfba654e
|
move User.get_for_copy/ies to module level, add Object results
|
2023-10-26 16:00:03 -07:00 |
Ryan Barrett
|
ca8b7484c0
|
drop User.as2, Object.as_as2, switch callers to Protocol.convert
|
2023-10-25 13:28:01 -07:00 |
Ryan Barrett
|
e833eb04dc
|
Object.resolve_ids: compact output objects with just id to bare string ids
|
2023-10-25 12:31:52 -07:00 |
Ryan Barrett
|
5a07e154ef
|
use subdomain_wrap in ids.convert
|
2023-10-24 15:58:03 -07:00 |
Ryan Barrett
|
422a240183
|
Resolve protocol-subdomain-wrapped ids/URLs by stripping the subdomain wrapping
Renames Object.replace_copies_with_originals => resolve_ids. As a side effect, also fixes https://console.cloud.google.com/errors/detail/CK3U3PONxv5Q;time=P30D?project=bridgy-federated
|
2023-10-24 10:47:44 -07:00 |
Ryan Barrett
|
158200d9fd
|
bug fix for opt out, handle HTML
|
2023-10-21 20:51:54 -07:00 |
Ryan Barrett
|
1fa205af30
|
User.get_or_create: only fetch user profile if we don't already have it
|
2023-10-20 11:23:43 -07:00 |
Ryan Barrett
|
efdf84a023
|
Protocol.receive: replace copy ids with originals, related bug fixes
|
2023-10-18 11:03:22 -07:00 |
Ryan Barrett
|
ff88c082ef
|
try not clearing Object.bsky
now that we're starting to replace copies with originals in ids, actors, etc, it'd be nice to preserve the original source object data.
|
2023-10-18 11:03:22 -07:00 |
Ryan Barrett
|
96b84511eb
|
add Object.replace_copies_with_originals
|
2023-10-18 11:03:22 -07:00 |
Ryan Barrett
|
f292a7d957
|
authorization: allow actor to update/delete itself
for #566
|
2023-10-16 12:25:29 -07:00 |
Ryan Barrett
|
d0da119b07
|
add opt out via #nobridge or #nobot text in user profile bio
fixes #666
(unfortunate issue number 😆)
|
2023-10-13 12:36:31 -07:00 |
Ryan Barrett
|
ff168231d6
|
Object.actor_link: add image kwarg
|
2023-10-12 10:37:22 -07:00 |
Ryan Barrett
|
8f4c353936
|
Object.actor_link: add sized kwarg
|
2023-10-12 10:19:59 -07:00 |
Ryan Barrett
|
84e9b2bcfd
|
AP: strip @context from Object.as2 before storing in datastore
we don't do LD, and many other servers' @contexts are big, so this saves disk space.
fixes #426
|
2023-10-11 16:35:05 -07:00 |
Ryan Barrett
|
dfab9f55d1
|
user page redesign: Object.actor_link: load actor from datastore
for #442
|
2023-10-11 12:25:39 -07:00 |
Ryan Barrett
|
bd19cab870
|
Object.actor_link bug fix: handle actor/author objects with only id field
for #442
|
2023-10-11 12:25:39 -07:00 |
Ryan Barrett
|
f37baeba58
|
user page redesign: misc tweaks
* separate source protocol from user in user labels
* make bridged protocol labels generic
* other visual tweaks
for #442
|
2023-10-11 12:25:39 -07:00 |
Ryan Barrett
|
afa16d3864
|
start redesigning user pages
for #442
|
2023-10-11 12:25:38 -07:00 |
Ryan Barrett
|
1b78e86e6c
|
add Protocol.LOGO_HTML constant, change user page to link to external user
for #442
|
2023-10-11 12:25:38 -07:00 |
Ryan Barrett
|
37188f3cca
|
User.get_or_create: if propagate=True, always reload user profile remotely
|
2023-10-07 11:51:21 -07:00 |
Ryan Barrett
|
db29ad7757
|
docs: fix docstring formatting, other tweaks
|
2023-10-05 23:32:31 -07:00 |
Ryan Barrett
|
e00a4b52ba
|
ATProto: don't create DNS records if DEBUG is on
|
2023-10-05 15:55:31 -07:00 |
Ryan Barrett
|
7d8b1ba2e8
|
add fetch_blobs kwarg to Object.as_bsky
|
2023-10-05 15:47:04 -07:00 |
Ryan Barrett
|
000b08f9b2
|
when creating a new ATProto user, add a DNS _atproto TXT record for their handle
|
2023-10-04 13:54:20 -07:00 |
Ryan Barrett
|
ae25baba8c
|
drop obsolete User.href, it was only for OStatus
🫗
|
2023-10-04 12:30:20 -07:00 |
Ryan Barrett
|
b4d5ab15ef
|
ATProto: assert that we only store record type objects in the repo
|
2023-10-03 16:56:06 -07:00 |
Ryan Barrett
|
4b94b4397c
|
User.get_or_create: fetch and propagate user profile object
|
2023-09-29 11:32:28 -07:00 |
Ryan Barrett
|
bfabfabea7
|
move creating a new ATProto user from ATProto.send to User.get_or_create
in progress, still need to load user profile object and write it to ATProto repo
|
2023-09-29 11:32:28 -07:00 |
Ryan Barrett
|
ad0a942034
|
switch webfinger and AP actors to mostly protocol subdomains
except Web, it still mostly serves on fed.brid.gy for backcompat, don't want to change existing Web users' AP actor ids.
|
2023-09-26 16:43:48 -07:00 |
Ryan Barrett
|
a9fcc167f6
|
replace User.readable_id computed property with handle
|
2023-09-25 15:08:14 -07:00 |
Ryan Barrett
|
e9e8827ef9
|
standardize more on 'handle' and 'id' terms
* User.readable_id => handle
* User.readable_or_key_id => handle_or_id
|
2023-09-25 12:33:24 -07:00 |
Ryan Barrett
|
6cdb04b53f
|
replace User.atproto_handle with handle_as('atproto')
|
2023-09-25 10:58:05 -07:00 |
Ryan Barrett
|
021df15f7e
|
Object.as1 from bsky: pass repo DID, handle, PDS to granary
|
2023-09-24 20:02:09 -07:00 |
Ryan Barrett
|
c1880569b8
|
User.get_by_copy => get_by_copies
|
2023-09-19 21:12:53 -07:00 |
Ryan Barrett
|
5107d003fe
|
Object.as1: genericize converting actor/author id from copy to original
|
2023-09-19 19:59:28 -07:00 |
Ryan Barrett
|
134416cd7b
|
genericize User.get_by_atproto_did to get_for_copy
|
2023-09-19 16:48:16 -07:00 |
Ryan Barrett
|
dcbf16db6e
|
Object.as1 conversion from bsky, injecting actor/author
prefer user id to profile object id, default to AT URI repo DID
|
2023-09-18 11:52:17 -07:00 |