Commit Graph

54 Commits

Author SHA1 Message Date
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
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
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
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
25f757f94d feat(pubky): add PubkyClient::authorize() 2024-09-02 00:22:32 +03:00
nazeh
0fe5e1aa74 feat(common): simplify Capabilities 2024-09-01 19:33:04 +03:00
nazeh
de38987d96 refactor(pubky): move recovery_file code to pubky_common 2024-08-31 17:29:32 +03:00
nazeh
6071d4b7c4 Merge branch 'main' of https://github.com/pubky/pubky into feat/authz 2024-08-30 09:25:12 +03:00
nazeh
16dfc09687 feat(homeserver): store and return session capabilities 2024-08-29 11:48:21 +03:00
nazeh
8118e94430 fix(pubky): return error if resolve_endpoint couldn't find non Pkarr domain 2024-08-28 20:39:32 +03:00
nazeh
892d5b2d9a fix(pubky): resolve_endpoint break loop if packet not resolved 2024-08-28 20:34:28 +03:00
nazeh
98910b40de feat(homeserver): update signup and signin to use new AuthToken 2024-08-28 19:55:29 +03:00
nazeh
03078b0e1b Merge branch 'main' into feat/feed 2024-08-23 10:45:52 +03:00
nazeh
2f33e557a3 feat(pubky): support resolving Endpoints with HTTPS records 2024-08-23 08:25:34 +03:00
nazeh
a16569b23b fix(pubky): decrypt_recovery_file, correctly parse SnD 2024-08-22 14:30:02 +03:00
nazeh
01d0f3bce1 refactor(tests): redundant keypair.public_key() calls 2024-08-21 11:28:03 +03:00
nazeh
7257e2fee7 fix(homeserver): /events/ iterator and write unit test in pubky 2024-08-21 11:22:24 +03:00
nazeh
4391b1c7ff chore(pubky): remove unused 2024-08-20 10:22:05 +03:00
nazeh
21c0079368 docs(pubky): small docs improvements 2024-08-08 13:57:04 +03:00
nazeh
386e51e5b6 fix(homeserver): cursor is a pubky url 2024-08-08 13:38:25 +03:00
nazeh
e163e7f229 test(pubky): thorough testing for list options 2024-08-08 12:02:46 +03:00
nazeh
5eb54402d2 feat(js): add list shallow option 2024-08-07 19:05:29 +03:00
nazeh
e10cf77fe2 feat(pubky): shallow list folder and files 2024-08-07 18:52:04 +03:00
nazeh
dd2c9ea93c feat(homeserver): list when path ends with '/' and some refactoring 2024-08-07 18:01:02 +03:00
nazeh
1db1d3a21d feat(js): add list() method 2024-08-05 16:34:26 +03:00
nazeh
38d9c98caa feat(pubky): use builder pattern for client::list() 2024-08-05 12:19:07 +03:00
nazeh
ed4afeea60 feat(pubky): add list cursor 2024-08-04 17:27:24 +03:00
nazeh
01cc1e91bb feat(pubky): add list limit 2024-08-04 16:38:40 +03:00
nazeh
9ec6ec58fd feat(pubky): simple list api with reverse option 2024-08-04 16:30:59 +03:00
nazeh
11334bf81c feat(pubky): add recovery file generation and decryption 2024-08-03 16:33:38 +03:00
nazeh
f760175541 feat(pubky): add delete files by url 2024-08-01 09:37:47 +03:00
nazeh
65a6d776c3 feat(pubky): accept url instead of public key and path 2024-07-31 17:46:59 +03:00
nazeh
7feef474d3 feat(pubky): return errors if response status is >= 400 2024-07-30 20:28:34 +03:00
nazeh
e9bb104ba5 fix(pubky): recursive resolution of homeserver 2024-07-30 15:56:53 +03:00
nazeh
d8d3a43abd chore: fix tests in ci 2024-07-30 14:44:42 +03:00
nazeh
2366e066cc Merge branch 'main' of https://github.com/pubky/pubky 2024-07-30 13:44:11 +03:00
nazeh
5b9a49898b chore(pubky): clippy issues 2024-07-29 14:18:45 +03:00
nazeh
bd5b44e544 feat(pubky): add put/get methods for js 2024-07-29 13:13:56 +03:00
nazeh
d64f610102 feat(pubky): cookie jar for nodejs 2024-07-29 09:27:53 +03:00