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
|
5efd97d867
|
add Object.lock and new add, remove, and put methods
|
2023-10-07 13:51:59 -07:00 |
Ryan Barrett
|
dfff201c6f
|
ATProto: log profile and post records that we store
|
2023-10-07 13:01:29 -07:00 |
Ryan Barrett
|
59abcb00bc
|
Protocol.send: drop log_data kwarg
protocols are responsible for logging objects themselves
|
2023-10-07 12:54:32 -07:00 |
Ryan Barrett
|
7e7962fe45
|
add orig_obj kwarg to Protocol.send
|
2023-10-07 12:49:39 -07:00 |
Ryan Barrett
|
62302b9105
|
more docstring formatting tweaks
|
2023-10-06 08:22:50 -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
|
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
|
b4d5ab15ef
|
ATProto: assert that we only store record type objects in the repo
|
2023-10-03 16:56:06 -07:00 |
Ryan Barrett
|
318ba554d5
|
misc hub setup, testing live
|
2023-09-29 11:32:29 -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
|
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
|
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
|
6ae57bfd94
|
atproto: bug fix for getRecord call
|
2023-09-23 13:52:49 -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
|
169f8d7a2c
|
add Protocol.handle_to_id, implement in all protocols
|
2023-09-22 13:11:15 -07:00 |
Ryan Barrett
|
0d33b6422d
|
add Protocol.owns_handle (and in subclasses)
|
2023-09-22 12:17:42 -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
|
bb18b5ee0d
|
add new User.copies property
|
2023-09-19 16:07:11 -07:00 |
Ryan Barrett
|
abde77e7eb
|
noop: more comments in ATProto.poll_notifications
|
2023-09-19 12:21:34 -07:00 |
Ryan Barrett
|
f7792f81c8
|
tasks: add user param to receive, make create_task run inline in local server
|
2023-09-19 11:15:49 -07:00 |
Ryan Barrett
|
7c35fe4b1b
|
atproto.poll_notifications: generate and send AppView JWT
|
2023-09-18 15:04:00 -07:00 |
Ryan Barrett
|
b45635b125
|
noop: move canonicalizing AT URIs TODO from ATProto to Object
|
2023-09-14 16:52:22 -07:00 |
Ryan Barrett
|
077b5a97bc
|
ATProto.send: populate Object.copies with local record's AT URI
|
2023-09-14 10:20:04 -07:00 |
Ryan Barrett
|
d3b3ff47f5
|
atproto: start on polling notifications
lots more to do here, 8 new TODOs in this commit 😆
|
2023-09-14 09:42:11 -07:00 |
Ryan Barrett
|
2bb5db826c
|
atproto: support bsky.app URLs as targets
|
2023-09-12 21:52:21 -07:00 |
Ryan Barrett
|
bd09af9c24
|
atproto: use proper DID docs instead of PLC operations
corresponds to snarfed/arroba@d52cb4d. also fix verifying signature in PLC genesis operation.
|
2023-09-12 11:57:08 -07:00 |
Ryan Barrett
|
0723eca115
|
migrate webmention task to common.create_task
also bring back lexrpc logging, other minor docstring/comment updates
|
2023-09-11 16:21:03 -07:00 |
Ryan Barrett
|
d2bb9108c7
|
atproto: switch to new simpler atproto-commit task without seq
|
2023-09-10 16:44:05 -07:00 |
Ryan Barrett
|
fd6e371635
|
make Protocol._targets use per-protocol blocklist check
|
2023-09-09 15:11:52 -07:00 |
Ryan Barrett
|
0d2e4fb66a
|
noop: protocol: label classmethod cls identifiers with from/to
|
2023-09-09 14:19:27 -07:00 |
Ryan Barrett
|
ee3b72fb1e
|
atproto: enqueue atproto-commit task for first commit on new repo
|
2023-09-09 07:50:53 -07:00 |
Ryan Barrett
|
165a403353
|
drop User.k256_pem, use arroba's AtpRepo.signing_key/rotation_key instead
|
2023-09-08 21:52:46 -07:00 |
Ryan Barrett
|
ac06e0fef3
|
atproto: update for arroba rotation key, always create did:plc and repo together
|
2023-09-08 21:08:12 -07:00 |
Ryan Barrett
|
f116dbfa26
|
implement atproto_handle() in Web, ActivityPub, ATProto
|
2023-09-06 19:52:09 -07:00 |
Ryan Barrett
|
8b242e65ba
|
move common.is_blacklisted to Protocol so that subclasses can override it
|
2023-09-06 17:35:15 -07:00 |
Ryan Barrett
|
f91486db75
|
add new atproto-commit task queue, enqueue tasks for new commits
hub will consume these and emit them to subscribeRepos subscribers
|
2023-09-05 20:10:11 -07:00 |
Ryan Barrett
|
73f8bf29b3
|
switch from arroba's bundled com.atproto lexicons to lexrpc's
|
2023-09-04 19:26:20 -07:00 |
Ryan Barrett
|
f03b97e44a
|
delete XRPC method handlers, they're unused
|
2023-09-04 08:12:17 -07:00 |
Ryan Barrett
|
70edf4173e
|
ATProto: when creating new repo, add user profile record if available
|
2023-09-01 14:18:50 -07:00 |
Ryan Barrett
|
7949dd0da7
|
ATProto: update target_for to handle non-ATProto users
|
2023-09-01 13:59:28 -07:00 |