fether:luke-425-startup commitshttps://gitlab.parity.io/parity/fether/-/commits/luke-425-startup2019-04-27T18:26:42+02:00https://gitlab.parity.io/parity/fether/-/commit/b0405c4424c3db5c889d8ce8b06a9dd03926ff16revert2019-04-27T18:26:42+02:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/31490a0cf00af2a0538478f1a32719fa911b8a03Merge branch 'master' into luke-425-startup2019-04-27T12:00:11+02:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/f2cb900ffde70087c7b6c6a3299eab807878081edocs: Add Contributing doc (#511)2019-04-15T16:15:46+02:00Luke Schoenltfschoen@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/e22bde6dcb587b4a8ef776143eb7cd1c6fb4697efix: Fixes #512. Add Clock not in sync instructions for Linux including i18n ...2019-04-15T16:15:19+02:00Luke Schoenltfschoen@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/95452ee350dd9d90717a6d630b58013b4caaa040feat: Relates to #360. Only allow import from Parity Signer chain account...2019-04-15T14:39:54+02:00Luke Schoenltfschoen@users.noreply.github.comfeat: Relates to #360. Only allow import from Parity Signer chain account matching current chain. ETC support (#483)
* feat: Relates to #360. Only allow import from Parity Signer chain account matching current chain. ETC support
* review-fix: Refer to non-Parity chain names in the UI. Add console.error
* review-fix: Do not need to chcek health status before calling chainId RPC of light.js on pages accessed through navigation
* review-fix: Rename function name that matches current chain id with imported chain id of address
* review-fix: Remove unnecessary function
* review-fix: Rename function to accountAlreadyExists
* review-fix: Remove FIXME. See <a href="https://github.com/paritytech/fether/pull/483#discussion_r270834847" rel="nofollow noreferrer noopener" target="_blank">https://github.com/paritytech/fether/pull/483#discussion_r270834847</a>
* review-fix: Refactor to use util functions isEtcChainId, chainIdToString, isNotErc20TokenAddress
* fix: Fix typo in comment
* review-fix: Change wording of parity phrase comment
* review-fix: Do not clear isImport as not account related
* fix: Clear error so error when recover from seed phrase not still shown if then click to recover from QR code
* fix: Rename so signerChainId correctly destructured and not undefined
* review-fix: Remove async/await from clear
* fix: Avoid mapping signer chain id to chain name since too much maintenance with Parity Ethereum
* review-fix: Remove await from createAccountStore
* tests: Add colour to fether-react tests
* refactor: No need to parseInt on the signerChainId
* refactor: Use isNotErc20TokenAddress
* refactor: Use isNotErc20TokenAddress again
* refactor: Add isErc20TokenAddress util so more readable
* fix: Replace valueOf with .eq. Fix so obtain BN from props
* refactor: Combine into single if statement when checking if valid Eth/Etc address
* refactor: Update utils without unnecessary return block
https://gitlab.parity.io/parity/fether/-/commit/9ab36c49372f6dadec470a8ae839a54e0686304afix: Fixes #494 Drag vs Context menu. Import options page error and colour (#...2019-04-12T16:34:00+02:00Luke Schoenltfschoen@users.noreply.github.com
* fix: Fixes #494 drag and context menu. import options spacing for error
* refactor: Remove css class that is not being usedhttps://gitlab.parity.io/parity/fether/-/commit/21ca5d69bf2792e7377049d846519732604e0783feat: Relates to #402. Internationalisation. German Language Support (#464)2019-04-12T13:08:13+02:00Luke Schoenltfschoen@users.noreply.github.com
* chore: Update to latest React 16.8.3 to requirements of react-i18next
* feat: Scaffold basic translation with English and German
* feat: Relates to #402. German translation fully working
* fix: Switch back to English by default
* fix: Allow user to switch between languages in preferences of context menu
* feat: Translate the context menus
* refactor: Remove German language. Add as separate PR
* refactor: Remove blank line
* feat: Add German language using Google Translate only
* fix: Fix Fether menu German language translation after review from <a href="/Robbepop" data-reference-type="user" data-user="227" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="Hero Bird">@Robbepop</a> (native German speaker)
* docs: Update Readme with Internationalisation Add New language instructions
* docs: Update Readme with Known Issues and Usage instructions
* review-fix: Disabled tooltip Please fill out this field. Add High and Low tx speed
* review-fix: Update license headers to be 2019 instead of 2018
* review-fix: Change ns1 to fether-electron and fether-react. Use pino.debug
* fix: Add missing i18n conversion for macOS Edit menu
* review-fix: Remove unused i18next browser languagedetector dependency
* merge latest from master and fix conflicts
* merge latest master and fix conflicts. TODO do not expose remote
* fix: Do not expose remote. Only expose add and remove listener, and reload via bridge
* feat: Convert new release available text to i18nhttps://gitlab.parity.io/parity/fether/-/commit/649d6bf09259e494f006f5507774c9ff0cf31d48feat: Relates to #402. Internationalisation. Base Support (#452)2019-04-12T12:46:09+02:00Luke Schoenltfschoen@users.noreply.github.com
* chore: Update to latest React 16.8.3 to requirements of react-i18next
* feat: Scaffold basic translation with English and German
* feat: Relates to #402. German translation fully working
* fix: Switch back to English by default
* fix: Allow user to switch between languages in preferences of context menu
* feat: Translate the context menus
* refactor: Remove German language. Add as separate PR
* refactor: Remove blank line
* docs: Update Readme with Internationalisation Add New language instructions
* docs: Update Readme with Known Issues and Usage instructions
* review-fix: Disabled tooltip Please fill out this field. Add High and Low tx speed
* review-fix: Update license headers to be 2019 instead of 2018
* review-fix: Change ns1 to fether-electron and fether-react. Use pino.debug
* fix: Add missing i18n conversion for macOS Edit menu
* review-fix: Remove unused i18next browser languagedetector dependency
* merge latest from master and fix conflicts
* merge latest master and fix conflicts. TODO do not expose remote
* fix: Do not expose remote. Only expose add and remove listener, and reload via bridge
* feat: Convert new release available text to i18nhttps://gitlab.parity.io/parity/fether/-/commit/6184a296237ebe12be4370d34c73d911b1bb3e4fbump to v0.4.0 (#499)2019-04-10T09:42:41+02:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/44d78b0bd9908e2f87842bc3d43ec50b327cdfd7chore: Allow fetching cross-platform parity-ethereum (#501)2019-04-09T15:12:43+02:00Amaury Martinyamaury.martiny@protonmail.com
* Allow fetching cross-platform
* Update ci
* Fix scripthttps://gitlab.parity.io/parity/fether/-/commit/5fd81f1f7f1eec40f21fbf8b51ef152ee471d9d3Prepare for Mainnet launch (#479)2019-04-09T12:14:33+02:00Thibaut Sardan33178835+Tbaut@users.noreply.github.com
* Readme update for Mainnet launch
* default to foundation
* address comment
* fix link
* fix conflictshttps://gitlab.parity.io/parity/fether/-/commit/9fa64642d0596049c26f48dbeb840ca98fae5669perf: Bump light.js to use getTxByHash (#492)2019-04-09T11:48:07+02:00Amaury Martinyamaury.martiny@protonmail.com
* Bump light.js to use getTxByHash
* Use .hash instead of .txHashhttps://gitlab.parity.io/parity/fether/-/commit/ee2a222ecc2ea34561fdaa34ab0c0a2fc153f2f6fix: Fix small bugs after hasty merge (#498)2019-04-08T16:11:41+02:00Amaury Martinyamaury.martiny@protonmail.com
* Revert <a href="/parity" data-reference-type="user" data-group="47" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="parity">@parity</a>/* bump
* Fix blockscout link
* Pass down ws-origins flag
* Fix again: use transactionHash
* Update maintainers
* Fix broken image in prodhttps://gitlab.parity.io/parity/fether/-/commit/d0ae207176fd28b8e986e01499f749c4e676c40afix: Relates to #124. Security (#451)2019-04-08T11:08:08+02:00Luke Schoenltfschoen@users.noreply.github.com
* feat: Security aspects for fether-electron. See <a href="/parity/fether/-/issues/124" data-reference-type="issue" data-original="#124" data-link="false" data-link-reference="false" data-project="140" data-issue="1369" data-project-path="parity/fether" data-iid="124" data-issue-type="issue" data-container="body" data-placement="top" title="Code Review, volunteers needed" class="gfm gfm-issue">#124</a>
* feat: Add Source Maps support
* docs: Add Source Maps guide to Readme
* feat: Add webpack-build-notifier add-on with custom Webpack config
* fix: Remove duplicate dependency
* WIP
* WIP
* review-fix: Configure CSP depending on NODE_ENV
* fix: Fix worker-src for the camera in production
* review-fix: Remove unnecessary config of source maps dependency
* Use preload script as buffer between main and renderer processes (#463)
* fix: Remove is-electron since now using preload script
* fix: Remove old preload script
* fix: Do not expose electron, remote, or require to web app
* fix: Add newline
* feat: Single Fether instance lock
* fix: Move preload to static folder so works with binary
* review-fix: Remove fix for webview since not used. Add comment incase used in future. Fix other event handling code
* review-fix: Add optional opt-in to using Webpack notifier plugin by running with NOTIFIER=true yarn start
* review-fix: Use pino.debug instead of console.log
* review-fix: Add worker-src blob to CSP in development for webcam
* review-fix: Update handling of untrusted urls and sessions and certificates
* review-fix: Convert to WSS. Move CSP into array like in Parity-JS Shell. Update CSP
* review-fix: Update CSP to avoid duplication
* review-fix: Remove from new-window event listener that which applies to additional new BrowserWindows since not applicable
* review-fix: Combined pino logs
* review-fix: Change to parsedUrl.href instead of origin. Fix trusted urls for dev
* fix: Remote https 127.0.0.1 in prod
* review-fix: Move WebpackBuildNotifier images so not in binary. Fix ico file
* fix: Remove console.logs
* refactor: Cleanup so can merge. Extract for inclusion in separate PR
* review-fix: Remove debugging notes since better in wiki
* review-fix: Remove other lines due to move to wiki
* fix comment
* review-fix: Remove setPermissionRequestHandler since not know if need. Move to <a href="https://hackmd.io/O1FA34BuSNyJoPV1Cu3L0A" rel="nofollow noreferrer noopener" target="_blank">https://hackmd.io/O1FA34BuSNyJoPV1Cu3L0A</a>
* review-fix: Move CSP debugging into onHeadersReceived
* review-fix: Fix isParityRunningStatus
* review-fix: Replace parse-url with Node.js url parser
* review-fix: Remove parse-url from dependencies
* fix: Fix logic in setCertificateVerifyProc
* WIP
* review-fix: Dynamically add WS port from CLI to trusted
* review-fix: Update comments with security warnings
* merge latest from master and fix conflicts
* chore: Remove useless console.log
* misc: See commit details
* Remove --ws-origins from CLI, hard-code instead
* Remove --ws-interface from CLI, hard-code instead
* Ignore --ws-interface and --ws-origins flags in CLI
* Add hard-coded default trusted WS interface to window.bridge
* Add default WS port to window.bridge
* WIP - start implementing isDev. See FIXME for future work required
* review-fix: Use appIsPackaged instead of NODE_ENV
* fix: Add IS_PROD to constants and assign appIsPackaged to it. Expose it to frontend so no longer use NODE_ENV
* feat: Add wiki Fether FAQ to trusted urls since required by PR #482
* fix: Fix untrusted blockscout.com error in setCertificateVerifyProc
* review-fix: fix blocked image hosting and external blockscout urls
* review-fix: trust github token icons
* review-fix: Rename network to fetherNetwork so custom config avoids naming conflict
* review-fix: Remove duplicate pino.debug for CSP
* review-fix: Remove WsSecure until wss and certificates implemented
* review-fix: Update config to show Electron security warnings in all environments
* review-fix: Remove use of wsInterface
* refactor: Refactor tests inside describe blocks
* tests: Add chrome dev tools to tests for trusted urls
* review-fix: Use NODE_ENV and Electron app.isPackaged
* fix: Rebuild yarn.lock
* fix: Fix linting to arg passed to correct script
* review-fix: Remove ws-origins flag and trusted ws origins
* test: Fix failing test
* review-fix: Remove package-lock.json
* fix: Use NODE_ENV consistently instead of process.defaultApp
* fix: Change to hash instead of transactionHash for blockscouthttps://gitlab.parity.io/parity/fether/-/commit/daecd69ae6a77c33089778691a8fa069bb4fbfa6fix conflicts2019-04-05T18:43:04+02:00Luke Schoenltfschoen@kitty.berlin.officehttps://gitlab.parity.io/parity/fether/-/commit/f2ab799bd257d7bb9c222ab56f8f1384511f18fbmerge latest from master and fix merge conflict2019-04-05T18:33:59+02:00Luke Schoenltfschoen@kitty.berlin.officehttps://gitlab.parity.io/parity/fether/-/commit/51797f9a1fba4a3da6895a5f21b8cee058394d43refactor: Update craco and remove --react-scripts workaround (#491)2019-04-04T15:42:39+02:00Axel Chalonxaxel@protonmail.comhttps://gitlab.parity.io/parity/fether/-/commit/fac1c0faef1ca7396da65b37675d8c1906571c01Use atomiclabs/cryptocurrency-icons/ set of icons (#488)2019-04-03T15:22:31+02:00Thibaut Sardan33178835+Tbaut@users.noreply.github.com
* fetch token icons not in the list
* fetch token icons not in the list
* fetch token icons not in the list
* enforce the use of a single logo source
* revert
* add goerli
* change to console.log
* I said console.loghttps://gitlab.parity.io/parity/fether/-/commit/7dce51a1a94b59d64753f4ac27ff0ab6ed217bd4Use path.join in fetch-latest-parity.js (#489)2019-04-02T15:59:38+02:00Axel Chalonxaxel@protonmail.comhttps://gitlab.parity.io/parity/fether/-/commit/0f36f18ee960380d93a9f11c0f12149177d064a9use path join (#487)2019-04-02T10:46:26+02:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/dfa1396abd7afda5f3d78ec2a96b8f12e52ef7fcfix: Relates to #466. Update Webcam error messages to refer to Fether FAQ (#482)2019-04-01T12:14:25+02:00Luke Schoenltfschoen@users.noreply.github.com
* fix: Relates to #466. Refer to Fether FAQ for instructions
* fix: Reword error messages to start with the Webcam word so its easier for users to troubleshoot using Fether FAQ
* feat: Add ExternalLink component to direct the user to the FAQ. Colour it blue
* review-fix: Modify webcam troubleshooting link texthttps://gitlab.parity.io/parity/fether/-/commit/a1d014b04cb7f9c59a4d3acdc1d86fabf0e9c130Use new token contract's source (#477)2019-03-28T21:24:45+01:00Thibaut Sardan33178835+Tbaut@users.noreply.github.com
* add script to manually fetch tokens from github.com/ethereum-lists/tokens over IPFS
* remove ts files from linting
* remove ts files from test to fix CI
* WIP token image
* improve token default image
* Test the pipe with hardcoded IPFS addresses
* add comments
* add --use-hardcoded-addresses argument
* shorten things up with a spread
* address comments
* fix test and address commenthttps://gitlab.parity.io/parity/fether/-/commit/9e359b24fb6a45c1eeeba0df4e545f61f2bb8d7aMake sure long token names don't break the UI (#478)2019-03-27T18:35:34+01:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/64b06d6f9c9fa90b85a4420e38077a8b070eee2afix: Fixes #474 (#476)2019-03-26T10:44:32+01:00Luke Schoenltfschoen@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/9fb795ceee8caca77572b4992c06eda227337e43refactor: Don't call transactionCountOf$ until needed (#414)2019-03-26T00:31:01+01:00Amaury Martinyamaury.martiny@protonmail.com
* Show parity/light.js's logs too
* Remove txCount from withAccount
* withBalance shows component immeidately
* Play around
* Make it work
* Cleaner code
* Remove 'Loading account tokens...' modal
* Re-order import
* Optimize code
* Fix regression
* Fix typo
* Luke's grumbles
* Put "checking..." when fetching async values
* Show gas error on amount fieldhttps://gitlab.parity.io/parity/fether/-/commit/ac3fe778a0565088e1c9dcf26420fae4f44b518efix(): convert the gasPrice in Gwei (#473)2019-03-22T16:53:12+01:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/489e5383aa5a2055c652e86e14d3d8b330579ac7fix: correctly set permissions on downloaded binary (#472)2019-03-22T14:53:29+01:00Amaury Martinyamaury.martiny@protonmail.com
* fix: correctly set permissions on downloaded binary
* Add commenthttps://gitlab.parity.io/parity/fether/-/commit/674e3bf3ba6f42c20a2e819e0c9024c60f3fa72aParity Ethereum bundling (#458)2019-03-21T18:10:15+01:00Axel Chalonxaxel@protonmail.com
* Parity Ethereum bundling
* Grumbles; update light.js
* Grumbles
* Merge in PR#394 ac-upd-post: refactor sendStore post/postRaw
* Download highest version matching requirement rather than latest beta
* Rename RequireVersion to RequireParityVersion
* Grumbles
* Change Parity version requirement to ~2.4.1
* Fix --no-run-parity with Parity already running
* Grumble
Co-Authored-By: <span data-trailer="Co-Authored-By:"><a href="mailto:xaxel@protonmail.com" title="xaxel@protonmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/7bc160a3c27e6cc0045842f97033d422?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:xaxel@protonmail.com" title="xaxel@protonmail.com">axelchalon</a> <<a href="mailto:xaxel@protonmail.com" title="xaxel@protonmail.com">xaxel@protonmail.com</a>></span>
https://gitlab.parity.io/parity/fether/-/commit/7e485f4fc3f8c3bba39442bf74370a4033a4e6bdMove unessential content to the wiki (#471)2019-03-20T23:00:08+00:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/93d7cfcb439e103e52d4ef375ecd3890d5ec5f15feat: Add Reload to taskbar menu in development only (#468)2019-03-20T13:59:44+01:00Luke Schoenltfschoen@users.noreply.github.com
* feat: Add Reload to taskbar menu in development only
* review-fix: Change to consthttps://gitlab.parity.io/parity/fether/-/commit/c856d12aa00ceffa34f049e15257f620b9528eb5fix account centering (#470)2019-03-19T18:14:54+01:00Thibaut Sardan33178835+Tbaut@users.noreply.github.comhttps://gitlab.parity.io/parity/fether/-/commit/0f66041172d13e2b0f28dcce43931f8311e70b0bfeat: Fixes #390. Show shortened version if account name over 25 chars (#391)2019-03-18T22:01:50+01:00Luke Schoenltfschoen@users.noreply.github.com
* feat: Fixes #390. Show shortened version if account name over 25 chars
* fix: Use text-overflow ellipsisto concat account name
* review-fix: Prevent text clipping on Linuxhttps://gitlab.parity.io/parity/fether/-/commit/a96768e4e6fa9fd0ab9dad774fbb556bf297bd20chore: Update copyright headers to 2019 (#462)2019-03-12T16:14:57+01:00Amaury Martinyamaury.martiny@protonmail.comhttps://gitlab.parity.io/parity/fether/-/commit/7b439cd831f08c59fa04f22d906b6e7d13b032ecfix: Fix warning since lifecycle method should be componentWillUnmount (#461)2019-03-11T15:50:16+01:00Luke Schoenltfschoen@users.noreply.github.com
index.js:1446 Warning: App has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?https://gitlab.parity.io/parity/fether/-/commit/d6cdfc97eb5385c7c03d96f193d867aed3724beafix: Fixes #459. Use default role for Edit menu on macOS (#460)2019-03-06T20:00:40+01:00Luke Schoenltfschoen@users.noreply.github.com
* fix: Fixes #459. Use default role for Edit menu on macOS
* refactor: Remove double quotes
* refactor: Try fix linting so single quote and not complain no-sparse-arrayshttps://gitlab.parity.io/parity/fether/-/commit/877b6e5891295daaa92469f06489e7c3ddcfdc63Merge pull request #454 from paritytech/luke-453-show-blurred-window2019-02-28T10:29:02+01:00Thibaut Sardan33178835+Tbaut@users.noreply.github.com
fix: Fixes #453. Show window if visible but blurredhttps://gitlab.parity.io/parity/fether/-/commit/540bc11b0d7f8c39c0bfa3e0d2b77cb38b40e96bfix: Focus window instead of blurred when click Show/Hide Fether on Linux2019-02-28T10:14:12+01:00Luke Schoenltfschoen@gmail.comhttps://gitlab.parity.io/parity/fether/-/commit/374648dcb0699ba870841fd3df5d8fa248311d3cfix: Fixes #453. Show window if visible but blurred2019-02-27T18:07:11+01:00Luke Schoenltfschoen@gmail.comhttps://gitlab.parity.io/parity/fether/-/commit/6750b7100f5c6b0c444bbb40bcd3a354e41006caMerge pull request #450 from paritytech/luke-readme-update2019-02-27T11:58:14+01:00Thibaut Sardan33178835+Tbaut@users.noreply.github.com
docs: Update Readme with dependencies, guide for taskbar usage and building and debugging productionhttps://gitlab.parity.io/parity/fether/-/commit/0204c9e5fb9a60856a173e7193c3c19cd13df808Merge branch 'master' into luke-readme-update2019-02-27T11:57:03+01:00Thibaut Sardan33178835+Tbaut@users.noreply.github.com