Ryan Barrett
15e3daff5e
switch outbound webmention source URLs from /render?id=... to /convert/...
...
#512
2023-05-24 16:32:00 -07:00
Ryan Barrett
a3df7d6d30
make /render redirect to /convert/...
...
#512
2023-05-24 16:32:00 -07:00
Ryan Barrett
6d976854dc
add /render logic to /convert/...
2023-05-24 16:00:41 -07:00
Ryan Barrett
df35ce16cc
AP users: add convert.py and /convert/... endpoint
...
#512
2023-05-24 15:18:31 -07:00
Ryan Barrett
30659a78f7
test_redirect: minor noop test data refactoring
2023-05-24 15:18:16 -07:00
Ryan Barrett
af95521759
user page bug fix, add missing import
...
fixes https://console.cloud.google.com/errors/detail/COHl8dmZ9-i4Lw;time=P30D?project=bridgy-federated
2023-05-24 06:57:34 -07:00
dependabot[bot]
c8b2287a60
build(deps): bump grpcio from 1.54.0 to 1.54.2
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.54.0 to 1.54.2.
- [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.54.0...v1.54.2 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 06:00:18 -07:00
Ryan Barrett
cf86f4d808
AP users: extract out Protocol.serve() method
...
#512
2023-05-23 21:30:57 -07:00
Ryan Barrett
892047a10c
add Protocol metaclass and protocol.protocols global for storing subclasses
2023-05-23 15:15:28 -07:00
Ryan Barrett
6333b7126a
AP users: serve webfinger for external users
...
#512
2023-05-23 11:53:32 -07:00
Ryan Barrett
5f82b98e51
pin grpcio to 1.54.0 to avoid "Waiting for thread pool to idle before forking" hang
...
looks like https://github.com/grpc/grpc/issues/31885 regressed in grpcio 1.55.0
2023-05-23 10:03:35 -07:00
Ryan Barrett
e34db7e974
AP users: /r/: don't check for backlink
2023-05-23 09:35:35 -07:00
dependabot[bot]
937202f96f
build(deps): bump grpcio from 1.54.2 to 1.55.0
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.54.2 to 1.55.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.54.2...v1.55.0 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 06:00:38 -07:00
Ryan Barrett
f933c7e237
AP users: serve AS2 for external homepage URLs
...
#512
2023-05-22 23:17:42 -07:00
dependabot[bot]
7f2e0178d7
build(deps): bump requests from 2.30.0 to 2.31.0
...
Bumps [requests](https://github.com/psf/requests ) from 2.30.0 to 2.31.0.
- [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.30.0...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 16:26:07 -07:00
dependabot[bot]
fbcbe49230
build(deps): bump grpcio from 1.54.0 to 1.54.2
...
Bumps [grpcio](https://github.com/grpc/grpc ) from 1.54.0 to 1.54.2.
- [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.54.0...v1.54.2 )
---
updated-dependencies:
- dependency-name: grpcio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 16:23:25 -07:00
dependabot[bot]
eb1a4316af
build(deps): bump pycryptodome from 3.17 to 3.18.0
...
Bumps [pycryptodome](https://github.com/Legrandin/pycryptodome ) from 3.17 to 3.18.0.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases )
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst )
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.17.0...v3.18.0 )
---
updated-dependencies:
- dependency-name: pycryptodome
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 16:23:11 -07:00
dependabot[bot]
3746b360f2
build(deps): bump websocket-client from 1.5.1 to 1.5.2
...
Bumps [websocket-client](https://github.com/websocket-client/websocket-client ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/websocket-client/websocket-client/releases )
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog )
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.5.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: websocket-client
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 16:22:13 -07:00
Ryan Barrett
4f232ac732
AP users: serve AS2 for external URLs
...
#512
2023-05-22 15:27:43 -07:00
Ryan Barrett
4941f14fed
oops, shouldn't have removed bluesky lexicons in 259e982
2023-05-22 13:01:03 -07:00
Ryan Barrett
259e982986
bluesky: remove sync XRPC method implementations
...
they're moving to arroba
2023-05-22 12:56:21 -07:00
Ryan Barrett
a580470e2e
update tests for snarfed/granary@1e64e4fd44
2023-05-18 06:43:50 -07:00
Ryan Barrett
a14aa7367a
wm => AP, error on follow without target
...
fixes https://console.cloud.google.com/errors/detail/CIDY9567zMDQrwE;time=P30D?project=bridgy-federated
2023-05-17 14:52:39 -07:00
Ryan Barrett
141932bb6d
update XRPC tests for granary bluesky test data changes
2023-05-15 11:39:23 -07:00
Ryan Barrett
af2a1e9f6b
add news link to web UI footer
2023-05-15 07:18:59 -07:00
Ryan Barrett
b964949c19
let dependabot auto-merge certifi even on major version bumps
...
...since certifi uses calver, not semver
2023-05-14 20:47:03 -07:00
dependabot[bot]
c1187a1071
build(deps): bump urllib3 from 1.26.15 to 2.0.2
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.15 to 2.0.2.
- [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.15...2.0.2 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 10:47:07 -07:00
dependabot[bot]
a7a447e990
build(deps): bump werkzeug from 2.3.3 to 2.3.4
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.3...2.3.4 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 05:54:41 -07:00
dependabot[bot]
83a0e43a5c
build(deps): bump certifi from 2022.12.7 to 2023.5.7
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2022.12.7 to 2023.5.7.
- [Commits](https://github.com/certifi/python-certifi/compare/2022.12.07...2023.05.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 16:34:29 -07:00
dependabot[bot]
ebacc2af9f
build(deps): bump redis from 4.5.4 to 4.5.5
...
Bumps [redis](https://github.com/redis/redis-py ) from 4.5.4 to 4.5.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.5.4...v4.5.5 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 06:00:27 -07:00
Ryan Barrett
593460ca1f
update tests for snarfed/granary@302a273b2b
2023-05-07 21:51:20 -07:00
Ryan Barrett
0ab3698db7
Bluesky: move most ATProto code to separate arroba library
...
https://github.com/snarfed/arroba
2023-05-06 14:41:06 -07:00
dependabot[bot]
cc2ed9dd81
build(deps): bump requests from 2.29.0 to 2.30.0
...
Bumps [requests](https://github.com/psf/requests ) from 2.29.0 to 2.30.0.
- [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.29.0...v2.30.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 06:00:24 -07:00
dependabot[bot]
24919b78f5
build(deps): bump requests from 2.28.2 to 2.29.0
...
Bumps [requests](https://github.com/psf/requests ) from 2.28.2 to 2.29.0.
- [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.2...v2.29.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 22:08:39 -07:00
dependabot[bot]
1f20bc8770
build(deps): bump tweepy from 4.13.0 to 4.14.0
...
Bumps [tweepy](https://github.com/tweepy/tweepy ) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/tweepy/tweepy/releases )
- [Changelog](https://github.com/tweepy/tweepy/blob/master/docs/changelog.md )
- [Commits](https://github.com/tweepy/tweepy/compare/v4.13.0...v4.14.0 )
---
updated-dependencies:
- dependency-name: tweepy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 22:07:51 -07:00
Ryan Barrett
ee21418a0f
upgrade to flask 2.3.2, werkzeug 2.3.3
2023-05-02 22:02:40 -07:00
Ryan Barrett
f60f8e201e
deps: add dag-json
...
also sort github lines
2023-04-30 12:26:00 -07:00
Ryan Barrett
c2b51d278f
atproto: add MST Walker and Diff classes
...
test is passing with trivial data but failing with larger data, eg 1k initial elements. hrm.
2023-04-30 12:24:02 -07:00
Ryan Barrett
abd822eee6
atproto: unify test setup (random seeds, test data) into testutil
2023-04-30 12:20:58 -07:00
Ryan Barrett
ad8d710cd8
atproto: move signature handling into atproto_util
2023-04-29 15:46:08 -07:00
Ryan Barrett
ff7f52fb5a
bluesky: move a few utils to new atproto_util module
2023-04-28 15:29:40 -07:00
Ryan Barrett
64f4f62ae9
bluesky: add models.AtpNode for storing repo blocks
2023-04-28 12:02:26 -07:00
Ryan Barrett
412f3416a4
big steps toward getting getRepo working
...
* generate commits
* sign commits
* serialize and include MST after each commit, not just at the end
phew!
2023-04-27 16:48:25 -07:00
Ryan Barrett
e9555b4c4b
atproto: fix TID generation
...
bluesky team's base32 isn't base32, it's their own thing that preserves lexicographic sort order.
* atproto/packages/common-web/src/util.ts
* atproto/packages/common-web/src/tid.ts
2023-04-26 21:40:43 -07:00
Ryan Barrett
64da82c4aa
noop, fix docstring
2023-04-25 21:01:45 -07:00
Ryan Barrett
e303f55fdf
models.User: generate and store an ECC P-256 keypair
...
for AT Proto
2023-04-25 14:04:29 -07:00
Ryan Barrett
cdb81ed3e1
atproto: temporarily disable test_get_repo, it's not ready yet
2023-04-24 16:04:46 -07:00
Ryan Barrett
2758acc6cb
wm => AP bug fix: if source has multiple u-follow-ofs, store individual last_follows
...
fixes https://console.cloud.google.com/errors/detail/COGA_MbTzeDJqgE;time=P30D?project=bridgy-federated
2023-04-23 21:13:11 -07:00
Ryan Barrett
3985b2bea6
bluesky: implement com.atproto.sync.listRepos
2023-04-21 15:44:22 -07:00
Ryan Barrett
51b587cff4
bluesky: implement com.atproto.sync.getHead
...
also now getRepo test is failing with "Not a valid node: two subtrees next to each other," not sure why, I think this was latent and the new random seeds are triggering it.
2023-04-21 14:31:39 -07:00