Wykres commitów

184 Commity (9eaab23bcc95d22afc65fff6618263e4f21e66eb)

Autor SHA1 Wiadomość Data
Ryan Barrett 9eaab23bcc
hook up python eval endpoint up in router, hub 2025-01-10 10:21:40 -08:00
Ryan Barrett a5371582b1
add temporary python eval debugging endpoint to all three services 2025-01-10 09:33:39 -08:00
Ryan Barrett e8b201dc33
extract memcache logic out into new memcache.py file 2025-01-09 17:10:05 -08:00
Ryan Barrett 1aca15ee1e
drop User.direct
subsumed by User.enabled_protocols. for #973
2025-01-06 20:06:23 -08:00
Ryan Barrett 3e17806401
RSS feeds: add default email address so that author gets populated
for https://github.com/snarfed/granary/pull/847
2024-12-23 12:54:13 -08:00
Ryan Barrett 0d82d49034
make remote follow handle non-web users
for #1640. thanks for reporting @mistrk7!
2024-12-20 10:07:51 -08:00
Ryan Barrett 572ca2c9ab
Revert "temporarily disable tasklet patch and hydrating objects/authors in pages.serve_feed"
This reverts commit 01ba8b5d50.

didn't help with ndb caching

for #1149
2024-12-19 16:41:55 -08:00
Ryan Barrett 01ba8b5d50
temporarily disable tasklet patch and hydrating objects/authors in pages.serve_feed
for https://github.com/snarfed/bridgy-fed/issues/1149#issuecomment-2555798869
2024-12-19 13:25:34 -08:00
Ryan Barrett 604a7f6aaf
minimal HTTP memcache proxy in new /memcache endpoint
for #1472
2024-12-13 22:00:27 -08:00
Ryan Barrett 7818fb37fb
drop /stats page 2024-12-04 07:48:40 -08:00
Ryan Barrett 2eca1c074c
AP: strip internal content_is_html field before sending activities
for #1584, maybe
2024-12-02 12:44:26 -08:00
Ryan Barrett 8335b2216f
pages.load_user: when querying by handle, exclude opt out, blocked
for #1451
2024-11-03 12:39:22 -08:00
Ryan Barrett 2cd127bb5a
/update-profile: for Web users, try to set ATProto handle to domain
for #826
2024-10-28 21:23:11 -07:00
Ryan Barrett a452f288fe
send and receive tasks: switch from url-safe Object key to string id
will affect all send tasks, but only update-profile receive tasks, the rest already switched to passing Object properties in the HTTP request directly
2024-10-11 08:53:21 -07:00
Ryan Barrett 2a13b83084
ATProto: reload DID doc along with profile when necessary
for #1334
2024-10-03 17:06:46 -07:00
Ryan Barrett 7015262315
/update-profile: fix ugly bug for Web users that deleted their profiles
introduced in 4df76d0db7
2024-09-22 12:57:09 -07:00
Ryan Barrett 4df76d0db7
when we get a delete, or a web user opts out, delete their copies in other protocols
for #1304
2024-09-16 18:27:04 -07:00
Ryan Barrett 00d4e65e7e
nodeinfo: switch atproto to atprotocol
...to match https://github.com/jhass/nodeinfo/pull/100
2024-09-11 11:13:58 -07:00
Ryan Barrett 9d2019fdca
minor nodeinfo tweaks
https://nodeinfo.diaspora.software/schema.html
2024-08-08 20:16:17 -07:00
Ryan Barrett 5bcb230d39
drop /bridge-user 2024-07-22 20:45:22 -07:00
Ryan Barrett 2a63b1cc27
nodeinfo: log total user count 2024-07-20 15:19:29 -07:00
Ryan Barrett 733af4aafa
AP: add AP, ATProto users to nodeinfo total users
oops 😆
2024-06-26 11:39:09 -07:00
Ryan Barrett 6eda331946
user page UI: apply status to query by handle as well as get_by_id 2024-06-23 08:03:22 -07:00
Ryan Barrett 83893d0ea7
HTTP caching headers: switch to flask_util.headers
for #432, fixes https://console.cloud.google.com/errors/detail/CMK10__x4ZbgbQ;time=P7D;refresh=true?project=bridgy-federated
2024-06-04 14:19:39 -07:00
Ryan Barrett d0ca690dc4
HTTP Cache-Control header bug fix, use integer seconds for max-age, not float
for #432
2024-05-30 17:12:45 -07:00
Ryan Barrett 9c4888b02e
switch from flask_util.cached to HTTP caching, suppress some verbose logging 2024-05-30 14:55:35 -07:00
Ryan Barrett 8f5d8221a9
add ids.profile_id, use everywhere
for #566
2024-05-29 16:18:15 -07:00
Ryan Barrett 1de49de720
update-profile: pass user id to receive task authed_as, not handle
for #566
2024-05-28 14:54:31 -07:00
Ryan Barrett f533479e0b
noop: drop unused flask.g imports 2024-05-07 17:14:59 -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 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 2a4146fe74
update profile UI: link handle in flashed message 2024-04-28 06:50:46 -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 d6a10b4be0
update profile button: make receive task instead of running it inline 2024-04-24 17:06:25 -07:00
Ryan Barrett 115d85909a
abstract "update profile" button across protocols
adds new /[protocol]/[id]/update-profile endpoint
2024-04-22 20:21:56 -07:00
Ryan Barrett 2085b131a1
atproto user pages: render DIDs as handles with profile links
for #825
2024-04-12 12:34:49 -07:00
Ryan Barrett 117e121cd2
atproto: populate author in feeds (Atom, RSS, etc) 2024-04-12 12:04:52 -07:00
Ryan Barrett f67cecd8f9
add copy protocol (eg ATProto) handles to user pages 2024-04-12 07:16:05 -07:00
Ryan Barrett 817ef1d5d6
user pages: only hide indirect AP users, not ATProto 2024-04-11 14:24:18 -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 245ef444f5
disable /bridge-user until Bluesky launch 2024-03-13 13:19:34 -07:00
Ryan Barrett 907e6e7aeb
show Web user page even when direct is False
not other protocols though
2024-01-22 13:12:20 -08:00
Ryan Barrett 74d1c69bbf
docs, nodeinfo: update a few email addresses to @brid.gy 2024-01-17 14:37:27 -08:00
Ryan Barrett 1ce19c2928
nodeinfo: stop counting posts and comments dynamically
queries have gotten too heavy, sadly
2023-12-31 09:21:04 -08:00
Ryan Barrett 49eb9b8541
add Mastodon instance info at /api/v1/instance
https://docs.joinmastodon.org/methods/instance/#v1

right now just for FediSeer: https://fediseer.com/faq/eng#how-can-i-claim-my-instance
2023-12-31 08:42:26 -08:00
Ryan Barrett 79ffc88925
hide undo activities from feeds
for #768
2023-12-26 20:42:22 -08:00
Ryan Barrett 1ec1fc2482
genericize user handles on UI follower/following pages 2023-11-27 21:40:01 -08:00
Ryan Barrett 004726d397
fix followers/ing UI page for AP users
fixes #718
2023-11-27 21:01:02 -08:00
Ryan Barrett 8f0d2d8650
AP: handle opted out users in following/ers, outbox collections 2023-11-27 11:32:30 -08:00
Ryan Barrett 6091cd4063
drop the rest of g.user!
for #690
2023-11-25 20:38:28 -08:00