43 Commits
Author SHA1 Message Date
Mikhail 367be052ab Fix some eslint js issues (#33856)
The PR fixes eslint issues in *.js files and removes the related rules from the backlist.
2026-02-14 22:10:28 +04:00
Pavel Beloborodov bcd76c1a46 Extensions MV2 settings backup. (#30268)
* Added extensions mv2 settings backup.

Added ExtensionsManifectV2Migrator which observes webstore extensions. When it detects certain extension is disabled by unsupported manifest version reason, it stores the Local Extension Settings and IndexedDB settings to ExtensionsMV2Backup directory in the browser profile.

Boolean feature param import_settings [requires backup_settings to be enabled]:
If enabled, ExtensionsManifectV2Migrator observes the brave-hosted extensions installation events. When brave-hosted extension in installed and there is the settings backup then ExtensionsManifectV2Migrator imports settings to the newly installed extension.
2025-08-27 17:56:53 +07:00
Brian R. Bondy 1174a90b46 Remove Ethereum Remote Client (Crypto Wallets) (#29135)
There was a flag from long ago that allowed you to select Crypto Wallets as your wallet. However if you did this, it no longer works.  There is no one that can feasibly still be using this wallet because it hasn't worked for many versions

Addressed review comments

Remove references to 21070F3D60711361C1210B870439BE49B5D995F4
21070F3D60711361C1210B870439BE49B5D995F4 is for Ethereum Remote Client which is removed

Remove unused ReinstallAsNonComponent

Remove unused comment IsInstallationExplicitlyAllowed

Remove _permission_features.json because it's an override that only
exists because of CW extension.

Remove unused string braveWalletImportFromLegacy

Use constexpr for kMetamaskExtensionId

Remove need subscription to kDefaultEthereumWallet and OnWalletTypeChanged handler

Remove DISABLED_ImportLegacyWallet

Add Migration for people with CryptoWallets pref

Deprecate and keep CryptoWallets prefs

1
2025-05-23 16:56:41 -04:00
Pavel Beloborodov d058914122 Importing settings for extension from indexed db source. (#28189)
* Importing settings for extension from indexed db source.
* Added dialog to notify user about the source profile in use.
* Fixed UI state not update properly on import start.
2025-05-03 20:13:48 +07:00
Michael Herrmann 3311f572f0 Add brave CLI arg --brave-extension-publisher-key-alt (#23282)
Add brave arg --brave-extension-publisher-key-alt
2024-04-26 18:53:55 +02:00
Aleksey Khoroshilov 9e6c837be2 Review fixes. 2023-12-26 20:48:48 +07:00
Aleksey Khoroshilov 9d65f1ebdc Remove early extension system initialization from Greaselion. 2023-12-25 19:24:29 +07:00
cypt4 d3871e62d0 Add extension API for reading and writing IPFS settings (#18901)
* Add chrome.ipfs.getSettings method
Resolves https://github.com/brave/brave-browser/issues/31012
2023-07-06 14:18:07 +07:00
Cepera 6351656a71 Reworked identity patch for auth token (#17645)
* Reworked identity patch for auth token

* Added test for getAuthToken api call

* Move api tests to separate folder

* icwyu fixes
2023-04-03 22:12:14 +02:00
Brian R. Bondy c612a1ea67 Remove Binance widget 2022-11-25 13:47:09 -05:00
Jay Harris 63be302a09 Fix bad license (http ==> https) 2022-11-09 18:31:39 +13:00
Simon Hong 6a8296c0ae Added test case for color checking with extension 2022-09-27 09:17:23 +09:00
cepera 623b0d88aa Import extension settings 2022-09-09 22:50:09 +03:00
Mikhail 094ba1f50e [extensions] Add a switch to generate a publisher proof (#12090)
* [extensions] Add a switch to generate a publisher proof

* Clean up

* Fix review issues

* add browser tests

* More review fixes

* Update the key, fix comments

* Fix review comments
2022-02-11 00:30:06 +07:00
Brian R. Bondy 1da3221030 Remove old BitGo code which was never used 2021-10-26 11:00:16 -04:00
Brian R. Bondy 2e81ecfd3c Deprecate old default wallet migration
In the new way we will always pick BraveWalletPreferExtension unless it is None
2021-10-26 11:00:15 -04:00
Brian R. Bondy f4bffae6cf Remove promptToEnableWallet and related code 2021-09-22 16:03:53 -04:00
Brian R. Bondy 2c3ae103b8 Remove dapp detection and Ask option for default dapp setting 2021-09-22 16:03:53 -04:00
sergey 66e98f3fcd Added gateway url validation 2021-08-18 17:34:44 +03:00
Sergey P 7f44403316 Added default key rotation 2021-06-30 14:48:57 +03:00
Brian R. Bondy 9b55a0c8d3 Store last wallet unlock time in preferences 2021-06-21 16:36:41 -04:00
Sergey P 70d87d0354 Allow users to add IPFS peer servers 2021-05-21 22:18:20 +03:00
Sergey P 2c992fda0c Added IPNS keys manager UI to IPFS Settings 2021-05-04 15:01:26 +03:00
Brian R. Bondy 10ff512791 Change hamburger menu from Crypto Wallets -> Wallet 2021-03-12 22:36:13 -05:00
Brian R. Bondy 4db2bc311b Add and adjust tests for resolving IPFS URIs 2021-01-27 15:14:25 -05:00
Brian R. Bondy 6913c39add chrome.ipfs.launch should not allow install of component
We expose this only to IPFS Companion, but we should not allow go-ipfs to be installed from that extension, only by explicit user consent.
2020-12-21 19:02:10 -05:00
Anthony Tseng 8b5636c117 Add a test case for allow in tor and split mode 2020-12-14 14:59:35 -08:00
Jocelyn Liu 450903d8ff fix tests 2020-10-15 17:47:28 -07:00
Brian R. Bondy 62689de5e7 Add API for IPFS Companion 2020-10-09 12:57:52 -04:00
ryanml 890db99e99 Fixes brave/brave-browser#10352 - Adding getBraveKey method to braveWallet chrome API" 2020-06-18 10:33:41 -07:00
Brian R. Bondy 5e66ab0a36 Lazy load Brave Crypto Wallets 2020-05-13 16:53:51 -04:00
Brian R. Bondy 3972d72d8d Make sure no API access in extensions 2020-04-09 00:41:13 -07:00
Brian R. Bondy 596cb27959 Implement review feedback 2020-04-09 00:41:13 -07:00
ryanml 9aa0fd3d19 Adding backend API, controller, service 2020-04-09 00:41:12 -07:00
Brian R. Bondy 2afdcf62ff Add an extra crypto wallets derived seed API 2020-03-03 14:12:00 -05:00
Brian R. Bondy 32269ca00e Add setting to select web3 provider 2020-01-31 13:39:42 -05:00
Brian R. Bondy 5738c6b55b Add tests for braveWallet.isEnabled API 2019-10-02 10:00:59 -04:00
Brian R. Bondy 7c20714697 Add known end-to-end values test for seed generation 2019-08-13 09:51:12 -04:00
Brian R. Bondy 5f786f96f4 Add API for obtaining Infura endpoint for braveWallet 2019-08-12 22:44:56 -04:00
Brian R. Bondy 16e70eb6bd Only do braveShields test for chrome.braveWallet when buildflag applies 2019-08-12 22:44:56 -04:00
Brian R. Bondy 6424a4122e Add tests for chrome.braveWallet.getWalletSeed 2019-08-12 22:44:56 -04:00
Brian R. Bondy a61bbbf5f6 Add test for braveWallet API only available in Brave Shields extension 2019-07-17 09:55:35 -04:00
Brian R. Bondy 8a10c987c4 Test that only brave-extension has access to chrome.braveShields 2018-08-06 17:56:11 -04:00