Ryan Barrett
b791af3ebb
outbound follows: normalize Follower.dest to AS2 actor id
...
for #307
2022-11-24 10:22:26 -08:00
Ryan Barrett
7fd7066a7d
AS2 request headers in tests aren't getting checked?!
2022-11-24 09:41:14 -08:00
Ryan Barrett
7f5f4e4542
/webmention: allow any backlink, not just request.host_url
...
first step toward making local flask server fully capable of acting like fed.brid.gy
2022-11-24 09:41:14 -08:00
Ryan Barrett
2fdc6f29a9
sign HTTP GET requests for AS2 objects
...
to support Mastodon's AUTHORIZED_FETCH aka secure mode: https://docs.joinmastodon.org/admin/config/#authorized_fetch
fixes #291
2022-11-24 09:41:14 -08:00
dependabot[bot]
42ca62ebe4
build(deps): bump urllib3 from 1.26.12 to 1.26.13
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.12 to 1.26.13.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/1.26.13/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.12...1.26.13 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 04:03:33 -08:00
Ryan Barrett
4fb36e32b4
/stats bug fix
2022-11-23 08:23:07 -08:00
Ryan Barrett
b70ef42de7
add retry buttons to user page warnings
...
fixes #300
2022-11-22 23:08:19 -08:00
Ryan Barrett
cf37c0f0ac
user page: link representative h-card warning to indiewebify.me
...
for #305
2022-11-22 15:48:00 -08:00
Ryan Barrett
4c3ef9a230
extract out template for rendering user's addresses, add profile picture
...
fixes #304
2022-11-22 15:24:36 -08:00
Ryan Barrett
660682c93e
fix preferredUsername regression, it needs to be domain for Webfinger
...
originally added in 65f3ef3cc7
. fixes #302 . props to @fancypantalons for debugging!
2022-11-22 14:47:15 -08:00
Ryan Barrett
afe3ca2def
minor front page copy tweaks
2022-11-22 06:52:11 -08:00
dependabot[bot]
bb94ee5af7
build(deps): bump grpcio from 1.50.0 to 1.51.0
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.50.0 to 1.51.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.50.0...v1.51.0 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 04:04:01 -08:00
dependabot[bot]
ac3f9360dd
build(deps): bump redis from 4.3.4 to 4.3.5
...
Bumps [redis](https://github.com/redis/redis-py ) from 4.3.4 to 4.3.5.
- [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/v4.3.4...v4.3.5 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 04:03:43 -08:00
Ryan Barrett
2279db46fc
start on AP followers/following collections
...
for #264
2022-11-21 18:47:08 -08:00
Ryan Barrett
da6288972a
extract Flask app config out of app.py into config.py
...
notably, this now disables the request cache during tests
2022-11-21 18:43:50 -08:00
Ryan Barrett
087d71f3cd
front page UI tweaks: highlight web site on both sides, text update
2022-11-21 16:27:21 -08:00
Ryan Barrett
2380f43fb3
minor UI tweaks to followers page
2022-11-21 16:08:00 -08:00
Ryan Barrett
01cb91d542
handle actor Deletes that get sent to shared inbox
...
...by actually deleting the corresponding Follower entities. fixes #284
2022-11-21 12:14:37 -08:00
Ryan Barrett
252b250ebe
user page: handle multi-valued object
...
fixes #301
2022-11-21 07:27:45 -08:00
Ryan Barrett
fe8183b182
UI: de-dupe activities
...
for #261
2022-11-20 21:35:55 -08:00
Ryan Barrett
caba5c9632
minor tweak to fediverse icon on user page
2022-11-20 20:57:49 -08:00
Ryan Barrett
2eae4b64a0
misc small UI tweaks
2022-11-20 20:52:44 -08:00
Ryan Barrett
34593e2a1b
render human-friendly summaries of activities on /recent and user pages
...
for #261
2022-11-20 20:52:44 -08:00
Alex Kearney
3068d686a9
Fix to nginx .well-known snippet.
2022-11-20 18:34:46 -08:00
Ryan Barrett
98b77980ce
update logo, add fediverse logo, drop Mastodon and Hubzilla
...
fixes #288
2022-11-20 12:07:46 -08:00
Ryan Barrett
30d9f7c9a5
make verification accept fed.brid.gy redirects when running locally
2022-11-20 11:56:32 -08:00
Ryan Barrett
65f3ef3cc7
show fediverse address on user page UI, including custom username
...
for #281
2022-11-20 11:46:05 -08:00
Ryan Barrett
754d694823
verify UI bug fix: don't strip leading www. from domains
2022-11-20 07:44:03 -08:00
Ryan Barrett
7302dfc02b
tweak front page layout to work better on phones/narrow screens
2022-11-20 07:41:27 -08:00
Ryan Barrett
df98dc3fcf
minor style tweak for /web-site
...
for #276
2022-11-19 23:14:02 -08:00
Ryan Barrett
8d210c78e1
home page UI: add other fediverse servers, logos, more text
...
for #276
2022-11-19 23:02:01 -08:00
Ryan Barrett
471f35d2d1
new home page UI!
...
for #276
2022-11-19 16:40:21 -08:00
Ryan Barrett
b854981497
UI edits: enter web site page, /docs, flashed messages, copy Bridgy's CSS
2022-11-18 22:30:07 -08:00
Ryan Barrett
f384bf5529
add User.verify(), checks redirects and home page representative h-card
...
for #276
2022-11-18 18:49:41 -08:00
Ryan Barrett
2d07ac358d
move activitypub.actor() to common so I can reuse it
2022-11-18 18:49:34 -08:00
Ryan Barrett
97ecc6df46
webmention: handle missing source URL fragment
...
fixes https://console.cloud.google.com/errors/detail/CKKEobWk4d2VHQ;time=P30D?project=bridgy-federated
2022-11-18 15:28:34 -08:00
Ryan Barrett
1f4c6433b5
add /recent to robots.txt
2022-11-18 06:54:57 -08:00
Jamie Tanna
39cb90e533
Allow providing a URL fragment for posts
...
A number of folks use a single page for multiple posts, using a URL
Fragment parameter to denote which of the posts on the given page should
be used, and are used to this experience with Bridgy.
To allow use of this on Bridgy Fed, too, we can add support for
discovering the ID of the `h-entry` to be Webmention'd in the same way
that we do with [Bridgy].
This largely copies the structure of the existing tests, copying
`test_activitypub_follow`, and adding in multiple posts on the page.
For debugging purposes, we can make sure to log out the `fragment`.
[Bridgy]: f760c0d10e
2022-11-18 06:49:58 -08:00
Ryan Barrett
d0c16d8849
bug fix, use https://fed.brid.gy/[domain] as actor id, not bare domain
...
fixes #293
2022-11-17 16:24:53 -08:00
Ryan Barrett
e6750aecb6
minor tweak to activity rendering for Public targets
2022-11-17 15:05:20 -08:00
Ryan Barrett
f127a17fe5
webfinger: handle Bridgy Fed actor URLs
...
hoping to fix errors like this on Mastodon AP delivery:
`Received 401: Public key not found for key https://fed.brid.gy/snarfed.org `
2022-11-17 14:56:05 -08:00
Ryan Barrett
dde86008e2
shared inbox bug fix
...
fixes https://console.cloud.google.com/errors/detail/CK7Cx8KS7qyNHQ;time=P30D?project=bridgy-federated
2022-11-17 14:55:54 -08:00
Ryan Barrett
dbf4712af4
switch HTML feed to template
...
for #265
2022-11-17 12:59:09 -08:00
Ryan Barrett
4e0fb6536c
add timeline feeds for posts from fediverse followings
...
for #265
2022-11-17 12:59:09 -08:00
Ryan Barrett
023f2aa536
sharedInbox bug fix, needs to be inside endpoints mapping
...
for #285 , https://www.w3.org/TR/activitypub/#endpoints
2022-11-17 12:59:09 -08:00
dependabot[bot]
cf57f345d9
build(deps): bump google-cloud-ndb from 1.11.1 to 1.11.2
...
Bumps [google-cloud-ndb](https://github.com/googleapis/python-ndb ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/googleapis/python-ndb/releases )
- [Changelog](https://github.com/googleapis/python-ndb/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-ndb/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: google-cloud-ndb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 04:03:39 -08:00
Ryan Barrett
a4b8f33607
add datastore index needed by 2bb76a90e7
...
for #265 , fixes https://console.cloud.google.com/errors/detail/CO-fpZfMq_6ktgE;time=P30D?project=bridgy-federated
2022-11-16 18:20:35 -08:00
Ryan Barrett
eaa6e1f9e5
always write Follower.dest and src
...
for #279
2022-11-16 16:38:08 -08:00
Ryan Barrett
8fd49dc882
drop non-public Create activities
...
fixes #289
2022-11-16 16:37:50 -08:00
Ryan Barrett
2bb76a90e7
store Activity entities for AP activities delivered to followers
...
for #265
2022-11-16 15:54:02 -08:00