Commit Graph

105 Commits

Author SHA1 Message Date
nazeh
7deac44fe3 chore: publish 0.1.2 2024-07-31 17:52:52 +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
b3152942dc feat(homeserver): return 401 forbidden if you try to write to someone else's drive 2024-07-30 20:28:05 +03:00
nazeh
e9bb104ba5 fix(pubky): recursive resolution of homeserver 2024-07-30 15:56:53 +03:00
nazeh
7e451a5d00 feat(pubky): add PubkyClient.testnet() helper 2024-07-30 15:55:20 +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
dcf6bdf3da fix(homeserver): handle missing user agent 2024-07-30 11:00:24 +03:00
nazeh
5b45863d34 docs: fix getting started example in npm package 2024-07-29 15:28:50 +03:00
nazeh
2493b0ef5a docs: fix getting started example in npm package 2024-07-29 15:28:20 +03:00
Nuh
ccf4c00ca7 Merge pull request #22 from pubky/feat/ffi
Feat/ffi
2024-07-29 15:04:16 +03:00
nazeh
59839c521d docs: fix some comments 2024-07-29 14:55:23 +03:00
nazeh
75d8acde65 feat(pubky): override default pkarr relays 2024-07-29 14:48:51 +03:00
nazeh
5b9a49898b chore(pubky): clippy issues 2024-07-29 14:18:45 +03:00
nazeh
bdd07f579c fix(pubky): cookies jar in nodejs 2024-07-29 14:11:19 +03:00
nazeh
65f94045b9 fix(pubky): cookies jar in nodejs 2024-07-29 14:10:58 +03:00
nazeh
bd5b44e544 feat(pubky): add put/get methods for js 2024-07-29 13:13:56 +03:00
nazeh
ce2a00f020 chore(pubky): add script to run testnet homeserver 2024-07-29 09:35:56 +03:00
nazeh
d64f610102 feat(pubky): cookie jar for nodejs 2024-07-29 09:27:53 +03:00
nazeh
9bef331da0 chore(pubky): slight size optimization for wasm bundle size 2024-07-29 09:22:59 +03:00
nazeh
d050866cce feat(pubky): auth working everywhere except nodejs 2024-07-28 23:24:32 +03:00
nazeh
3cc81a5d0e test(pubky): add headless testing instead of examples 2024-07-28 20:10:03 +03:00
nazeh
e0b58451b5 refactor(pubky): move pkarr logic to shared 2024-07-28 19:53:30 +03:00
nazeh
3cfd876808 refactor(pubky): remove unused flume 2024-07-28 18:45:24 +03:00
nazeh
d35c586a12 feat(pubky): start testing js package against local homeserver 2024-07-28 18:38:21 +03:00
nazeh
dac2284065 feat(homeserver): add in memory pkarr relay api for testing 2024-07-28 12:22:20 +03:00
nazeh
c40ba8390b feat(pubky): enable get and put methods 2024-07-27 19:31:26 +03:00
nazeh
ba50429b7a feat(pubky): use reqwest and async instead of ureq 2024-07-27 18:31:34 +03:00
nazeh
c466ca5546 refactor(pubky): share helper functions between rust and wasm 2024-07-27 10:13:42 +03:00
nazeh
e05a49cd04 fix: cargo clippy 2024-07-26 21:47:25 +03:00
nazeh
cdfd6c30ff refactor(pubky): refactor modules 2024-07-26 21:10:19 +03:00
nazeh
42156b10f5 feat(js): signup 2024-07-26 20:10:50 +03:00
nazeh
d81b6234d4 test: add JS unit tests instead of nodejs examples 2024-07-26 16:45:59 +03:00
nazeh
e407461c0d examples: add preinstall script 2024-07-25 14:36:39 +03:00
nazeh
b03602045f feat(js): successful _initial_ test of wasm in nodejs and browser 2024-07-25 14:05:42 +03:00
nazeh
ae4a34c511 feat(pubky): add wasm mod 2024-07-24 22:26:32 +03:00
nazeh
979882b443 feat(js): add common modules 2024-07-24 18:02:41 +03:00
Nuh
5cdf299f1a Merge pull request #21 from pubky/feat/basic-data-store
Feat/basic data store
2024-07-23 21:17:27 +03:00
nazeh
cc97744f25 feat(pubky): get successful 2024-07-23 21:15:41 +03:00
nazeh
8cf18a3c0c feat(pubky): add get() 2024-07-23 19:04:02 +03:00
nazeh
62cc13bca4 refactor(pubky): separate PubkyClient implementation into modules 2024-07-23 11:35:53 +03:00
nazeh
401872a61f feat(homeserver): stream incoming body 2024-07-23 11:26:12 +03:00
Nuh
0109ab44f2 Merge pull request #20 from pubky/feat/basic-auth
Feat/basic auth
2024-07-22 15:46:18 +03:00
nazeh
5a6c7ae9c5 feat(homeserver): add signin endpoint 2024-07-21 11:50:22 +03:00
nazeh
c399a8b3be feat(homeserver): signout 2024-07-21 11:13:03 +03:00
nazeh
2c38e8e071 feat(pubky): return Session struct 2024-07-21 10:23:11 +03:00
nazeh
6aa64aeb92 fix(homeserver): return session from /:pubky/sesison 2024-07-20 18:13:23 +03:00
nazeh
4f87c7d444 feat(homeserver): check session exists 2024-07-20 13:10:54 +03:00
nazeh
c9ccbbb77c feat(homeserver): add Users table 2024-07-18 13:18:01 +03:00