Commit Graph

139 Commits

Author SHA1 Message Date
nazeh
b2eaf312cc chore(js): publish 0.2.0 2024-11-03 21:03:46 +03:00
nazeh
1d179c7197 Merge branch 'dev' of https://github.com/pubky/pubky into feat/pkarr-reqwest 2024-10-01 08:34:43 +03:00
nazeh
72f86849e7 Merge branch 'main' of https://github.com/pubky/pubky into dev 2024-09-30 20:25:54 +03:00
nazeh
901627d167 feat: update pkarr to v3 2024-09-30 20:15:04 +03:00
nazeh
f2a4fe3902 feat(pubky): add [PubkyClient::pkarr] method to return ref to pkarr client 2024-09-28 08:05:21 +03:00
nazeh
560972cead fix(pubky): unit test bug 2024-09-27 12:33:35 +03:00
nazeh
2ae54359bf feat(pubky): use resolve_endpoint from pkarr 2024-09-25 22:50:52 +03:00
nazeh
9fd8501718 refactor(pubky): simplify internals mod after using pkarr client 2024-09-22 19:12:07 +03:00
nazeh
ad9db81b00 refactor(pubky): replace pkarr_publish/pkarr_resolve with pkarr.publish/pkarr.resolve 2024-09-22 19:09:17 +03:00
nazeh
5aa53f4873 refactor(pubky): remove unused pkarr_relays from PubkyClient 2024-09-22 19:06:48 +03:00
nazeh
fff7b6af39 feat(js): use pkarr relay Client instead of inline impl 2024-09-22 18:50:57 +03:00
nazeh
1f73b72371 refactor(pubky): remove unused session_cookies in PubkyClient 2024-09-22 18:33:47 +03:00
nazeh
966ccc11e1 refactor(pubky): simplify session management using 'fetch-cookie' dependency 2024-09-22 18:29:58 +03:00
nazeh
6544a82d4c Merge branch 'main' of https://github.com/pubky/pubky into feat/pkarr-reqwest 2024-09-22 13:11:05 +03:00
nazeh
98aa046ff0 feat(pubky): update pkarr v3 2024-09-22 12:00:57 +03:00
nazeh
a373605af7 feat(pubky): endpoints return A and AAAA records 2024-09-20 17:59:06 +03:00
nazeh
bcaebc55d2 feat(pubky): Resolve through intermediate pkarr packet 2024-09-20 10:20:07 +03:00
nazeh
c4af158fc8 feat(pubky): Resolve and connect to a direct server (localhost) 2024-09-19 17:00:31 +03:00
nazeh
3d1a081414 refactor(pubky): separate public API modules from internals 2024-09-19 08:55:21 +03:00
nazeh
78aad43f52 chore(js): publish 0.1.16 2024-09-17 19:02:35 +03:00
nazeh
80bed52c85 feat(pubky): authRequest response return PublicKey instead of Session
In Authentication mode, there might be no Homeserver to sign in to and get a session
2024-09-17 19:02:13 +03:00
nazeh
4620b94799 feat(js): add PubkyClient.fetch() 2024-09-17 17:31:32 +03:00
nazeh
d8f0a28184 Merge branch 'main' of https://github.com/pubky/pubky 2024-09-17 14:41:41 +03:00
nazeh
32cb8adf6f chore: change 'monotonic' to 'strict monotonic' in code comements 2024-09-17 14:41:32 +03:00
nazeh
f999475f2b refactor(pubky): remove publickey from endpoint struct for clippy 2024-09-13 10:56:09 +03:00
nazeh
f381f9f1a3 fix(homeserver): add DEL event when entry is deleted but not its blob 2024-09-13 10:53:15 +03:00
nazeh
9e6b65460c fix(homeserver): add a reference counter for chunks to avoid deleting shared blobs 2024-09-12 17:56:53 +03:00
nazeh
9a112b94d1 chore(js): publish 0.1.15 2024-09-07 21:03:35 +03:00
nazeh
db006612ef feat(js): return Session class from auth methods 2024-09-07 11:35:24 +03:00
nazeh
32377080d1 feat(js): add authRequest() 2024-09-06 22:17:12 +03:00
nazeh
cfd50451a2 examples(authz): simplify authenticator using native methods 2024-09-06 15:09:58 +03:00
nazeh
a03117114b feat(homeserver): return 403 Forbidden for insufficient permisisons 2024-09-06 14:10:46 +03:00
nazeh
f1b65e9dac feat(pubky): add PubkyClient::auth_request and send_auth_token 2024-09-05 20:50:02 +03:00
nazeh
f6f356f6ae Merge branch 'main' of https://github.com/pubky/pubky into feat/authz 2024-09-04 13:23:23 +03:00
nazeh
aa935a3711 test(pubky): add back resolvers in PubkyClient::test() 2024-09-04 12:57:52 +03:00
nazeh
e496f7a821 test(pubky): put event get sequence 2024-09-04 10:53:03 +03:00
nazeh
a7b030c4f1 refactor(pubky): signin_with_authtoken used in both signin methods 2024-09-03 13:50:04 +03:00
nazeh
c442675104 feat(common): AuthToken add namespace and remove homeserver/aud 2024-09-03 12:22:34 +03:00
nazeh
5773b2d046 wip: first demo of authz 2024-09-03 11:31:36 +03:00
nazeh
634d309766 examples(authz): test thirdPartySignin() 2024-09-02 17:05:06 +03:00
nazeh
854fbd8c6f Merge branch 'main' of https://github.com/pubky/pubky into feat/authz 2024-09-02 11:16:46 +03:00
nazeh
002abbbbca feat(pubky): add PubkyClientBuilder::testnet() and skip setting dht_request_timeout in CI 2024-09-02 09:40:01 +03:00
nazeh
25f757f94d feat(pubky): add PubkyClient::authorize() 2024-09-02 00:22:32 +03:00
nazeh
cd32df075b feat(pubky): use rustls-tls feature in reqwest 2024-09-02 00:21:27 +03:00
nazeh
0fe5e1aa74 feat(common): simplify Capabilities 2024-09-01 19:33:04 +03:00
nazeh
5d9be5c0f0 feat(js): add randomBytes() and hash() functions 2024-09-01 18:17:34 +03:00
nazeh
915ae66f1a feat(js): add window.pubky and move static methods out of PubkyClient 2024-09-01 16:47:22 +03:00
nazeh
de38987d96 refactor(pubky): move recovery_file code to pubky_common 2024-08-31 17:29:32 +03:00
nazeh
16771d662b test(pubky): increase request_timeout to avoid failing resolution 2024-08-30 13:24:43 +03:00
nazeh
467738bb23 test(pubky): increase request_timeout to avoid failing resolution 2024-08-30 11:25:05 +03:00