Wykres commitów

1222 Commity (cd)

Autor SHA1 Wiadomość Data
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
Ryan Barrett ee7e4fa555
Bluesky MST: more implementation and tests 2023-04-16 16:32:48 -07:00
Ryan Barrett 52a479b8c4
Bluesky MST: fixed trivial tree test! 2023-04-16 16:32:48 -07:00
Ryan Barrett 96c6f9808f
Bluesky MST tests: fix base 32 decoding, other tweaks 2023-04-16 16:32:48 -07:00
Ryan Barrett 7b7b3f2cd1
more Bluesky MST. test_add works for 10 leaves! 2023-04-16 16:32:48 -07:00
Ryan Barrett a084aea831
bluesky MST: implement TIDs
pretty sure this isn't right though, due to the base32 padding. I get TID strings like AX4T-3WL-2GJE-A====CU====== vs the example 3hgb-r7t-ngir-t4 in https://atproto.com/guides/data-repos#identifier-types
2023-04-16 16:32:47 -07:00
Ryan Barrett a8380c2cbf
lots more translating, implement DAG-CBOR encoding and CID generation
...in serialize_node_data and cid_for_entries
2023-04-16 16:32:47 -07:00
Ryan Barrett ecde015c2a
Bluesky MST: start to define types, MST methods, test data 2023-04-16 16:32:47 -07:00
Ryan Barrett 1b5961f129
start on AT Protocol PDS, specifically their MST
largely translating this from their reference TypeScript implementation, not writing from scratch, but still hoo boy, this will take a bit of work. thank god for their test cases. very grateful for you both @dholms @devinivy!
2023-04-16 16:32:47 -07:00
dependabot[bot] 0e9d28a999 build(deps): bump packaging from 23.0 to 23.1
Bumps [packaging](https://github.com/pypa/packaging) from 23.0 to 23.1.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/23.0...23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 06:00:20 -07:00
Ryan Barrett c1359d2c0a
add issue object type to snippet rendering 2023-04-12 07:57:40 -07:00
dependabot[bot] 82f414ef07 build(deps): bump beautifulsoup4 from 4.12.1 to 4.12.2
Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.12.1 to 4.12.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 05:59:29 -07:00
Ryan Barrett 65b8469f2a
/webmention : add back logging message for monitoring 2023-04-09 14:34:22 -07:00
Ryan Barrett b7eac67443
update bluesky XRPC handlers for lexicon refactor
7f008c05a0
2023-04-08 12:47:29 -07:00
Ryan Barrett 23a8f7cfda
fix snippet rendering for post and profile updates 2023-04-06 12:40:36 -07:00
Ryan Barrett ac0dc216ce
convert wm => AP to all async, enqueue task for every incoming webmention
fixes bug where we were fetching and storing an Object for an incoming wm, enqueueing a task, then in the task we'd refetch, see that it was unchanged, and do nothing.

thanks @jamietanna @gregorlove for reporting!
2023-04-06 09:19:05 -07:00
dependabot[bot] 8694a7fa00 build(deps): bump beautifulsoup4 from 4.12.0 to 4.12.1
Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.12.0 to 4.12.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 05:59:18 -07:00
Ryan Barrett 01125d38d8
/render : escape #s in object id URLs to ^^
fixes #469
2023-04-05 16:23:49 -07:00
Ryan Barrett 0ba43561fa
/render: hydrate author/actor if necessary
fixes semi-blank authors in outgoing webmentions
2023-04-05 07:16:31 -07:00