Wykres commitów

2915 Commity (b3c3419cdbcdaaad834f281bb53aaea35d3d51db)

Autor SHA1 Wiadomość Data
Ryan Barrett b3c3419cdb
drop router to 2 cores 2024-09-21 07:01:44 -07:00
Ryan Barrett ff010b11b9
noop: minor refactoring of test_atproto_firehose 2024-09-20 13:56:11 -07:00
Ryan Barrett 0f805e0885
refactor Web.poll_feed_task, add better error handling
pull out an internal poll method, wrap it in a mostly-catch-all exception handler, make sure we more reliably create the next task even if fetching or parsing fails

fixes:
https://console.cloud.google.com/errors/detail/CICLhIKMm6nSHw;locations=global;time=P30D?project=bridgy-federated
https://console.cloud.google.com/errors/detail/CJCrlNfNn6n3FQ;locations=global;time=P30D?project=bridgy-federated
https://console.cloud.google.com/errors/detail/CPnSx-yemJ-hlAE;locations=global;time=P30D?project=bridgy-federated
etc
2024-09-20 12:12:28 -07:00
Ryan Barrett 0fd095500c
DMs: when requesting someone already bridged, link to the requester's protocol
for https://h-net.social/@ClaireFromClare/113168702146153596
2024-09-20 11:18:31 -07:00
Ryan Barrett 26c7796bba
Web.verify host-meta bug fix, only interpret 200 as owning webfinger
for https://console.cloud.google.com/errors/detail/CPWdpJyQ4I-GVg;time=PT6H;locations=global?project=bridgy-federated
2024-09-19 22:18:16 -07:00
Ryan Barrett 5330dca6e2
refactor models.get_original* queries to cache more and query less
for #1149
2024-09-19 20:58:34 -07:00
Ryan Barrett 0792ac1ae1
Web.owns_id: stop loading users from datastore
I *think* this is unnecessary now. guess we'll see!
2024-09-19 19:41:38 -07:00
Ryan Barrett 94f2f66ae6
noop: atproto: simplify some Bluesky identifiers 2024-09-19 13:47:24 -07:00
Ryan Barrett dda4416132
Web.poll_feed_task: handle connection errors when reading response
fixes https://console.cloud.google.com/errors/detail/CPXxtLHG78r88gE;time=P1D;locations=global?project=bridgy-federated
2024-09-19 11:49:55 -07:00
Ryan Barrett 48b4a52a63
Web.get_or_create bug fix for opted out/blocked users
fixes https://console.cloud.google.com/errors/detail/CO7DoqKtjOWQ5QE;time=P1D;locations=global?project=bridgy-federated
2024-09-19 11:42:27 -07:00
Ryan Barrett fdb92dcff9
Protocol.receive: catch HTTP/connection errors, return 304
fixes:
https://console.cloud.google.com/errors/detail/CIb-6vLIioHJaw;time=P1D;locations=global?project=bridgy-federated
https://console.cloud.google.com/errors/detail/CPnSx-yemJ-hlAE;time=P1D;locations=global?project=bridgy-federated
https://console.cloud.google.com/errors/detail/CN278MyjhZbtOQ;time=P1D;locations=global?project=bridgy-federated
etc
2024-09-19 10:44:34 -07:00
Ryan Barrett 1de3cc295f
/r/: strip encoded whitespace
fixes https://console.cloud.google.com/errors/detail/CLys08qau6aNYg;locations=global;time=P30D?project=bridgy-federated
2024-09-19 07:13:41 -07:00
Ryan Barrett 1b19fde4b3
/web-site: show nice error for fediverse servers
for #911
2024-09-18 21:05:50 -07:00
Ryan Barrett e4db9d62cd
Web.verify: check host-meta, and if site serves it, interpret as a fediverse server
for #911
2024-09-18 20:46:21 -07:00
Ryan Barrett 724978a25f
noop: receive, send tasks: tweak delay log
for #1308
2024-09-18 20:46:21 -07:00
dependabot[bot] 81b7af6476 build(deps): bump google-api-python-client from 2.145.0 to 2.146.0
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.145.0 to 2.146.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.145.0...v2.146.0)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 05:54:22 -07:00
Ryan Barrett 5884be8300
send task: log delay from when Object was created
for #1308, 85b9643cda
2024-09-17 17:51:20 -07:00
Ryan Barrett 85b9643cda
receive task: log delay from when Object was created
for #1308
2024-09-17 16:50:13 -07:00
Ryan Barrett 4587dc0496
task queues: bump poll-feed up to 5 concurrent 2024-09-17 16:20:55 -07:00
Ryan Barrett 2379fb9fdb
test_activitypub: oops, remove accidentally duplicated test_send_dm in 2fad8e1c24 2024-09-17 14:01:01 -07:00
Ryan Barrett 2fad8e1c24
Bluesky => fediverse: link mentions of non-bridged users to their bsky.app profile
fixes #1288
2024-09-17 13:53:30 -07:00
Ryan Barrett 4df76d0db7
when we get a delete, or a web user opts out, delete their copies in other protocols
for #1304
2024-09-16 18:27:04 -07:00
Ryan Barrett 44e916ee64
docs: troubleshooting: mention that fediverse => Bluesky undelete isn't possible yet 2024-09-16 16:34:30 -07:00
dependabot[bot] b5fb20c6d1 build(deps): bump idna from 3.8 to 3.10
Bumps [idna](https://github.com/kjd/idna) from 3.8 to 3.10.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.8...v3.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 05:55:24 -07:00
Ryan Barrett efc3218694
docs: add 1m polling frequency for Bluesky chat 2024-09-15 20:32:17 -07:00
Ryan Barrett c641c5ef1f
ActivityPub.send: skip if no from_user
fixes https://console.cloud.google.com/errors/detail/CJ-QrsHmi8qr6AE;locations=global;time=P30D?project=bridgy-federated
2024-09-13 22:26:33 -07:00
Ryan Barrett 9c0c837fb7
Protocol.receive: move deleting actors to after deliver
so that User.enabled_protocols is still populated during deliver

for #1304
2024-09-13 22:17:47 -07:00
Ryan Barrett ffb4459545
revise AP Delete => Bluesky tombstone flow, add integration test
for #1304
2024-09-13 21:43:38 -07:00
Ryan Barrett f3522e42bc
Protocol.translate_ids: translate to, cc, bto, bcc
for #12
2024-09-13 14:50:43 -07:00
Ryan Barrett cfaacb8ff5
stop unwrapping ids etc in ActivityPub.inbox, do it in Object.as1 instead
for #12
2024-09-13 13:09:22 -07:00
Ryan Barrett c5809e4de9
atproto_firehose.subscribe: skip record types we don't support
for #1329
2024-09-13 11:10:51 -07:00
Ryan Barrett 2a3527de10
docs: minor revisions to DM requests 2024-09-13 11:10:51 -07:00
dependabot[bot] 4bb8f02c4f build(deps): bump urllib3 from 2.2.2 to 2.2.3
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.2 to 2.2.3.
- [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.2...2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 05:54:22 -07:00
Ryan Barrett e50da55da9
Protocol.send: follow User.use_instead
hopefully helps with https://console.cloud.google.com/errors/detail/CMHloZaRmPXQZQ;locations=global;time=P30D?project=bridgy-federated
2024-09-12 13:05:41 -07:00
Ryan Barrett 3dc3330603
code doc and docstring tweaks 2024-09-12 13:05:41 -07:00
Ryan Barrett f997477366
User.get_or_create: move profile object load out of datastore transaction
hoping to cut down https://console.cloud.google.com/errors/detail/CKbL5KSX98uZHw;time=P1D;locations=global?project=bridgy-federated a bit
2024-09-12 13:05:41 -07:00
Ryan Barrett 68421929b4
minor tweaks for Bluesky video
for #1317
2024-09-12 13:05:41 -07:00
dependabot[bot] d2877a25db build(deps): bump google-api-python-client from 2.144.0 to 2.145.0
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.144.0 to 2.145.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.144.0...v2.145.0)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 05:28:14 -07:00
dependabot[bot] 7b84d3bb9b build(deps): bump pyasn1-modules from 0.4.0 to 0.4.1
Bumps [pyasn1-modules](https://github.com/pyasn1/pyasn1-modules) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/pyasn1/pyasn1-modules/releases)
- [Changelog](https://github.com/pyasn1/pyasn1-modules/blob/main/CHANGES.txt)
- [Commits](https://github.com/pyasn1/pyasn1-modules/compare/v0.4.0...v0.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 05:27:03 -07:00
Ryan Barrett aef962925f
bump router memory up to 16G 2024-09-11 20:22:02 -07:00
Ryan Barrett 7c4784e103
ATProto._convert: fetch video blobs as well as images
for #1317
2024-09-11 20:21:48 -07:00
Ryan Barrett 50d7f7962b
minor doc tweaks for DMs
for #966
2024-09-11 13:04:05 -07:00
Ryan Barrett 78e70046ee
docs for chat/DM and Bluesky search for fediverse accounts
for #966
2024-09-11 11:56:03 -07:00
Ryan Barrett 00d4e65e7e
nodeinfo: switch atproto to atprotocol
...to match https://github.com/jhass/nodeinfo/pull/100
2024-09-11 11:13:58 -07:00
Ryan Barrett dec29e09a6
revise task queue limits 2024-09-11 07:30:16 -07:00
Ryan Barrett a8099970e7
circle: Python 3.11 => 3.12 bug fix 2024-09-11 07:24:43 -07:00
dependabot[bot] 19588d5ccd build(deps): bump pytz from 2024.1 to 2024.2
Bumps [pytz](https://github.com/stub42/pytz) from 2024.1 to 2024.2.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2024.1...release_2024.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 05:39:18 -07:00
dependabot[bot] 0dedf666ec build(deps): bump pyasn1 from 0.6.0 to 0.6.1
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.0...v0.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 05:39:05 -07:00
Ryan Barrett 249aa38a87
dms.receive: detect when the protocol doesn't support the requested user's handle
fixes #1318
2024-09-10 21:20:44 -07:00
Ryan Barrett f3fac5b914
turn on atproto-chat-poll cron job 2024-09-10 19:57:38 -07:00