Commit Graph

3405 Commits

Author SHA1 Message Date
Jonathan Rainville 4e3e27df6c
Merge pull request #810 from embark-framework/bug_fix/fix-log-ipns
Make sure the string is an IPFS hash and some linting
2018-09-12 09:59:38 -04:00
Jonathan Rainville 1bbd8beef8
Merge pull request #802 from embark-framework/swarm-support-latest
Switch to SwarmJS which supports latest version of Swarm
2018-09-12 09:57:19 -04:00
Jonathan Rainville f427980cfe
Merge pull request #800 from embark-framework/bugfix/ens-test-app
Better trace register ens
2018-09-12 09:56:35 -04:00
Jonathan Rainville 0f635f8a33
Merge pull request #799 from embark-framework/feature/trace-console-log
Use trace logger for code runner error
2018-09-12 09:55:47 -04:00
Michael Bradley b3b8374d00
Merge pull request #812 from embark-framework/bug_fix/eject-webpack-outside-dapp
eject-webpack cmd should report error and exit if run outside DApp
2018-09-12 08:41:08 -05:00
Anthony Laibe 7bd0f45fec Remove ENS contracts from test app 2018-09-12 09:29:34 +01:00
emizzle 5021d39cae Add console help for swarm command 2018-09-12 12:57:46 +10:00
emizzle 680db4d575 Change over to published swarm-api library 2018-09-12 12:43:10 +10:00
Michael Bradley, Jr c662ab362b eject-webpack cmd should report error and exit if run outside DApp 2018-09-11 19:37:06 -05:00
Michael Bradley 8304657dc1
Merge pull request #811 from embark-framework/bug_fix/template_download_error
template download error
2018-09-11 16:17:25 -05:00
Jonathan Rainville e28d631bd1 fix error message 2018-09-11 17:10:36 -04:00
Michael Bradley, Jr a9865eedc5 provide helpful messages when template download fails 2018-09-11 15:44:54 -05:00
Michael Bradley, Jr a4af0d8f5b assume cb is always supplied 2018-09-11 15:44:37 -05:00
Michael Bradley, Jr 803b3f5050 should return after callback w/ error 2018-09-11 15:22:35 -05:00
Michael Bradley, Jr a44be3740b template generator should report err msg and exit if download fails 2018-09-11 15:19:15 -05:00
Michael Bradley, Jr ed48599aa9 downloadFile should callback w/ err msg if response code is not 200 2018-09-11 15:18:32 -05:00
Jonathan Rainville 742936efc3 make sure the string is an IPFS hash and some linting 2018-09-11 16:09:46 -04:00
Iuri Matias cbd208cae1
Merge pull request #805 from embark-framework/feature/blockchain-indicator
Adding blockchain indicator
2018-09-11 14:00:01 -04:00
Iuri Matias a2e03b5b13
Merge pull request #801 from embark-framework/bugfix/avoid-multiple-connect
Avoid multiple connect to IPC
2018-09-11 13:46:33 -04:00
Iuri Matias 6f188ae6c8
Update PULL_REQUEST_TEMPLATE.md 2018-09-11 13:38:40 -04:00
Iuri Matias bc22418250
Merge pull request #798 from embark-framework/features/dev_funds-doco
Add `dev_funds` doco to templates
2018-09-11 13:35:18 -04:00
Anthony Laibe 0884cd7c8e Adding blockchain indicator 2018-09-11 09:12:09 +01:00
Anthony Laibe 6ad9c0dc5a Update error with or 2018-09-10 17:08:09 +01:00
Anthony Laibe 32a6b53c6a Add missing callback 2018-09-10 17:05:11 +01:00
Anthony Laibe 16c870ac34 Use error logger 2018-09-10 13:57:54 +01:00
emizzle 1d03f01531 Update warnings in embark after upload
warn user that they need to run a blockchain node and swarm for the dapp to work correctly.
2018-09-10 22:47:31 +10:00
emizzle 6cfc914a04 Update package.json for swarmjs 2018-09-10 22:42:10 +10:00
emizzle b759e9eed7 Add ‘defaultpath’ for upload
Hardcode to ‘index.html’
2018-09-10 22:42:10 +10:00
emizzle 9d39fa39ac Swarm updates for embark
Change __embarkSwarm to use new SwarmJS and change over from promises.

Add note after upload that blockchain nodes needs to be running to access the swarm uploaded dapp.

Fix typo with swarm “on” available.

Linting / cleanup
2018-09-10 22:42:10 +10:00
emizzle e44b62d550 SwarmJS browser support 2018-09-10 22:42:10 +10:00
emizzle 3f5fe21b90 change to ‘uploadDirectory’ 2018-09-10 22:42:10 +10:00
emizzle 2dc8d8c276 Fix issue with swarm isAvailable 2018-09-10 22:42:10 +10:00
emizzle fcb75dee11 Move to swarmjs and await geth ready
Move to swarmjs library (in embark-framework).

Wait for geth to start before start of swarm check.
2018-09-10 22:42:10 +10:00
emizzle b5e8546ebd Converted upload procedure to local SwarmGW lib
# Conflicts:
#	package-lock.json
2018-09-10 22:42:00 +10:00
Anthony Laibe 68ef5454e0 Avoid multiple connect to IPC 2018-09-10 11:52:06 +01:00
Anthony Laibe 613921169a Better trace register ens 2018-09-10 10:12:02 +01:00
Anthony Laibe b41bcbbe17 Use trace logger for code runner error 2018-09-10 09:26:37 +01:00
emizzle 92ed32aeba Add `dev_funds` doco to templates 2018-09-10 11:22:47 +10:00
Iuri Matias 8c3ac34fac
Merge pull request #794 from embark-framework/bug_fix/check-node-modules
Check node modules before running
2018-09-07 19:05:21 -04:00
Iuri Matias 833fcef22a
Merge pull request #795 from embark-framework/bug_fix/webserver-config-change
Watch webserver config and restart it
2018-09-07 19:04:17 -04:00
Iuri Matias 4128a96997
Merge pull request #796 from embark-framework/bug_fix/web3-location
getWeb3Location should use require.resolve()
2018-09-07 19:03:59 -04:00
Iuri Matias 2a41c7c310
Merge pull request #792 from embark-framework/feature/ens-configured-only-once
Ens config is run only once
2018-09-07 18:48:06 -04:00
Iuri Matias 12fbb46aeb
Merge pull request #793 from embark-framework/feature/metamask-eip-1102
Ready for EIP 1102
2018-09-07 18:46:39 -04:00
Michael Bradley, Jr 7549c1f8e6 require.resolve() should start by looking in embark's own node_modules 2018-09-07 16:28:03 -05:00
Michael Bradley, Jr 13e21702d2 getWeb3Location should use require.resolve() for "version:get:web3" event 2018-09-07 15:52:30 -05:00
Jonathan Rainville 3d37fe6362 catch webserver config and restart it 2018-09-07 14:54:15 -04:00
Jonathan Rainville fb7b98c055 make sure we are in a Dapp 2018-09-07 12:40:25 -04:00
Jonathan Rainville 5c973258a5 add pakcage 2018-09-07 12:37:30 -04:00
Jonathan Rainville 542462faed check deps before launching 2018-09-07 12:37:18 -04:00
Anthony Laibe 4c580dd54d Pr feedback using once 2018-09-07 14:57:49 +01:00