Tags: orange-org/orange
Tags
Use btcd (#50) * Add btcd to the build process * Fixes * Add certs * Fix types * Get rid of buildConstants. It wasn't worth it. * Remove some Mempool value unsupported by btcd * Generate secure btcd RPC credentials and allow testnet through command line args * Handle waiting for btcd initialization on the UI * Disable Bcore-only code * Update README.md and SECURITY.md * Check-in windows binary * Fix Settings.test.ts * Fix other tests by mocking FeatureFlags and enabling Bcore in the tests * Test AwaitBtcd * Address PR review issues * Fix some TypeScript and btcd compatibility issues * Increase Jest tests timeout * Fix executable's name on Windows * Fix executable's name on Windows (take 2) * Fix executable's name on Windows (take 3)
Block chain depth indicators + mempool UI (#44) * Display last portion of ellipsized text and migrate Block.tsx to atomic CSS * Fix issue with scrolling selected block into view * Fix issue with scrolling selected block into view (take 2) * Add depth link to the top of the block chain * Add depth bottom link * Style Mempool UI * Wire mempool data from RPC * Improve loading experience of block list, block details, and mempool info * Lint * Rename block fixtures according to their height * Fix SearchBox.test.ts * Add tests for BlockList * Lint
Support manual authentication (#36) * Move `renderer/callMain` to inside a newly created `ipc/` folder * Rename `sendMessageToRenderer` to `callRenderer` * Refactor `mainWindow` as a separate module for easier importing * Fix mainWindow refactoring * Add custom error handling for missing bitcoin.conf or .cookie files in `getRpcCredentials` * Start implementing `Settings.tsx` * Add help text to Bitcoin Core connection form * Move "Server URL" field to bottom to match order of code execution * Implement `FixBitcoinCoreConnection.tsx` * Implement `requireBitcoinCoreConnection` for routes * Refactor the reducer to eliminate `misc` property * Wire bitcoin.conf and .cookie errors to the UI * Implement some RPC error handling logic in the UI * Refactor and clean up `mainRpcClient` (formerly `sendRpcRequestToBitcoind`) * Simplify RPC types file names * Clean up error codes * Better handling of credentials caching * Fix TypeScript errors * Start to make `BitcoinCoreConnectionHelper` smarter * Suspend RPC call execution in case of connection issue and automatically retry on fix * Implement `BitcoinCoreConnectionStatus` component * Implement different issue handling in `BitcoinCoreConnectionHelper` * Organize main process files * Refactor `getRpcConfigurations` (formerly `getRpcCredentials`) * Start implementing embeddable Bitcoin Core connection settings component * Refactor Redux state for Bitcoin Core connection issue * Silence TypeScript errors * Continue to build out BitcoinCoreConnectionSettings.tsx * Refactor code to allow calling RPC client for testing a connection * Refactor `BitcoinCoreConnectionSettings` to make it more modular * Refactor `callMain` to allow non-RPC calls to receive a response * Implement `show-cookie-open-dialog` IPC message * Add debounce effect to `useConnectionStatus` hook * Implementing toggling between issue report and Core settings pages * Implement `get-rpc-configurations` RPC type * Implement Bitcoin Core connection settings form validation * Replace `callMain` with `ipcService` * Make `electron` read `package.json` to determine app name correctly during development * Handle `save-bitcoin-core-connection-configurations` IPC event in main * Break up BitcoinCoreConnectionSettings.tsx into smaller files * Rename `bitcoinCoreConnection` to `rpc` * Implement `readConfigurations` * Remove problematic `getStore` * Rename `getRpcConfigurations` to `getSavedRpcConfigurations` * Read saved RPC configurations * Fix bug for retrying with default configuration setting * Wire toggling between server settings and connection status report * Add Bitcoin Core connection to settings page * Add home button * Autofix some linting errors * Fix `mainRpcClient.test.ts` * Remove support for command line arguments and fix `getRpcConfigurationsFromDisk.test.ts` * Fix `rpcClient.test.ts` * Fix `startMainProcess.test.ts` * Fix React `act` warning * Istanbul unignore code path * Fix transactino list appearance * `callRenderer` to `respondToRenderer` * Add test for global error handling in main * Fix main process test statefulness issue * Add tests to `mainRpcClient.ts` * Start writing `handleRpcRequest` tests * Migrae `SearchBox` test to use mocked Electron main process * Migrate tests to using mock RPC server * Add more tests to `RpcIssueDialog` * Lint * Use nonce in styles content security policy * Fix issue with preload source-map warning in DevTools * More `RpcIssueDialog` tests * Complete basic tests for RpcIssueDialog * Use `pageElements` helper in RpcIssueDialog and SearchBox tests * Add a test for server URL field * Add test for RPC settings cookie dialog * Use type-safe test IDs * Add a test for Settings.tsx * Add a test for invalid cookie file content * Add tests for making RPC requests with a few different saved RPC configurations * Add a test for missing `bitcoin.conf` * Fix Explorer tests * Fix SearchBox tests * Add tests to `isWhitelistedUrl` * Fix `isWhitelistedUrl` tests * Delete unneeded tests * Lint * Fix `isWhitelistedUrl` directory name * Fix import path * Refactor test utils * 'cookieFile' => 'cookiePath' * `configurationsFile` => `configurationsPath` * More `cookieFile` => `cookiePath` * Some clean up * Clean up * Lint * Update testing.md * Add CI badge to README
Deployment pipeline (#15) * Add deploy configurations to .travis.yml * Fix packagejson version * Fix packagejson version (Take 2) * Configure Travis to build semver branches/tags * Make deployment a separate stage * Remove depcheck * Set travis.yml os to osx * Fix .travis.yml encrypted token * Fix .travis.yml encrypted token (take #129,583) * Add `triggerRelease.js` script * Fix check * Update deploy token * Clean up * Run the deploy stage for semver tags only, not master or PRs * Add comment and trigger all jobs on semver * Try another way to prevent deploy stage on master PRs