Ryan Barrett
056644d19e
add handle_or_id kwarg to common.is_enabled
...
for allowlist of test users while testing a given pair of protocols
2024-04-10 11:40:17 -07:00
Ryan Barrett
5767ffabb5
add new Object.normalize_ids method, use in Protocol.receive
...
eg https://bsky.app/ ... URLs to DIDs for actors or at:// URIs for objects
this hopefully fixes web => ATProto follows of https://bsky.app/ ... profile URLs.
2024-04-09 13:07:57 -07:00
Ryan Barrett
131cbd9eb6
add web => ATProto follow integration test
2024-04-09 10:49:14 -07:00
Ryan Barrett
c57e905204
Protocol.for_id: add remote kwarg
2024-04-09 10:48:05 -07:00
Ryan Barrett
a45917cec8
ids.translate_object_id: normalize bsky.app profile URLs to DIDs
2024-04-09 10:04:16 -07:00
Ryan Barrett
e3f2c2e0bc
ids.translate_user_id: normalize bsky.app profile URLs to DIDs
2024-04-09 09:48:16 -07:00
Ryan Barrett
2b7598cf94
update test_atproto for snarfed/granary@8dd5e470b2
2024-04-08 15:33:21 -07:00
dependabot[bot]
933f21ce1e
build(deps): bump lxml from 5.2.0 to 5.2.1
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.2.0...lxml-5.2.1 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 05:45:54 -07:00
dependabot[bot]
31cc598d15
build(deps): bump werkzeug from 3.0.1 to 3.0.2
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.2 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 05:35:08 -07:00
Ryan Barrett
f1531b44e7
bug fix for bad profile link on followers page
...
fixes #934
2024-04-01 23:06:57 -07:00
Ryan Barrett
10e5b00dd6
ActivityPubUtilsTest.test_convert_follow_as1_no_from_user: avoid network fetches
2024-04-01 23:06:57 -07:00
dependabot[bot]
fe41336110
build(deps): bump lxml from 5.1.1 to 5.2.0
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.1.1...lxml-5.2.0 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 05:09:58 -07:00
dependabot[bot]
057fb73e45
build(deps): bump pycparser from 2.21 to 2.22
...
Bumps [pycparser](https://github.com/eliben/pycparser ) from 2.21 to 2.22.
- [Release notes](https://github.com/eliben/pycparser/releases )
- [Changelog](https://github.com/eliben/pycparser/blob/main/CHANGES )
- [Commits](https://github.com/eliben/pycparser/compare/release_v2.21...release_v2.22 )
---
updated-dependencies:
- dependency-name: pycparser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 05:09:37 -07:00
Ryan Barrett
5c470a4647
consider opted out Web domains in ActivityPub.status, not is_blocklisted
...
follow-up to df321234c0
2024-03-31 18:50:01 -07:00
Ryan Barrett
55b8063aa8
hub: drop a bunch of unnecessary imports
2024-03-31 18:50:01 -07:00
Ryan Barrett
4ed45e5af5
atproto: pass new ndb_client kwarg to DatastoreStorage constructor
...
for snarfed/lexrpc#8
2024-03-31 18:50:01 -07:00
dependabot[bot]
798db9b606
build(deps): bump lxml from 5.1.0 to 5.1.1
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/lxml/lxml/releases )
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt )
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.1.0...lxml-5.1.1 )
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 05:53:59 -07:00
dependabot[bot]
e86b95a117
build(deps): bump google-cloud-error-reporting from 1.10.0 to 1.11.0
...
Bumps [google-cloud-error-reporting](https://github.com/googleapis/python-error-reporting ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/googleapis/python-error-reporting/releases )
- [Changelog](https://github.com/googleapis/python-error-reporting/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-error-reporting/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: google-cloud-error-reporting
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 05:53:16 -07:00
Ryan Barrett
df321234c0
load and include Web.manual_opt_out users in Protocol.is_blocklisted
2024-03-28 09:18:35 -07:00
dependabot[bot]
c1f0d6b0dd
build(deps): bump pyasn1 from 0.5.1 to 0.6.0
...
Bumps [pyasn1](https://github.com/pyasn1/pyasn1 ) from 0.5.1 to 0.6.0.
- [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.1...v0.6.0 )
---
updated-dependencies:
- dependency-name: pyasn1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 05:33:20 -07:00
dependabot[bot]
0676a64ffc
build(deps): bump pyasn1-modules from 0.3.0 to 0.4.0
...
Bumps [pyasn1-modules](https://github.com/pyasn1/pyasn1-modules ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/pyasn1/pyasn1-modules/releases )
- [Changelog](https://github.com/pyasn1/pyasn1-modules/blob/main/CHANGES.txt )
- [Commits](https://github.com/pyasn1/pyasn1-modules/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: pyasn1-modules
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 05:27:02 -07:00
Ryan Barrett
be4e85ebd5
add missing Object-feed-created index
...
fixes https://console.cloud.google.com/errors/detail/CO-fpZfMq_6ktgE;time=P30D?project=bridgy-federated
2024-03-24 08:59:54 -04:00
Ryan Barrett
5a1dda151c
ATProto.create_for: better support for local testing
2024-03-24 08:59:54 -04:00
Ryan Barrett
e5fde2deb6
hub.py: remove unused import
2024-03-24 08:59:54 -04:00
dependabot[bot]
f6969c5812
build(deps): bump google-cloud-ndb from 2.3.0 to 2.3.1
...
Bumps [google-cloud-ndb](https://github.com/googleapis/python-ndb ) from 2.3.0 to 2.3.1.
- [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.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: google-cloud-ndb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-22 05:57:40 -07:00
dependabot[bot]
ca390a6ac7
build(deps): bump typing-validation from 1.2.10.post4 to 1.2.11.post1
...
Bumps [typing-validation](https://github.com/hashberg-io/typing-validation ) from 1.2.10.post4 to 1.2.11.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-03-18 05:23:54 -07:00
dependabot[bot]
e37c2b2b9a
build(deps): bump google-cloud-logging from 3.9.0 to 3.10.0
...
Bumps [google-cloud-logging](https://github.com/googleapis/python-logging ) from 3.9.0 to 3.10.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.9.0...v3.10.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>
2024-03-15 06:02:47 -07:00
Ryan Barrett
048cd17ba5
bug fix for pds_for change in e86763f: don't use Object.as1 since that infinite loops
2024-03-14 21:16:09 -07:00
Ryan Barrett
e86763f654
Object.as1 from bsky: bug fix for PDS in getBlob image URLs
2024-03-14 20:26:46 -07:00
Ryan Barrett
878bbde328
atproto: handle bsky.app URLs in load, not fetch
2024-03-14 15:40:25 -07:00
Ryan Barrett
9b2bb9ef37
make ATProto.load([DID]) return the profile record by default
...
add did_doc kwarg to make it return the DID doc instead
2024-03-13 16:08:08 -07:00
Ryan Barrett
5eac0e06d0
deps: upgrade google-api-core to 2.17.1
2024-03-13 16:07:09 -07:00
Ryan Barrett
69e4b039e9
atproto: update authed_as, actor authz checks in poll_*
2024-03-13 15:41:03 -07:00
Ryan Barrett
bad7052663
atproto: add delete support
2024-03-13 14:47:48 -07:00
Ryan Barrett
d667c8ece4
atproto: add update support
2024-03-13 14:40:31 -07:00
Ryan Barrett
6325f0e94c
temporarily disable /bridge-user tests, for 245ef44
2024-03-13 13:53:30 -07:00
Ryan Barrett
245ef444f5
disable /bridge-user until Bluesky launch
2024-03-13 13:19:34 -07:00
Ryan Barrett
7bf29d411f
atproto: only enable indieweb.org and snarfed.org, for now
2024-03-13 13:07:30 -07:00
Ryan Barrett
663063e06c
test_integrations: add ATProto => Web follow
2024-03-12 21:41:05 -07:00
Ryan Barrett
7e7556bb02
Web.load: support domain ids, convert to homepage URLs
2024-03-12 21:09:34 -07:00
Ryan Barrett
be56539eb2
ATProto.send: explicitly ignore accepts, undos
2024-03-12 20:48:23 -07:00
Ryan Barrett
aea4880e6f
ATProto.convert: fill in strongRef URIs with DIDs as well as CID
...
also error handling in ATProto.fetch for failed getRecord requests
2024-03-12 14:45:48 -07:00
Ryan Barrett
7edb5a5da9
noop, prune more Object properties from write logging
2024-03-12 11:12:34 -07:00
Ryan Barrett
cf4d105c3e
atproto: when creating new commits, fetch remote objects' CIDs if necessary
...
fixes sending likes, reposts, etc to ATProto
2024-03-12 11:12:34 -07:00
Ryan Barrett
c9c74ac6b3
suppress many Protocol.load logging messages
2024-03-12 11:12:34 -07:00
dependabot[bot]
7d665ec7a5
build(deps): bump packaging from 23.2 to 24.0
...
Bumps [packaging](https://github.com/pypa/packaging ) from 23.2 to 24.0.
- [Release notes](https://github.com/pypa/packaging/releases )
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/packaging/compare/23.2...24.0 )
---
updated-dependencies:
- dependency-name: packaging
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 06:01:29 -07:00
dependabot[bot]
c9e2f2c08c
build(deps): bump requests-oauthlib from 1.3.1 to 1.4.0
...
Bumps [requests-oauthlib](https://github.com/requests/requests-oauthlib ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/requests/requests-oauthlib/releases )
- [Changelog](https://github.com/requests/requests-oauthlib/blob/master/HISTORY.rst )
- [Commits](https://github.com/requests/requests-oauthlib/compare/v1.3.1...v1.4.0 )
---
updated-dependencies:
- dependency-name: requests-oauthlib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 05:37:29 -07:00
Ryan Barrett
0f823b6845
atproto: switch PDS hostname to atproto.brid.gy
...
matches the hostname that's currently whitelisted in the federation beta test
2024-03-11 15:31:31 -07:00
Ryan Barrett
c0b75e4fbd
Protocol.load: return None if the entity is too big
...
fixes https://console.cloud.google.com/errors/detail/CO-fpZfMq_6ktgE;time=P30D?project=bridgy-federated
2024-03-11 15:31:31 -07:00
Ryan Barrett
51254f67de
atproto: tweak profile label, add bridgy-fed-
2024-03-11 15:31:31 -07:00