Wykres commitów

3274 Commity (main)

Autor SHA1 Wiadomość Data
Ryan Barrett e844e0724a
memcache: add missing import for prod 2025-01-09 18:36:26 -08:00
Ryan Barrett 708cef0ab0
atproto_firehose.subscribe: dark read memcache to compare against DIDs in memory
for #1341
2025-01-09 18:32:01 -08:00
Ryan Barrett e8b201dc33
extract memcache logic out into new memcache.py file 2025-01-09 17:10:05 -08:00
Ryan Barrett c7f4a39b0d
activitypub: update tests for class="hashtag" on hashtag links in content
for #1634
2025-01-08 09:05:37 -08:00
Ryan Barrett 8f087b792b
ATProto: temporarily stop handling stop-following
due to follow spammers, #1669
2025-01-07 08:12:58 -08:00
Ryan Barrett e2b6662776
atproto_firehose.handle: use stop-following AS1 verb for deletes of follows
for #1669
2025-01-07 08:02:11 -08:00
Ryan Barrett 6004720c49
ATProto._convert: populate image embed aspect ratios
for #1571
2025-01-06 21:47:21 -08:00
Ryan Barrett 57fa6a1294
atproto_firehose load_dids: don't load disabled ATProto users
for #1669
2025-01-06 20:45:55 -08:00
Ryan Barrett 1aca15ee1e
drop User.direct
subsumed by User.enabled_protocols. for #973
2025-01-06 20:06:23 -08:00
dependabot[bot] 2128ae7447 build(deps): bump grpcio-status from 1.68.1 to 1.69.0
Bumps [grpcio-status](https://grpc.io) from 1.68.1 to 1.69.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 05:14:37 -08:00
dependabot[bot] ad0e81059c build(deps): bump grpcio from 1.68.1 to 1.69.0
Bumps [grpcio](https://github.com/grpc/grpc) from 1.68.1 to 1.69.0.
- [Release notes](https://github.com/grpc/grpc/releases)
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md)
- [Commits](https://github.com/grpc/grpc/compare/v1.68.1...v1.69.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 05:05:54 -08:00
Ryan Barrett 9e2479ef79
web UI: followers/ing page bug fix, handle missing handle
fixes https://console.cloud.google.com/errors/detail/CIvZ14eI8r2zhgE;locations=global;time=P30D?project=bridgy-federated&inv=1&invt=AbmE_w
2025-01-05 20:08:36 -08:00
Ryan Barrett d957fe0c7b
atproto_firehose.subscribe: don't log #handle, #tombstone 2025-01-05 20:06:48 -08:00
Ryan Barrett d95724ff67
atproto_firehose subscriber: bug fix for #account/identity events for non-bridged repos 2025-01-05 19:54:41 -08:00
Ryan Barrett 2dde62cd40
Protocol.receive: try removing noop check for activities we've already seen
if this breaks, blame Gina 😎
2025-01-05 19:35:02 -08:00
Ryan Barrett b348a2be05
fix ATProtoTest.test_create_for_tombstoned, add missing mock for HTTP GET 2025-01-05 13:39:17 -08:00
Ryan Barrett aa4f9e5bf8
atproto_firehose: handle #account and #identity events
for #1201
2025-01-05 13:39:17 -08:00
Ryan Barrett ae0a7920a0
atproto_firehose: enqueue #account and #identity events
for #1201
2025-01-05 13:39:17 -08:00
Ryan Barrett fe6da84fc3
web UI: add unicode-bidi: isolate spans around external content
fixes RTL/LTR override chars extending into UI and other text. thanks @electricduck, @tantek! for #1666
2025-01-05 09:19:20 -08:00
Ryan Barrett 9c1602e3a0
docs: update values, link anew.social 2025-01-03 11:46:46 -08:00
dependabot[bot] fad06b1757 build(deps): bump grpc-google-iam-v1 from 0.13.1 to 0.14.0
Bumps [grpc-google-iam-v1](https://github.com/googleapis/python-grpc-google-iam-v1) from 0.13.1 to 0.14.0.
- [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.1...v0.14.0)

---
updated-dependencies:
- dependency-name: grpc-google-iam-v1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-03 04:18:15 -08:00
dependabot[bot] d79ee87a43 build(deps): bump google-api-python-client from 2.156.0 to 2.157.0
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.156.0 to 2.157.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.156.0...v2.157.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>
2025-01-03 04:18:06 -08:00
dependabot[bot] 19c5cc4533 build(deps): bump pillow from 11.0.0 to 11.1.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.0.0 to 11.1.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/11.0.0...11.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-02 04:42:47 -08:00
Ryan Barrett 97e6a07e89
Web.poll_feed_task: handle badly formatted published property
fixes https://console.cloud.google.com/errors/detail/CPKcrsS-noOZrAE;locations=global;time=P30D?project=bridgy-federated&inv=1&invt=AblugQ
2025-01-01 19:48:04 -08:00
Ryan Barrett 545877f154
atproto-hub: drop back down to 1 core 2025-01-01 19:48:03 -08:00
dependabot[bot] 600e588280 build(deps): bump pyparsing from 3.2.0 to 3.2.1
Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/3.2.0...3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-01 04:19:33 -08:00
dependabot[bot] 941defa598 build(deps): bump fixtures from 4.1.0 to 4.2.2
Bumps [fixtures](https://github.com/testing-cabal/fixtures) from 4.1.0 to 4.2.2.
- [Changelog](https://github.com/testing-cabal/fixtures/blob/master/NEWS)
- [Commits](https://github.com/testing-cabal/fixtures/compare/4.1.0...4.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-27 04:26:26 -08:00
dependabot[bot] 248dd43ede build(deps): bump charset-normalizer from 3.4.0 to 3.4.1
Bumps [charset-normalizer](https://github.com/jawah/charset_normalizer) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jawah/charset_normalizer/compare/3.4.0...3.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-25 04:28:03 -08:00
dependabot[bot] 50c8d89649 build(deps): bump urllib3 from 2.2.3 to 2.3.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.3 to 2.3.0.
- [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.3...2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 13:06:16 -08:00
dependabot[bot] ef0bbb12ab build(deps): bump click from 8.1.7 to 8.1.8
Bumps [click](https://github.com/pallets/click) from 8.1.7 to 8.1.8.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.7...8.1.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 13:05:25 -08:00
dependabot[bot] b7f3edbf19 build(deps): bump jinja2 from 3.1.4 to 3.1.5
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 13:04:39 -08:00
Ryan Barrett 3e17806401
RSS feeds: add default email address so that author gets populated
for https://github.com/snarfed/granary/pull/847
2024-12-23 12:54:13 -08:00
Ryan Barrett 6dcd355bf5
run router and atproto-hub in default VPC
https://cloud.google.com/appengine/docs/flexible/using-shared-vpc
https://cloud.google.com/appengine/docs/flexible/reference/app-yaml#network_settings
https://cloud.google.com/vpc/docs/serverless-vpc-access#supported_services

for #1149
2024-12-20 12:49:01 -08:00
Ryan Barrett 0d82d49034
make remote follow handle non-web users
for #1640. thanks for reporting @mistrk7!
2024-12-20 10:07:51 -08:00
Ryan Barrett f7bf986868
redirect https://bsky.brid.gy/hashtag/TAG to https://bsky.app/search?q=#TAG
for #1634, thanks @Tamschi!
2024-12-20 09:52:20 -08:00
Ryan Barrett 572ca2c9ab
Revert "temporarily disable tasklet patch and hydrating objects/authors in pages.serve_feed"
This reverts commit 01ba8b5d50.

didn't help with ndb caching

for #1149
2024-12-19 16:41:55 -08:00
Ryan Barrett 01ba8b5d50
temporarily disable tasklet patch and hydrating objects/authors in pages.serve_feed
for https://github.com/snarfed/bridgy-fed/issues/1149#issuecomment-2555798869
2024-12-19 13:25:34 -08:00
Ryan Barrett 77bb1c8ef5
disable ndb logging 2024-12-19 13:24:46 -08:00
Ryan Barrett 305f23f013
bump atproto-hub up to 2 cores
for snarfed/arroba#39
2024-12-19 12:50:48 -08:00
Ryan Barrett b4270a5d4e
temporarily turn on ndb logging for cache and lookups
for #1149
2024-12-19 12:28:51 -08:00
Ryan Barrett ca6e37bfe0
atproto-hub: drop subscribeRepos rollback window back down to 50k seqs
roughly 12-18h. for snarfed/arroba#30, snarfed/arroba#39
2024-12-19 11:36:18 -08:00
Ryan Barrett cf6446e76a
activitypub.postprocess_as2: handle Link objects using href field instead of url
for #1637, bug fix to match snarfed/granary@14c965340f
2024-12-19 09:48:39 -08:00
Ryan Barrett 214f0c352d
set atproto_firehose log level to debug
for receive-atproto-firehose log-based metric
2024-12-19 09:48:39 -08:00
dependabot[bot] 36a5ef9eb8 build(deps): bump google-api-python-client from 2.155.0 to 2.156.0
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.155.0 to 2.156.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.155.0...v2.156.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-12-19 04:46:40 -08:00
dependabot[bot] 2dedc48cc7 build(deps): bump protobuf from 5.29.1 to 5.29.2
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 5.29.1 to 5.29.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.29.1...v5.29.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-19 04:46:32 -08:00
Ryan Barrett 56aca5bdba
common.create_task: don't crash if we're outside a request context
oops 😀

fixes https://console.cloud.google.com/errors/detail/CI37sYuA9Z6Q4gE;time=PT1H;locations=global?project=bridgy-federated&inv=1&invt=AbkfaA
2024-12-18 16:16:09 -08:00
Ryan Barrett d3490cab82
set up, but don't enable, ndb debug logging
for #1149
2024-12-18 16:00:20 -08:00
Ryan Barrett 36cbbdd874
use our usual ndb context kwargs in arroba DatabaseStorage
for #1149
2024-12-18 15:50:52 -08:00
Ryan Barrett 91b268fa4f
unify ndb_client.context() kwargs into common.NDB_CONTEXT_KWARGS 2024-12-18 15:44:35 -08:00
Ryan Barrett 9af6238827
temporarily enable debug level ndb logging
for #1149

c55ec62b51/google/cloud/ndb/utils.py (L78-L81)
2024-12-18 15:16:17 -08:00