Ryan Barrett
ea02b82f39
test_pages: add tests for followers/following UI pages
2023-01-19 15:25:56 -08:00
Ryan Barrett
0c7048d93f
bug fix for followers/ing UI pages
...
bug was introduced in 02aa3e9801
2023-01-19 07:52:41 -08:00
Ryan Barrett
fc4e8b11d2
return actors in AP Followers/Following collections
...
for #264 . next: paging
2023-01-19 07:00:35 -08:00
Ryan Barrett
36349a5db9
add Follower.to_as2()
2023-01-19 06:49:39 -08:00
Ryan Barrett
c3edf3a68e
make Follower.to_as1() handle both inbound and outbound last_follow
...
...and use it in followers and following UI pages
2023-01-18 22:31:13 -08:00
Ryan Barrett
02aa3e9801
refactoring: move fetch_page from pages to common
2023-01-18 22:19:51 -08:00
Ryan Barrett
6d354c1e34
drop old deprecated /responses URL
2023-01-18 21:44:02 -08:00
Ryan Barrett
f8fbf1391c
refactoring: unify followers and following UI page handlers
2023-01-18 21:25:54 -08:00
Ryan Barrett
37e389447a
always store Follower.last_follow as AP/AS2 Follow activity
...
specifically, this switches storing outbound follows from inbound webmentions from AS1 to AS2.
2023-01-18 21:09:43 -08:00
Ryan Barrett
84606500fa
refactoring: unify followers and following AP collection endpoints
2023-01-18 20:32:23 -08:00
Ryan Barrett
6069f283ac
docs: minor tweaks to app compatibility section
2023-01-18 20:30:35 -08:00
Ryan Barrett
8507a6aa8a
update fediverse app compatibility, move from readme to docs
2023-01-18 16:02:49 -08:00
Ryan Barrett
acd11c14e2
fix minor typo on the home page
2023-01-18 13:48:03 -08:00
dependabot[bot]
ae926f6af6
build(deps): bump markupsafe from 2.1.1 to 2.1.2
...
Bumps [markupsafe](https://github.com/pallets/markupsafe ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/pallets/markupsafe/releases )
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/markupsafe/compare/2.1.1...2.1.2 )
---
updated-dependencies:
- dependency-name: markupsafe
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 04:03:58 -08:00
Ryan Barrett
2c9850c576
HTTP Signatures: add special (request-target) header
...
for #40 , special synthetic HTTP header for HTTP Signatures, required by Peertube.
https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures-12#section-2.3
2023-01-17 19:50:40 -08:00
Ryan Barrett
5182bb92f3
Mastodon interop: fill in the updated field for Updates if it's missing
...
Mastodon requires it:
https://docs.joinmastodon.org/spec/activitypub/#supported-activities-for-statuses
https://socialhub.activitypub.rocks/t/what-could-be-the-reason-that-my-update-activity-does-not-work/2893/4
https://github.com/mastodon/documentation/pull/1150
2023-01-17 11:16:14 -08:00
Ryan Barrett
1378ab4576
add a bluesky phone image
2023-01-17 09:17:38 -08:00
Ryan Barrett
e6d4441292
handle redirects of signed requests manually, generate a new HTTP sig each time
...
fixes #326
2023-01-16 13:10:33 -08:00
Ryan Barrett
6860d49dd1
flask app: suppress some lexprc and negotiator logging
2023-01-16 09:01:29 -08:00
dependabot[bot]
9eaa979fba
build(deps): bump pytz from 2022.7 to 2022.7.1
...
Bumps [pytz](https://github.com/stub42/pytz ) from 2022.7 to 2022.7.1.
- [Release notes](https://github.com/stub42/pytz/releases )
- [Commits](https://github.com/stub42/pytz/compare/release_2022.7...release_2022.7.1 )
---
updated-dependencies:
- dependency-name: pytz
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 04:03:53 -08:00
Ryan Barrett
15dfdf1e5a
deps: bump mf2util up to 0.5.2 for PTD person/org bug fix
2023-01-15 12:09:26 -08:00
Ryan Barrett
2b2dfafc18
bluesky: app.bsky.graph.getFollowers, handle no user
2023-01-15 10:07:04 -08:00
Ryan Barrett
c1148ee3de
bluesky: misc minor XPRC error handling
2023-01-13 20:12:44 -08:00
Ryan Barrett
a66fe4bdc2
bluesky: implement app.bsky.feed.getTimeline
...
based on stored Activity entities. missing auth, otherwise pretty complete.
2023-01-13 15:35:05 -08:00
Ryan Barrett
8b5f62be4d
bluesky: implement app.bsky.graph.getFollows
...
almost identical to getFollowers
2023-01-13 14:11:49 -08:00
Ryan Barrett
898b8545ac
bluesky: implement app.bsky.graph.getFollowers
2023-01-13 11:40:52 -08:00
dependabot[bot]
84163938f3
build(deps): bump charset-normalizer from 2.1.1 to 3.0.1
...
Bumps [charset-normalizer](https://github.com/Ousret/charset_normalizer ) from 2.1.1 to 3.0.1.
- [Release notes](https://github.com/Ousret/charset_normalizer/releases )
- [Changelog](https://github.com/Ousret/charset_normalizer/blob/master/CHANGELOG.md )
- [Upgrade guide](https://github.com/Ousret/charset_normalizer/blob/master/UPGRADE.md )
- [Commits](https://github.com/Ousret/charset_normalizer/compare/2.1.1...3.0.1 )
---
updated-dependencies:
- dependency-name: charset-normalizer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 04:27:20 -08:00
dependabot[bot]
aee924b896
build(deps): bump urllib3 from 1.26.13 to 1.26.14
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.13 to 1.26.14.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.13...1.26.14 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 04:11:28 -08:00
dependabot[bot]
8f42b90214
build(deps): bump requests from 2.28.1 to 2.28.2
...
Bumps [requests](https://github.com/psf/requests ) from 2.28.1 to 2.28.2.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.28.2 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 04:09:02 -08:00
Ryan Barrett
ef1c92222b
bridgy-at: integrate XRPC server, testutil, etc
2023-01-12 19:43:12 -08:00
Ryan Barrett
b847e72483
bridgy-at: add lexrpc dep, install atproto lexicons on circle
2023-01-12 19:33:53 -08:00
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
1cd963e203
deps: ...and switch Flask-Caching all the way to pypi now that 2.0.2 is there
...
https://flask-caching.readthedocs.io/en/latest/changelog.html#version-2-0-2
2023-01-12 09:50:54 -08:00
Ryan Barrett
6b66058bf4
deps: switch flask-caching back to upstream
...
now that they've merged https://github.com/pallets-eco/flask-caching/pull/431
2023-01-12 09:46:32 -08:00
dependabot[bot]
b53a75d582
build(deps): bump google-cloud-appengine-logging from 1.2.0 to 1.3.0
...
Bumps [google-cloud-appengine-logging](https://github.com/googleapis/python-appengine-logging ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/googleapis/python-appengine-logging/releases )
- [Changelog](https://github.com/googleapis/python-appengine-logging/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-appengine-logging/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: google-cloud-appengine-logging
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 04:08:35 -08:00
dependabot[bot]
22cf79bd87
build(deps): bump redis from 4.4.1 to 4.4.2
...
Bumps [redis](https://github.com/redis/redis-py ) from 4.4.1 to 4.4.2.
- [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.4.1...v4.4.2 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 04:04:10 -08:00
dependabot[bot]
6b50861251
build(deps): bump grpc-google-iam-v1 from 0.12.4 to 0.12.6
...
Bumps [grpc-google-iam-v1](https://github.com/googleapis/python-grpc-google-iam-v1 ) from 0.12.4 to 0.12.6.
- [Release notes](https://github.com/googleapis/python-grpc-google-iam-v1/releases )
- [Changelog](https://github.com/googleapis/python-grpc-google-iam-v1/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-grpc-google-iam-v1/compare/v0.12.4...v0.12.6 )
---
updated-dependencies:
- dependency-name: grpc-google-iam-v1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 12:03:58 +00:00
dependabot[bot]
2aac1f560a
build(deps): bump google-cloud-audit-log from 0.2.4 to 0.2.5
...
Bumps [google-cloud-audit-log](https://github.com/googleapis/python-audit-log ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/googleapis/python-audit-log/releases )
- [Changelog](https://github.com/googleapis/python-audit-log/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-audit-log/compare/v0.2.4...v0.2.5 )
---
updated-dependencies:
- dependency-name: google-cloud-audit-log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 04:03:53 -08:00
Ryan Barrett
9cc9cd567f
move flashed messages JS and CSS to oauth-dropins
...
also common image drop shadow CSS. see snarfed/oauth-dropins@fd17e8d436
2023-01-11 20:32:41 -08:00
Ryan Barrett
dfb524ba32
add /r/* redirects to robots.txt
2023-01-11 10:14:25 -08:00
dependabot[bot]
4141af984f
build(deps): bump pbr from 5.11.0 to 5.11.1
...
Bumps [pbr](https://docs.openstack.org/pbr/latest/ ) from 5.11.0 to 5.11.1.
---
updated-dependencies:
- dependency-name: pbr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 04:04:07 -08:00
dependabot[bot]
fb40451143
build(deps): bump google-cloud-tasks from 2.11.0 to 2.12.0
...
Bumps [google-cloud-tasks](https://github.com/googleapis/python-tasks ) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/googleapis/python-tasks/releases )
- [Changelog](https://github.com/googleapis/python-tasks/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-tasks/compare/v2.11.0...v2.12.0 )
---
updated-dependencies:
- dependency-name: google-cloud-tasks
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 04:03:37 -08:00
Ryan Barrett
74415e503c
docs for follow/unfollow UI
...
#351
2023-01-10 16:08:30 -08:00
dependabot[bot]
1832f27e62
build(deps): bump proto-plus from 1.22.1 to 1.22.2
...
Bumps [proto-plus](https://github.com/googleapis/proto-plus-python ) from 1.22.1 to 1.22.2.
- [Release notes](https://github.com/googleapis/proto-plus-python/releases )
- [Changelog](https://github.com/googleapis/proto-plus-python/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/proto-plus-python/compare/v1.22.1...v1.22.2 )
---
updated-dependencies:
- dependency-name: proto-plus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 04:03:48 -08:00
dependabot[bot]
f2d1a60129
build(deps): bump googleapis-common-protos from 1.57.1 to 1.58.0
...
Bumps [googleapis-common-protos](https://github.com/googleapis/python-api-common-protos ) from 1.57.1 to 1.58.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.57.1...v1.58.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>
2023-01-10 04:03:25 -08:00
Ryan Barrett
4e539488a7
inbound AP: handle Undo Follow with composite inner object
2023-01-09 22:58:35 -08:00