Wykres commitów

1783 Commity (48f89cebc0b580e78999417e9e353880bcfcfcca)

Autor SHA1 Wiadomość Data
Ryan Barrett 48f89cebc0
User.handle_as: handle web users with custom usernames
bug fix for b255962, fixes https://console.cloud.google.com/errors/detail/CPiAj72alvDYNQ;time=P30D?project=bridgy-federated
2023-11-22 19:00:02 -08:00
Ryan Barrett f6af56f1c4
test_activitypub: use our_as1 for test web user, not as2 2023-11-22 17:59:18 -08:00
Ryan Barrett b255962fde
activitypub: genericize preferredUsername across protocols 2023-11-22 17:24:08 -08:00
dependabot[bot] 874534c159 build(deps): bump humanize from 4.8.0 to 4.9.0
Bumps [humanize](https://github.com/python-humanize/humanize) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/4.8.0...4.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 04:41:47 -08:00
dependabot[bot] b6184462af build(deps): bump pyasn1 from 0.5.0 to 0.5.1
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.5.0 to 0.5.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.5.0...v0.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 04:20:02 -08:00
Ryan Barrett 9b67d5273f
remove g.user in a few more places in activitypub
for #690
2023-11-20 16:21:20 -08:00
Ryan Barrett dbfc240985
UI bug fix for 8b3881df
for #690, fixes https://console.cloud.google.com/errors/CMSlxaaflMHNSQ?project=bridgy-federated&time=P30D&
2023-11-20 16:21:20 -08:00
dependabot[bot] b71d937381 build(deps): bump grpcio-status from 1.59.2 to 1.59.3
Bumps [grpcio-status](https://grpc.io) from 1.59.2 to 1.59.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 04:33:11 -08:00
dependabot[bot] 28a3776bf3 build(deps): bump grpcio from 1.59.2 to 1.59.3
Bumps [grpcio](https://github.com/grpc/grpc) from 1.59.2 to 1.59.3.
- [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.59.2...v1.59.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 04:27:55 -08:00
dependabot[bot] 2db6f77c03 build(deps): bump certifi from 2023.7.22 to 2023.11.17
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2023.11.17.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2023.11.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 04:27:28 -08:00
Ryan Barrett c593a80ee9
fix test_integrations for g.user minimizing in #690 2023-11-19 21:53:39 -08:00
Ryan Barrett eb7da31873
minimize g.user in activitypub.actor
for #690
2023-11-19 21:53:39 -08:00
Ryan Barrett 2c6a470058
drop g.user in lots of tests
for #690
2023-11-19 21:53:39 -08:00
Ryan Barrett 990ec47c89
stop using g.user in web, part of redirect
for #690
2023-11-19 21:53:39 -08:00
Ryan Barrett fefcbbb77e
drop Protocol.actor_key's default_g_user kwarg
for #690
2023-11-19 21:53:38 -08:00
Ryan Barrett 8b3881dfe3
stop using g.user in pages, activitypub followers/ing collections
for #690
2023-11-19 21:53:38 -08:00
Ryan Barrett a1a7ceef51
stop using g.user in Follower.fetch_page
for #690
2023-11-19 21:53:38 -08:00
Ryan Barrett 29158e02e9
start removing g.user. first, a couple easy ones, webfinger and follow
for #690
2023-11-19 21:53:38 -08:00
dependabot[bot] afcb5b51dd build(deps): bump jsonschema from 4.19.2 to 4.20.0
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.19.2...v4.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 04:59:04 -08:00
Ryan Barrett bee313fb67
drop User.atproto_did, switch to using copies 2023-11-15 19:08:06 -08:00
Ryan Barrett 4d095fa3d9
misc cleanup
* remove obsolete TODOs, commented out code
* remove obsolete circular imports of per-protocol modules
* minimize Object put in Protocol.load
* remove duplicated Protocol.load tests in test_activitypub
* re-enable rest of ActivityPubUtilsTest.test_postprocess_as2_idempotent
* drop default cls=Web in TestCase.make_user
2023-11-15 14:23:08 -08:00
Ryan Barrett 4c61770017
activitypub: drop circular import of web
for #486
2023-11-15 13:33:39 -08:00
Ryan Barrett 59c6d44f6d
AP: stop using PROTOCOLS in inbox URL routes
for #486
2023-11-15 13:33:39 -08:00
Ryan Barrett 507cb19c32
test_integrations: import test_web instead of WebTest to avoid duplicating
before this, unittest thought the imported WebTest was a new test class and ran it again.
2023-11-15 12:40:59 -08:00
Ryan Barrett 5d1aadb869
ATProto.send: use type as collection, convert to record early to catch errors 2023-11-14 19:55:20 -08:00
Ryan Barrett d237d9611c
atproto: store extra `cid` field in Object.bsky, populate in record strongRefs 2023-11-14 19:24:37 -08:00
Ryan Barrett 95631396b7
atproto: fill in createdAt
for snarfed/granary@a0795b8c34
2023-11-14 15:24:51 -08:00
Ryan Barrett 81838df113
atproto.poll_posts: store record, not #postView 2023-11-14 14:21:22 -08:00
Ryan Barrett 72b3af9fe3
hub dispatch: route /queue/atproto-poll-posts 2023-11-14 14:07:56 -08:00
Ryan Barrett a5b5078729
ATProto: first pass at polling posts (timelines)
for #694
2023-11-14 12:30:14 -08:00
Ryan Barrett 9c5adab4f4
ATProto.send: support likes, reposts, follows
snarfed/bridgy-fed#717
2023-11-14 10:56:52 -08:00
Ryan Barrett 85ae5bc675
ignore inReplyTo when checking if an object has changed
snarfed/granary@3c782f9dac, snarfed/granary@308a2d56f9, snarfed/granary@95fae94bf8, snarfed/bridgy#933, snarfed/bridgy#941
2023-11-14 06:49:57 -08:00
Ryan Barrett 2d4e4afbaa
stop logging headers during sig verification 2023-11-13 21:01:38 -08:00
Ryan Barrett ac6f98f54c
integration test for #720
BF's first integration test! hopefully more to come, eg snarfed/bridgy-fed#689

actual fix is in snarfed/granary@3c782f9
2023-11-13 14:37:16 -08:00
Ryan Barrett cbbea104fc
cache Protocol.for_id
fixes #727
2023-11-13 14:18:32 -08:00
Ryan Barrett 91c25f6955
testutil noop, TestCase.make_user: include source_protocol in profile Object 2023-11-13 14:08:21 -08:00
Ryan Barrett 00fb4dd14d
move test_atproto.KEY to testutil.ATPROTO_KEY 2023-11-13 14:08:21 -08:00
Ryan Barrett 12158eba64
Protocol.targets bug fix, handle composite inReplyTo 2023-11-13 14:08:21 -08:00
dependabot[bot] 25d778cf60 build(deps): bump urllib3 from 2.0.7 to 2.1.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.1.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.0.7...2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 04:51:39 -08:00
Ryan Barrett 0364ece4a8
stop resolving ids in Protocol.targets, since Protocol.receive already did it 2023-11-12 13:21:35 -08:00
Ryan Barrett 3d0c5ecea5
Object.resolve_ids: handle multiple inReplyTo 2023-11-12 13:15:08 -08:00
Ryan Barrett a08a76c672
Object.resolve_ids bug fix: handle both protocol LABEL and ABBREV 2023-11-12 10:33:08 -08:00
Ryan Barrett 91a0a43665
noop docstring comment in User.status 2023-11-12 07:49:13 -08:00
Ryan Barrett 6498c24d98
AP sig verification bug fix: support lower case sha-256= Digest prefix
found with https://verify.funfedi.dev/?actor_uri=https%3A%2F%2Ffed.brid.gy%2Fsnarfed.org . thanks @HelgeKrueger!
2023-11-12 07:48:48 -08:00
Ryan Barrett 2a7c0adf0f
bug fixes for suppressing mentions of in-reply-to-authors
for 84324c0c0b, #686
2023-11-11 14:52:21 -08:00
Ryan Barrett 3975c143d7
fix atproto tests for arroba TID bug fixes in c8e6b30, 7170bf7 2023-11-11 10:38:48 -08:00
Ryan Barrett 84324c0c0b
Protocol.targets: suppress mentions of in-reply-to authors
fixes #686
2023-11-10 14:39:40 -08:00
dependabot[bot] 42eb6b1d8b build(deps): bump google-cloud-dns from 0.34.1 to 0.34.2
Bumps [google-cloud-dns](https://github.com/googleapis/python-dns) from 0.34.1 to 0.34.2.
- [Release notes](https://github.com/googleapis/python-dns/releases)
- [Changelog](https://github.com/googleapis/python-dns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-dns/compare/v0.34.1...v0.34.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 04:26:18 -08:00
dependabot[bot] 9bc3711ef3 build(deps): bump grpc-google-iam-v1 from 0.12.6 to 0.12.7
Bumps [grpc-google-iam-v1](https://github.com/googleapis/python-grpc-google-iam-v1) from 0.12.6 to 0.12.7.
- [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.12.6...v0.12.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 04:25:50 -08:00
Ryan Barrett 535494f21b
Object.to_as1 from bsky: pass at:// uri so we get id/url more often
for #715
2023-11-09 20:50:48 -08:00