606 Commits

Author SHA1 Message Date
haad
b539877a39 Fix race conditions upon dropping database 2025-05-20 13:17:17 +03:00
haad
85686ba478 Fix timeout and timing bug in Sync 2025-05-20 10:00:37 +03:00
haad
90f84bf12f Encode heads to bytes correctly 2025-05-20 09:50:37 +03:00
Hayden Young
6f72fdddfe fix: Put entry and index before setting heads to avoid retrieving a head not in the database. 2025-05-17 01:22:58 +02:00
haad
dc150b9cc2 Fix a timeout/race condition when closing databases 2025-05-09 12:37:40 +02:00
haad
0295262092 Refactor heads 2025-05-09 12:37:13 +02:00
haad
1d08f996c5 Cancel ipfs block fetches when storage is closed 2025-05-09 12:36:44 +02:00
haad
5dc8ea25fd Rename index to OplogStore 2025-05-09 12:36:24 +02:00
haad
dccbd1c6a2 doc: More documentation fixes 2025-05-04 10:06:02 +02:00
Hayden Young
03f0b1141e refactor: Pin verified entry. 2025-03-07 12:25:02 +01:00
Hayden Young
6f3b605174 refactor: Separate password encryption into its own module. 2025-03-03 18:20:27 +01:00
Hayden Young
e144bf760c fix: Pin when adding verified entries. 2025-02-28 18:18:06 +01:00
Hayden Young
7110da6e2d fix: Add the encrypted entry to entries to ensure the entry is pinned. 2025-02-22 16:09:09 +01:00
Hayden Young
5f54993660 Merge remote-tracking branch 'origin' into feat/encryption 2025-02-22 15:27:07 +01:00
Julien Malard-Adam
c5898dd58a
Remove semicolons 2025-02-21 12:19:51 +01:00
Julien Malard-Adam
8ff138de46
Remove disconnected peers 2025-02-21 09:40:56 +01:00
Julien Malard-Adam
d504e0f7ba
Update sync.js
Remove console.error, since the error is already caught and reported by events.emit('error') afterwards
2025-02-12 11:15:08 +01:00
Julien Malard-Adam
28b3e807de
Update error name 2025-02-04 12:12:09 -05:00
Julien Malard-Adam
41f015cb13
Use .name instead of .code for errors
Fix for the change in libp2p here: https://github.com/libp2p/js-libp2p/pull/2655
2025-02-04 12:09:11 -05:00
Hayden Young
0f062cb38d fix: Remove duplicate put. 2024-11-01 11:23:07 +00:00
Hayden Young
4a5822c4a1 fix: Remove console output. 2024-10-31 22:48:11 +00:00
Hayden Young
bef35b013c Merge remote-tracking branch 'origin' into fix/manifest-store 2024-10-31 22:45:40 +00:00
haad
89ff328325 Test 2024-10-30 10:42:15 +01:00
Hayden Young
f01476c00a
Merge pull request #1199 from orbitdb/expose-identities
Expose identities from OrbitDB
2024-10-28 20:11:41 +08:00
Hayden Young
26cadb1cf9 fix: Reintroduce putting entry to entries to trigger pin on replica. 2024-10-22 13:06:48 +01:00
Hayden Young
58769c4d15 style: Linting. 2024-10-15 18:38:53 +01:00
Hayden Young
e1ef3224b4 feat: Upgrade ccrypto. 2024-10-15 18:35:19 +01:00
Lucas Leblow
52fc148c55 await verifyIdentity because it's async 2024-08-23 14:22:21 -06:00
haad
17e322cd71 Expose identities from OrbitDB 2024-08-02 11:32:53 +03:00
Hayden Young
71c2505f20 fix: Load browser crypto lib if available. 2024-07-08 12:52:24 +02:00
haad
d83bfa9fc8 Refactor and add separate PasswordEncryption module 2024-07-07 10:44:22 +03:00
haad
383420750e Move oplog storages to their own module 2024-06-30 09:25:00 +03:00
haad
f30789fece Encrypt and decrypt entries and payloads 2024-06-28 22:13:46 +03:00
Hayden Young
7e5672eff0 fix: Linting. 2024-05-23 15:33:33 +01:00
Hayden Young
f272d3ee3c feat: Encrypt oplog payload. 2024-05-23 15:24:49 +01:00
Hayden Young
90f66cfe5d feat: Pass encrypt configuration as a hierarchical list of params. 2024-05-22 17:05:51 +01:00
Hayden Young
ac3011c873 feat: Encrypt either data, payload or both. 2024-05-21 23:28:29 +01:00
Hayden Young
796308ca7f Merge remote-tracking branch 'origin/main' into feat/encryption 2024-05-17 03:29:50 +01:00
Hendrik Leppelsack
1d5c18e419
fix links to sync api docs and formatting of sync module docstring 2024-05-10 16:52:39 +02:00
Hayden Young
ed2c5e7d8c feat: Basic asymmetric encryption using an OrbitDB identity. 2024-05-01 15:44:57 +01:00
haad
1564ee0325 Remove obsolete useRefs option in log traverse function 2024-04-17 13:17:58 +03:00
haad
e6afa0b7e7 Remove unnecessary entry encoding step 2024-04-17 13:17:58 +03:00
haad
31433f3ff6 Cache keys in key-store 2024-04-17 12:45:01 +03:00
Hayden Young
7b818d26a2
Merge pull request #1160 from orbitdb/fix/kv-indexing
Fix indexing in KeyValueIndexed database
2024-04-16 13:43:26 +01:00
haad
40b600d9e6 Fix indexing in KeyValueIndexed database 2024-04-16 11:50:53 +03:00
Hayden Young
61f15fd556 fix: Pin a block. 2024-02-27 16:07:16 +00:00
haad
5a73b9cdfb Add amount and reverse iterator options to storage iterators 2024-02-21 09:36:00 +01:00
haad
16b3358355 Process appends and joins through a queue 2024-02-21 09:02:04 +01:00
haad
3e93d294bf Add del() to ComposedStorage 2024-02-13 09:26:14 +01:00
Hayden Young
848112a232 docs: Fix description. 2024-01-30 00:07:11 +00:00