Pascal Precht
853ab2d855
fix: make code compile again after rebase
2018-10-23 11:26:15 +02:00
Pascal Precht
188a688264
refactor(modules/ipfs): use ProcessManager APIs to register and launch IPFS process
...
ProcessManager can be used to "register" processes and along with it, a launch function
that will be executed when a process is requested to launch.
Prior to this commit the IPFS process has not be registered and launching the process
was done manually, bypassing ProcessManager APIs.
With this commit we take advantage of ProcessManager APIs to register the IPFS process
and launch it using the `process:launch` event.
2018-10-23 10:57:54 +02:00
Iuri Matias
2843303d8c
rebase fixes
2018-10-23 10:44:13 +02:00
Jonathan Rainville
459d0cc2d6
small conflicts
2018-10-23 10:23:43 +02:00
Anthony Laibe
99a38b08c8
Adding ipns
2018-10-23 10:15:46 +02:00
Anthony Laibe
6a3e8081a5
Add ipns resolve
2018-10-23 10:15:46 +02:00
Iuri Matias
bd13626d49
fix logger
2018-10-23 10:05:20 +02:00
Iuri Matias
1564a2c511
check ipfs connection before attempting to connect
2018-10-23 10:05:19 +02:00
emizzle
2d19d12e39
Support for embark-status plugin
...
Added request to update cors from a plugin (affects blockchain client and storage client).
2018-10-22 19:54:48 +02:00
Moksh Jain
51b2cce0ea
adds dashboard logging for: geth, ipfs, swarm
2018-10-22 19:39:25 +02:00
emizzle
9aa3217331
After upload message regarding CORS and public gateways
2018-10-22 19:30:13 +02:00
Andre Medeiros
0bdafc273f
Fetch IPFS dir hash deterministically
2018-09-21 16:52:39 -04:00
Jonathan Rainville
742936efc3
make sure the string is an IPFS hash and some linting
2018-09-11 16:09:46 -04:00
Anthony Laibe
d772b4fdaf
Add embarkjs to console
2018-08-30 10:04:58 +01:00
Michael Bradley, Jr
08fc21c890
gateway URLs: http -> https
2018-08-28 15:44:50 -05:00
Anthony Laibe
39b9d6e1d8
PR feedback
2018-08-23 09:59:02 +01:00
Anthony Laibe
b0e0989359
Move ipns function to ipfs
2018-08-22 10:48:45 +01:00
Jonathan Rainville
212eb79754
fix small oopsies and make it work
2018-08-21 16:05:58 -04:00
Anthony Laibe
b548f9efae
PR feedback
2018-08-21 16:05:39 -04:00
Anthony Laibe
65edc47187
Adding default callback
2018-08-21 16:05:39 -04:00
Anthony Laibe
d6849bf04f
Add IPNS demo
2018-08-21 16:05:39 -04:00
Anthony Laibe
508b37163e
Simply use promise
2018-08-21 16:04:22 -04:00
Anthony Laibe
2f8ca177e9
Make __embarkIPFS global
2018-08-21 16:04:22 -04:00
Anthony Laibe
4c4501a069
Use promise on ipns namesystem
2018-08-21 16:04:22 -04:00
Anthony Laibe
7194b045e6
Adding ipns
2018-08-21 16:04:22 -04:00
Anthony Laibe
174412bee1
Adding register
2018-08-21 16:04:22 -04:00
Anthony Laibe
1427b4596d
Add ipns resolve
2018-08-21 16:04:22 -04:00
Iuri Matias
29b0d01f22
move processes into core
2018-08-21 16:04:22 -04:00
Iuri Matias
d7340b4f5a
move storage processes to their own modules
2018-08-21 16:02:18 -04:00
Iuri Matias
7c0c2550c3
use buildUrlFromConfig
2018-08-21 15:31:55 -04:00
Iuri Matias
2baa6ed792
make linter happy
2018-08-21 15:30:11 -04:00
Iuri Matias
c3382c9dd6
fix callback
2018-08-21 15:30:11 -04:00
Iuri Matias
aaf127fd1d
move storage config check to the constructor
2018-08-21 15:30:11 -04:00
Iuri Matias
d5f77fb965
simplify getJson
2018-08-21 15:30:11 -04:00
Iuri Matias
97be8b7463
refactor storage config check
2018-08-21 15:30:11 -04:00
Iuri Matias
46a6d391cd
simplify use of callback
2018-08-21 15:30:11 -04:00
Iuri Matias
df97a6ac00
re-add register upload cmd api; refactor storage module initialization
2018-08-21 15:30:11 -04:00
Iuri Matias
e07d06fa4c
make linter happy
2018-08-21 15:30:11 -04:00
Iuri Matias
2780b4eb2f
fix upload callback
2018-08-21 15:30:11 -04:00
Iuri Matias
f7ac654d92
fix getting params from upload field
2018-08-21 15:30:10 -04:00
Iuri Matias
3ddbe0ea3d
fix logger
2018-08-21 15:30:10 -04:00
Iuri Matias
c70e583557
get correct ipfs node depending on the config
2018-08-21 15:30:10 -04:00
Iuri Matias
513659a53e
check ipfs connection before attempting to connect
2018-08-21 15:30:10 -04:00
Iuri Matias
651ef31bb5
fix start process
2018-08-21 15:30:10 -04:00
Iuri Matias
14710e06d8
use commands to request upload; let storage component figure out which one to call
2018-08-21 15:30:10 -04:00
emizzle
efe649e4e6
Removed p-iteration from embark altogether.
...
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-08-21 15:12:07 -04:00
Iuri Matias
7706e276bf
Merge pull request #533 from embark-framework/bug_fix/ipfs-service-check-error
...
Storage provider initialisation fixes and improvements.
2018-06-15 18:09:30 -04:00
emizzle
eedcdc77a7
Solc loading issue now fully resolved
...
Added better error checking for solidity compilation errors
Extracted timer functionality for downloading packages so it works across the main process and child processes.
Npm class is instantiated only once and reused for event commands.
Npm class can handle concurrent requests for the same package and callback the installation result for each request.
2018-06-15 17:02:53 -04:00
emizzle
24e1ed36f7
Fixed issue with IPFS not starting when swarm failed.
...
Added logging when starting of all storage providers has completed, and whether or not there were errors during starting of one of the providers.
Added parallel processing for starting dappConnection storage providers.
Removed irrelevant IPFS error from trace logs when IPFS not available.
2018-06-15 16:35:05 +10:00
Eric Mastro
c45fdb12df
Improve storage logging (during --loglevel trace)
...
Includes IPFS command run
Includes response from IPFS/Swarm service checks
Includes url being checked during IPFS/Swarm service checks.
2018-06-05 11:39:28 +10:00