Commit Graph

5129 Commits

Author SHA1 Message Date
Anthony Laibe 66e431cf13 fix(ui): switch aside 2018-11-20 09:21:03 +00:00
Jonathan Rainville cabfa939e7 fix(ipc): sends requests and events only when connected
Fixes #1063
2018-11-18 13:00:44 -05:00
Santiago Gonzalez Toral 89e3eb6156 feat(@embark/cli): add --template option to embark demo cli command
Adds a --template option to the embark demo cli command so it is now possible to generate a demo project using an existing embark's template repository on Github with an existing demo branch (e.g. embark demo --template vue will use embark-framework/embark-vue-template#demo), or any other git URL repository. If no --template option is specified, the command  will generate a demo from default template in templates/demo
2018-11-18 12:50:02 -05:00
Anthony Laibe 58795ca7d2 refactor(core): convert i18n to TS 2018-11-18 12:30:36 -05:00
Jonathan Rainville c85c3bc809
Merge pull request #1089 from embark-framework/bug_fix/deploy-error
Fix using an object as arguments
2018-11-16 08:37:24 -05:00
Anthony Laibe b63525e7c0 style(modules/coverage): replace var 2018-11-16 09:49:30 +00:00
Anthony Laibe f84d7f1d21 feat: run coverage for bytecode and deployedBytecode 2018-11-16 09:49:30 +00:00
Anthony Laibe 3406ae833c feat: Allow parallel deploy 2018-11-16 09:35:12 +00:00
Anthony Laibe 51b8224325 feat: permanently save logs/events 2018-11-16 09:31:14 +00:00
Anthony Laibe 7fb5c0d0da chore: add scripts to start embark only 2018-11-16 09:31:14 +00:00
Jonathan Rainville 6b61c8ada9 fix(contracts_manager): fix object contract arguments 2018-11-15 14:53:27 -05:00
Jonathan Rainville 7a5035ec49 fix(deployment): add a message when the errror is about the input 2018-11-15 14:19:44 -05:00
Iuri Matias 21dff441d1 refactor(@embark/console): move console index.js to typescript 2018-11-15 14:00:30 -05:00
Iuri Matias d427e626c2 feat(@embark/console): better determine suggestions for any js object not just with the dot.' 2018-11-15 13:51:05 -05:00
Iuri Matias 23f623d750 refactor(@embark/console): convert suggestions class into typescript 2018-11-15 13:51:05 -05:00
Iuri Matias f206062919 feat(@embark/console): determine suggestions automatically for a js object of the type 'command.' 2018-11-15 13:51:05 -05:00
Iuri Matias 29117c280a refactor(@embark/console): refactor getSuggestions to return results in a callback; move sorting to its own method 2018-11-15 13:51:05 -05:00
Anthony Laibe 327aa00141 docs: align with angular/conventional commit config 2018-11-15 12:12:43 +01:00
Pascal Precht d3f6b43986 fix(@embark/core): ensure 0x0 address are extended to full zero addresses
This was a regression introduced in a web3 upgrade where `0x0` addresses where no longer
accepted as valid addresses and have to be replaced with full zero addresses.

This commit ensures that, if Embark apps still make use of `0x0` addresses in
their configs, they are properly replaced or extended to satisfy web3's APIs.

Fixes #956
2018-11-14 16:03:39 +01:00
Pascal Precht 70a61c5965 uiux(@embark/cli): propose `build --contracts as alternative if `compile` is used 2018-11-14 12:16:56 +01:00
Iuri Matias 3986d9761c chore(@embark/utils): convert utils/hosts.js to typescript 2018-11-13 10:35:24 -05:00
Anthony Laibe 192e6e112a chore(embark-ui): upgrade embark-ui to latest and greatest CRA 2018-11-13 10:55:35 +00:00
Jonathan Rainville 1a29a8f6c9
fix(simulator): adds `node` to sim command to comply with Windows 2018-11-13 10:19:51 +01:00
Jonathan Rainville 3353a05c3e
fix(simulator): use config's gas limit if no option provided
Fixes #1054
2018-11-13 10:19:51 +01:00
Jonathan Rainville 43be2a28d6
fix(cmd): removes -h as an option for host for the simulator 2018-11-13 10:19:50 +01:00
Pascal Precht 4961f70e5f fix(@embark/core): don't expect `balance` on `accounts`
In 594d1323fa we've introduced the ability
to configure balance-related options with human readable ether units.

There are cases where there's account configurations that don't come
with a `balance` property, which breaks Embark when running an Embark app.

Fixes #1067
2018-11-13 10:17:55 +01:00
Anthony Laibe f82d3de1b0 feat: add CRUD to file explorer 2018-11-13 09:13:23 +00:00
Anthony Laibe c8d6f18648
Merge pull request #1068 from embark-framework/bugfix/no-webserver-no-url
fix: do not display log if no webserver
2018-11-13 09:13:01 +00:00
Pascal Precht 8a00e04c06 chore(@embark/cli): introduce alias for `--simple` option in `run` command
Closes #1025
2018-11-13 10:11:08 +01:00
Michael Bradley, Jr 96f7688ee8 fix(@embark/webserver): load embark-ui sources from the correct path
embark's webserver needs to serve the production build of embark-ui from the
root of the package not from dist/
2018-11-12 12:08:43 -05:00
Michael Bradley, Jr 23f19a0df5 fix: runtime environment needs to support locally installed embark
Reintroduce NODE_PATH so that DApps with embark locally installed can properly
resolve modules supplied by embark. Refactor process.env related settings into
src/lib/core/env.js
2018-11-12 11:03:48 -06:00
Anthony Laibe 97829c04f4 fix(module/authenticator): do not display log if no webserver 2018-11-12 15:30:30 +00:00
Michael Bradley 53154f8730
Merge pull request #1055 from embark-framework/chores/ts-rev
chore: add babel+ts — revised
2018-11-12 09:23:38 -06:00
Michael Bradley, Jr 17d58a5c54 docs: fix typo in filename 2018-11-11 15:09:11 -06:00
Michael Bradley, Jr 69dd8c5b89 build(packaging): reorg sources for transpilation with Babel
Allow for embark sources to be authored in TypeScript and/or JavaScript, and to
make use of upcoming features of the JS language. Sources in the src/ directory
are transpiled into the dist/ directory, and npm-scripts are provided to
support and automate various aspect of the build process. Source map support is
enabled at runtime, i.e. when invoking the embark cli and running embark's test
suite.
2018-11-11 15:08:55 -06:00
Pascal Precht 317449e840 refactor(@embark/deployment): remove try/catch block
This code didn't really make sense in the first place as we use `async.auto()` at the
moment for callback based error handling.
2018-11-09 16:28:47 +01:00
Pascal Precht 8997476e33 uiux(@embark/deployment): improve error messages by logging contract name
Closes #1038
2018-11-09 16:28:47 +01:00
Jonathan Rainville ea2a656ec1 fix(tests): fix tests that fetched files from devleop
fix tests that fetched contracts from develop by changing to master
improve error logging for downloads
2018-11-09 04:52:02 -05:00
Jonathan Rainville 51e39c5b74 fix(simulator): change port depending of the type in config 2018-11-09 04:52:02 -05:00
Pascal Precht f90194703e chore(CONTRIBUTING): update guide to use `master` instead of `develop` branch
We've decided to have a single branch that is now `master`, no longer `develop`
2018-11-09 04:51:28 -05:00
Pascal Precht af1bc90acc fix(ci): make CI happy again by updating http paths to master branch
Some test endpoints have still pointed to `develop` branch on GitHub,
which made our tests fail as we're now on `master` branch
2018-11-09 04:47:54 -05:00
Iuri Matias d61560b2e4
Merge pull request #1057 from embark-framework/update_badges
update badges to use master instead of develop
2018-11-09 04:35:24 -05:00
Iuri Matias 13f7a3ff41
Merge pull request #1041 from embark-framework/feature/debug-button
feat: add debug button to transaction and contract log
2018-11-09 04:34:03 -05:00
Anthony Laibe 184e1e277a feat: add debug button to transaction and contract log 2018-11-09 09:29:58 +00:00
Iuri Matias a9d8c56b7c update badges to use master instead of develop 2018-11-09 04:18:55 -05:00
Vyom Sharma 62607b0a3b
feat: adds support for swarm imports in Solidity
This commit enables users of Embark to import any Solidity contract using
the swarm protocol.

Example:

```
import "bzz:/someensdomain.eth/ERC725.sol";
```

Closes #766
2018-11-09 09:57:06 +01:00
Pascal Precht fb69710908 chore: update contributing guide and code of conduct 2018-11-09 09:50:27 +01:00
Iuri Matias b66ac70050
Merge pull request #1047 from embark-framework/bug_fix/accounts-on-deploy
Fix $accounts not being replaced in onDeploy
2018-11-08 16:47:24 -05:00
Iuri Matias 27150f34b8
Merge pull request #1046 from embark-framework/chore/change-to-ws
Change RPC to WS in contract configs
2018-11-08 16:47:10 -05:00
Iuri Matias 5f99307629
Merge pull request #1042 from embark-framework/feature/deployment-strategy
Feature/deployment strategy
2018-11-08 16:39:36 -05:00