Commit Graph

79 Commits

Author SHA1 Message Date
Jonathan Rainville a3b52676fc Fix part of the test app and add new test util functions (#1977)
* fix: fix tests hanging because the console is not started

* fix(@embark/proxy): send back errors correctly to the client

Code originally by @emizzle and fixed by me

* feat(@embark/test-runner): add assert.reverts to test reverts

* fix: make test app actually run its test and not hang

* fix(@embark/proxy): fix listening to contract event in the proxy

* feat(@embark/test-runner): add assertion for events being triggered

* docs(@embark/site): add docs for the new assert functions

* feat(@embark/test-runner): add increaseTime util function to globals

* docs(@embark/site): add docs for increaseTime
2019-10-17 14:39:25 -04:00
Ferran Figueredo 7846e499e8 Typo on messages_configuration 2019-10-15 12:44:23 -04:00
dependabot-preview[bot] d46912d0cc build(deps): bump lunr from 2.3.6 to 2.3.7 in /site (#1960)
Bumps [lunr](https://github.com/olivernn/lunr.js) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/olivernn/lunr.js/releases)
- [Changelog](https://github.com/olivernn/lunr.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/olivernn/lunr.js/compare/v2.3.6...v2.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 16:11:18 +09:00
dependabot-preview[bot] b8408dba94 build(deps-dev): bump eslint from 6.4.0 to 6.5.1 in /site
Bumps [eslint](https://github.com/eslint/eslint) from 6.4.0 to 6.5.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.4.0...v6.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 11:39:00 -05:00
Michael Bradley, Jr 17ccd5c1bd build: tidy up the monorepo in prep for v5.0.0-alpha.0 2019-10-01 13:29:53 -05:00
dependabot-preview[bot] ee4430624a build(deps-dev): bump eslint from 6.3.0 to 6.4.0 in /site
Bumps [eslint](https://github.com/eslint/eslint) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.3.0...v6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 11:04:32 -05:00
dependabot-preview[bot] b642ae2307 build(deps): bump hexo-generator-archive from 0.1.5 to 1.0.0 in /site
Bumps [hexo-generator-archive](https://github.com/hexojs/hexo-generator-archive) from 0.1.5 to 1.0.0.
- [Release notes](https://github.com/hexojs/hexo-generator-archive/releases)
- [Commits](https://github.com/hexojs/hexo-generator-archive/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 09:59:37 -05:00
dependabot-preview[bot] c13f2b01ac build(deps): bump hexo-generator-feed from 1.2.2 to 2.0.0 in /site
Bumps [hexo-generator-feed](https://github.com/hexojs/hexo-generator-feed) from 1.2.2 to 2.0.0.
- [Release notes](https://github.com/hexojs/hexo-generator-feed/releases)
- [Commits](https://github.com/hexojs/hexo-generator-feed/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 09:53:25 -05:00
dependabot-preview[bot] 32ea1b2fec build(deps): bump hexo-renderer-stylus from 1.0.0 to 1.1.0 in /site
Bumps [hexo-renderer-stylus](https://github.com/hexojs/hexo-renderer-stylus) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/hexojs/hexo-renderer-stylus/releases)
- [Commits](https://github.com/hexojs/hexo-renderer-stylus/compare/1.0.0...1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 09:06:02 -05:00
dependabot-preview[bot] 261522dab6 build(deps): bump hexo-generator-category from 0.1.3 to 1.0.0 in /site
Bumps [hexo-generator-category](https://github.com/hexojs/hexo-generator-category) from 0.1.3 to 1.0.0.
- [Release notes](https://github.com/hexojs/hexo-generator-category/releases)
- [Commits](https://github.com/hexojs/hexo-generator-category/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 09:02:19 -05:00
dependabot-preview[bot] 0cc8279d0e build(deps): bump hexo-server from 0.3.3 to 1.0.0 in /site
Bumps [hexo-server](https://github.com/hexojs/hexo-server) from 0.3.3 to 1.0.0.
- [Release notes](https://github.com/hexojs/hexo-server/releases)
- [Commits](https://github.com/hexojs/hexo-server/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-12 21:27:52 -05:00
dependabot-preview[bot] ce9710b952 build(deps): bump hexo-deployer-git from 1.0.0 to 2.0.0 in /site
Bumps [hexo-deployer-git](https://github.com/hexojs/hexo-deployer-git) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/hexojs/hexo-deployer-git/releases)
- [Commits](https://github.com/hexojs/hexo-deployer-git/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-12 21:24:11 -05:00
burrrata cde01cd845 Update installation.md (#1881)
updated IPFS installation link
2019-09-07 11:26:25 -04:00
Pascal Precht 86ee867689 feat(@embark/specialconfigs): introduce dynamic addresses (#1873)
* fix embarkjs generation

fix ens setProvider

fix embarkjs objects

fix generated embarkjs provider

generate contracts

fix embarkjs-ens

* address some of the issues in the code review

* feat(@embark/specialconfigs): introduce dynamic addresses

This commit introduces a new Smart Contract configuration addressHandler
that lets users define a function to "lazily" compute the address of the
Smart Contract in question.

This is useful when a third-party takes care of deploying a dependency
Smart Contract, but the address of that Smart Contract only being available
at run-time.

Example:
```
deploy: {
  SimpleStorage: {
    fromIndex: 0,
    args: [100],
  },
  OtherContract: {
    deps: ['SimpleStorage'],
    address: async (deps) => {
      // use `deps.contracts.SimpleStorage` to determine address
    },
    abiDefinition: ABI
  },
}
```

In the example above, OtherContract will be deployed after SimpleStorage
because it uses the deps property to define Smart Contracts that it depends
on. All dependencies are exposed on the addressHandler function parameter
similar to deployment hooks.

Closes #1690
2019-09-06 15:02:51 -04:00
dependabot-preview[bot] 5481ebcffd build(deps): bump hexo-renderer-stylus from 0.3.3 to 1.0.0 in /site
Bumps [hexo-renderer-stylus](https://github.com/hexojs/hexo-renderer-stylus) from 0.3.3 to 1.0.0.
- [Release notes](https://github.com/hexojs/hexo-renderer-stylus/releases)
- [Commits](https://github.com/hexojs/hexo-renderer-stylus/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 09:39:10 -05:00
dependabot-preview[bot] 8b2cb70039 build(deps-dev): bump eslint from 6.2.2 to 6.3.0 in /site
Bumps [eslint](https://github.com/eslint/eslint) from 6.2.2 to 6.3.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.2.2...v6.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 09:10:40 -05:00
Michael Bradley b736ebefcd refactor: initial steps toward 5.0.0-alpha.0 (#1856)
BREAKING CHANGE:

There are more than several breaking changes, including DApp configuration for
accounts.
2019-08-30 16:50:20 -04:00
dependabot-preview[bot] 4566878fc3 build(deps): bump uuid from 3.3.2 to 3.3.3 in /site
Bumps [uuid](https://github.com/kelektiv/node-uuid) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/kelektiv/node-uuid/releases)
- [Changelog](https://github.com/kelektiv/node-uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kelektiv/node-uuid/compare/v3.3.2...v3.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 12:12:50 -05:00
dependabot-preview[bot] de9b6f9cce build(deps-dev): bump del from 3.0.0 to 5.1.0 in /site
Bumps [del](https://github.com/sindresorhus/del) from 3.0.0 to 5.1.0.
- [Release notes](https://github.com/sindresorhus/del/releases)
- [Commits](https://github.com/sindresorhus/del/compare/v3.0.0...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 07:54:53 -05:00
dependabot-preview[bot] 08b4eccdf0 build(deps-dev): bump gulp-if from 2.0.2 to 3.0.0 in /site
Bumps [gulp-if](https://github.com/robrich/gulp-if) from 2.0.2 to 3.0.0.
- [Release notes](https://github.com/robrich/gulp-if/releases)
- [Commits](https://github.com/robrich/gulp-if/compare/2.0.2...3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 07:50:21 -05:00
dependabot-preview[bot] f1b81c774a build(deps): [security] bump mixin-deep from 1.3.1 to 1.3.2 in /site
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. **This update includes a security fix.**
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 19:48:15 -05:00
Michael Bradley, Jr 054ec7ee66 site: acorn not needed as a devDep after bump to eslint 6.2.2 2019-08-27 10:39:02 -05:00
dependabot-preview[bot] 39a46745bc build(deps-dev): bump eslint from 6.2.0 to 6.2.2 in /site
Bumps [eslint](https://github.com/eslint/eslint) from 6.2.0 to 6.2.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.2.0...v6.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 10:39:02 -05:00
dependabot-preview[bot] fa8aee2eae build(deps): bump hexo-renderer-marked from 1.0.1 to 2.0.0 in /site
Bumps [hexo-renderer-marked](https://github.com/hexojs/hexo-renderer-marked) from 1.0.1 to 2.0.0.
- [Release notes](https://github.com/hexojs/hexo-renderer-marked/releases)
- [Commits](https://github.com/hexojs/hexo-renderer-marked/compare/1.0.1...2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 10:31:49 -05:00
dependabot-preview[bot] d2679b0bee build(deps): [security] bump eslint-utils from 1.4.0 to 1.4.2 in /site
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2. **This update includes a security fix.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 15:28:13 -05:00
dependabot-preview[bot] ff9c733bc6 build(deps): bump hexo-renderer-sass from 0.3.2 to 0.4.0 in /site
Bumps [hexo-renderer-sass](https://github.com/knksmith57/hexo-renderer-sass) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/knksmith57/hexo-renderer-sass/releases)
- [Changelog](https://github.com/knksmith57/hexo-renderer-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knksmith57/hexo-renderer-sass/compare/0.3.2...v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 11:10:19 -05:00
dependabot-preview[bot] 473bbf14af build(deps-dev): bump gulp-uglify from 1.5.4 to 3.0.2 in /site
Bumps [gulp-uglify](https://github.com/terinjokes/gulp-uglify) from 1.5.4 to 3.0.2.
- [Release notes](https://github.com/terinjokes/gulp-uglify/releases)
- [Changelog](https://github.com/terinjokes/gulp-uglify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terinjokes/gulp-uglify/compare/v1.5.4...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 11:08:07 -05:00
dependabot-preview[bot] d45caf7521 build(deps): bump hexo-deployer-git from 0.3.1 to 1.0.0 in /site
Bumps [hexo-deployer-git](https://github.com/hexojs/hexo-deployer-git) from 0.3.1 to 1.0.0.
- [Release notes](https://github.com/hexojs/hexo-deployer-git/releases)
- [Commits](https://github.com/hexojs/hexo-deployer-git/compare/0.3.1...1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 10:18:24 -05:00
dependabot-preview[bot] 42335d4760 build(deps-dev): bump eslint-config-hexo from 2.0.0 to 3.0.0 in /site
Bumps [eslint-config-hexo](https://github.com/hexojs/eslint-config-hexo) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/hexojs/eslint-config-hexo/releases)
- [Commits](https://github.com/hexojs/eslint-config-hexo/compare/2.0.0...3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 10:08:33 -05:00
dependabot-preview[bot] 372d0c03eb build(deps): bump lunr from 2.3.5 to 2.3.6 in /site
Bumps [lunr](https://github.com/olivernn/lunr.js) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/olivernn/lunr.js/releases)
- [Changelog](https://github.com/olivernn/lunr.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/olivernn/lunr.js/compare/v2.3.5...v2.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 10:06:10 -05:00
dependabot-preview[bot] 013d8d39ed build(deps-dev): bump gulp-responsive from 2.13.0 to 2.14.0 in /site
Bumps [gulp-responsive](https://github.com/mahnunchik/gulp-responsive) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/mahnunchik/gulp-responsive/releases)
- [Changelog](https://github.com/mahnunchik/gulp-responsive/blob/master/History.md)
- [Commits](https://github.com/mahnunchik/gulp-responsive/compare/v2.13.0...v2.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 10:00:23 -05:00
Pascal Precht 2cf0478f60 site: add redirects to not break the web 2019-08-26 09:44:01 -05:00
Michael Bradley, Jr eed3ead2ed site: don't specify timezone in hexo config
See: https://github.com/hexojs/hexo/issues/3397

We will need to use a redirect plugin and supply aliases for already published
posts: https://github.com/hexojs/hexo-generator-alias
2019-08-26 09:44:01 -05:00
Michael Bradley, Jr 7717b98681 site: hexo version specified in "hexo" field of site/package.json 2019-08-26 09:44:01 -05:00
Michael Bradley, Jr 178264bad9 site: test whether linkjuice is defined not whether it's falsy 2019-08-26 09:44:01 -05:00
Michael Bradley, Jr 7f1f313796 site: fix path for copy-paste button 2019-08-26 09:44:01 -05:00
dependabot-preview[bot] ac9288565e build(deps): bump hexo from 3.8.0 to 3.9.0 in /site
Bumps [hexo](https://github.com/hexojs/hexo) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/hexojs/hexo/releases)
- [Commits](https://github.com/hexojs/hexo/compare/3.8.0...3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 09:44:01 -05:00
dependabot-preview[bot] 2fd1621fe9 build(deps-dev): bump eslint from 4.19.1 to 6.2.0 in /site
Bumps [eslint](https://github.com/eslint/eslint) from 4.19.1 to 6.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v4.19.1...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 16:17:02 -05:00
dependabot-preview[bot] cb5451b5b8 build(deps): bump hexo-renderer-marked from 0.2.11 to 1.0.1 in /site
Bumps [hexo-renderer-marked](https://github.com/hexojs/hexo-renderer-marked) from 0.2.11 to 1.0.1.
- [Release notes](https://github.com/hexojs/hexo-renderer-marked/releases)
- [Commits](https://github.com/hexojs/hexo-renderer-marked/compare/0.2.11...1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 15:07:57 -05:00
dependabot-preview[bot] 5dd6815222 build(deps-dev): bump gulp from 3.9.1 to 4.0.2 in /site
Bumps [gulp](https://github.com/gulpjs/gulp) from 3.9.1 to 4.0.2.
- [Release notes](https://github.com/gulpjs/gulp/releases)
- [Changelog](https://github.com/gulpjs/gulp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/gulp/compare/v3.9.1...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 15:03:02 -05:00
dependabot-preview[bot] db9468fff4 build(deps-dev): bump gulp-rev from 6.0.1 to 9.0.0 in /site
Bumps [gulp-rev](https://github.com/sindresorhus/gulp-rev) from 6.0.1 to 9.0.0.
- [Release notes](https://github.com/sindresorhus/gulp-rev/releases)
- [Commits](https://github.com/sindresorhus/gulp-rev/compare/v6.0.1...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 14:55:45 -05:00
dependabot-preview[bot] 029661e8c1 build(deps): bump cheerio from 0.20.0 to 0.22.0 in /site
Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 0.20.0 to 0.22.0.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/v1.0.0/History.md)
- [Commits](https://github.com/cheeriojs/cheerio/compare/0.20.0...0.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 09:24:33 -05:00
dependabot-preview[bot] 5b4cad4c1b build(deps): [security] bump lodash from 4.17.11 to 4.17.13 in /site
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 09:13:09 -05:00
dependabot-preview[bot] 9014c35538 build(deps): [security] bump tar from 2.2.1 to 2.2.2 in /site
Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2. **This update includes a security fix.**
- [Release notes](https://github.com/npm/node-tar/releases)
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 09:07:54 -05:00
dependabot-preview[bot] 09cbe1af08 build(deps-dev): bump gulp-clean-css from 3.10.0 to 4.2.0 in /site
Bumps [gulp-clean-css](https://github.com/scniro/gulp-clean-css) from 3.10.0 to 4.2.0.
- [Release notes](https://github.com/scniro/gulp-clean-css/releases)
- [Commits](https://github.com/scniro/gulp-clean-css/compare/3.10.0...4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 09:07:24 -05:00
dependabot-preview[bot] ef5873dfa8 build(deps): [security] bump lodash.mergewith in /site
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 09:06:03 -05:00
dependabot-preview[bot] 29242c4fc4 build(deps): [security] bump lodash.merge from 4.6.1 to 4.6.2 in /site
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:58:12 -05:00
dependabot-preview[bot] a14c8395ee build(deps): bump hexo-server from 0.2.2 to 0.3.3 in /site
Bumps [hexo-server](https://github.com/hexojs/hexo-server) from 0.2.2 to 0.3.3.
- [Release notes](https://github.com/hexojs/hexo-server/releases)
- [Commits](https://github.com/hexojs/hexo-server/compare/0.2.2...0.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:57:44 -05:00
dependabot-preview[bot] 62737c94e5 build(deps): [security] bump fstream from 1.0.11 to 1.0.12 in /site
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. **This update includes a security fix.**
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:54:36 -05:00
dependabot-preview[bot] ee3a246e34 build(deps-dev): bump gulp-useref from 2.1.0 to 3.1.6 in /site
Bumps [gulp-useref](https://github.com/jonkemp/gulp-useref) from 2.1.0 to 3.1.6.
- [Release notes](https://github.com/jonkemp/gulp-useref/releases)
- [Commits](https://github.com/jonkemp/gulp-useref/compare/v.2.1.0...v3.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-18 19:27:57 -05:00