Ryan Barrett
8457f2a048
drop unused Object.object_ids computed property
2024-06-27 13:20:07 -07:00
dependabot[bot]
a619a4156a
build(deps): bump googleapis-common-protos from 1.63.1 to 1.63.2
...
Bumps [googleapis-common-protos](https://github.com/googleapis/python-api-common-protos ) from 1.63.1 to 1.63.2.
- [Release notes](https://github.com/googleapis/python-api-common-protos/releases )
- [Changelog](https://github.com/googleapis/python-api-common-protos/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-api-common-protos/compare/v1.63.1...v1.63.2 )
---
updated-dependencies:
- dependency-name: googleapis-common-protos
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 05:39:06 -07:00
dependabot[bot]
0c1f6a78ce
build(deps): bump redis from 5.0.5 to 5.0.7
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.5 to 5.0.7.
- [Release notes](https://github.com/redis/redis-py/releases )
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES )
- [Commits](https://github.com/redis/redis-py/compare/v5.0.5...v5.0.7 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 05:38:46 -07:00
Ryan Barrett
f7a495a417
ids: drop _NON_WEB_SUBDOMAIN_SITES, look up (and cache) individual Web users instead
2024-06-26 16:16:23 -07:00
Ryan Barrett
733af4aafa
AP: add AP, ATProto users to nodeinfo total users
...
oops 😆
2024-06-26 11:39:09 -07:00
Ryan Barrett
45b48c6efb
Protocol.translate_ids: bug fix for ac2df74
for attachments with blocklisted url
...
fixes https://console.cloud.google.com/errors/CO25nvfq2Ojq0gE?project=bridgy-federated&time=P30D& , https://console.cloud.google.com/errors/CO2h-5yh276BQw?project=bridgy-federated&time=P30D& , etc
for #1154
2024-06-26 11:07:18 -07:00
Ryan Barrett
85d85d1ffd
AP: harden outbox and followers/ing collections to only count up to a limit
...
we should eventually precompute them so we can always return them cheaply!
for #1152
2024-06-26 10:56:27 -07:00
Ryan Barrett
ac2df747a6
Protocol.translate_ids: fix user-visible quote post URL
...
broken by a735396
, for #1154 and #461
2024-06-25 21:10:33 -07:00
Ryan Barrett
308501236e
Protocol.receive bug fix for 350e234b9c
...
for #1047
2024-06-25 15:57:55 -07:00
Ryan Barrett
863aa9645f
bump up router to 4 cores, bump up receive and send queues to match
...
for #1138
2024-06-25 15:57:55 -07:00
Ryan Barrett
350e234b9c
Protocol.receive: bridge native replies if the in-reply-to was bridged
...
for https://github.com/snarfed/bridgy-fed/issues/1047
2024-06-25 13:37:14 -07:00
Ryan Barrett
a735396864
Protocol.translate_ids: add attachment.url
...
for https://github.com/snarfed/bridgy-fed/issues/461 , fixes AP => ATProto quote post of AP original post that was bridged
2024-06-25 12:27:43 -07:00
dependabot[bot]
7df8990ed2
build(deps): bump grpc-google-iam-v1 from 0.13.0 to 0.13.1
...
Bumps [grpc-google-iam-v1](https://github.com/googleapis/python-grpc-google-iam-v1 ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/googleapis/python-grpc-google-iam-v1/releases )
- [Changelog](https://github.com/googleapis/python-grpc-google-iam-v1/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-grpc-google-iam-v1/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: grpc-google-iam-v1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 06:00:11 -07:00
Ryan Barrett
48dd8b1531
ATProto.send bug fix for updating profiles
2024-06-24 18:17:58 -07:00
Ryan Barrett
550e1030c4
drop unused TLD_BLOCKLIST
...
subsumed by using brevity.TLDs in 84949f265b
2024-06-23 09:22:50 -07:00
Ryan Barrett
fc0cc1118a
activitypub.inbox: short circuit on activity or actor id on opted out domain
2024-06-23 09:20:22 -07:00
Ryan Barrett
16724974b7
User.get_or_create bug fix: check status when creating a new user
2024-06-23 09:08:13 -07:00
Ryan Barrett
25bb96ed78
minor opt_out.py bug fix for web users
2024-06-23 08:43:50 -07:00
Ryan Barrett
fd74d98a6e
fix tests for 6eda331946
2024-06-23 08:38:00 -07:00
Ryan Barrett
6eda331946
user page UI: apply status to query by handle as well as get_by_id
2024-06-23 08:03:22 -07:00
Ryan Barrett
53e3511fca
make opt_out.py a bit more protocol-generic
...
using 6e7667c266
2024-06-22 16:41:51 -07:00
Ryan Barrett
6e7667c266
ATProto.send and nearby: don't assume that ids are already translated
...
for refactoring opt_out.py to be more generic
2024-06-22 16:41:23 -07:00
Ryan Barrett
f938a2b57e
opt out script bug fix for ATProto
2024-06-22 10:51:54 -07:00
Ryan Barrett
417e3fdb20
webfinger: return 404 on invalid web domains, not 400
...
for #1115
2024-06-21 09:37:22 -07:00
Ryan Barrett
84949f265b
Web.owns_id: check TLD against brevity's allowlist
...
fixes #1115
2024-06-20 23:36:01 -07:00
Ryan Barrett
bf657d3409
ActivityPub.inbox: return 400 on invalid activity id
...
fixes https://console.cloud.google.com/errors/detail/CLSnttKfy4v90wE;time=P7D?project=bridgy-federated
2024-06-20 14:32:37 -07:00
Ryan Barrett
81bb033e68
Protocol.receive: on bot user follow, refresh profile id, not just actor id
...
fixes https://console.cloud.google.com/errors/detail/CIvu-KTludO5LA;time=P7D?project=bridgy-federated
2024-06-20 14:19:17 -07:00
Ryan Barrett
7ac501cfff
Web.fetch, get_or_create: only load or create protocol bot users that already exist
...
fixes https://console.cloud.google.com/errors/detail/CM-n8tK-5LXhIw;time=P7D?project=bridgy-federated
2024-06-20 13:41:39 -07:00
Ryan Barrett
a59eb8c466
Protocol.maybe_accept_follow: pass authed_as to Object.get_or_create
...
fixes https://console.cloud.google.com/errors/detail/CM7b86Se9r_qfQ;time=P7D?project=bridgy-federated
2024-06-20 13:08:35 -07:00
Ryan Barrett
e5d800cf53
ATProto: handle getRecord errors
...
hopefully fixes https://console.cloud.google.com/errors/detail/CMCs_JjSnpWBtAE;time=P30D?project=bridgy-federated
2024-06-20 11:20:24 -07:00
dependabot[bot]
def9dd891c
build(deps): bump proto-plus from 1.23.0 to 1.24.0
...
Bumps [proto-plus](https://github.com/googleapis/proto-plus-python ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/googleapis/proto-plus-python/releases )
- [Changelog](https://github.com/googleapis/proto-plus-python/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/proto-plus-python/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: proto-plus
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-20 05:15:02 -07:00
Ryan Barrett
0ec722f4a0
ATProto.send: handle update and delete when record doesn't exist
...
hopefully fixes https://console.cloud.google.com/errors/detail/CODcisqz56SZugE;time=P7D?project=bridgy-federated , https://console.cloud.google.com/errors/detail/CN_mkuKjg-rf_wE;time=P7D?project=bridgy-federated
2024-06-19 21:12:41 -07:00
Ryan Barrett
3d3ac1e9f4
ATProto.send: implement stop-following
...
hopefullly fixes https://console.cloud.google.com/errors/detail/CPvA_dLO4r_hIA;time=P7D?project=bridgy-federated
2024-06-19 19:59:55 -07:00
Ryan Barrett
ea3264928a
ATProto.send: move conversion check later
...
for 94676ac694
, https://console.cloud.google.com/errors/detail/COjSuYPS0qLvmAE;time=P7D?project=bridgy-federated
2024-06-19 16:42:58 -07:00
Ryan Barrett
94676ac694
ATProto.send: short circuit if we couldn't convert the object
...
for #1064 , hopefully fixes https://console.cloud.google.com/errors/detail/COjSuYPS0qLvmAE;time=P7D?project=bridgy-federated
2024-06-19 16:23:51 -07:00
Ryan Barrett
960d564614
ATProto DatastoreClient: add support for records in local repos
...
hopefully fixes https://console.cloud.google.com/errors/detail/CMCs_JjSnpWBtAE;time=P7D?project=bridgy-federated
2024-06-19 16:08:07 -07:00
Ryan Barrett
32c69876fb
AP: bug fix for converting Link attachments to HTML links in content
...
for 980a786
, #958
2024-06-19 13:54:06 -07:00
Ryan Barrett
980a786c6b
AP: convert Link attachments to HTML links in content
...
...since some fediverse platforms (notably Mastodon) will render them as blank "Preview not available" embeds, and support on other platforms is unreliable. Most reliably generate preview embeds for HTML links in content though.
fixes #958
2024-06-19 13:29:20 -07:00
Ryan Barrett
349f4ba544
user page UI: ellipsize user-visible handles
...
fixes #994
2024-06-19 11:05:10 -07:00
Ryan Barrett
b20bbf0564
memcache config: try to only use prod Memorystore on prod GAE
2024-06-19 11:01:46 -07:00
Ryan Barrett
4a197549cd
migrate old ATProto integration tests from polling to firehose
...
for #689
2024-06-18 20:41:00 -07:00
Ryan Barrett
875db043fa
router config: back to two workers, 50 threads each 🤷
...
for #1138
2024-06-18 20:22:56 -07:00
Ryan Barrett
1e20044035
text fix for e6b4a23
(bug fix for bot user profiles)
2024-06-18 14:58:57 -07:00
Ryan Barrett
e6b4a237c4
bug fix for bot user profiles, banner image URL
2024-06-18 14:30:09 -07:00
Ryan Barrett
a87f3583ca
add separate banner image to bot user profiles
2024-06-18 10:53:58 -07:00
Ryan Barrett
679e89c175
Protocol.translate_ids: add AS1 attachments[].id
...
needed for quote posts, #461
2024-06-17 16:36:44 -07:00
Ryan Barrett
c0747c33aa
README tweak: shipped Bluesky, considering Farcaster
2024-06-17 16:36:44 -07:00
dependabot[bot]
78cf5f9a33
build(deps): bump urllib3 from 2.2.1 to 2.2.2
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 15:56:37 -07:00
Ryan Barrett
d466886a38
circle never mind continuous deploy for router, we need the limited_domains file
...
...which isn't in the git repo. next step would be to put it into a circle env var.
2024-06-14 15:35:24 -07:00
Ryan Barrett
f1867d9521
circle: deploy router in separate gcloud command because Flex doesn't support --no-cache
...
https://issuetracker.google.com/issues/347268867
2024-06-14 15:19:50 -07:00