dependabot[bot]
fea3c9b2e5
build(deps): bump jsonschema from 4.18.4 to 4.18.6
...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema ) from 4.18.4 to 4.18.6.
- [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.4...v4.18.6 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 05:15:17 -07:00
Ryan Barrett
de5191a10e
bug fix for web user updat profile button
...
for synthesized update/create/delete activities, switch actor id from protocol-specific AP to protocol-agnostic web URL.
thanks @capjamesg for reporting!
2023-08-02 19:12:09 -07:00
Ryan Barrett
62ba627bc9
bug fix for interactive follow with followee Object without as2
...
fixes https://console.cloud.google.com/errors/detail/CIeL-MyNk9z5LQ;time=P30D?project=bridgy-federated , https://console.cloud.google.com/errors/detail/COLs4IvxloWVUg;time=P30D?project=bridgy-federated
2023-08-01 09:47:32 -07:00
dependabot[bot]
d4035d867a
build(deps): bump googleapis-common-protos from 1.59.1 to 1.60.0
...
Bumps [googleapis-common-protos](https://github.com/googleapis/python-api-common-protos ) from 1.59.1 to 1.60.0.
- [Release notes](https://github.com/googleapis/python-api-common-protos/releases )
- [Changelog](https://github.com/googleapis/python-api-common-protos/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-api-common-protos/compare/v1.59.1...v1.60.0 )
---
updated-dependencies:
- dependency-name: googleapis-common-protos
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 05:21:14 -07:00
dependabot[bot]
1230952deb
build(deps): bump pyparsing from 3.1.0 to 3.1.1
...
Bumps [pyparsing](https://github.com/pyparsing/pyparsing ) from 3.1.0 to 3.1.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.1.0...3.1.1 )
---
updated-dependencies:
- dependency-name: pyparsing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 05:48:41 -07:00
dependabot[bot]
0ddeeaca60
build(deps): bump google-cloud-ndb from 2.1.1 to 2.2.0
...
Bumps [google-cloud-ndb](https://github.com/googleapis/python-ndb ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/googleapis/python-ndb/releases )
- [Changelog](https://github.com/googleapis/python-ndb/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-ndb/compare/v2.1.1...v2.2.0 )
---
updated-dependencies:
- dependency-name: google-cloud-ndb
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-29 15:27:43 -07:00
Ryan Barrett
669481d7d7
deps: upgrade google-cloud-datastore to 2.16.1
2023-07-29 15:22:04 -07:00
Ryan Barrett
e389690276
Web.fetch: handle author missing u-url
...
originally from https://r0ss.me/notes/20230727-starfield-animated-videos.html
2023-07-28 19:13:59 -07:00
Ryan Barrett
b2b5383271
fix authors in RSS and Atom feeds
2023-07-28 15:53:56 -07:00
Ryan Barrett
8850e27374
Activity.target_for: fix infinite loop when author is object id
...
fixes #603 and https://console.cloud.google.com/errors/detail/CLPmoOqegtfm0AE;time=P30D?project=bridgy-federated
2023-07-27 15:06:56 -07:00
Ryan Barrett
2f308b43e2
/convert: use generic Protocol for fed subdomain
...
not entirely sure about this one, will see
for #600
2023-07-26 09:02:23 -07:00
Ryan Barrett
96e523d887
fix Object.proxy_url to use per-protocol subdomains
...
it should have already been using them!
for #600
2023-07-26 09:02:23 -07:00
Ryan Barrett
a1d4806e2a
fix /convert/ redirect on fed.brid.gy to preserve URL-encoding
...
for #600
2023-07-26 09:02:23 -07:00
Ryan Barrett
b57c96d7d5
move AtpNode to arroba
2023-07-26 09:02:23 -07:00
dependabot[bot]
9332506be6
build(deps): bump google-cloud-tasks from 2.13.2 to 2.14.0
...
Bumps [google-cloud-tasks](https://github.com/googleapis/python-tasks ) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/googleapis/python-tasks/releases )
- [Changelog](https://github.com/googleapis/python-tasks/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-tasks/compare/v2.13.2...v2.14.0 )
---
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>
2023-07-26 05:28:02 -07:00
Ryan Barrett
3d23618b1b
Protocol.receive: handle unknown protocol for followeee
...
fixes https://console.cloud.google.com/errors/detail/CKjCqOC34bL3SQ;time=P30D?project=bridgy-federated
2023-07-25 09:53:23 -07:00
Ryan Barrett
aa124413f6
Web: set author to user homepage more carefully
...
for when h-entry author points to non-homepage, eg @techlifeweb's https://techlifeweb.com/blog/2023/07/2023-07-25-post-025/ 's author url is https://techlifeweb.com/hcard
2023-07-24 21:28:37 -07:00
Ryan Barrett
77812b1b61
AP: fix sig verification bug, handle Objects with non-as2 data
...
fixes https://console.cloud.google.com/errors/detail/CKCN17fmoZHraw;time=P30D?project=bridgy-federated
2023-07-24 18:16:50 -07:00
Ryan Barrett
850e8a1dc8
switch convert URLs from ^^ back to #
...
for #581 . the ^^s didn't help with WordPress, which was the original motivation, and they're confusing everyone else.
2023-07-24 14:31:07 -07:00
Ryan Barrett
414fa5f197
Protocol.receive: resume existing create if it's not complete
2023-07-24 14:07:44 -07:00
Ryan Barrett
95cbfba31c
Web: default missing author to homepage, not fed.brid.gy AP actor URL
...
for #599
2023-07-24 12:17:03 -07:00
dependabot[bot]
0dbbbe167c
build(deps): bump certifi from 2023.5.7 to 2023.7.22
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 05:07:57 -07:00
Ryan Barrett
17fe6db6eb
change Protocol.key_for to return None instead of raise on invalid user ids
...
hopefully fixes https://console.cloud.google.com/errors/detail/CKWmwa7SybLcQw;time=P30D?project=bridgy-federated
2023-07-22 20:32:55 -10:00
Ryan Barrett
c3f9c56c31
Protocol.receive: drop fed.brid.gy domain check
...
this happens after protocols pre-process objects and eg fill in BF AP actor ids. moved this check to *.send and user entity pre post hooks instead. for #597
2023-07-22 20:11:12 -10:00
Ryan Barrett
9a7597b365
don't allow blocklisted domains in Web, ActivityPub ids
...
for #597
2023-07-22 20:09:16 -10:00
Ryan Barrett
405ca4145f
Web.send, ActivityPub.send: skip sending to blocklisted URLs
...
for #597
2023-07-22 20:02:12 -10:00
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