Wykres commitów

786 Commity (8507a6aa8abcd580f5362776a6e5192f94f1e4cb)

Autor SHA1 Wiadomość Data
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
Ryan Barrett 2d9cc31ff9
switch default home page scheme from http to https
fixes #269
2022-11-16 10:43:34 -08:00
Ryan Barrett 320b117470
add AP sharedInbox
#285, https://www.w3.org/TR/activitypub/#sharedInbox
2022-11-16 10:09:24 -08:00
Ryan Barrett 870ffbbbd2
when writing Follower, always set dest and src
for #279
2022-11-16 06:49:29 -08:00
dependabot[bot] d4eaa56d2e build(deps): bump googleapis-common-protos from 1.56.4 to 1.57.0
Bumps [googleapis-common-protos](https://github.com/googleapis/python-api-common-protos) from 1.56.4 to 1.57.0.
- [Release notes](https://github.com/googleapis/python-api-common-protos/releases)
- [Changelog](https://github.com/googleapis/python-api-common-protos/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/python-api-common-protos/compare/v1.56.4...v1.57.0)

---
updated-dependencies:
- dependency-name: googleapis-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 04:03:51 -08:00
Ryan Barrett 50956c02b0
noop, rename Domain => User 2022-11-15 22:00:28 -08:00
Ryan Barrett 46f039af63
AP: always generate an actor for every outbound activity
for #279
2022-11-15 21:43:24 -08:00
Ryan Barrett e3f1431018
noop identifier renames, key => domain or entity 2022-11-15 19:12:20 -08:00
Ryan Barrett 97088da382
turn on App Engine warmup requests
https://cloud.google.com/appengine/docs/standard/reference/app-yaml?tab=python#inbound_services
2022-11-15 11:36:38 -08:00
Ryan Barrett fd5c88c713
add domain blocklist, right now primarily for Twitter 2022-11-14 22:31:45 -08:00
Ryan Barrett 881307fa0b
wm => AP, don't use Update for a Like/Announce even if we've seen it before 2022-11-14 22:31:45 -08:00
Ryan Barrett b872a78603
redirect /responses to /recent, /responses/[domain] to /user/domain 2022-11-14 22:31:45 -08:00
dependabot[bot] aca1ccf7d6 build(deps): bump praw from 7.6.0 to 7.6.1
Bumps [praw](https://github.com/praw-dev/praw) from 7.6.0 to 7.6.1.
- [Release notes](https://github.com/praw-dev/praw/releases)
- [Changelog](https://github.com/praw-dev/praw/blob/master/CHANGES.rst)
- [Commits](https://github.com/praw-dev/praw/compare/v7.6.0...v7.6.1)

---
updated-dependencies:
- dependency-name: praw
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 04:04:07 -08:00
Ryan Barrett 7966650178
AP: put Public in to instead of cc to make Mastodon posts public, not unlisted
fixes #277
2022-11-13 21:46:26 -08:00
Ryan Barrett 4cc43f4c56
noop, rename resp => activity 2022-11-13 09:35:47 -08:00
Ryan Barrett 726ea26a58
log link bug fix 2022-11-13 08:25:12 -08:00
Ryan Barrett 3cc1be5493
lots of UI tweaks 2022-11-12 23:19:09 -08:00
Ryan Barrett 4f3dc03a3e
rename MagicKey => Domain, Response => Activity
the Python classes, but not (yet) the kinds in the datastore. maybe eventually.
2022-11-12 15:27:59 -08:00
Ryan Barrett 53a133d554
add /user/* to robots.txt, style tweak 2022-11-12 08:33:42 -08:00
Ryan Barrett f4c24d127f
UI: add followers and following pages
for #274, #264
2022-11-12 08:25:36 -08:00
Ryan Barrett 938a4ac85c
webmention: when checking for fed.brid.gy backlink, don't require / path
fixes #278
2022-11-12 07:07:09 -08:00
Ryan Barrett 1b96e953d5
user page: show 404 page if user not found 2022-11-11 22:50:28 -08:00
Ryan Barrett 8aa11f0662
webmention => AP: store outbound followees
for #264
2022-11-11 22:50:05 -08:00