Ryan Barrett
ca1d0dcc01
feeds: also load repost objects from separate Objects
...
for #419 , follows 47b90c8
2023-07-20 07:26:16 -10:00
dependabot[bot]
36d020eb77
build(deps): bump urllib3 from 2.0.3 to 2.0.4
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.3 to 2.0.4.
- [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.3...2.0.4 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 06:02:15 -07:00
dependabot[bot]
710401042e
build(deps): bump grpcio from 1.56.0 to 1.56.2
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.56.0 to 1.56.2.
- [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.56.0...v1.56.2 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 06:01:43 -07:00
Ryan Barrett
47b90c890e
/feed: load author/actor if it's in a separate Object
...
fixes #419 . thanks again @gRegorLove!
2023-07-19 19:39:29 -10:00
Ryan Barrett
14ee9c1516
one more datastore index for 57350ab81a
2023-07-19 19:39:29 -10:00
dependabot[bot]
96198b2f20
build(deps): bump gunicorn from 20.1.0 to 21.2.0
...
Bumps [gunicorn](https://github.com/benoitc/gunicorn ) from 20.1.0 to 21.2.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/20.1.0...21.2.0 )
---
updated-dependencies:
- dependency-name: gunicorn
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:34:09 -07:00
dependabot[bot]
deae0041dd
build(deps): bump click from 8.1.5 to 8.1.6
...
Bumps [click](https://github.com/pallets/click ) from 8.1.5 to 8.1.6.
- [Release notes](https://github.com/pallets/click/releases )
- [Changelog](https://github.com/pallets/click/blob/8.1.6/CHANGES.rst )
- [Commits](https://github.com/pallets/click/compare/8.1.5...8.1.6 )
---
updated-dependencies:
- dependency-name: click
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 05:35:14 -07:00
dependabot[bot]
1605874768
build(deps): bump jsonschema from 4.18.3 to 4.18.4
...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema ) from 4.18.3 to 4.18.4.
- [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.18.3...v4.18.4 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 05:12:32 -07:00
dependabot[bot]
1327b13d43
build(deps): bump pyyaml from 6.0 to 6.0.1
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 6.0 to 6.0.1.
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.1/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0...6.0.1 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 05:11:45 -07:00
Ryan Barrett
557d115c98
add another datastore index for 57350ab81a
2023-07-17 16:17:03 -10:00
Ryan Barrett
7c414e99f8
add datastore indices for 57350ab81a
2023-07-17 11:59:40 -10:00
Ryan Barrett
ad893b1a97
update test_activitypub, test_web for new Object.notify/feed props
...
added in 95d0a695aa30c06880c218a96a98f591850a0a3c
2023-07-17 05:34:56 -10:00
Ryan Barrett
57350ab81a
switch from Object.users + labels to users + notify + feed lists
...
needed to distinguish an activity's owners from who it should notify from who should see it in their feeds.
also, unrelated, start sending stop-following activities.
in progress, test_web and test_activitypub still need updating.
2023-07-17 05:34:56 -10:00
Ryan Barrett
764494be16
Protocol.receive follow: send accept for every followee, not just the last one
2023-07-17 05:34:56 -10:00
Ryan Barrett
fc21a710c5
circle config: minor bug fix
2023-07-17 05:34:56 -10:00
dependabot[bot]
6c884d62d0
build(deps): bump google-cloud-logging from 3.5.0 to 3.6.0
...
Bumps [google-cloud-logging](https://github.com/googleapis/python-logging ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/googleapis/python-logging/releases )
- [Changelog](https://github.com/googleapis/python-logging/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-logging/compare/v3.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: google-cloud-logging
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 05:52:15 -07:00
Ryan Barrett
4b66e68232
Web.send: improve logic for skipping sends to followers
...
should stop the unrelated webmentions going to @gRegorLove et al
2023-07-15 14:33:54 -07:00
Ryan Barrett
e0a75b07bc
extract out the non-BF-specific parts of Protocol._targets into as1.targets
...
in snarfed/granary@91fde3201e
2023-07-15 14:23:09 -07:00
Ryan Barrett
f62ba74e45
Re-enable CD, ready for another go at the new activity router in prod
...
Revert "temporarily disable continuous deploy until new activity router is debugged"
This reverts commit 4d2b9b6e24
.
2023-07-15 08:03:52 -07:00
Ryan Barrett
80d1ec745e
ActivityPub.signed_request: handle redirects to relative URLs
...
fixes https://console.cloud.google.com/errors/detail/COLi8YPesYOztwE;time=P30D?project=bridgy-federated
2023-07-14 18:16:10 -07:00
Ryan Barrett
58a8e28040
follow UI: handle composite url values
...
fixes https://console.cloud.google.com/errors/detail/CKmLytj-nPv9RQ;time=P30D?project=bridgy-federated
2023-07-14 17:45:49 -07:00
Ryan Barrett
8903273c2a
merging receive: Web: skip sending wms for normal posts (ie not replies etc)
...
for #529
2023-07-14 17:22:59 -07:00
Ryan Barrett
e194ccb3ad
Protocol.load/fetch returns True/False (or None) to mean "not this protocol"
...
ie, nothing failed, but the given id eitehr doesn't below to the given protocol, or fetched successfully but its data belongs to a different protocol.
vs raising exceptions for fetches that fail or error, eg network connection problems, Web got HTML with microformats2 but no h-entry, ActivityPub got non-AS2, etc.
used in Protocol.for_id: when a given Protocol's fetch doesn't work, we move on and try the next protocol _if_ it returned False (ie wasn't fetchable with that protocol, but we fail fast if it raises an exception (ie fetch failed).
2023-07-14 12:58:47 -07:00
Ryan Barrett
dcc9b772b1
ActivityPub.send: handle unset g.user, missing actor
2023-07-14 12:58:46 -07:00
dependabot[bot]
7576e1f1ef
build(deps): bump jsonschema from 4.18.2 to 4.18.3
...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema ) from 4.18.2 to 4.18.3.
- [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.18.2...v4.18.3 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 05:48:01 -07:00
dependabot[bot]
1a8aa44e86
build(deps): bump click from 8.1.4 to 8.1.5
...
Bumps [click](https://github.com/pallets/click ) from 8.1.4 to 8.1.5.
- [Release notes](https://github.com/pallets/click/releases )
- [Changelog](https://github.com/pallets/click/blob/8.1.5/CHANGES.rst )
- [Commits](https://github.com/pallets/click/compare/8.1.4...8.1.5 )
---
updated-dependencies:
- dependency-name: click
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 05:47:31 -07:00
Ryan Barrett
0e47918a38
merging receive: skip same-protocol deliveries and Followers
...
for #529
2023-07-13 14:21:13 -07:00
dependabot[bot]
20c2f29a88
build(deps): bump jsonschema from 4.18.1 to 4.18.2
...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema ) from 4.18.1 to 4.18.2.
- [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.18.1...v4.18.2 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 05:24:08 -07:00
Ryan Barrett
4d2b9b6e24
temporarily disable continuous deploy until new activity router is debugged
2023-07-12 08:50:33 -07:00
dependabot[bot]
bca69dd016
build(deps): bump praw from 7.7.0 to 7.7.1
...
Bumps [praw](https://github.com/praw-dev/praw ) from 7.7.0 to 7.7.1.
- [Release notes](https://github.com/praw-dev/praw/releases )
- [Changelog](https://github.com/praw-dev/praw/blob/master/CHANGES.rst )
- [Commits](https://github.com/praw-dev/praw/compare/v7.7.0...v7.7.1 )
---
updated-dependencies:
- dependency-name: praw
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 05:11:49 -07:00
dependabot[bot]
6c9d069c28
build(deps): bump jsonschema from 4.18.0 to 4.18.1
...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema ) from 4.18.0 to 4.18.1.
- [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.18.0...v4.18.1 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 05:11:19 -07:00
Ryan Barrett
815ae95560
merging receive: bug fix for same domain check: normalize target URLs earlier
...
for #529 , a3f99a81ce
2023-07-11 13:25:32 -07:00
Ryan Barrett
e759c5838d
drop AP tests for mentions, they're already tested in test_protocol
2023-07-11 13:25:32 -07:00
Ryan Barrett
174c55ae6e
merging receive: implement mentions, deliver to mentioned users
...
for #529
2023-07-11 13:25:31 -07:00
Ryan Barrett
605742a82c
merging receive: skip same-domain targets
...
for #529
2023-07-11 13:25:31 -07:00
Ryan Barrett
42bb4a765d
misc test fixes
2023-07-11 13:25:31 -07:00
Ryan Barrett
15557dc78f
merging receive: Web: handle ValueError raised by protocol.receive
...
for #529
2023-07-11 13:25:31 -07:00
Ryan Barrett
0d7df6d4e6
merging receive: handle follow with multiple objects (followees)
...
for #529
2023-07-11 13:25:31 -07:00
Ryan Barrett
cfa43135a5
Web.fetch default author bug fix, only add if URL is not homepage
2023-07-11 13:25:31 -07:00
Ryan Barrett
a2ed0afda8
merging receive: Web.fetch: default actor/author to home page URL
...
for #529
2023-07-11 13:25:31 -07:00
Ryan Barrett
ceb72e516c
Web.send: ignore accept activities
...
webmention/mf2 have no corrolary yet
2023-07-11 13:25:31 -07:00
Ryan Barrett
e20ef91afe
uncomment remaining test_protocol receive tests so I don't forget them
2023-07-11 13:25:31 -07:00
Ryan Barrett
89ff89ef30
merging receive: Object.as1: postprocess mf2, if no id, use url
...
for #529
2023-07-11 13:25:31 -07:00
Ryan Barrett
911dc56367
merging receive: check for already seen activity ids more carefully
...
for #529
2023-07-11 13:25:30 -07:00
Ryan Barrett
2c861dbbf4
merging receive: if incoming object has no id (eg web/mf2), default to URL
...
for #529
2023-07-11 13:25:30 -07:00
Ryan Barrett
56ebdba049
merging receive: propagate new/changed from receive into new Object
...
for #529
2023-07-11 13:25:30 -07:00
Ryan Barrett
79dd28eeb3
merging receive: Object.users bug fix, fix most test_activitypub tests
...
for #529
2023-07-11 13:25:30 -07:00
Ryan Barrett
9c62786f06
merging receive: delivery bug fix, stop suppressing webmention send errors
...
for #529
2023-07-11 13:25:30 -07:00
Ryan Barrett
5f4d6757e7
merging Protocol/Web receive: minor fix for extracting activity id
...
for #529
2023-07-11 13:25:30 -07:00
Ryan Barrett
568681a19e
merging Protocol/Web receive: start to work through test_web
...
for #529
2023-07-11 13:25:30 -07:00