Ryan Barrett
7f72a62081
ATProto: delete polling code and config
...
for #978 . end of a (brief) era!
2024-05-22 14:28:17 -07:00
dependabot[bot]
d2ba81a211
---
...
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 05:14:43 -07:00
dependabot[bot]
0bfa8838a3
---
...
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 05:57:32 -07:00
dependabot[bot]
9a6dc0b1e0
---
...
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 05:57:08 -07:00
dependabot[bot]
f7b26ed9e5
---
...
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 22:29:35 -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
8e670dadc2
atproto_firehose: handle errors decoding bad DAG-CBOR blocks
...
for https://github.com/hashberg-io/dag-cbor/issues/14
2024-05-18 23:17:07 -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
40574527a2
circle: uninstall dag-json to make sure we use it at head
2024-05-16 13:23:37 -07:00
Ryan Barrett
1382944472
bump circle cache again for dag-json 😠
...
logs say it cloned at the right commit (snarfed/dag-json@4bfd629763 ), but then it seemed to still use the earlier cached version. why?!?
2024-05-16 13:22:38 -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
3df6f10b4e
robots.txt: add /log
2024-05-16 10:28:32 -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
0c934902ec
docs for deleting posts
...
for #987
2024-05-14 21:57:45 -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
031d8b9cd2
atproto_firehose: re-enable handler
2024-05-14 16:53:15 -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
dependabot[bot]
3a56a7333d
build(deps): bump ujson from 5.9.0 to 5.10.0
...
Bumps [ujson](https://github.com/ultrajson/ultrajson ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/ultrajson/ultrajson/releases )
- [Commits](https://github.com/ultrajson/ultrajson/compare/5.9.0...5.10.0 )
---
updated-dependencies:
- dependency-name: ujson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 13:00:52 -07:00
Ryan Barrett
b7a55d2f5e
ActivityPub.signed_request: pass from_user through on redirects
...
re https://akkoma.dev/AkkomaGang/akkoma/issues/438#issuecomment-12042 . thanks https://akkoma.dev/Oneric !
2024-05-14 10:42:11 -07:00
Ryan Barrett
e7e1f1058c
ActivityPub: disable polling! 🤞
...
for #978
2024-05-14 10:40:07 -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
dependabot[bot]
5c01275a6e
build(deps): bump lxml from 5.2.1 to 5.2.2
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.2.1...lxml-5.2.2 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 05:43:13 -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
7be87b0047
docs: update "I can't find my bridged account" sections
2024-05-11 20:04:09 -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
a7c099fc08
user pages: only show follow/unfollow UI for web users
...
fixes #1045
2024-05-11 06:50:58 -07:00
Ryan Barrett
f2b5f79489
ATProto firehose: add handle wrapper that catches exceptions
...
also refactor and simplify load_dids, error reporting. #978
2024-05-10 19:59:12 -07:00
Ryan Barrett
206b7a344c
datastore: add AtpBlock index on repo, seq
...
for #1038
2024-05-10 14:22:35 -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
0fc971724d
bump circle cache version
...
trying to fix dag-json CI breakage, https://app.circleci.com/pipelines/github/snarfed/bridgy-fed/2168/workflows/a100d3fc-ed79-42b5-aaa2-4f59472df27c/jobs/2475
2024-05-10 11:11:13 -07:00
Ryan Barrett
e4523ec21c
front page bug fix, text color in web site form input
...
fixes #1042 . thanks @miklb!
2024-05-10 10:35:23 -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