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
Anthony Laibe
b0e0989359
Move ipns function to ipfs
2018-08-22 10:48:45 +01:00
Anthony Laibe
b548f9efae
PR feedback
2018-08-21 16:05:39 -04:00
Anthony Laibe
d6849bf04f
Add IPNS demo
2018-08-21 16:05:39 -04:00
Anthony Laibe
7194b045e6
Adding ipns
2018-08-21 16:04:22 -04:00
Anthony Laibe
1427b4596d
Add ipns resolve
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
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
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
Iuri Matias
37d54e22db
refactor services monitor to use events instead of passing addCheck around
2018-06-01 19:32:14 -04:00
emizzle
74d5ee3984
small fixes
2018-06-01 14:06:02 +10:00
emizzle
927f562a41
Fixed issue with CORS domains for auto-started geth, swarm, and ipfs processes.
...
Fixes after rebase:
* De-duped i18n en.json
* Re-built package-lock.json
Current WIP is auto-starting storage processes defined in dappConnection config.
2018-06-01 13:35:25 +10:00
emizzle
85117cf55c
Dynamic selection of storage provider now working based on improved storage config.
...
swarm plugin now re-initialises the bzz object when it's availability is checked. this creates a much more stable swarm implementation on the dapp side.
surrounded the storage provider init code block with embark env ready
added alternate swarm gateway url
can now upload dapp to ipfs and run swarm storage and vice versa
2018-06-01 13:35:11 +10:00
emizzle
6ac8672a31
Added a global storage module that inits ipfs or swarm depending on dappConnection options. WIP.
2018-06-01 13:34:49 +10:00
emizzle
942a57aa3a
Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
...
Currently stuck on starting multiple storage servcies at once. Might need a change in storage config spec.
WIP.
2018-06-01 13:33:44 +10:00
emizzle
0cb79d84a0
Dynamic selection of storage provider now working based on improved storage config.
...
swarm plugin now re-initialises the bzz object when it's availability is checked. this creates a much more stable swarm implementation on the dapp side.
surrounded the storage provider init code block with embark env ready
added alternate swarm gateway url
can now upload dapp to ipfs and run swarm storage and vice versa
2018-06-01 13:30:01 +10:00
emizzle
ec15823dbc
Added a global storage module that inits ipfs or swarm depending on dappConnection options. WIP.
2018-06-01 13:28:28 +10:00
emizzle
f6667b6948
Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
...
Currently stuck on starting multiple storage servcies at once. Might need a change in storage config spec.
WIP.
2018-06-01 13:28:05 +10:00
Iuri Matias
75c91992e3
Merge pull request #469 from embark-framework/refactor_contracts_part2
...
Refactor contracts part2
2018-05-31 10:37:43 -04:00
Iuri Matias
7ee62adb24
remove unused assignment
2018-05-30 17:30:51 -04:00
Iuri Matias
b3173c1ff3
register ipfs cmd correctly
2018-05-30 17:22:12 -04:00
Iuri Matias
b43a766de7
cleanup module call
2018-05-30 13:38:08 -04:00
Jonathan Rainville
29a50ea9cd
refactor assertNodeConnection to use it in watch
2018-05-23 11:17:02 -04:00
Iuri Matias
0363c676d4
initialized ipfs object to environment
2018-05-18 15:56:36 -04:00
Iuri Matias
0b70f32bb9
initial work for i18n
2018-05-10 15:01:34 -04:00
Iuri Matias
e0db5ed61a
refactor to use dappPath
2018-04-02 15:06:56 -04:00
Iuri Matias
fffde9d4b6
tolerate lack of addCheck which means is not running in dashboard mode
2018-03-30 10:59:31 -04:00
Iuri Matias
d5a21d579c
fallback to shelljs if pwd is empty (windows issue)
2018-03-26 15:08:07 -04:00
Iuri Matias
af9e27e078
fix ipfs service check
2018-03-02 17:25:59 -05:00
Iuri Matias
13e759bfee
support setting protocol in config; fix getUrl
2018-03-02 16:57:55 -05:00
Iuri Matias
82681fec8f
support versioning ipfs-api
2018-01-10 11:15:32 -05:00
Iuri Matias
0e502c1537
refactor service check
2017-12-30 21:44:59 -05:00