Wykres commitów

181 Commity (b847e724838811be08714a06bad83ef65929d136)

Autor SHA1 Wiadomość Data
Ryan Barrett 2cca37af1d
Merge snarfed/bridgy-at repo into bridgy-fed
Dropped most files, only kept XRPC implementations and tests.
2023-01-12 19:30:07 -08:00
Ryan Barrett 2bf2a77584
punt on getRepostedBy for now 2023-01-12 18:05:07 -08:00
Ryan Barrett 39d5485a52
implement empty stub for app.bsky.feed.getVotes 2023-01-12 16:47:30 -08:00
Ryan Barrett 64242f3deb
implement app.bsky.feed.getPostThread 2023-01-12 16:39:21 -08:00
Ryan Barrett 6520331627
incoming Follows: synthesize url into follow object stored in Activity
rendered mf2 HTML proxy pages (in render.py) fall back to redirecting to the follow's AS2 id field, but Mastodon's ids are URLs that don't load in browsers, eg https://jawns.club/ac33c547-ca6b-4351-80d5-d11a6879a7b0. so, set a synthetic URL based on the follower's profile. fixes #336
2023-01-12 12:28:34 -08:00
Ryan Barrett 4e539488a7
inbound AP: handle Undo Follow with composite inner object 2023-01-09 22:58:35 -08:00
Ryan Barrett d2eda25375
unfollow UI
#351

pretty complete, except for activity text snippet rendering
2023-01-09 22:58:35 -08:00
Ryan Barrett a14c58ac47
follow UI: use synthesized follow URL in Activity key id 2023-01-08 22:39:37 -08:00
Ryan Barrett 8cdc5ecc4c
inbound AP: handle Follow with composite object 2023-01-08 17:41:15 -08:00
Ryan Barrett a52df2c269
follow UI: handle URL inputs, eg https://indieweb.social/@snarfed
#351
2023-01-08 15:43:32 -08:00
Ryan Barrett 9bb82e6db3
follow UI: store last_follow, misc bug fixes 2023-01-08 12:03:56 -08:00
Ryan Barrett 91c4200bb3
follow UI: synthesize Follow activity id, store an Activity, link address, form bug fix 2023-01-08 07:11:22 -08:00
Ryan Barrett c50f0e0106
add follow UI to user/[domain]/following
for #351
2023-01-07 09:34:55 -08:00
Ryan Barrett 6e000d348d
noop: add TestCase.as2_resp(), refactor ActivityPubTest to use it 2023-01-07 09:18:11 -08:00
Ryan Barrett aa0dcbb222
noop: drop content type constants in common, use granary's instead 2023-01-06 21:01:33 -08:00
Ryan Barrett 7ac1006021
background task bug fix: override task runner host
we were using request.host_url blindly, which was fed.brid.gy for user-facing requests, but bridgy-federated.uc.r.appspot.com for tasks. #335
2023-01-05 15:05:35 -08:00
Ryan Barrett 512737cc99
add task queue for delivering AP Creates and Updates to followers
fixes #335
2023-01-04 20:48:39 -08:00
Ryan Barrett fe5c3947a8
drop OStatus! it's been unused for years
fixes #282
2023-01-04 19:22:11 -08:00
Ryan Barrett 45f4bd71a2
switch common.utcnow to util.now 2023-01-03 15:41:43 -08:00
Ryan Barrett bb6dd119db
move test data to granary, drop unneeded method stubs 2022-12-30 22:52:56 -08:00
Ryan Barrett f55ef86524
finish implementing getAuthorFeed 2022-12-30 10:10:49 -08:00
Ryan Barrett e5b3307828
app.bsky.feed.getAuthorFeed, in progress 2022-12-28 17:30:22 -08:00
Ryan Barrett 6968d0cb51
stub actor.search and searchTypeahead 2022-12-28 13:11:17 -08:00
Ryan Barrett ab597d11c6
implement getSuggestions stub, switch tests to use Flask test client 2022-12-28 09:46:32 -08:00
Ryan Barrett 55dca2043e
implement actor.getProfile 2022-12-28 09:27:57 -08:00
Ryan Barrett 5f082349d5
/r/ handler: include Accept header in flask cache key
requires pending bug fix https://github.com/pallets-eco/flask-caching/pull/431
2022-12-26 09:52:08 -08:00
Ryan Barrett b86581306b
add XRPC server and method skeletons 2022-12-24 21:08:12 -08:00
Ryan Barrett b4cf56756e
prefix XRPC source files with xrpc_ 2022-12-24 13:38:42 -08:00
Ryan Barrett 0277675cee
initial code skeleton and app scaffolding, largely copied from Bridgy Fed 2022-12-24 08:34:39 -08:00
Ryan Barrett 22d1bcfe9d
incoming webmentions: error if source page fetch fails 2022-12-21 11:57:06 -08:00
Ryan Barrett d4741310e7
common.postprocess_as2 bug fix for multiply valued AS2 url field
fixes https://console.cloud.google.com/errors/detail/CMOZzPLojuud_QE;time=P30D?project=bridgy-federated
2022-12-11 07:28:30 -08:00
Ryan Barrett 8751fea257
harden URL unwrapping a bit, require http(s) URL or domain
fixes https://console.cloud.google.com/errors/detail/CMKn7tqbq-GIRA;time=P30D?project=bridgy-federated
2022-12-10 09:09:44 -08:00
Ryan Barrett 72b8dea8a0
Model.verify: minor redirect error message tweak 2022-12-06 22:41:55 -08:00
Ryan Barrett f72b3abfa0
Model.verify: add error message for non-2xx redirects
for #337
2022-12-06 22:37:56 -08:00
Ryan Barrett a95c2c4b55
incoming follow bug fix, handle www and use_instead
fixes #314
2022-12-06 14:09:44 -08:00
Ryan Barrett 222be38a98
user page: redirect www-stripped users to non-www user pages
for #314
2022-12-02 11:08:24 -08:00
Ryan Barrett 5249bb5a4f
special-case www subdomains, use root domain if it redirects to www
for #314
2022-12-02 10:48:16 -08:00
Ryan Barrett bd4d30f61c
add remote follow link rel to webfinger
https://socialhub.activitypub.rocks/t/what-is-the-current-spec-for-remote-follow/2020/11?u=snarfed
https://github.com/snarfed/bridgy-fed/issues/60#issuecomment-1325589750
and #60
2022-12-01 10:09:57 -08:00
Ryan Barrett 0363db65fa
handle new multi-valued url field in AS2 objects
snarfed/granary@79c512402b
2022-11-30 21:04:41 -08:00
Ryan Barrett 7f9977ee1c
update test for snarfed/granary@0ec0d00 2022-11-30 17:40:22 -08:00
Ryan Barrett dfedb985c7
update tests for
for snarfed/granary@3daa5c0963
2022-11-30 14:18:38 -08:00
Ryan Barrett 98fc3d7a7d
update tests for snarfed/granary@7e75ef85ce 2022-11-30 13:22:13 -08:00
Ryan Barrett ab834f586a
incoming AP Follow bug fix, reactivate if Follower exists and is inactive
thanks again @gregorLove!
2022-11-29 22:43:11 -08:00
Ryan Barrett 795cb34ac1
webfinger: handle bad acct: URI
https://console.cloud.google.com/errors/detail/CKGv-b6impW3Jg;time=P30D?project=bridgy-federated
2022-11-28 17:27:58 -08:00
Ryan Barrett 559f02ad1d
AP actor handler: handle bad domain
https://console.cloud.google.com/errors/detail/CKGv-b6impW3Jg;time=P30D?project=bridgy-federated
2022-11-28 17:27:55 -08:00
Ryan Barrett d4af114247
user verification: follow multiple redirects 2022-11-28 13:10:51 -08:00
Ryan Barrett c343164f5b
user page UI redirects warning: show diff of current vs expected
for #305
2022-11-27 17:45:23 -08:00
Ryan Barrett 85b1a400ff
user page UI: first pass at details for redirect check
for #305
2022-11-27 17:33:53 -08:00
Ryan Barrett 0e7728b8c2
first pass at remote follow UI on user page
fixes #60
2022-11-27 07:20:08 -08:00
Ryan Barrett 8fddf7fb2f
if an outgoing AP activity has no actor, default to the domain user
fixes #306
2022-11-26 20:20:40 -08:00