Ryan Barrett
|
4909c0814e
|
deliver self-replies to all followers
fixes #639
|
2023-10-06 14:59:47 -07:00 |
Ryan Barrett
|
db29ad7757
|
docs: fix docstring formatting, other tweaks
|
2023-10-05 23:32:31 -07:00 |
Ryan Barrett
|
6442acb244
|
/bridge-user flashed message, link user handle
|
2023-10-05 22:28:36 -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
|
e96ab4654f
|
move creating ATProto users from User.get_or_create to new ATProto.create_for
|
2023-10-04 12:44:14 -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
|
b70ef87236
|
hub: add dispatch.yaml for URL-based routing, update network ingress
|
2023-09-29 14:28:36 -07:00 |
Ryan Barrett
|
e89730e68f
|
drop /_ah/ path prefix on task handlers
...since it's not supported in dispatch.yaml: https://cloud.google.com/appengine/docs/flexible/reference/dispatch-yaml?tab=python#url
|
2023-09-29 13:49:17 -07:00 |
Ryan Barrett
|
247e8a465f
|
test_webfinger: tests for bad protocol subdomains
|
2023-09-29 12:33:55 -07:00 |
Ryan Barrett
|
318ba554d5
|
misc hub setup, testing live
|
2023-09-29 11:32:29 -07:00 |
Ryan Barrett
|
f85ab9ef41
|
noop: add a couple minor tests and comments
|
2023-09-29 11:32:29 -07:00 |
Ryan Barrett
|
56c5909b84
|
add /bridge-user page to propagate a new user into ATProto
for #647
|
2023-09-29 11:32:28 -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
|
01d3b67bed
|
add Protocol.for_handle
|
2023-09-29 11:32:28 -07:00 |
Ryan Barrett
|
a823dd1d65
|
use protocol subdomains in AP inbox
...and other misc protocol subdomain fixes
|
2023-09-27 13:55:16 -07:00 |
Ryan Barrett
|
0b592ace35
|
update common.redirect_[un]wrap to handle all domains
including protocol subdomains
|
2023-09-27 13:10:28 -07:00 |
Ryan Barrett
|
59e9895ab4
|
activitypub actor and inbox: error on bad ids
eg status.php, looks like a domain but isn't
fixes https://console.cloud.google.com/errors/detail/CMyE7OD8zd6SnwE;time=P30D?project=bridgy-federated
|
2023-09-27 10:29:40 -07:00 |
Ryan Barrett
|
771de9770e
|
AP inbox bug fix: handle Like with null object
fixes https://console.cloud.google.com/errors/detail/CIiI9b-nz7-bIA;time=P30D?project=bridgy-federated
|
2023-09-27 09:43:16 -07:00 |
Ryan Barrett
|
8cd1bf809b
|
standardize AP endpoints mostly onto protocol subdomains
fixes #611
|
2023-09-26 20:04:57 -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
|
ef44dae317
|
ATProto: when storing user, always try to fetch DID doc if we don't have it
|
2023-09-26 14:47:26 -07:00 |
Ryan Barrett
|
068dcdeb86
|
ATProto.send: ignore accepts and undos
|
2023-09-26 14:47:26 -07:00 |
Ryan Barrett
|
a9fcc167f6
|
replace User.readable_id computed property with handle
|
2023-09-25 15:08:14 -07:00 |
Ryan Barrett
|
c27404d681
|
/web-site: gracefully handle blocklisted domains
fixes https://console.cloud.google.com/errors/detail/CJbG4sGlnK7Jdw;time=P30D;refresh=true?project=bridgy-federated
|
2023-09-25 14:45:04 -07:00 |
Ryan Barrett
|
9b8b02e99f
|
consolidate ap_address in ATProto, Fake, Web (partially) into User
|
2023-09-25 12:45:47 -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
|
40ba007e9e
|
add User.handle()
|
2023-09-25 10:58:05 -07:00 |
Ryan Barrett
|
39752dc7ca
|
ids: allow same from and to protocol in convert_id, convert_handle
|
2023-09-25 10:58:05 -07:00 |
Ryan Barrett
|
2a7df37529
|
update atproto test_poll_notifications for fetching repo DID doc
|
2023-09-24 20:09:56 -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
|
6a951138dc
|
oops, need to implement Web.profile_id after all
Web user ids are domains, eg user.com, but "web id" of a user profile is a full homepage url, eg https://user.com/
|
2023-09-23 14:57:26 -07:00 |
Ryan Barrett
|
325f8b3931
|
AP actor serving: resolve handles
|
2023-09-23 14:57:26 -07:00 |
Ryan Barrett
|
6ae57bfd94
|
atproto: bug fix for getRecord call
|
2023-09-23 13:52:49 -07:00 |
Ryan Barrett
|
ff2be9e1ea
|
/r/ redirects: add bsky.app to domain allowlist
|
2023-09-23 13:50:19 -07:00 |
Ryan Barrett
|
452e49134d
|
add User.profile_id, implement in ATProto
|
2023-09-22 15:40:22 -07:00 |
Ryan Barrett
|
e257d43f21
|
webfinger: if user part isn't an id, try resolving it as a handle
|
2023-09-22 15:14:15 -07:00 |
Ryan Barrett
|
6c87254efb
|
tests: make Fake handles use fake:handle: prefix
|
2023-09-22 14:53:56 -07:00 |
Ryan Barrett
|
169f8d7a2c
|
add Protocol.handle_to_id, implement in all protocols
|
2023-09-22 13:11:15 -07:00 |
Ryan Barrett
|
e97270b344
|
add webfinger.fetch_actor_url, use it in follow
also add a basic test for webfinger.fetch
|
2023-09-22 12:48:00 -07:00 |
Ryan Barrett
|
0d33b6422d
|
add Protocol.owns_handle (and in subclasses)
|
2023-09-22 12:17:42 -07:00 |
Ryan Barrett
|
6a6a1657a7
|
rename Protocol.for_domain => for_bridgy_subdomain
|
2023-09-22 11:55:46 -07:00 |
Ryan Barrett
|
0d2ec18edd
|
add ids.convert_handle
|
2023-09-22 11:42:08 -07:00 |
Ryan Barrett
|
e967bb4ada
|
start centralizing id conversion into new ids.py file
|
2023-09-22 11:42:08 -07:00 |
Ryan Barrett
|
5214c77f6a
|
Protocol.targets: find and add originals for targets that are copies
both Object and User originals
|
2023-09-19 21:52:28 -07:00 |
Ryan Barrett
|
c1880569b8
|
User.get_by_copy => get_by_copies
|
2023-09-19 21:12:53 -07:00 |