Wykres commitów

2032 Commity (2f57a07b9e0e05e8bb022a212ce10627aea4ab88)

Autor SHA1 Wiadomość Data
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
Ryan Barrett 5c8424cd18
docs: remove outdated error handling section 2024-02-07 07:31:01 -08:00
dependabot[bot] dcdff50d6b build(deps): bump markupsafe from 2.1.4 to 2.1.5
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/pallets/markupsafe/releases)
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/markupsafe/compare/2.1.4...2.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 04:23:02 -08:00
dependabot[bot] 68f709b56c build(deps): bump cbor2 from 5.6.0 to 5.6.1
Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.6.0 to 5.6.1.
- [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.0...5.6.1)

---
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-06 04:10:55 -08:00
dependabot[bot] 575d86004f build(deps): bump certifi from 2023.11.17 to 2024.2.2
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.11.17 to 2024.2.2.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.11.17...2024.02.02)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 04:06:02 -08:00
dependabot[bot] f2eb4a236b build(deps): bump flask from 3.0.1 to 3.0.2
Bumps [flask](https://github.com/pallets/flask) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/3.0.1...3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 04:45:25 -08:00
dependabot[bot] 44e64b8638 build(deps): bump pytz from 2023.4 to 2024.1
Bumps [pytz](https://github.com/stub42/pytz) from 2023.4 to 2024.1.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2023.4...release_2024.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 08:03:50 -08:00
Ryan Barrett 0cfa9a4ef8
update tests for snarfed/granary@e7778f3 2024-02-02 07:38:07 -08:00
dependabot[bot] b572fda9bf build(deps): bump typing-validation from 1.2.6.post4 to 1.2.8.post3
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation) from 1.2.6.post4 to 1.2.8.post3.
- [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-01-31 04:23:26 -08:00
dependabot[bot] bc0bc8a90c build(deps): bump urllib3 from 2.1.0 to 2.2.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.1.0 to 2.2.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.1.0...2.2.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-01-31 04:23:17 -08:00
dependabot[bot] 0c9875a524 build(deps): bump cryptography from 42.0.1 to 42.0.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.1 to 42.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.1...42.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 04:22:48 -08:00
dependabot[bot] 650bbd78f4 build(deps): bump typing-validation from 1.2.4.post6 to 1.2.6.post4
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation) from 1.2.4.post6 to 1.2.6.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-01-30 04:39:16 -08:00
dependabot[bot] 53eadc271a build(deps): bump pytz from 2023.3.post1 to 2023.4
Bumps [pytz](https://github.com/stub42/pytz) from 2023.3.post1 to 2023.4.
- [Commits](https://github.com/stub42/pytz/compare/release_2023.3.post1...release_2023.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 04:19:33 -08:00
Ryan Barrett 85a25e5f9e
scripts/opt_out.py bug fixes 2024-01-28 18:23:10 -08:00
Ryan Barrett 21ba279b31
ActivityPub.convert: fill in context in obj.as2 2024-01-28 18:15:37 -08:00
Ryan Barrett f9d94522d0
/r/: return 404 for opted out users' URLs 2024-01-28 08:54:35 -08:00
Ryan Barrett ee213531c5
add scripts/opt_out.py
for #783
2024-01-27 14:10:51 -08:00
Ryan Barrett 9818b39b16
Web.owns_id bug fix: return None for opted out domain, not False 2024-01-27 13:45:02 -08:00
Ryan Barrett bf255c676e
unfollow bug fix: don't double / char in me param
thanks for the report @campegg!
2024-01-26 15:24:36 -08:00
Ryan Barrett fcef6c21ab
Revert "heuristic: assume no AP actor id is the root path on its host"
This reverts commit b7e890b4bb.

it was a nice idea, but we're now hitting AP actor ids that are the root path on their host. this is evidently how microblog.pub does AP; 0x3b0b's site https://bw3.dev/ is an example. general info on https://docs.microblog.pub/user_guide.html#activitypub but not this specifically.

fixes https://console.cloud.google.com/errors/detail/CLSnttKfy4v90wE;time=P30D?project=bridgy-federated
2024-01-26 12:59:54 -08:00
Ryan Barrett acdc961f07
docs: add links to "Moderate people, not code"
https://snarfed.org/2024-01-19_moderate-people-not-code
2024-01-26 08:25:56 -08:00
Ryan Barrett 8ab09511bd
bug fix for following from web UI with custom username
thanks again for reporting @campegg!
2024-01-26 06:52:03 -08:00
Ryan Barrett aafcf51186
docs: update parts of protocol, id, handle tables that are implemented 2024-01-25 17:05:27 -08:00
Ryan Barrett 3bcef0d37d
follow UI: specific error message for trying to follow bridged accounts
thanks for the nudge @campegg!
2024-01-25 17:05:26 -08:00
Ryan Barrett 131f9322f9
new indices for 7fbf7de that I didn't need after all 🤷 2024-01-25 17:05:26 -08:00
Ryan Barrett c35af3ffaf
UI: show activities' created timestamp, not last updated
thanks for the nudge @tantek!
2024-01-25 17:05:26 -08:00
dependabot[bot] a0829e6e21 build(deps): bump cryptography from 42.0.0 to 42.0.1
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.0 to 42.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.0...42.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 04:16:35 -08:00
dependabot[bot] 1aacefee9b build(deps): bump typing-validation from 1.2.4 to 1.2.4.post6
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation) from 1.2.4 to 1.2.4.post6.
- [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-01-24 04:25:50 -08:00
dependabot[bot] 5fc0c0efe2 build(deps): bump cryptography from 41.0.7 to 42.0.0
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.7 to 42.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.7...42.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 06:02:31 -08:00
Ryan Barrett 114ba69d3b
test fix for 86079c3684 2024-01-22 13:20:03 -08:00
Ryan Barrett 907e6e7aeb
show Web user page even when direct is False
not other protocols though
2024-01-22 13:12:20 -08:00
Ryan Barrett 86079c3684
Web.convert: for meta refresh redirect, if object has no url, fall back to id 2024-01-22 13:04:16 -08:00
Ryan Barrett 90a7b2def8
add /.well-known/security.txt
https://securitytxt.org/
2024-01-22 12:56:56 -08:00