- 28 May, 2019 2 commits
-
-
Luke Schoen authored
-
Luke Schoen authored
* Update Send transaction UI so "amount" field can be 0, since some users may want to just send some data (i.e. https://github.com/chainx-org/ChainX/issues/66) * Set the default amount value to be 0 and not required * Update Send transaction UI to support "data" field in hex (with 0x prefix) * Use a hard-coded Gas Limit of 200,000 when user provides hex "data" value * Remove logic that doesn't make sense (i.e. `else if (amountBn.isZero()) {`) * Update validation messages * Add support for Blockscout link when user using Goerli testnet * Update internationalisation * Use custom `isHexString` function instead of the ethereumjs-util's version. The ethereumjs-util's version is used by MyCrypto and doesn't work properly. * Tested on Goerli testnet by creating two accounts, requesting Goerli tokens, running with `--chain goerli` appended to the end (i.e. `"start": "cross-env ELECTRON_START_URL=http://localhost:3000 electron-webpack dev --chain goerli",` in fether/packages/fether-electron/package.json), and sending a transaction with the high gas price, the hex data. For example, for ChainX convert your ChainX Address (UTF8 chars) into Hex code (i.e. copy/paste it at https://www.browserling.com/tools/utf8-to-hex, for example "helloworld" becomes => `\x68\x65\x6c\x6c\x6f\x20\x77\x6f\x72\x6c\x64`, and remove the `\x`, => `68656c6c6f20776f726c64` => then prepend 0x => `0x68656c6c6f20776f726c64` and add that to the "data" field), then send the transaction, and when the transaction is successful go to the Blockscout link and you'll see under "Raw Input" ("Input Data" on Etherscan) that you can switch between viewing it in UTF8 or Hex, i.e. https://blockscout.com/eth/goerli/tx/0x7eaec61ce7753fd4c80aec4509c49942b53986585e4864e18134806bffb25f10/internal_transactions) * TODO - update Parity Signer to show "data" field value if it doesn't already
-
- 08 May, 2019 1 commit
-
-
Amaury Martiny authored
-
- 07 May, 2019 1 commit
-
-
Amaury Martiny authored
* Remove ipcRenderer and window.bridge * Make app work more or less * Make app work really * Make prod work * Make translations work * Small tweaks * Rename IPC channels * Tighten up CSP * Optimize a little bit * Fix lint
-
- 06 May, 2019 1 commit
-
-
YJ authored
* feat: set csp meta in index.html for prod * fix grumbles
-
- 15 Apr, 2019 3 commits
-
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
feat: 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 https://github.com/paritytech/fether/pull/483#discussion_r270834847 * 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
-
- 12 Apr, 2019 3 commits
-
-
Luke Schoen authored
* fix: Fixes #494 drag and context menu. import options spacing for error * refactor: Remove css class that is not being used
-
Luke Schoen authored
* 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 @Robbepop (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 i18n
-
Luke Schoen authored
* 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 i18n
-
- 10 Apr, 2019 1 commit
-
-
Thibaut Sardan authored
-
- 09 Apr, 2019 3 commits
-
-
Amaury Martiny authored
* Allow fetching cross-platform * Update ci * Fix script
-
Thibaut Sardan authored
* Readme update for Mainnet launch * default to foundation * address comment * fix link * fix conflicts
-
Amaury Martiny authored
* Bump light.js to use getTxByHash * Use .hash instead of .txHash
-
- 08 Apr, 2019 2 commits
-
-
Amaury Martiny authored
* Revert @parity/* bump * Fix blockscout link * Pass down ws-origins flag * Fix again: use transactionHash * Update maintainers * Fix broken image in prod
-
Luke Schoen authored
* feat: Security aspects for fether-electron. See #124 * 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 https://hackmd.io/O1FA34BuSNyJoPV1Cu3L0A * 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 blockscout
-
- 04 Apr, 2019 1 commit
-
-
Axel Chalon authored
-
- 03 Apr, 2019 1 commit
-
-
Thibaut Sardan authored
* 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.log
-
- 02 Apr, 2019 2 commits
-
-
Axel Chalon authored
-
Thibaut Sardan authored
-
- 01 Apr, 2019 1 commit
-
-
Luke Schoen authored
* 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 text
-
- 28 Mar, 2019 1 commit
-
-
Thibaut Sardan authored
* 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 comment
-
- 27 Mar, 2019 1 commit
-
-
Thibaut Sardan authored
-
- 26 Mar, 2019 1 commit
-
-
Luke Schoen authored
-
- 25 Mar, 2019 1 commit
-
-
Amaury Martiny authored
* 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 field
-
- 22 Mar, 2019 2 commits
-
-
Thibaut Sardan authored
-
Amaury Martiny authored
* fix: correctly set permissions on downloaded binary * Add comment
-
- 21 Mar, 2019 1 commit
-
-
Axel Chalon authored
* 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:
axelchalon <xaxel@protonmail.com>
-
- 20 Mar, 2019 2 commits
-
-
Thibaut Sardan authored
-
Luke Schoen authored
* feat: Add Reload to taskbar menu in development only * review-fix: Change to const
-
- 19 Mar, 2019 1 commit
-
-
Thibaut Sardan authored
-
- 18 Mar, 2019 1 commit
-
-
Luke Schoen authored
* 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 Linux
-
- 12 Mar, 2019 1 commit
-
-
Amaury Martiny authored
-
- 11 Mar, 2019 1 commit
-
-
Luke Schoen authored
index.js:1446 Warning: App has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?
-
- 06 Mar, 2019 1 commit
-
-
Luke Schoen authored
* 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-arrays
-
- 28 Feb, 2019 2 commits
-
-
Thibaut Sardan authored
fix: Fixes #453. Show window if visible but blurred
-
Luke Schoen authored
-
- 27 Feb, 2019 2 commits
-
-
Luke Schoen authored
-
Thibaut Sardan authored
docs: Update Readme with dependencies, guide for taskbar usage and building and debugging production
-