Wykres commitów

1240 Commity (deploy)

Autor SHA1 Wiadomość Data
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
Ryan Barrett 5b59baa88f
bluesky: implement com.atproto.sync.getBlocks 2023-04-20 21:34:16 -07:00
Ryan Barrett df7b919161
bluesky: implement getRepo earliest and latest 2023-04-20 19:28:39 -07:00
Ryan Barrett 3493aafca8
Bluesky: implement com.atproto.sync.getRepo
first com.atproto.sync XRPC! 🎉
2023-04-20 19:28:39 -07:00
dependabot[bot] a051248ff6 build(deps): bump pyasn1 from 0.4.8 to 0.5.0
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.4.8 to 0.5.0.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.4.8...v0.5.0)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 06:05:53 -07:00
dependabot[bot] 67ddea8e24 build(deps): bump pyasn1-modules from 0.2.8 to 0.3.0
Bumps [pyasn1-modules](https://github.com/pyasn1/pyasn1-modules) from 0.2.8 to 0.3.0.
- [Release notes](https://github.com/pyasn1/pyasn1-modules/releases)
- [Changelog](https://github.com/pyasn1/pyasn1-modules/blob/main/CHANGES.txt)
- [Commits](https://github.com/pyasn1/pyasn1-modules/compare/v0.2.8...v0.3.0)

---
updated-dependencies:
- dependency-name: pyasn1-modules
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 05:59:55 -07:00
Ryan Barrett 5aba64004f
wm => AP: inline most objects as bare string ids, not composite objects
for interop
2023-04-19 16:21:21 -07:00
Ryan Barrett d9b1223392
wm => AP: fix reposts from h-cites that turn into composite objects
instead of bare string id objects. thanks @gRegorLove for reporting!
2023-04-19 14:37:42 -07:00
Ryan Barrett d2ab48b23e
switch circular imports to runtime imports; split out flask_app.py from app.py
runtime imports are just as bad, but...meh. eventually I'll untangle them for real. #486
2023-04-18 17:18:17 -07:00
Ryan Barrett ae76dd53e6
minor tweak to HTML feed CSS 2023-04-18 16:45:57 -07:00
Ryan Barrett c6fbb68c5f
noop, avoid circular import in follow.py 2023-04-18 13:24:05 -07:00
Ryan Barrett 0917b52bb6
noop, add missing imports to scripts/activity_model.py 2023-04-18 13:23:56 -07:00
Ryan Barrett b39d673f12
add Object.expire property for datastore TTL to garbage collect old Objects
right now, auto-delete some ephemeral activities after 90d. for #456. https://cloud.google.com/datastore/docs/ttl
2023-04-18 09:16:16 -07:00
dependabot[bot] 24b6a985a1 build(deps): bump grpcio from 1.53.0 to 1.54.0
Bumps [grpcio](https://github.com/grpc/grpc) from 1.53.0 to 1.54.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.53.0...v1.54.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-04-18 06:01:24 -07:00
Ryan Barrett 46d22a1bb8
readme: link to developer docs 2023-04-17 21:09:16 -07:00
Ryan Barrett 449a40877f
add developer docs on readthedocs.io 2023-04-17 20:58:14 -07:00
Ryan Barrett ad6cc61d3f
wm => AP: test that we don't deliver reply updates to all followers
for #479
2023-04-17 19:24:18 -07:00
Ryan Barrett 6066c87f73
wm => AP: deliver reposts to all followers
fixes #476
2023-04-17 19:20:22 -07:00
Ryan Barrett d76ff8b6e1
test_webmention: reuse assert_deliveries in more places, check sig and key 2023-04-17 16:56:44 -07:00
Ryan Barrett fd85673fc2
document how to make posts searchable in the fediverse
fixes #352
2023-04-17 16:05:52 -07:00
Ryan Barrett 212f2b11ec
wm => AP: add delete support
fixes #30
2023-04-17 15:36:29 -07:00
Ryan Barrett ba38d6853b
bug fixes for hs2019 HTTP Signatures algorithm, hard coding to rsa-sha256 2023-04-17 11:15:05 -07:00
Ryan Barrett 92ec40007b
webmention.py noop: move webmention_interactive() up under webmention_external() 2023-04-17 07:51:26 -07:00
dependabot[bot] 692fb4453a build(deps): bump attrs from 22.2.0 to 23.1.0
Bumps [attrs](https://github.com/python-attrs/attrs) from 22.2.0 to 23.1.0.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python-attrs/attrs/compare/22.2.0...23.1.0)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 06:38:07 -07:00
dependabot[bot] 70f49e9a62 build(deps): bump soupsieve from 2.4 to 2.4.1
Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 2.4 to 2.4.1.
- [Release notes](https://github.com/facelessuser/soupsieve/releases)
- [Commits](https://github.com/facelessuser/soupsieve/compare/2.4...2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 05:59:55 -07:00
Ryan Barrett 842f8ac964
temporary: assume HTTP Signature algorithm=hs2019 means rsa-sha256
still trying to figure this out. see https://github.com/snarfed/bridgy-fed/issues/430#issuecomment-1510462267, https://arewehs2019yet.vpzom.click/ , etc.
2023-04-16 16:35:31 -07:00
Ryan Barrett aae0944926
Bluesky MST: optimize tests a bit 2023-04-16 16:32:48 -07:00
Ryan Barrett 4f21d190cb
Bluesky MST: test_is_order_independent works 2023-04-16 16:32:48 -07:00
Ryan Barrett 86144ba50f
Bluesky MST: fix bug in create_parent, add __unicode__ and __repr__ 2023-04-16 16:32:48 -07:00
Ryan Barrett ca22120110
Bluesky MST: fix bug in append_merge 2023-04-16 16:32:48 -07:00
Ryan Barrett 4f4647327d
Bluesky MST: fix bug in split_around 2023-04-16 16:32:48 -07:00