Commit Graph

379 Commits

Author SHA1 Message Date
nazeh
8be809c159 feat: update pkarr and mainline and add pubky ClientBuilder 2025-02-04 21:56:23 +03:00
nazeh
7ed43f0fba feat(homeserver): custom tracing layer support pubky:// urls for tenants #64 2025-01-22 21:56:24 +03:00
nazeh
2ef87f3511 feat(homeserver): custom tracing layer exclude noisy /events/ #64 2025-01-22 21:54:50 +03:00
nazeh
4ecd587806 feat(homeserver): support relative storage path in config file 2025-01-22 20:33:32 +03:00
nazeh
130eca3b2d chore(js): publish @synonymdev/pubky@0.4.0-rc3 2025-01-17 14:58:32 +03:00
nazeh
f4325bbc3f feat(homeserver): update Config and pkarr to support reverse proxies 2025-01-17 12:27:04 +03:00
nazeh
30237c43cb chore: published @synonymdev/pubky@0.4.0-rc2 2025-01-08 13:40:01 +03:00
nazeh
a14f8008b8 feat: use reserved HTTP_PORT service param for testnet 2025-01-08 13:37:37 +03:00
nazeh
dc01377d09 feat: publish HTTPS port even in testnet, and use testnet in request binary 2025-01-08 12:33:46 +03:00
nazeh
61c532fe85 chore:published @synonymdev/pubky@0.4.0-rc1 2025-01-07 08:53:33 +03:00
nazeh
9b7c7c6352 feat: update to pkarr v3-rc1 and mainline v5-rc1 2025-01-06 10:00:47 +03:00
nazeh
ccbd3ff2f9 feat(js): pass all unit tests 2024-12-22 15:41:00 +03:00
nazeh
4ccb06006a fix(homeserver): always get sessions from Cookies instead of manually from headers 2024-12-22 13:08:07 +03:00
nazeh
bcb8d39088 feat(homeserver): remove EntryPath extractor and add Authz and PubkyHost layers 2024-12-22 12:03:06 +03:00
nazeh
96be5818a7 feat(pubky): add handle_http_error! macro 2024-12-20 13:50:59 +03:00
nazeh
fa2a7d2738 feat(homeserver): use full public key as cookie name 2024-12-20 13:00:53 +03:00
nazeh
738bff1ae1 feat(homeserver): add PubkyHost and Authz layers 2024-12-20 11:30:58 +03:00
nazeh
3cfe6567f0 feat(homeserver): replace session_id with the first 8 bytes of a key 2024-12-19 16:10:31 +03:00
nazeh
0c1326c2c7 feat(homeserver): remove public key in path endpoints 2024-12-19 13:42:53 +03:00
nazeh
daa06b6453 fix(js): send correct pubky-host header 2024-12-19 13:27:25 +03:00
Nuh
f840ce3e43 Merge branch 'main' into dev 2024-12-18 11:16:48 +03:00
nazeh
f42797a234 feat(js): pass all unit tests 2024-12-18 00:16:49 +03:00
nazeh
992607a7a7 feat(homeserver): add http relay in homeserver testnet for js testing 2024-12-17 18:00:52 +03:00
nazeh
de7d34eca1 feat(http-relay): add http relay crate to help with local testing 2024-12-17 13:36:05 +03:00
nazeh
b4ef0ca810 feat(js): basic auth with pubky-host header 2024-12-16 13:17:55 +03:00
nazeh
6e886f0180 fix(js): replace pubky:// with https:// in transform_url 2024-12-16 11:04:39 +03:00
nazeh
4c6bc9d13d test(homeserver): add domain:localhost in unit tests 2024-12-15 22:52:48 +03:00
nazeh
1c0ff6c028 feat(js): add logging in wasm and setLogLevel function 2024-12-15 16:17:12 +03:00
nazeh
6262bb75cd feat(homeserver,js): connect to testnet from js 2024-12-15 15:14:12 +03:00
nazeh
c97e63ac88 feat(js): update error handling after removing crate::error 2024-12-14 20:39:08 +03:00
nazeh
d0f2ee7139 feat(pubky): remove crate::errors.rs and use anyhow 2024-12-14 20:11:54 +03:00
nazeh
453aa40d88 fix(pubky): fix authz test with in process http relay 2024-12-14 16:37:58 +03:00
nazeh
8a799a27e3 feat(common): add granular crypto errors 2024-12-14 16:37:23 +03:00
nazeh
3ebdeff354 feat(homeserver): use Pkarr Relay in testnet and new Config simplifications 2024-12-14 12:48:53 +03:00
Nuh
f306f33a34 Merge pull request #60 from pubky/fix/propagate-non-2xx-http-errors
fix: return an error for non-2xx responses using error_for_status()
2024-12-12 00:38:38 +03:00
coreyphillips
980bee2041 style: fix indentation in inner_send_auth_token 2024-12-11 16:09:34 -05:00
coreyphillips
bfc18502ce fix: return an error for non-2xx responses using error_for_status()
Previously, the request function returned Ok(()) even if the
HTTP response status was an error (4xx/5xx). By adding
`response.error_for_status()?`, we correctly propagate
HTTP errors rather than masking them, ensuring that timeouts and
other non-2xx status codes produce an error as expected.
2024-12-11 15:50:28 -05:00
nazeh
1a30f7d62d chore: update dependencies 2024-12-11 14:33:28 +03:00
nazeh
da2cc2a344 feat(homeserver): add http server as well as https 2024-12-03 16:37:55 +03:00
nazeh
1348a18401 feat(homeserver): remove pkarr endpoints in HomeserverCore 2024-12-03 16:14:59 +03:00
nazeh
8c40cd2ddf refactor(homeserver): separate the core and io modules 2024-12-03 16:01:44 +03:00
nazeh
6a41b490f0 feat(homeserver): mark unsafe methods caused by LMDB 2024-12-03 14:20:48 +03:00
nazeh
628049984e feat(pubky): update pkarr and use anyhow 2024-12-03 12:02:26 +03:00
nazeh
b1bef6aa3e wip(js): migrate wasm bindings to support pubky in host 2024-11-26 19:14:00 +03:00
nazeh
6f64831ae7 feat(pubky): pass all unit tests after using pubky in host 2024-11-26 17:46:48 +03:00
nazeh
9b5a4f98f2 feat(homeserver): separate core to simplify testing 2024-11-26 17:45:55 +03:00
nazeh
c088388717 fix(pubky): fix signup url 2024-11-26 14:00:34 +03:00
nazeh
e6f7fb3347 feat(pubky): add an icann reqwest client 2024-11-26 13:36:16 +03:00
nazeh
c9ae34584c feat(pubky): add TLS support for homeserver 2024-11-26 13:04:19 +03:00
nazeh
bb2799e579 fix: clippy 2024-11-25 18:31:00 +03:00