Wykres commitów

2264 Commity (main)

Autor SHA1 Wiadomość Data
Ryan Barrett 311ba3ae0a
User.get_or_create: don't overwrite existing fediverse keypair 2024-02-28 16:22:29 -08:00
Ryan Barrett 2e910acace
switch app service from Bluesky sandbox to prod 2024-02-28 16:16:10 -08:00
Ryan Barrett 304fa495a2
switch hub from Bluesky sandbox to prod! 2024-02-28 12:07:06 -08:00
Ryan Barrett d2865fdb86
add common.ENABLED_BRIDGES, check before conversion and /bridge-user 2024-02-28 12:07:06 -08:00
Ryan Barrett 3ef64948e5
web: log when we can't fetch an apex domain and fall back to www 2024-02-28 12:07:05 -08:00
dependabot[bot] 22b92d4446 build(deps): bump html2text from 2024.2.25 to 2024.2.26
Bumps [html2text](https://github.com/Alir3z4/html2text) from 2024.2.25 to 2024.2.26.
- [Release notes](https://github.com/Alir3z4/html2text/releases)
- [Changelog](https://github.com/Alir3z4/html2text/blob/master/ChangeLog.rst)
- [Commits](https://github.com/Alir3z4/html2text/compare/2024.2.25...2024.2.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 04:10:21 -08:00
Ryan Barrett 942452f176
AP: ignore unlisted posts
for #832
2024-02-27 12:05:18 -08:00
Ryan Barrett 9489204d64
AP: add profile to Content-Type: application/ld+json
for #895
2024-02-27 11:38:00 -08:00
Ryan Barrett fce24c0645
/web-site: don't allow URLs with paths
for #882
2024-02-27 11:19:14 -08:00
Ryan Barrett dc5d7c132a
Web feed polling: limit Object.atom/rss properties to 500K
...since the overall entity size imit is 1M: https://cloud.google.com/datastore/docs/concepts/limits

fixes https://console.cloud.google.com/errors/detail/CO-fpZfMq_6ktgE;time=P30D?project=bridgy-federated
2024-02-27 07:00:45 -08:00
Ryan Barrett 8288390cfd
AP inbox delivery, Protocol.receive: error on blocklisted ids
fixes https://console.cloud.google.com/errors/detail/CN278MyjhZbtOQ;time=P30D?project=bridgy-federated , https://console.cloud.google.com/errors/detail/CLSnttKfy4v90wE;time=P30D?project=bridgy-federated
2024-02-27 06:42:19 -08:00
Ryan Barrett 42b4541c8d
Web.get_or_create: bug fix for normalizing domain case
fixes https://console.cloud.google.com/errors/detail/CKOs59zx0rSXQg;time=P30D?project=bridgy-federated
2024-02-26 19:26:47 -08:00
dependabot[bot] ed366f8426 build(deps): bump html2text from 2020.1.16 to 2024.2.25
Bumps [html2text](https://github.com/Alir3z4/html2text) from 2020.1.16 to 2024.2.25.
- [Release notes](https://github.com/Alir3z4/html2text/releases)
- [Changelog](https://github.com/Alir3z4/html2text/blob/master/ChangeLog.rst)
- [Commits](https://github.com/Alir3z4/html2text/compare/2020.1.16...2024.2.25)

---
updated-dependencies:
- dependency-name: html2text
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 08:51:52 -08:00
dependabot[bot] 70517e8bb8 build(deps): bump cryptography from 42.0.4 to 42.0.5
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.4 to 42.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.4...42.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 04:24:17 -08:00
Ryan Barrett 56a3c0e34b
bluesky: opt out users who have disabled logged out view on bsky.app
ie "Discourage apps from showing my account to logged-out users" on https://bsky.app/moderation

fixes #828

https://docs.bsky.app/docs/advanced-guides/resolving-identities#for-backend-services
https://github.com/bluesky-social/atproto/blob/main/packages/api/docs/labels.md#label-behaviors
2024-02-23 10:33:34 -08:00
dependabot[bot] a66edc14cc build(deps): bump google-cloud-tasks from 2.16.1 to 2.16.2
Bumps [google-cloud-tasks](https://github.com/googleapis/google-cloud-python) from 2.16.1 to 2.16.2.
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-cloud-tasks-v2.16.1...google-cloud-tasks-v2.16.2)

---
updated-dependencies:
- dependency-name: google-cloud-tasks
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 04:29:31 -08:00
dependabot[bot] 2959135b85 build(deps): bump typing-validation from 1.2.10.post1 to 1.2.10.post4
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation) from 1.2.10.post1 to 1.2.10.post4.
- [Release notes](https://github.com/hashberg-io/typing-validation/releases)
- [Commits](https://github.com/hashberg-io/typing-validation/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 04:28:58 -08:00
dependabot[bot] b2db830294 build(deps): bump google-cloud-appengine-logging from 1.4.1 to 1.4.2
Bumps [google-cloud-appengine-logging](https://github.com/googleapis/google-cloud-python) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-cloud-appengine-logging-v1.4.1...google-cloud-appengine-logging-v1.4.2)

---
updated-dependencies:
- dependency-name: google-cloud-appengine-logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 04:28:52 -08:00
dependabot[bot] 5d8ea506e4 build(deps): bump grpcio-status from 1.60.1 to 1.62.0
Bumps [grpcio-status](https://grpc.io) from 1.60.1 to 1.62.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>
2024-02-22 04:47:16 -08:00
dependabot[bot] c7c2e1aab6 build(deps): bump grpcio from 1.60.1 to 1.62.0
Bumps [grpcio](https://github.com/grpc/grpc) from 1.60.1 to 1.62.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.60.1...v1.62.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 04:41:48 -08:00
dependabot[bot] 1bac773d6a build(deps): bump typing-validation from 1.2.9.post1 to 1.2.10.post1
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation) from 1.2.9.post1 to 1.2.10.post1.
- [Release notes](https://github.com/hashberg-io/typing-validation/releases)
- [Commits](https://github.com/hashberg-io/typing-validation/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 04:41:12 -08:00
dependabot[bot] 90af61ad6d build(deps): bump typing-validation from 1.2.8.post3 to 1.2.9.post1
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation) from 1.2.8.post3 to 1.2.9.post1.
- [Release notes](https://github.com/hashberg-io/typing-validation/releases)
- [Commits](https://github.com/hashberg-io/typing-validation/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 04:45:04 -08:00
dependabot[bot] b5c6b7da1e build(deps): bump cryptography from 42.0.3 to 42.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.3 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.3...42.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 04:44:52 -08:00
Ryan Barrett ac4b7fb4e5
web.poll_feed_task: handle more HTTP and parse errors
fixes https://console.cloud.google.com/errors/detail/CNj81tKbzNSzwAE;time=P30D?project=bridgy-federated
2024-02-20 12:23:20 -08:00
dependabot[bot] db9aaa927e build(deps): bump cbor2 from 5.6.1 to 5.6.2
Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.6.1 to 5.6.2.
- [Release notes](https://github.com/agronholm/cbor2/releases)
- [Changelog](https://github.com/agronholm/cbor2/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/cbor2/compare/5.6.1...5.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 04:21:34 -08:00
dependabot[bot] e4ee74c435 build(deps): bump urllib3 from 2.2.0 to 2.2.1
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.0 to 2.2.1.
- [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.0...2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 04:30:54 -08:00
dependabot[bot] 9d997b32f5 build(deps): bump dnspython from 2.5.0 to 2.6.1
Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.5.0...v2.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 04:30:40 -08:00
Ryan Barrett 0c98e88a9d
another tweak to heuristic for Feb 2024 Japanese mention spam flood
sometimes there's no image. example: https://kish.social/@kj2hevtalc/111954393290908177
2024-02-18 13:56:21 -08:00
Ryan Barrett e55ef252ab
minor tweak to heuristic for Feb 2024 Japanese mention spam flood 2024-02-18 13:49:37 -08:00
Ryan Barrett 7d9467fa19
temporary heuristic to ignore Feb 2024 Japanese mention spam flood 2024-02-18 13:24:53 -08:00
dependabot[bot] 938f854daf build(deps): bump cryptography from 42.0.2 to 42.0.3
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 04:23:18 -08:00
Ryan Barrett bbea7ec44d
minor doc tweak 2024-02-15 13:29:16 -08:00
Ryan Barrett 2f57a07b9e
make opt_out.py multi-protocol, other improvements 2024-02-15 13:28:55 -08:00
Ryan Barrett d461397ce8
tone down Object write logging: omit delivered, failed, undelivered 2024-02-15 13:28:09 -08:00
Ryan Barrett 8cb3628270
Protocol.targets: bug fix for self replies 2024-02-12 19:02:00 -08:00
Ryan Barrett 675e39809e
web UI: tweak user links in user page header 2024-02-11 14:39:09 -08:00
Ryan Barrett 855efa04f3
test_atproto: update tests for snarfed/granary@ac0bc429e5 2024-02-10 22:13:40 -08:00
Ryan Barrett ddbd7f3fec
protocol.load: allow an object to switch protocols
fixes https://console.cloud.google.com/errors/detail/CPb-q_DKzvrYOw;time=P30D?project=bridgy-federated
2024-02-10 22:12:44 -08:00
Ryan Barrett 484c637219
authorization check: handle domain vs homepage for web users
for #566
2024-02-10 10:30:25 -08:00
Ryan Barrett 95e5f6d596
test_activitypub noop, prune mock responses 2024-02-10 10:30:24 -08:00
Ryan Barrett 31db61c83f
Update README.md 2024-02-08 21:09:43 -08:00
Ryan Barrett 6a63820cd8
tighten Object.owns_id to reject blocklisted domains
fixes https://console.cloud.google.com/errors/detail/CLSnttKfy4v90wE;time=P30D?project=bridgy-federated
2024-02-08 14:41:15 -08:00
Ryan Barrett c966090912
Protocol.load: reload objects if our copy is over 30d old
fixes #628

no clue how much this will impact our outbound request load. we'll see!
2024-02-08 11:23:09 -08:00
dependabot[bot] c8c42ed594 build(deps): bump grpcio-status from 1.60.0 to 1.60.1
Bumps [grpcio-status](https://grpc.io) from 1.60.0 to 1.60.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 05:08:25 -08:00
dependabot[bot] 8a58fa677e build(deps): bump grpcio from 1.60.0 to 1.60.1
Bumps [grpcio](https://github.com/grpc/grpc) from 1.60.0 to 1.60.1.
- [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.60.0...v1.60.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 05:03:11 -08:00
dependabot[bot] 6b9dd29434 build(deps): bump google-cloud-appengine-logging from 1.4.0 to 1.4.1
Bumps [google-cloud-appengine-logging](https://github.com/googleapis/google-cloud-python) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-cloud-appengine-logging-v1.4.0...google-cloud-appengine-logging-v1.4.1)

---
updated-dependencies:
- dependency-name: google-cloud-appengine-logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 04:58:07 -08:00
dependabot[bot] 6eb727bd26 build(deps): bump google-cloud-tasks from 2.15.1 to 2.16.1
Bumps [google-cloud-tasks](https://github.com/googleapis/google-cloud-python) from 2.15.1 to 2.16.1.
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-cloud-tasks-v2.15.1...google-cloud-tasks-v2.16.1)

---
updated-dependencies:
- dependency-name: google-cloud-tasks
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 04:58:00 -08:00
Ryan Barrett 99f5fe97e0
docs: @-mentions no longer require fully qualified address in link text 2024-02-07 07:31:01 -08:00
Ryan Barrett f251aaf054
docs: add "remove" language to opt out 2024-02-07 07:31:01 -08:00
Ryan Barrett b81d9c4ad8
opt_out.py: deliver delete to user's followers 2024-02-07 07:31:01 -08:00