Wykres commitów

2264 Commity (main)

Autor SHA1 Wiadomość Data
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
Ryan Barrett b6be345921
UI: refactor actor link rendering into User.user_link / Object.actor_link 2024-04-29 12:27:00 -07:00
Ryan Barrett ea5a4cf9c3
docs: switch to plain bridgy logo 2024-04-29 11:55:50 -07:00
Ryan Barrett bf70ddd348
user pages UI: don't show user in every activity on profile and feed pages
it's redundant
2024-04-29 11:26:28 -07:00
Ryan Barrett 0e5be92f08
docs for Bluesky!
fixes #823
2024-04-29 07:11:12 -07:00
Ryan Barrett 74dc22104f
start refactoring docs in preparation for bluesky
for #823
2024-04-29 07:11:12 -07:00
dependabot[bot] 2e5af56e87 build(deps): bump flask-caching from 2.1.0 to 2.2.0
Bumps [flask-caching](https://github.com/pallets-eco/flask-caching) from 2.1.0 to 2.2.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.1.0...v2.2.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-04-29 05:52:30 -07:00
Ryan Barrett e5c12c4595
update protocol bot user data to match snarfed/granary@ac14727 2024-04-28 12:09:39 -07:00
Ryan Barrett be63f45b7d
tweak fed.brid.gy bot user description 2024-04-28 10:52:32 -07:00
Ryan Barrett b6845246e9
fix protocol bot users' image URLs
re: #967
2024-04-28 08:14:55 -07:00
Ryan Barrett 2a4146fe74
update profile UI: link handle in flashed message 2024-04-28 06:50:46 -07:00
Ryan Barrett 9617d8ab71
move Protocol.is_enabled to User.is_enabled 2024-04-27 20:34:37 -07:00
Ryan Barrett cbe4b59206
convert Protocol.is_enabled_to to an instance method
next commit will move it to User
2024-04-27 20:27:33 -07:00
Ryan Barrett 71cb803840
user page bug fix for direct vs enabledd
need to drop direct!
2024-04-27 09:54:13 -07:00
Ryan Barrett aa5701e158
ATProto.create_report: truncate reason string if it's too long
for snarfed/granary#717
2024-04-26 16:12:15 -07:00
Ryan Barrett 853b4be142
ATroto.send: for flag activities, send createReport to mod service
for snarfed/granary#596. background:
* https://docs.bsky.app/docs/advanced-guides/moderation#reporting
* https://github.com/bluesky-social/atproto/discussions/2350#discussioncomment-8847613
* https://github.com/snarfed/granary/issues/596
2024-04-26 13:59:04 -07:00
Ryan Barrett 4012b13a5a
User: add delete as a type that expires 2024-04-26 09:59:08 -07:00
Ryan Barrett 267cd25909
add /bsky to robots.txt 2024-04-26 09:57:26 -07:00
Ryan Barrett c065c712f1
more id/handle translation tweaks for protocol bot users
hopefully fixes Accept actor for responding to bot user follows in AP
2024-04-25 14:29:48 -07:00
Ryan Barrett 1d20befe7e
Protocol.receive: always wrap actor objects in update, not post/create 2024-04-25 13:45:27 -07:00
Ryan Barrett 8fe2bb47f6
update ap.brid.gy bot user bio 2024-04-25 12:44:27 -07:00
Ryan Barrett dd1d53c28b
allow receive tasks for protocol bot domains, for update profile button 2024-04-25 12:39:04 -07:00
Ryan Barrett 3d84dc4d36
don't show protocol bot users in their own protocols 2024-04-25 11:21:33 -07:00
Ryan Barrett d6a10b4be0
update profile button: make receive task instead of running it inline 2024-04-24 17:06:25 -07:00
Ryan Barrett 41b2aaa1a8
incoming DMs to protocol bot users: filter out @-mentions
for #880
2024-04-24 16:45:43 -07:00
Ryan Barrett 06bf3bf534
receive: drop activity if protocol doesn't own actor
it's probably from a bridged user, and we only want to handle original activities, not bridged ones.

fixes https://console.cloud.google.com/errors/detail/CM6i4sH4176iaQ;time=P30D?project=bridgy-federated
2024-04-24 15:57:00 -07:00
Ryan Barrett 3c62f7cfcc
give up on email for now, still can't get SMTP to work
Gmail SMTP is unhappy with auth, even though I got it to work on https://shell-py3.appspot.com/ , and Gandi SMTP seems to block Google Cloud IPs. sigh.
2024-04-24 15:30:20 -07:00
Ryan Barrett a79dc45b28
email: update from address 2024-04-24 15:07:42 -07:00
Ryan Barrett bfed0452b9
ATProto polls: skip notifs/posts we've already handled 2024-04-24 15:06:49 -07:00
Ryan Barrett 55ae9fd2bb
User.enable/disable_protocol: move email out of datastore tx 2024-04-24 14:34:52 -07:00
Ryan Barrett b543fdb1d5
switch to Gmail SMTP, other minor tweaks 2024-04-24 14:26:20 -07:00
Ryan Barrett def8c3d535
docs: remove link to obsolete error handling section
thanks for the catch @jernst!
2024-04-24 11:42:27 -07:00
Ryan Barrett ece168fac1
email me when someone enables or disables a protocol 2024-04-24 11:15:28 -07:00