dependabot[bot]
5dbde70ad5
build(deps): bump flask-caching from 2.2.0 to 2.3.0
...
Bumps [flask-caching](https://github.com/pallets-eco/flask-caching ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/pallets-eco/flask-caching/releases )
- [Changelog](https://github.com/pallets-eco/flask-caching/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets-eco/flask-caching/compare/v2.2.0...v.2.3.0 )
---
updated-dependencies:
- dependency-name: flask-caching
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 05:53:21 -07:00
Ryan Barrett
c943e6fd87
/update-profile: bug fix for when user profile fetch fails
...
fixes https://console.cloud.google.com/errors/detail/CLzStOz_oPfYxwE;time=P30D?project=bridgy-federated
2024-05-05 19:22:11 -07:00
Ryan Barrett
515be28cdd
Protocol.receive: automatically send to ATProto PDS if user has ATProto enabled
...
for #999
2024-05-05 17:21:24 -07:00
Ryan Barrett
c608ecaa36
noop: misc constants cleanup
2024-05-05 16:35:23 -07:00
Ryan Barrett
01d42f87a6
docs: revise Bluesky polling delay
2024-05-05 14:25:16 -07:00
Ryan Barrett
12d41ad4c0
first pass at FEDERATION.md file
...
fixes #477
2024-05-05 13:52:27 -07:00
Ryan Barrett
efedc49cc0
AP: implement FEP-2677: add instance actor to nodeinfo
...
https://codeberg.org/fediverse/fep/src/branch/main/fep/2677/fep-2677.md
2024-05-05 13:02:44 -07:00
Ryan Barrett
ca8745d317
docs: historical posts sometimes but only best effort
2024-05-05 11:19:18 -07:00
Ryan Barrett
252ea7e3e1
docs: bluesky doesn't support edits
...
for #947
2024-05-05 09:04:53 -07:00
Ryan Barrett
c345d95b5e
webfinger: add a self link with type application/activity+json
...
for interop with some fediverse servers like Pleroma (and Akkoma etc) that are unnecessarily picky about which self content type they use from XRD vs JRD.
for #995 . thanks @qazmlp!
2024-05-05 08:39:38 -07:00
Ryan Barrett
034236f4cf
AP: don't duplicate security context in @context in bot users
...
fixes #1003 . thanks @grishka!
2024-05-05 08:29:47 -07:00
Ryan Barrett
c98d8fce00
switch ATProto polling from cursor to indexedAt
...
for #954
2024-05-05 07:31:12 -07:00
Ryan Barrett
6f0f53bdb8
ATProto post polling: stop using cursor
...
this was unintentionally walking backward and backfilling
for #954
2024-05-05 07:31:09 -07:00
Ryan Barrett
c0e02210c6
ATProto: drop manual GC in polling
...
for #954
2024-05-05 07:31:05 -07:00
Ryan Barrett
0911d71e76
temporarily switch ATProto polling from hub to default service
...
for #954
2024-05-05 07:30:58 -07:00
Ryan Barrett
0781a4c695
AP inbox delivery: return 422 when a user with a bad handle follows the bot user
...
for #982
2024-05-04 13:39:39 -07:00
Ryan Barrett
cb79bf5b58
bump up hub to 2G memory, explicitly GC during polls
2024-05-04 13:28:12 -07:00
Ryan Barrett
832b7a0276
ATProto poll notifs: limit 100 for protocol bot users
...
try to make sure we don't miss any follows until we switch to firehose in #978
for https://github.com/snarfed/bridgy-fed/issues/997
2024-05-04 08:42:44 -07:00
Ryan Barrett
9a0e278004
docs: fediverse usernames can't contain Unicode or start or end with _, -, ~
...
for https://github.com/snarfed/bridgy-fed/issues/982
2024-05-03 21:18:16 -07:00
Ryan Barrett
a576e54796
ATProto polling: include limit even with cursor
2024-05-03 15:40:57 -07:00
Ryan Barrett
00464ccfd0
bump up receive task queue rate
2024-05-03 15:31:35 -07:00
Ryan Barrett
2bf526ab7c
refactor validating handles in ATProto and elsewhere
...
for https://github.com/snarfed/bridgy-fed/issues/982
2024-05-03 15:18:16 -07:00
Ryan Barrett
b8e67829e3
ids.translate_handle: validate ATProto handles
...
https://atproto.com/specs/handle#handle-identifier-syntax
for https://github.com/snarfed/bridgy-fed/issues/982
2024-05-03 14:51:26 -07:00
Ryan Barrett
f3bbf2b4c9
ATProto: don't poll posts for opted out users
2024-05-03 13:59:29 -07:00
Ryan Barrett
2f1ec8779f
ATProto: start using cursors in feed and notif polls
...
for #954
2024-05-03 12:54:59 -07:00
Ryan Barrett
8c438a50dc
docs: temporarily hide DM stuff since we don't actually do those yet
2024-05-03 12:27:46 -07:00
Ryan Barrett
ac567ee5b7
bump up task queue rates to handle new volume
2024-05-03 11:00:28 -07:00
Ryan Barrett
9982372e82
fix bugs in bot user bios
...
from af7c69459e
2024-05-03 10:29:11 -07:00
Ryan Barrett
af7c69459e
add loud beta testing warnings to front page, docs, bot user profiles
2024-05-03 09:52:37 -07:00
Ryan Barrett
f4a0c3deaa
fix tests for 7b3fa6e82b
2024-05-02 20:22:35 -07:00
Ryan Barrett
7b3fa6e82b
ATProto: switch polling posts from getTimeline to getAuthorFeed
...
for #992
2024-05-02 20:11:21 -07:00
Ryan Barrett
1bcd675ecd
Bluesky _/~ => - characters in handles: docs, another test
...
for #982
2024-05-02 15:54:41 -07:00
Ryan Barrett
4b95d49ccc
ids.translate_handle: convert _ and ~ chars to - for Bluesky
...
hopefully fixes #982
2024-05-02 15:41:41 -07:00
Ryan Barrett
533ed7441d
docs: mention Bluesky polling delay in getting started
2024-05-02 14:51:06 -07:00
Ryan Barrett
91638ef8bb
bring back self replies check, only send self replies to followers
...
revises 073ce475e5
, #981 , #950 , #949
2024-05-02 13:39:10 -07:00
Ryan Barrett
3094b45bd2
lots of docs updates for Bluesky
...
fixes #989 , cc #987 and others
2024-05-02 12:24:31 -07:00
Ryan Barrett
0cfd188fd4
Protocol.targets fix for bug introduced in 073ce475e5
...
fixes https://console.cloud.google.com/errors/detail/CIzN5p2u2IPGpQE;time=P30D?project=bridgy-federated
2024-05-01 18:53:09 -07:00
Ryan Barrett
073ce475e5
Protocol.receive: bridge replies to followers where in-reply-to already is
...
...ie if it's on the follower's protocol, either native or bridged.
for #981 , #950 , #949
not confident in this, despite the tests. worried it will either over- or under-deliver. guess we'll see.
2024-05-01 17:45:48 -07:00
Ryan Barrett
ee9bb53745
ATProto: drop trailing slash from PDS URL
...
the ATProto DID spec says it shouldn't be there: https://atproto.com/specs/did#did-documents
> The serviceEndpoint field must contain an HTTPS URL of server. It should contain only the URI scheme (http or https), hostname, and optional port number, not any "userinfo", path prefix, or other components.
thanks for the nudge @mackuba!
2024-05-01 17:45:48 -07:00
dependabot[bot]
38ecaf3d0b
build(deps): bump jsonschema from 4.21.1 to 4.22.0
...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema ) from 4.21.1 to 4.22.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.21.1...v4.22.0 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 05:46:29 -07:00
dependabot[bot]
7d0ee92da5
build(deps): bump grpcio from 1.62.2 to 1.63.0
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.62.2 to 1.63.0.
- [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.62.2...v1.63.0 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 05:45:53 -07:00
Ryan Barrett
0ddb1255f4
UI: fix main user link on user pages to be external
2024-04-30 16:13:31 -07:00
Ryan Barrett
50dce84d68
minor front page language tweak
2024-04-30 16:04:09 -07:00
Ryan Barrett
edea743c58
front page: add clipboard copy buttons for fediverse addresses
...
for #979
2024-04-30 14:44:34 -07:00
Ryan Barrett
370fcb95a7
add Bluesky to the front page
...
fixes #979
2024-04-30 14:44:33 -07:00
Ryan Barrett
fb886ee86a
docs, front page: update Bluesky links from blueskyweb.xyz to bsky.social
2024-04-30 14:44:33 -07:00
Ryan Barrett
1111800e6f
update home page text for Bluesky
...
for #979
2024-04-30 14:44:32 -07:00
Ryan Barrett
f668a53f74
User.is_enabled: if a user explicitly opts in, override profile opt outs
...
fixes #974
2024-04-30 12:38:43 -07:00
Ryan Barrett
5071685c1b
noop: move is_enabled tests from test_protocol to test_models
2024-04-30 12:31:48 -07:00
Ryan Barrett
c8ca31554b
AP: strip Link attachments since fedi instances generate their own link previews
...
hopefully fixes #958
2024-04-29 15:13:12 -07:00