Wykres commitów

2534 Commity (f938a2b57ea70a0174ea4013ee17d84a0db961be)

Autor SHA1 Wiadomość Data
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
Ryan Barrett f09d8eb0bc
circle: add router to continuous deploy 2024-06-14 13:10:30 -07:00
Ryan Barrett da5d434595
bug fix for deleting bridged fediverse actors: translate object as actor id
...not as object id. for #783, 81319a7628
2024-06-14 12:54:55 -07:00
Ryan Barrett 49445c9f97
AP outbox and following endpoints: 404 if user hasn't enabled AP 2024-06-14 12:00:20 -07:00
Ryan Barrett 81319a7628
when a Bluesky user blocks the ap.brid.gy bot, delete their bridged fediverse profile
for #783
2024-06-13 21:47:19 -07:00
Ryan Barrett f21bc2cfe8
ActivityPub.target_for: pass shared kwarg through to recursive call 2024-06-13 20:11:37 -07:00
Ryan Barrett 162d882112
ATProto: pass new type kwarg to granary Bluesky.truncate() call
for snarfed/granary@7d7e377c28
2024-06-13 19:46:43 -07:00
Ryan Barrett 4e489a4ee0
activitypub.inbox: store seen activity ids in memcache, short circuit on seen ids earlier 2024-06-13 13:54:37 -07:00
Ryan Barrett cb2a3bef0b
Object: drop legacy converting (un-escaping) between ^^ and # in ids/URLs
for #469, well over a year old, I think we're safe to forget about this now
2024-06-13 13:24:32 -07:00
Ryan Barrett 13df5e9fe7
bump up router to 2 cores and 100 threads, double receive/send task queue rates 2024-06-13 12:46:26 -07:00
Ryan Barrett 3c06739889
common.report_exception bug fix 2024-06-13 12:02:54 -07:00
Ryan Barrett fdca3b6d55
Protocol.receive: don't attempt to deliver to followers on non-enabled protocols
mostly just handles this more gracefully. these deliveries were failing anyway, just not cleanly. fixes eg https://console.cloud.google.com/errors/detail/CMHloZaRmPXQZQ;time=P30D?project=bridgy-federated , probably others too
2024-06-13 12:02:54 -07:00
Ryan Barrett 616073f788
merge hub and atproto_firehose services into a single service, atproto_hub
atproto_firehose is averaging 20-40% CPU right now, hub 5-10%, and both are 500-600M memory steady state, so they can easily fit together.
2024-06-13 12:02:54 -07:00
Ryan Barrett 590021926c
bump up router threads from 40 to 50, task queue rate limits
router is hitting 100% CPU sustained during bursts right now, probably need to either rethink its architecture or just add another core soon :/
2024-06-12 15:48:11 -07:00
Ryan Barrett 387d3169a6
ATProto: rename original* custom fields to bridgyOriginal*
for #1092
2024-06-12 15:22:45 -07:00
Ryan Barrett 417a88a2a6
ATProto: support new off-lexicon originalDescription and originalUrl fields
for snarfed/bridgy-fed#1092
2024-06-12 15:22:45 -07:00
dependabot[bot] 5d42e042d8 build(deps): bump testtools from 2.7.1 to 2.7.2
Bumps [testtools](https://github.com/testing-cabal/testtools) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/testing-cabal/testtools/releases)
- [Changelog](https://github.com/testing-cabal/testtools/blob/master/NEWS)
- [Commits](https://github.com/testing-cabal/testtools/compare/2.7.1...2.7.2)

---
updated-dependencies:
- dependency-name: testtools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 05:31:30 -07:00
Ryan Barrett 04112c88bf
ATProto.add_source_links: switch to granary's Bluesky.truncate()
for #986
2024-06-10 16:15:59 -07:00
dependabot[bot] 5f02f81775 build(deps): bump packaging from 24.0 to 24.1
Bumps [packaging](https://github.com/pypa/packaging) from 24.0 to 24.1.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/24.0...24.1)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 05:47:51 -07:00
Ryan Barrett b2f03414ef
ATProto: deregister XRPC methods we don't support
fixes:
* https://console.cloud.google.com/errors/detail/CIGTqdDu7ZPg4QE;time=P30D?project=bridgy-federated
* https://console.cloud.google.com/errors/detail/CPbL1db3m4KzVw;time=P30D?project=bridgy-federated
* https://console.cloud.google.com/errors/detail/CIGTqdDu7ZPg4QE;time=P30D?project=bridgy-federated
2024-06-09 18:46:53 -07:00
Ryan Barrett 551637f6a1
ATProto.send: ignore update/delete of object that we didn't bridge
fixes https://console.cloud.google.com/errors/detail/COX1ss-HvOq5Xg;time=P30D?project=bridgy-federated
2024-06-08 16:52:34 -07:00
Ryan Barrett 5b7f8de8d6
ATProto.send: handle delete when we have Object but not contents
fixes https://console.cloud.google.com/errors/detail/COjSuYPS0qLvmAE;time=P30D?project=bridgy-federated
2024-06-08 16:40:19 -07:00
Ryan Barrett 4a2abbac5b
ATProto.send, create_report: short circuit if repo is tombstoned
fixes https://console.cloud.google.com/errors/detail/CLTU-qezn5vJnQE;time=P30D?project=bridgy-federated
2024-06-08 15:16:39 -07:00