Commit Graph

265 Commits

Author SHA1 Message Date
Nuh
eb5beeaf28 Merge pull request #44 from pubky/feat/non-blocking-writes
Feat/non blocking writes
2024-10-16 21:37:48 +03:00
nazeh
ffd3cfbaac test(homeserver): remove system dependent test 2024-10-16 18:57:54 +03:00
nazeh
060acb077f fix(homeserver): fix chunk size calculation 2024-10-16 18:41:49 +03:00
nazeh
aace1aa8f0 chore(homeserver): remove debug_handler 2024-10-16 18:11:36 +03:00
nazeh
fd88986a32 feat(homeserver): optimize chunk size for LMDB details 2024-10-16 17:52:10 +03:00
nazeh
8dde7b17da feat(homeserver): add Entry::read_content() method 2024-10-16 16:40:37 +03:00
nazeh
3c5b123afd feat(homeserver): handle streaming large files in and out 2024-10-16 16:26:35 +03:00
nazeh
279db97743 feat(homeserver): increase the file size limit to 100 Mb 2024-10-14 13:01:46 +03:00
nazeh
29640eb702 Revert "feat(homeserver): log cookies on auth"
This reverts commit eacf942d08.
2024-10-11 17:22:48 +03:00
nazeh
379e921d18 Revert "feat(homeserver): set session cookies expiration date to two years"
This reverts commit e749a685cd.
2024-10-11 17:22:27 +03:00
nazeh
eacf942d08 feat(homeserver): log cookies on auth 2024-10-11 16:44:39 +03:00
nazeh
e749a685cd feat(homeserver): set session cookies expiration date to two years 2024-10-11 16:31:12 +03:00
nazeh
fdfde60c72 examples(request): add a GET pubky:// url example 2024-10-10 13:28:58 +03:00
nazeh
76e9520138 feat(pubky): return cached packets if nothing else is available 2024-10-07 17:18:20 +03:00
nazeh
5a1a3da70b feat(homeserver): publish HTTPS instead of SVCB records 2024-10-07 17:18:20 +03:00
nazeh
affd589f1a chore: clippy 2024-10-07 17:18:20 +03:00
Nuh
c001c96682 Merge pull request #40 from pubky/catch-21-pubky-homeserver-readme
Update README.md
2024-10-04 12:54:09 +03:00
James
c77035c33a Update README.md 2024-10-04 10:09:18 +01:00
Nuh
3d8d8a8090 Merge pull request #41 from pubky/fix/detect-https-for-cookies
fix(homeserver): detect requests in secure context for cookies
2024-10-03 16:55:29 +03:00
nazeh
83ad51eb92 fix(homeserver): set the well-known keypair at Config::testnet 2024-10-03 16:46:29 +03:00
nazeh
b543ffbb04 fix(homeserver): detect requests in secure context for cookies 2024-10-03 16:32:09 +03:00
James
7159a40987 Update README.md 2024-10-03 08:40:24 +01:00
nazeh
27dd993085 chore(homeserver): rename config.toml to config.example.toml 2024-10-03 09:51:59 +03:00
nazeh
ba66c3ccd7 chore(examples): cargo fmt 2024-10-02 18:21:21 +03:00
nazeh
2b15826fa3 fix(examples): rename cargo.toml to Cargo.toml 2024-10-02 18:15:42 +03:00
nazeh
7485e41a77 wip 2024-10-02 18:15:20 +03:00
nazeh
0e90b8068a fix(examples): rename cargo.toml to Cargo.toml 2024-10-02 18:12:55 +03:00
nazeh
8e82d84201 Merge branch 'main' of https://github.com/pubky/pubky 2024-10-02 17:17:13 +03:00
nazeh
02bea3146c examples(authn): add signup example 2024-10-02 17:17:01 +03:00
=
12f0ec33ba fix(homeserver): test configuration in linux 2024-09-30 19:58:03 +02:00
nazeh
4730927226 chore: update Cargo.lock 2024-09-30 13:37:29 +03:00
nazeh
b9ce4bc49c feat(homeserver): add Config::db_map_size and set it to 10mb in Config::test; 2024-09-30 12:37:17 +03:00
nazeh
f48f5f69bc docs: small fix in Auth spec 2024-09-29 14:04:39 +03:00
nazeh
842b9f32c8 feat(homeserver): treat (empty) as None' 2024-09-28 08:35:43 +03:00
nazeh
e031c7a9dd fix(common): Session::deserialize better error for empty payloads 2024-09-28 08:13:42 +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
6897671612 feat(homeserver): allow empty config file 2024-09-27 15:44:58 +03:00
nazeh
d129e4bb6d fix(homeserver): add list limits in config 2024-09-27 14:43:30 +03:00
nazeh
f029171948 feat(homeserver): add DEFAULT_LIST_LIMIT and DEFAULT_MAX_LIST_LIMIT 2024-09-27 12:53:11 +03:00
nazeh
560972cead fix(pubky): unit test bug 2024-09-27 12:33:35 +03:00
nazeh
e01a9c4568 fix(homeserver): increase the LMDB map size to 10TB to avoid MDB_MAP_FULL 2024-09-27 09:09:13 +03:00
nazeh
6e42cd38e4 feat(homeserver): internal server errors should be logged first 2024-09-27 09:00:52 +03:00
nazeh
d39e3b933c examples(authz): update authz 3rd party app 2024-09-18 11:29:30 +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
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
Nuh
db0710f33f Merge pull request #33 from pubky/fix/chunks-ref-count
fix(homeserver): add a reference counter for chunks to avoid deleting shared blobs
2024-09-13 11:02:57 +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