Commit Graph

309 Commits

Author SHA1 Message Date
Hayden Young
5d7c4e407f feat: Identity storage. 2023-02-16 10:19:30 +02:00
Hayden Young
d5235ef23d refactor: Store identity hash against each entry. 2023-02-16 10:19:28 +02:00
Hayden Young
2d425f7323 test: For a non-existent document. 2023-02-16 10:19:01 +02:00
Hayden Young
2af2f7d8fb refactor: Use doc directly. Var renaming. 2023-02-16 10:19:01 +02:00
haad
ef60cb252c Add heads and entry index, use LevelStorage, clean up naming 2023-02-16 10:19:01 +02:00
Hayden Young
2ae11ca3e4 feat: A basic document store. 2023-02-16 10:18:41 +02:00
haad
c5bfcb8bd9 WIP 3 2023-02-16 10:18:39 +02:00
haad
f576795c3e WIP 2 2023-02-16 10:17:37 +02:00
haad
40494246e1 WIP 2 2023-02-16 10:17:23 +02:00
haad
42a5c2d723 WIP 2023-02-16 10:16:15 +02:00
haad
9892d57d67 Fix fs-shim 2023-01-12 11:08:50 +02:00
Hayden Young
cb21894828 fix: Check for custom-defined cache when migrating. 2023-01-05 16:59:44 +00:00
Hayden Young
51ab079153 fix: pass path to migration. 2022-12-30 03:07:01 +00:00
Hayden Young
d06d800943 refactor: Webpack imports. 2022-12-20 01:12:56 +00:00
Ronan LE MEILLAT
827f7e57fe BUG ipfs.id() is not a string 2022-08-23 20:54:54 -04:00
Ronan LE MEILLAT
f7a95d8587 BUG ipfs.id() is not a string 2022-08-23 20:54:54 -04:00
CSDUMMI
00287eb1ae cleaned up code in disconnect 2022-08-18 16:29:19 -04:00
tabcat
283572d7e3 improve manifest fetch timeout error msg 2022-05-09 22:42:04 -05:00
julienmalard
6b2a70f3eb Fix fs-shim error in electron renderer process 2022-04-25 16:57:34 -05:00
haad
9c2ce42c4f Use id instead of options.id 2021-11-16 09:01:40 +02:00
haad
08eaf84d74 Fix replication 2021-10-21 14:48:54 +03:00
Ryo Narita
01f230e448 Use is-electron package for accurate environment identification 2021-10-10 01:08:03 +09:00
tabcat
be4f31d25a use new cid package 2021-09-05 16:22:31 -05:00
Joris
c99c9b872b Added OrbitDB.Store property
To make it possible to access the class from the main module,
without the use of another module.

Like the other stores have already been made available.
2021-05-21 14:48:54 -04:00
geolffrey
545a1b7afe refactor: split line into two lines to improve readability 2021-05-07 20:00:49 -04:00
geolffrey
bbae301524 refactor: broker class instance with consistent parameters 2021-05-07 20:00:49 -04:00
Mark Henderson
a00688e941 Support js-ipfs 0.50.2 and go-ipfs 0.6.0
updating dependencies

Updating to node 12 image

updating dependencies

package-lock updates

offoading repo handling from tests

one more test fix

fixing message data handling

updating store deps
2020-09-17 21:05:59 -04:00
Joel Thorstensson
e402fdc457 Merge branch 'master' into update-peer-exchanged 2020-08-24 18:04:53 +02:00
Mark Henderson
39a00060d6 parent 32cc9a9b00
author Mark Henderson <mark@mrh.io> 1598051057 -0400
committer Mark Henderson <mark@mrh.io> 1598229380 -0400

parent 32cc9a9b00
author Mark Henderson <mark@mrh.io> 1598051057 -0400
committer Mark Henderson <mark@mrh.io> 1598229291 -0400

package updates and ipfs repo migration

validate-maintainers and orbit-db-test-utils

moving from 3 tabs to 2

wait workaround

wait 1000

standard --fix

redoing the replication test changes for some reason

validate-maintainers and orbit-db-test-utils

moving from 3 tabs to 2

wait workaround

wait 1000

standard --fix

fix create-open tests

fixing eventlog tests

fixing feed tests

fixing kvstore tests

fixing set identity tests

skipping replication tests for now

repo path based on API variable

js-ipfs.zip

go-ipfs.zip

skipping replicate tests as well

repo path based on API variable

js-ipfs.zip

go-ipfs.zip

package-lock

finalizing rebase
2020-08-23 21:52:10 -04:00
phillmac
6b7af61b10 Suport new base36 format, Improve unwieldy logic 2020-06-25 16:24:16 +10:00
Joel Torstensson
f876360e59 Merge branch 'master' into update-peer-exchanged 2020-06-12 17:37:21 +02:00
Kia Rahimian
651d793e31 fix: fs shim electron check 2020-05-17 15:29:41 -04:00
Kia Rahimian
80fdf57cbe fix: fs shim when running on electron renderer process 2020-05-15 10:44:11 -04:00
Mark Henderson
e2ad2a0b79 also exporting keystore 2020-05-15 10:28:17 -04:00
Mark Henderson
1c67c410aa feat: adding AccessControllers and Identites re-exports 2020-05-15 10:28:17 -04:00
Tyler Yasaka
a03e062c60 Check for store before emitting event 2020-02-10 15:55:49 +01:00
Tyler Yasaka
aee7e6a6b7 Emit peer.exchanged event when heads have been exchanged with peer 2020-02-10 15:55:48 +01:00
Zach Ferland
e5c6ae6c47 feat: share heads from cache on peer connect, available before log ready 2020-01-09 11:04:20 -05:00
phillmac
4712475c9f Allow hashes to being with 'ba'
On some occasions an ipfs address can start with `ba`
```
ipfs dag get bafyreicjqmfea2dlhcbyszyneaxcpdhlxjpsycxxaibpp4wlzfctiujxdm
{"accessController":"/ipfs/zdpuAzt2GWKYeF4Pbo3hcMipCimE7SqCKZcckGduqcDJ3tmRx","name":"docstore","type":"docstore"}

 ipfs cid format -f "%P" bafyreicjqmfea2dlhcbyszyneaxcpdhlxjpsycxxaibpp4wlzfctiujxdm
cidv1-cbor-sha2-256-32
```
2020-01-07 09:44:03 -05:00
shamb0t
73f878d1e5 use options.id 2019-11-14 15:38:00 +00:00
haad
de6cfdb1da Add offline mode option 2019-11-14 15:37:42 +02:00
phillmac
616c4c1c33 Error if address path mismatches manifest name 2019-11-08 18:28:50 +11:00
shamb0t
1bd9989420 Merge pull request #717 from hazae41/patch-2
Expose modules in OrbitDB object
2019-11-07 15:17:40 +00:00
hazæ41
839855fbe3 Normalize ; 2019-11-06 22:31:54 +01:00
hazæ41
ff4adf4017 More exposes 2019-11-06 22:30:38 +01:00
hazæ41
1838d093bc Expose modules in OrbitDB object
so we can grab them from OrbitDB without reimporting them.

Related to https://github.com/orbitdb/orbit-db/issues/715
2019-11-06 21:25:02 +01:00
Ivan Bravo Bravo
7ac1a48f51 Added Windows support. 2019-11-03 15:15:04 -06:00
Mark Robert Henderson
c04be71a4f Merge pull request #681 from tabcat/master
adds optional meta field to manifest
2019-09-27 14:04:43 -04:00
Mark Henderson
f9feb27c09 Using identity's keystore as default first
package-lock

pointing to branch

more cache management stuff

WIP

Passing tests

Removing static linking

fixing tests and linting

fixing package.json

removing last debugger

removing last debugger

Adding keystore and cache getters

PR comments

Removing extraneous cache management

Package files

Closing caches

using dbAddress as this.caches key

new tests for store management

Working but with slightly different semantics

Rebuild

package-lock

Dependency updates

removeHandler

restoring db.close in replication status test

package.json files

move handler to orbitdb.caches

Test updates

Cache management cleanup

use store.options.directory

requestCache in onLoad and onDrop

add status test

Adding db to this.stores in onLoad and onDrop

Working RC5 before rebase

Updating package-lock

restoring original replicaiton status test

package files

removing keystore getter

more keystore cleanup

typo
2019-09-24 10:48:27 -04:00
anders
7d8d6104bc remove spread syntax 2019-09-10 14:50:07 -05:00