Wykres commitów

1045 Commity (main)

Autor SHA1 Wiadomość Data
Ryan Barrett f39392e225
Protocol: when disabling a protocol, also delete that protocol's copy user
for #783
2024-05-22 16:33:13 -07:00
Ryan Barrett eb53ac01ce
ATProto: support deleting bridged users
for #783
2024-05-22 15:13:36 -07:00
Ryan Barrett 45ba0fb69f
Protocol.send_task: handle missing url or protocol param 2024-05-22 14:28:17 -07:00
Ryan Barrett 7f72a62081
ATProto: delete polling code and config
for #978. end of a (brief) era!
2024-05-22 14:28:17 -07:00
Ryan Barrett b4124bd23f
AP: wrap content in <p> tag to preserve whitespace
for #990

this assumes an implementation detail of fediverse servers: that they apply a white-space: pre-wrap style to <p>s inside content. awkward overreach, but useful since white-space: pre-wrap preserves more whitespace (eg leading spaces on a line, multiple spaces, etc) than just converting newlines to <br>s.
2024-05-20 12:18:41 -07:00
Ryan Barrett 9e2447dd57
ATProto.convert: test guessing mention facet indices when displayName has full @-@ with server
for #957
2024-05-20 11:25:35 -07:00
Ryan Barrett edf3b5894e
activitypub.postprocess_as2: linkify indexed tags in content
makes Mastodon etc link them correctly to the local instance's UI in its rendering
2024-05-19 20:38:34 -07:00
Ryan Barrett 9243e18a4f
activitypub.postprocess_as2: hashtags: use activity id's domain for href
for https://github.com/snarfed/bridgy-fed/issues/1013
2024-05-19 17:56:26 -07:00
Ryan Barrett ec350e7fa6
activitypub.postprocess_as2: fix de-duping image attachments
for https://github.com/snarfed/bridgy-fed/issues/1000#issuecomment-2119106644
2024-05-19 15:38:13 -07:00
Ryan Barrett 7cf8a77a73
ActivityPub.postprocess_as2: always populate images into attachments as objects
hopefully for https://github.com/snarfed/bridgy-fed/issues/1000#issuecomment-2119106644, ATProto images without alt text not showing up in AP
2024-05-19 14:44:54 -07:00
Ryan Barrett 976653d5bb
atproto_firehose: fix tests for f6575cca4f 2024-05-19 13:57:42 -07:00
Ryan Barrett f6575cca4f
atproto_firehose.subscribe: skip bad commits
fixes #1061
2024-05-19 13:47:13 -07:00
Ryan Barrett 91ffffc8e0
bug fix for quality filter (REQUIRES_*) status checks
they go before explicit opt in overrid
2024-05-16 23:33:30 -07:00
Ryan Barrett 06e2e61b1e
ATProto: switch to granary's logic to populate strongRefs, via DatastoreClient
for #1007
2024-05-16 13:11:29 -07:00
Ryan Barrett d52b2ce3e9
ATProto: add new DatastoreClient class that uses both datastore and appview
for #1007
2024-05-16 12:48:28 -07:00
Ryan Barrett 8ee4c3b2ea
atproto_firehose.handle: switch dag_json from compact=True to dialect='atproto'
for AT Protocol's DAG-JSON variant with $link and $bytes: https://atproto.com/specs/data-model ; for https://github.com/snarfed/bridgy-fed/issues/1000
2024-05-15 21:00:42 -07:00
Ryan Barrett e4f9966686
Protocol.receive: second part of making explicit opt in override implicit opt out
for #1052, #974
2024-05-15 11:41:20 -07:00
Ryan Barrett 71b2306476
User.status/is_enabled: make explicit opt in override implicit profile opt-outs
...like Bluesky's hide from logged in views. fixes #1052
2024-05-15 10:35:03 -07:00
Ryan Barrett 03c5638bc1
Protocol.receive bug fix: resolve ids before checking for bot user follow, not after
for #1017
2024-05-14 17:01:20 -07:00
Ryan Barrett f6798f2725
abstract "bridged from Bridgy Fed" profile label across protocols
for #976
2024-05-14 16:03:42 -07:00
Ryan Barrett e089de97ee
ATProto: noop refactor, move actor self label to convert()
for #976
2024-05-14 16:03:42 -07:00
Ryan Barrett 8eeb588d11
atproto_firehose: make its own GAE service, lots of other refactoring
optimize loading DIDs, move around threads and exception handling, etc.

for #978
2024-05-13 22:02:09 -07:00
Ryan Barrett 2b449c6d31
User.status blocked bug fix for account age
for #1048
2024-05-13 07:35:12 -07:00
Ryan Barrett 79e5d2be07
bug fix for User.status handling: check for false-ness, not is None
we have some users in the datastore with status None, some with False. 😕 fixes #1048
2024-05-12 19:02:07 -07:00
Ryan Barrett dcd5f48b04
fix test_models.test_requires_name override
https://app.circleci.com/pipelines/github/snarfed/bridgy-fed/2174/workflows/20436f03-5f56-435a-9419-c52c3a97e184/jobs/2482
2024-05-11 22:43:32 -07:00
Ryan Barrett 348987f0b4
add Protocol.REQUIRES_OLD_ACCOUNT, enable for ActivityPub 2024-05-11 19:20:33 -07:00
Ryan Barrett 59b9e9c904
add protocol.LIMITED_DOMAINS 2024-05-11 17:39:04 -07:00
Ryan Barrett 3bba875c13
test_models: fix shadowed test name 2024-05-11 17:12:39 -07:00
Ryan Barrett 078bef041e
turn on REQUIRES_AVATAR/NAME for ActivityPub, Bluesky 2024-05-11 16:50:57 -07:00
Ryan Barrett 890c7083d3
Protocol.REQUIRES_NAME: check against handle, id 2024-05-11 16:47:12 -07:00
Ryan Barrett de0af66979
basic anti-spam: add new Protocol.REQUIRES_AVATAR/NAME constants
...and start returning `blocked` from User.status for them
2024-05-11 16:03:07 -07:00
Ryan Barrett 6bc9269ad0
ATProto firehose: load bridged dids from AtpRepo instead of users
hopefully cuts down on datastore load a bit

for #978
2024-05-10 11:31:47 -07:00
Ryan Barrett 741146eb8d
ATProto firehose: encode Object.bsky as compact DAG-JSON
fixes https://console.cloud.google.com/errors/detail/CIGJnbnCq7fm1gE;time=P30D?project=bridgy-federated and similar
2024-05-10 06:51:58 -07:00
Ryan Barrett 989cd29860
ATProto firehose: bug fix for loading DIDs
fixes https://console.cloud.google.com/errors/detail/CKKTu6mM0sunXQ;time=P30D?project=bridgy-federated
2024-05-09 21:25:13 -07:00
Ryan Barrett d56f405c96
ATProto firehose: fix race conditions in loading DIDs
for #978
2024-05-09 15:39:18 -07:00
Ryan Barrett 66b8846760
ATProto firehose: refactor and extract out loading our DIDs 2024-05-09 14:05:05 -07:00
Ryan Barrett eea8779872
ATProto firehose: subscribe at stored cursor + 1
for #978
2024-05-09 08:44:30 -07:00
Ryan Barrett a690bc0115
add bsky.social, x.com to domain blocklist
for https://github.com/snarfed/bridgy-fed/discussions/1035 . thanks for the nudge @lucajet!
2024-05-09 07:08:34 -07:00
Ryan Barrett 1ecdaf6b34
ATProto firehose: store cursor 2024-05-08 23:11:27 -07:00
Ryan Barrett b788105a71
ATProto firehose: start implementing cursor
for #978
2024-05-08 21:35:03 -07:00
Ryan Barrett 1e5fcfda0b
ATProto firehose: error handling, reconnect in subscribe 2024-05-08 20:43:10 -07:00
Ryan Barrett b8e0fecc3b
atproto_firehose.handle: implement delete
for #978
2024-05-08 20:19:18 -07:00
Ryan Barrett b4841f3e60
ATProto firehose: noop refactoring, add Op namedtuple
for #978
2024-05-08 15:48:39 -07:00
Ryan Barrett 0d24fafefc
ATProto firehose: tests for updates
for #978
2024-05-08 13:31:08 -07:00
Ryan Barrett 7867326ebe
ATProto firehose: implement deletes
for #978
2024-05-08 13:26:36 -07:00
Ryan Barrett 5c77f02dba
ATProto firehose: bug fix for quote posts with media embeds
for #978
2024-05-08 12:13:26 -07:00
Ryan Barrett 20afb59809
ATProto firehose: implement quote posts
for #978
2024-05-08 11:39:45 -07:00
Ryan Barrett 72ae63f4a0
ATProto firehose: test replies, mentions
#978
2024-05-08 11:31:31 -07:00
Ryan Barrett 8ff5426c49
test_atproto_firehose: noop refactor 2024-05-08 11:25:59 -07:00
Ryan Barrett 44763ca8ab
ATProto firehose: more tests
for #978
2024-05-08 11:18:50 -07:00