Ryan Barrett
69a158aee5
suppress bs4 DeprecationWarning, 'strip_cdata' option of HTMLParser
...
local/lib/python3.11/site-packages/bs4/builder/_lxml.py:124: DeprecationWarning: The 'strip_cdata' option of HTMLParser() has never done anything and will eventually be removed.
introduced in lxml 5.3.0, d31d21396c
2024-08-12 13:51:50 -07:00
Ryan Barrett
fa170253fe
/convert/: check that object (if necessary) and user are bridged
...
for #1248 , https://github.com/snarfed/bridgy-fed/security/advisories/GHSA-6q9w-mpqc-j4j4
2024-08-12 13:51:50 -07:00
Ryan Barrett
497136f1fc
cache Protocol.for_handle
2024-08-12 13:39:11 -07:00
Ryan Barrett
e21dabe98d
noop: Protocol.targets refactoring, source protocol isn't in to_protocols
...
for #1248
2024-08-12 13:39:10 -07:00
Ryan Barrett
67567ca589
noop: Protocol.targets refactoring for to_protocols loop
2024-08-12 13:39:10 -07:00
dependabot[bot]
aa5ed8368c
build(deps): bump gunicorn from 22.0.0 to 23.0.0
...
Bumps [gunicorn](https://github.com/benoitc/gunicorn ) from 22.0.0 to 23.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/22.0.0...23.0.0 )
---
updated-dependencies:
- dependency-name: gunicorn
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 07:04:55 -07:00
dependabot[bot]
d31d21396c
build(deps): bump lxml from 5.2.2 to 5.3.0
...
Bumps [lxml](https://github.com/lxml/lxml ) from 5.2.2 to 5.3.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.2.2...lxml-5.3.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-08-12 05:40:05 -07:00
Ryan Barrett
5d5a983564
Protocol.bot_follow: handle when user has no profile obj
...
fixes https://console.cloud.google.com/errors/detail/CIvu-KTludO5LA;time=P1D;locations=global?project=bridgy-federated
2024-08-11 08:51:08 -07:00
Ryan Barrett
eebea504b6
Protocol.bot_dm: handle when recipient has no profile obj
...
fixes https://console.cloud.google.com/errors/detail/CIGR6crBlMKMBg;locations=global;time=P30D?project=bridgy-federated
2024-08-11 08:41:44 -07:00
Ryan Barrett
a91c8087fb
ATProto.send: gracefully handle updates/deletes that don't match original AT URI
...
for eg #1252
2024-08-11 07:42:10 -07:00
Ryan Barrett
058099a98e
docs link bug fix
...
fixes #1249
2024-08-09 21:51:59 -07:00
Ryan Barrett
21fb033ac7
Web.verify: if redirect destination is right, ignore HTTP status code
...
we now return 404 if the user doesn't have `has_redirects` set yet, so we need to break that loop 😀
fixes #1247
2024-08-09 12:12:27 -07:00
Ryan Barrett
1494fe3fe6
opt_out.py: kbin.social is dead
2024-08-09 12:12:27 -07:00
Ryan Barrett
b0f6b1799b
Protocol.bot_dm: log full text
2024-08-09 12:12:26 -07:00
dependabot[bot]
9ec25a98fc
build(deps): bump pyyaml from 6.0.1 to 6.0.2
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/main/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.1...6.0.2 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 05:30:28 -07:00
Ryan Barrett
07b8a3de1d
User.enable_protocol: fill in real welcome DM message
...
for #1024 , #966 , etc
2024-08-08 22:21:40 -07:00
Ryan Barrett
925771562f
add Protocol.SUPPORTS_DMS
...
for #1024 , #966 , etc
2024-08-08 20:41:57 -07:00
Ryan Barrett
cd0a4bce9e
AP: add outbound DM support
...
for #1024 , #966 , etc
2024-08-08 20:35:56 -07:00
Ryan Barrett
23aa24eb4f
User.enable_protocol: send welcome DM
...
via new Protocol.bot_dm method
for #1024 , #966 , etc
2024-08-08 20:17:06 -07:00
Ryan Barrett
37c781a2df
ATProto.send: handle DMs, translate and send as chat messages
...
for #1024 , #966 , etc
2024-08-08 20:17:06 -07:00
Ryan Barrett
356903c3e9
test_pages: test www special case domains
...
for #1244
2024-08-08 20:16:17 -07:00
Ryan Barrett
9d2019fdca
minor nodeinfo tweaks
...
https://nodeinfo.diaspora.software/schema.html
2024-08-08 20:16:17 -07:00
dependabot[bot]
02bea06ba9
build(deps): bump cffi from 1.16.0 to 1.17.0
...
Bumps [cffi](https://github.com/python-cffi/cffi ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/python-cffi/cffi/releases )
- [Commits](https://github.com/python-cffi/cffi/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: cffi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 05:11:56 -07:00
dependabot[bot]
82e8db7354
build(deps): bump attrs from 24.1.0 to 24.2.0
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 24.1.0 to 24.2.0.
- [Commits](https://github.com/sponsors/hynek/commits )
---
updated-dependencies:
- dependency-name: attrs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 05:11:42 -07:00
Ryan Barrett
a96209a333
AP inbox: check that activity is public before verifying signature
2024-08-07 13:09:37 -07:00
Ryan Barrett
848313dfd4
ATProto.send_chat: handle 400 from getConvoForMembers, sendMessage
...
for #1024 , #966 , etc
2024-08-07 13:09:37 -07:00
Ryan Barrett
c8d6ba510f
add ATProto.send_chat
...
for #1024 , #966 , #758 , etc
2024-08-07 13:09:37 -07:00
Ryan Barrett
a49fa0d5e0
ids.translate_handle: test AP => ATProto error for leading/trailing dash
2024-08-07 13:09:37 -07:00
Ryan Barrett
c4f75bfbd0
noop: ATProto.create_report: fix log message
2024-08-07 13:09:37 -07:00
dependabot[bot]
ba1a987f4d
build(deps): bump google-api-python-client from 2.139.0 to 2.140.0
...
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client ) from 2.139.0 to 2.140.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases )
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.139.0...v2.140.0 )
---
updated-dependencies:
- dependency-name: google-api-python-client
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 05:30:00 -07:00
dependabot[bot]
8949a2aa55
build(deps): bump google-cloud-logging from 3.11.0 to 3.11.1
...
Bumps [google-cloud-logging](https://github.com/googleapis/python-logging ) from 3.11.0 to 3.11.1.
- [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.11.0...v3.11.1 )
---
updated-dependencies:
- dependency-name: google-cloud-logging
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 05:29:46 -07:00
Ryan Barrett
0f14410cf2
User.get_or_create: consolidate puts better
...
c47f364
caused lots of contention, this hopefully fixes that. https://console.cloud.google.com/errors/detail/CJm_4sDv9O-iKg;time=P1D;locations=global?project=bridgy-federated
2024-08-06 11:57:18 -07:00
Ryan Barrett
479acea657
move Web.verify from /web-site handler to Web.get_or_create
...
for #1232
2024-08-06 11:07:13 -07:00
Ryan Barrett
73bb498505
ids: demote a couple log messages to debug
2024-08-06 11:05:40 -07:00
Ryan Barrett
5f1a99d6cd
Protocol.translate_ids: support multiple objects
2024-08-05 21:22:41 -07:00
Ryan Barrett
124718ecc7
ATProto.create_report bug fix: include JWT
2024-08-05 19:38:52 -07:00
Ryan Barrett
978f1f7019
noop: activitypub: existing server actor test, ignore 'ap' protocol label
2024-08-05 19:20:57 -07:00
Ryan Barrett
c47f3640e6
User.get_or_create: cut down extra puts
2024-08-05 13:48:44 -07:00
Ryan Barrett
29482d1c66
AP: automatically bridge server/instance actors
...
for #1184
2024-08-05 13:34:55 -07:00
Ryan Barrett
14548dcaf6
add flag to ATProto.SUPPORTED_AS1_TYPES
2024-08-05 13:34:55 -07:00
Ryan Barrett
6a0a0fbdc6
webfinger: don't serve domain@domain for web users without redirects
...
for #911 , #1025
2024-08-05 13:34:54 -07:00
Ryan Barrett
1fc67fcd88
opt_out.py: tweak list of fediverse inboxes
2024-08-05 13:34:54 -07:00
dependabot[bot]
b70bdffb22
build(deps): bump attrs from 23.2.0 to 24.1.0
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 23.2.0 to 24.1.0.
- [Commits](https://github.com/sponsors/hynek/commits )
---
updated-dependencies:
- dependency-name: attrs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 05:54:04 -07:00
dependabot[bot]
f604fae16c
build(deps): bump grpcio from 1.65.2 to 1.65.4
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.65.2 to 1.65.4.
- [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.65.2...v1.65.4 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 05:20:52 -07:00
Ryan Barrett
3acde571ad
more minor logging optimizations
...
for https://github.com/snarfed/bridgy-fed/issues/1149
2024-08-02 10:39:25 -07:00
Ryan Barrett
70dd6d3ceb
minor logging optimizations
...
for https://github.com/snarfed/bridgy-fed/issues/1149
2024-08-02 08:03:44 -07:00
dependabot[bot]
a032062839
build(deps): bump pyjwt from 2.8.0 to 2.9.0
...
Bumps [pyjwt](https://github.com/jpadilla/pyjwt ) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases )
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0 )
---
updated-dependencies:
- dependency-name: pyjwt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 05:50:32 -07:00
dependabot[bot]
8ad58dbe82
build(deps): bump redis from 5.0.7 to 5.0.8
...
Bumps [redis](https://github.com/redis/redis-py ) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/redis/redis-py/releases )
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES )
- [Commits](https://github.com/redis/redis-py/compare/v5.0.7...v5.0.8 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 05:50:05 -07:00
Ryan Barrett
5679d696a4
cache models.get_originals in memory
...
for #1149
2024-08-01 16:20:13 -07:00
Ryan Barrett
001bade672
test noop: switch test_cache_policy to use ndb keys, not datastore API keys
...
https://github.com/googleapis/python-ndb/issues/987
2024-08-01 12:51:50 -07:00