Wykres commitów

1488 Commity (e967bb4adac6a2ba9acdd3f96e175e1a05589b11)

Autor SHA1 Wiadomość Data
Ryan Barrett e967bb4ada
start centralizing id conversion into new ids.py file 2023-09-22 11:42:08 -07:00
Ryan Barrett 1f9ed741ec
minor noop config/deps tweaks 2023-09-22 11:42:08 -07:00
dependabot[bot] 6412f82718 build(deps): bump google-cloud-ndb from 2.2.0 to 2.2.1
Bumps [google-cloud-ndb](https://github.com/googleapis/python-ndb) from 2.2.0 to 2.2.1.
- [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/v2.2.0...v2.2.1)

---
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>
2023-09-22 05:25:09 -07:00
dependabot[bot] 85028271b0 build(deps): bump cryptography from 41.0.3 to 41.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 14:25:06 -07:00
Ryan Barrett 412e569d91
circle config python 3.11 bug fix 2023-09-21 08:54:57 -07:00
Ryan Barrett cb6e96baac
upgrade to 3.11 2023-09-21 08:44:06 -07:00
Ryan Barrett d2430fe36d
deps: update google-api-core and related deps to 2.x to support Python 3.11 2023-09-20 15:56:16 -07:00
Ryan Barrett 5214c77f6a
Protocol.targets: find and add originals for targets that are copies
both Object and User originals
2023-09-19 21:52:28 -07:00
Ryan Barrett c1880569b8
User.get_by_copy => get_by_copies 2023-09-19 21:12:53 -07:00
Ryan Barrett 5107d003fe
Object.as1: genericize converting actor/author id from copy to original 2023-09-19 19:59:28 -07:00
Ryan Barrett 134416cd7b
genericize User.get_by_atproto_did to get_for_copy 2023-09-19 16:48:16 -07:00
Ryan Barrett bb18b5ee0d
add new User.copies property 2023-09-19 16:07:11 -07:00
Ryan Barrett abde77e7eb
noop: more comments in ATProto.poll_notifications 2023-09-19 12:21:34 -07:00
Ryan Barrett 8e15a7559d
noop: TODO in Protocol.receive_task to use it for web/AP too 2023-09-19 11:47:43 -07:00
Ryan Barrett df95e41a68
add receive task queue 2023-09-19 11:34:41 -07:00
Ryan Barrett f7792f81c8
tasks: add user param to receive, make create_task run inline in local server 2023-09-19 11:15:49 -07:00
Ryan Barrett cae19172c9
Protocol: add receive task handler 2023-09-18 19:19:59 -07:00
Ryan Barrett 55f96c428e
common.create_task: run task inline if we're in a local server 2023-09-18 19:02:15 -07:00
Ryan Barrett 7c35fe4b1b
atproto.poll_notifications: generate and send AppView JWT 2023-09-18 15:04:00 -07:00
Ryan Barrett dcbf16db6e
Object.as1 conversion from bsky, injecting actor/author
prefer user id to profile object id, default to AT URI repo DID
2023-09-18 11:52:17 -07:00
Ryan Barrett 5b16386fbc
User.get_by_atproto_did and Object.as1 from bsky: support native ATProto users 2023-09-18 11:41:01 -07:00
Ryan Barrett a723be660e
Object.as1: inject actor/author when converting from bsky objects
...since they imply actor/author in the AT URI's repo DID.
2023-09-18 11:23:11 -07:00
Ryan Barrett 35ded3514d
noop: circle config comment tweak 2023-09-18 11:17:32 -07:00
Ryan Barrett 48e47f5f7d
add User.get_by_atproto_did 2023-09-17 22:38:33 -07:00
Ryan Barrett b49f49bf0c
docs: add blockchain row to protocol comparison table 2023-09-15 08:50:16 -07:00
Ryan Barrett b45635b125
noop: move canonicalizing AT URIs TODO from ATProto to Object 2023-09-14 16:52:22 -07:00
Ryan Barrett b8f55ec352
atproto test_poll_notifications: add like object
...now that granary does at least basic conversion of likes
2023-09-14 16:29:02 -07:00
Ryan Barrett 077b5a97bc
ATProto.send: populate Object.copies with local record's AT URI 2023-09-14 10:20:04 -07:00
Ryan Barrett d3b3ff47f5
atproto: start on polling notifications
lots more to do here, 8 new TODOs in this commit 😆
2023-09-14 09:42:11 -07:00
Ryan Barrett afda648a4a
tests: extract out assert_task() method 2023-09-13 14:36:24 -07:00
Ryan Barrett 61b585e715
for Objects for ATProto records, require at:// URIs to have DID repos
don't allow handles. https://atproto.com/specs/at-uri-scheme
2023-09-13 12:51:34 -07:00
Ryan Barrett 2bb5db826c
atproto: support bsky.app URLs as targets 2023-09-12 21:52:21 -07:00
Ryan Barrett bd09af9c24
atproto: use proper DID docs instead of PLC operations
corresponds to snarfed/arroba@d52cb4d. also fix verifying signature in PLC genesis operation.
2023-09-12 11:57:08 -07:00
Ryan Barrett 0723eca115
migrate webmention task to common.create_task
also bring back lexrpc logging, other minor docstring/comment updates
2023-09-11 16:21:03 -07:00
Ryan Barrett a57edf8038
Web user signup: remove leading and trailing dots from domains 2023-09-10 22:04:00 -07:00
Ryan Barrett a9a9193ba0
hub.yaml: minor tweaks to get service running 2023-09-10 21:54:28 -07:00
Ryan Barrett d2bb9108c7
atproto: switch to new simpler atproto-commit task without seq 2023-09-10 16:44:05 -07:00
Ryan Barrett f602712676
docs: more minor tweaks to protocol comparison table 2023-09-10 16:20:55 -07:00
Ryan Barrett 0e5d980111
incoming webmentions: skip backlink check when running locally 2023-09-09 15:47:38 -07:00
Ryan Barrett eb0bc39e70
hub: set arroba.server.storage 2023-09-09 15:45:11 -07:00
Ryan Barrett fd6e371635
make Protocol._targets use per-protocol blocklist check 2023-09-09 15:11:52 -07:00
Ryan Barrett 0d2e4fb66a
noop: protocol: label classmethod cls identifiers with from/to 2023-09-09 14:19:27 -07:00
Ryan Barrett bd7cfa20f6
hub: implement atproto-commit task handler, other misc setup 2023-09-09 14:02:19 -07:00
Ryan Barrett efcd2d89b4
common.create_task: only log in local server, don't actually create task 2023-09-09 07:51:54 -07:00
Ryan Barrett ee3b72fb1e
atproto: enqueue atproto-commit task for first commit on new repo 2023-09-09 07:50:53 -07:00
Ryan Barrett 165a403353
drop User.k256_pem, use arroba's AtpRepo.signing_key/rotation_key instead 2023-09-08 21:52:46 -07:00
Ryan Barrett ac06e0fef3
atproto: update for arroba rotation key, always create did:plc and repo together 2023-09-08 21:08:12 -07:00
Ryan Barrett 57b91a9e49
user page snippet rendering: strip HTML from content
fixes #637
2023-09-08 14:26:19 -07:00
Ryan Barrett 0bb1038c3a
updates for appengine_info changes, LOCAL => LOCAL_SERVER etc
snarfed/webutil@722053854a through snarfed/webutil@86d89bd3df
2023-09-07 12:01:43 -07:00
Ryan Barrett f116dbfa26
implement atproto_handle() in Web, ActivityPub, ATProto 2023-09-06 19:52:09 -07:00