Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Merge develop into master for v0.8.9 (#1632)
Browse files Browse the repository at this point in the history
* updated solc again

* updated solc to 0.4.6

* Update geth to 1.5.5 (#1520)

* Update geth to 1.5.5

* corrected windows zip's internal paths

* changed sanity check

* made node starting better

* also log path from which to fetch

* show fetching origin URL

* fix ESLint errors

* removed -stable

* fixes the immediate startup issue (#1540)

* fixes #1532 (#1534)

* [ESLint] autofix 'modules' (#1536)

* [ESLint] update customProtocols.js (#1538)

* added postinstall step for interface dir (#1546)

* [ESLint] update 'scripts' (#1539)

* [ESLint] update 'scripts'

* add comments to .eslintrc

* update paths

* update comments

* Adding badges for (up|out)dated dependencies (#1525)

* Changes to splash screen and onboarding (#1545)

* change fast to light

* light client

* remove '--cache' flag

* remove cache

* text changes`

* changes to onboarding screen

* changes to onboarding

* ropstein in eth

* experimental label`

* checking network label position

* Theres no I in Ropsten

* changes algotithm for displaying

* allows app to be ready if no sync is happening

* bring changes to splash screen

* remove changes from ethereumNode

* remove changes from menuItems

* speed changes

* clean up and add comments

* fixes onboarding shapeshift window loading

* simplify code

* add comments

* shows ready to launch when there are less than a 100 blocks

* Error pages (#1559)


* added not found and crash error page

* add source sans

* [readme] minor typo

* [mistAPI] add 'mist.solidity.version' (#1586)

* add 'mist.solidity.version' to mistAPI

* Adding tests for  in Mist API

* fixes (#1600)

* add hash and queries to breadcrumb (#1596)

* fix offline-startup edge-case (#1571)

* NSIS installer (#1499)

* Update travis config to new format

* fixes

* install gulp

* fixes

* tweaks

* use same install & script tasks for all builds

* Expand build matrix

* tweaks

* fixes

* try to fix wine installation

* Enable mac build

* Extend run time to 30 minutes

* see if extra dependencies resolves build issue for linwin

* Install yarn with npm on osx

* linux and windows in one

* Add gulp to Mac

* Bump timeout to 60 minutes

* remove download-signatures from processing / travis tweaks

* cleanup

* enable gitter notifications

* fix bash double ampersand

* try to build nsis script

* fix nsis verbosity flag

* Customized NSIS installer

* Fix order of commands

* Improve uninstaller

* Add logic and movefile plugins

* Enable separate DATADIR location

* Remove INSTDIR and replace with FILEDIR

* Fix compiler warnings about unknown variables

* Enforce UAC admin requirement

* Move NSI to scripts directory and add plugins

* Include version in output filename

* Remove duplicate execution level command

* Move files from nested folder into main folder

* Update shortcut names and params

* initial architecture detection + various cleanup

* More flexible environment vars

* Cleanup

* User-selectable location for Mist's data files

* Include icon in installation directory

* Cleanup

* Improve/fix registry entries

* Show shortcuts after successful installation

* Estimate installation size

* Fix removal of start menu shortcuts

* Open DATADIR and NODEDATADIR on uninstallation

* Handle firewall rules

* Disable firewall updates

* Include multiple architectures into single installer

* Don't allow user to select Mist data directory

* Integrate NSIS build into Gulp

* Cleanup lint suggestions

* Cleanup more lint suggestions

* One more linter fix

* Remove testnet startmenu entry

* Double the estimated installed size

* Create desktop shortcut

* Delete temporary zips

* Store user settings in HKCU for uninstallation

* Remove user registry settings on uninstallation

* Improved uninstallation to not rely on stack variables

* Compute actual program directory size

* Cleanup

* [travis] various fixes (#1601)

* various fixes

* disable code-signing on 'develop'

* fix yarn on xcode8 image

* rectify if statement

* comments

* improvement

* Adjust formatter for addPeer #1543 (#1599)

* recreate PR

* add fixes

* fix [null]

* [gulp] new task 'upload-binaries' (to github) (#1578)

* add gulp-task 'upload-binaries'

* fix ESLint errors

* improvements and fixes

* switch URLs to ethereum/mist repo

* also build wallet if on master branch

* make sure all sendTransaction is valid HEX (#1606)

* Adding a develop menu option to open Remix IDE (#1608)

* Adding browser solidity menu item

* Adding i18n keys for Remix menu item

* Moving Remix menu option UP

* Opening Remix on a separated popup

* Changing display name

* minor refactor

* reverting travis change

* Update app.nl.i18n.json (#1609)

Dutch translation

* adjust content order, feather and window size (#1585)

* fix mention-bot (#1587)

* Improve importer (#1598)



* rename 'presaleFile' IPC actions to generic 'walletFile'

* update the import-screen depending on wallet type

* leverage ethereum-keyfile-recognizer

* update yarn.lock

* fix merge relic

* [ESLint]

* polish

* update dependency and fix ESLint

* improvements

* update menu-label

* Dutch translation improved (#1610)

* Update mist.nl.i18n.json

Dutch translations

* Corrected proposed changes for Dutch translations.

Capital "E"ther and changed from formal to informal throughout the file.

* change window height (#1612)

* Allow for operators while parsing 'mist.solidity.version' (#1613)

* Allow for operators while parsing 'mist.solidity.version'

* minor improvement in regex

* Sync Dutch translation file to English + corrections (#1616)

* Sync Dutch translations to English + corrections

Mostly rearranged the lines to get equal to the English translation file for easier future maintenance. Also did some small spelling corrections and improved a few translations when I matched the Dutch and English files.

* Fixed JSON syntax

Fixed JSON syntax

* Processed suggestions, many thanks!

* update i18n files according to english base files (#1618)

* [travis] don't wait for mac build on PR check (#1611)

* 36

* 37

* [gulp] don't build NSIS installer on 'wallet' task (#1614)

* don't build NSIS installer in 'wallet' task

* [readme] add 'makensis' to brew install

* Bump version string to 0.8.9 (#1626)

* Spectron testing suite (#1553)

* Spectron iteration

* Updating spectron

* Creating switch for mist.lokidb for automated tests

* Adding chai-as-expected

* Changing IPC flag

* Pairing spectron and electron versions

* [ESLint] Minor fixes

* Adding chai-string

* Couple of tests passing

* update .eslintrc.yml

* Simplifying code

* Removing delay in favor of better window management

* Adding tests for URL bar

* Focusing window before each test

* Minor fixes

* Improving mist setup and teardown

* Fixing wallet test

* adding html fixture

* Improving test helpers

* Tests for ETH-01-002

* Updating tests

* Starting local HTTP server to deal with html fixtures

* Updating tests setup

* Adding more tests

* Updating travis file to run spectron tests

* Refactoring tests

* Tests for ETH-01-007

* Downloading geth on the fly

* Fine-tuning geth download during tests

* Changing linux binary dir

* Fixing binary path on linux

* Travis debug

* Travis debug

* Changing fixtures

* Fixing tests

* Fixing travis file

* More tests

* Adjusting timeouts

* Adjusting GULP_PLATFORM test env variable

* Adjusting timeouts

* Disabling some tests for now

* Disabling a test

* Fix raw data display ('0x') in data-less TXs (#1625)

* Update dependencies (#1623)

* Update dependencies

* Updating yarn lock

* udpate (#1622)

* Cleaner mocha-in-browser test results (#1630)

* Removing DavidDM broken badges (#1631)

* Update geth to 1.5.5 (#1520) (#1522) (#1633)

* updated solc again

* updated solc to 0.4.6

* Update geth to 1.5.5 (#1520)

* Update geth to 1.5.5

* corrected windows zip's internal paths

* changed sanity check

* made node starting better

* also log path from which to fetch

* show fetching origin URL

* fix ESLint errors

* removed -stable
  • Loading branch information
evertonfraga authored Feb 1, 2017
1 parent 9bf5396 commit 5aa42e6
Show file tree
Hide file tree
Showing 75 changed files with 3,038 additions and 1,323 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ settings:
import/core-modules: ## don't lint for these missing packages in package.json
- electron ## 'electron' is only needed as devDependency / global installation


rules:
# "off" or 0 - turn the rule off
# "warn" or 1 - turn the rule on as a warning (doesn’t affect exit code)
Expand All @@ -22,7 +21,13 @@ rules:
no-underscore-dangle: off
comma-dangle:
- error
- only-multiline
- only-multiline ## no comma after last item if one line, though allow comma if multiline
import/no-extraneous-dependencies: ## checks if required modules are missing in packages.json
- error
- devDependencies: ## declares files, whose imports belong to devDependencies
- "**/scripts/build-dist.js"
- "**/tests/_base.js"
- "**/*.test.js"

globals: # don't warn about missing declarations
i18n: true
Expand Down
1 change: 1 addition & 0 deletions .mention-bot
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"actions": ["labeled"],
"withLabel": "please review",
"maxReviewers": 3,
"numFilesToCheck": 5,
Expand Down
101 changes: 75 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,89 @@
sudo: required
dist: trusty

language: node_js
node_js: 6

cache:
yarn: true
sudo: required

branches:
only:
- develop
- master

matrix:
include:

# WINDOWS cross-built from linux
- os: linux
dist: trusty
node_js: 6
env:
- GULP_PLATFORM=win
addons:
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- nsis
sources:
- mono
before_install:
- sudo dpkg --add-architecture i386 && sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y mono-devel ca-certificates-mono wine1.8
after_script:
- makensis -V2 scripts/windows-installer.nsi


addons:
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- gcc-multilib
- g++-multilib

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- curl https://install.meteor.com/ | sh
- npm install -g meteor-build-client
# LINUX
- os: linux
dist: trusty
node_js: 6
env:
- GULP_PLATFORM=linux
addons:
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- gcc-multilib
- g++-multilib

# MAC
- os: osx
osx_image: xcode8 # currently xcode8.1+ doesn't support electron-builder macOS code-signing (https://github.com/electron-userland/electron-builder/issues/820#issuecomment-267777060)
node_js: 6
env:
- GULP_PLATFORM=mac
before_install:
- npm install -g yarn # macOS xcode8 image doesn't natively support yarn yet

allow_failures:
- os: osx

fast_finish: true

cache:
yarn: true

install:
- PATH=$PATH:$HOME/.meteor && curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/master/configure.sh | /bin/sh
- yarn global add gulp-cli meteor-build-client
- yarn

script:
- npm run ci
- if [[ $TRAVIS_BRANCH != "master" ]]; then unset CSC_LINK CSC_KEY_PASSWORD; fi # disable macOS code-signing (production certificate) on develop branch
- travis_wait 60 gulp mist --platform $GULP_PLATFORM
- if [[ $TRAVIS_BRANCH == "master" ]]; then travis_wait 60 gulp wallet --platform $GULP_PLATFORM; fi # also build wallet if on master branch
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
- if [[ $GULP_PLATFORM != "win" ]]; then gulp test-mist; fi

after_success:
- gulp mist-checksums --platform $GULP_PLATFORM
- if [[ $TRAVIS_BRANCH == "master" ]]; then gulp wallet-checksums --platform $GULP_PLATFORM; fi

notifications:
email:
- EMAIL
webhooks:
urls:
- YOUR_WEBHOOK_URL
on_success: change # options: [always|never|change] default: always
- https://webhooks.gitter.im/e/33972d9e627a142c57a6
on_success: change
on_failure: always
on_start: never
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ To run mist in development you need [Node.js NPM](https://nodejs.org) and [Meteo
$ npm install -g [email protected]
$ npm install -g gulp

And some futher tools to help with downloading and unzipping client nodes:
And some further tools to help with downloading and unzipping client nodes:

_Linux:_

Expand Down Expand Up @@ -154,7 +154,7 @@ Mist normally.
To create a binaries you need to install [`electron-builder` dependencies](https://github.com/electron-userland/electron-builder/wiki/Multi-Platform-Build#macos):

// tools for the windows binaries
$ brew install wine --without-x11 mono
$ brew install wine --without-x11 mono makensis
// tools for the Linux binaries
$ brew install gnu-tar libicns graphicsmagick xz
// general dependencies
Expand Down Expand Up @@ -223,3 +223,11 @@ It expects installer/zip files to be in the generated folders e.g. `dist_mist/re
### Code signing for production

**As of [#972](https://github.com/ethereum/mist/pull/972) we've updated the build process and thus need to redo code-signing.**


## Testing

First make sure to build Mist with:
`gulp mist --platform [mac,linux]` or `gulp wallet --platform [mac,linux]`.

Then run `gulp test-mist` or `gulp test-wallet`, accordingly.
9 changes: 4 additions & 5 deletions customProtocols.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const electron = require('electron');
const protocol = electron.protocol;
const path = require('path');
const { protocol } = require('electron');


protocol.registerHttpProtocol('mist', (request, callback) => {
Expand All @@ -19,8 +17,9 @@ protocol.registerHttpProtocol('mist', (request, callback) => {

callback(call);
}, (error) => {
if (error)
{ console.error('Failed to register protocol'); }
if (error) {
console.error('Failed to register protocol');
}
});


Expand Down
2 changes: 1 addition & 1 deletion errorPages/400.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
background-color: #f0f0f0;
color: #ACACAC;
text-shadow: 0 -1px #fff;
font: 20px Helvetica Neue, Arial;
font: 20px Source Sans Pro, Helvetica Neue, Arial;
font-weight: 200;
text-align: center;
padding: 10px;
Expand Down
19 changes: 19 additions & 0 deletions errorPages/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<html>
<head>
<title>Error 404</title>
<meta charset="utf-8">
</head>
<body style="
background-color: #f0f0f0;
color: #ACACAC;
text-shadow: 0 -1px #fff;
font: 20px Source Sans Pro, Helvetica Neue, Arial;
font-weight: 200;
text-align: center;
padding: 10px;
padding-top: 100px;
">
<span style="font-size: 80px; font-family: 'Courier New', monospace;">﴾๏๏﴿</span><br><br>
URL not found.
</body>
</html>
19 changes: 19 additions & 0 deletions errorPages/500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<html>
<head>
<title>Error 500</title>
<meta charset="utf-8">
</head>
<body style="
background-color: #f0f0f0;
color: #ACACAC;
text-shadow: 0 -1px #fff;
font: 20px Source Sans Pro, Helvetica Neue, Arial;
font-weight: 200;
text-align: center;
padding: 10px;
padding-top: 100px;
">
<span style="font-size: 80px; font-family: 'Courier New', monospace;">(ノಠ益ಠ)ノ</span><br><br>
Oops.. Something went wrong!
</body>
</html>
Loading

0 comments on commit 5aa42e6

Please sign in to comment.