Commit Graph
37403 Commits
Author SHA1 Message Date
Simon Hong d3d8eb5e88 Respect os' vpn status when os is suspended or resumed
Don't try to reconnect or disconnect when os is in resumed or suspended.
2022-12-01 13:51:23 +09:00
Anton Paymyshev 763724c28f Move swap errors parsing to backend (#16010) 2022-12-01 11:42:46 +07:00
Anton Lazarev 523f4fde12 Merge pull request #15943 from brave/removeparam
Support `removeparam`
2022-11-30 23:37:11 -05:00
Anton Paymyshev aac08e9109 Use Brave endpoints for SNS and ENS (#16101) 2022-12-01 09:26:54 +07:00
Douglas Daniel fddc7e7c26 Merge pull request #16176 from brave/fix-swap-nav-theme-change
fix(swap): Update Nav Theme to Swap Theme
2022-11-30 19:11:23 -07:00
Jay Harris a479a9a011 [Brave News]: Add translations for new channels (#16148) 2022-12-01 13:32:14 +13:00
brave-builds b440d13535 1.48.19 2022-12-01 00:01:42 +00:00
Simon Hong ae9eb56071 fixup! Grouping sidebar related options together in settings 2022-12-01 09:01:06 +09:00
Simon Hong 57fc8b28dd Updated sidebar toolbar button's tooltip and menu strings
Changed to use Sidebar instead of Side panel
2022-12-01 08:19:33 +09:00
Simon Hong cc310db781 Grouping sidebar related options together in settings
fix https://github.com/brave/brave-browser/issues/25717

Several sidebar options are grouped and located under autocomplete suggestion option.
Always show ful urls option is relocated under Use wide address bar
2022-12-01 08:19:33 +09:00
Anton Lazarev b1f03d4de3 ensure URLs are valid 2022-11-30 15:10:57 -08:00
Anton Lazarev f933b42a11 restrict query parameter stripping to GET, HEAD, and OPTIONS requests
See https://github.com/brave/brave-browser/issues/26377#issuecomment-1317772276
2022-11-30 15:10:57 -08:00
Anton Lazarev 49cce79190 add tests 2022-11-30 15:10:57 -08:00
Anton Lazarev c0f2abeb1e check/apply removeparam in domain blocking throttle 2022-11-30 15:10:57 -08:00
Anton Lazarev e4ca1443e5 support removeparam 2022-11-30 15:10:57 -08:00
Josh Leonard 87a28a6cea chore: add capability to cache token spot prices (#16153)
chore: add capabilty to cache token spot prices
2022-11-30 15:23:36 -07:00
Josh Leonard 9fbc6d902f fix: serialize OriginInfo for use within redux (#16146) 2022-11-30 15:22:56 -07:00
Simon Hong bc963016d5 Don't update connect state right after RasDial() returns success
OS VPN status is not completed when RasDial() returns. It takes
some more time to get completed. VPN Panel should show connected state
when os vpn connection is also completed.
2022-11-30 15:21:01 -07:00
Brian Clifton 66558445c3 Add validation to TryGetPhonebookPath
This just gives us better logs
2022-11-30 15:21:01 -07:00
Brian Clifton f25974b0da Add fallback path for the RAS phone book file
Fixes https://github.com/brave/brave-browser/issues/27056
2022-11-30 15:20:47 -07:00
Simon Hong a91bffed82 Don't remove vpn entry when ras api gets failed
It could delete pbk file itself.
2022-11-30 15:20:42 -07:00
mkarolin 964ee7b721 Fixes leaking of full version via navigator.userAgentData.getHighEntropyValues
Fixes brave/brave-browser#23491

It seems uaFullVersion was always leaking but the fullVersionList
started leaking because of the change in
https://github.com/brave/brave-core/pull/14155 where brand was added
to GetUserAgentBrandList function in
components/embedder_support/user_agent_utils.cc which broke the
BraveContentBrowserClient::GetUserAgentMetadata expectation that the
brand list would only contain 2 items (instead of now 3).

This fix adjusts the BraveContentBrowserClient::GetUserAgentMetadata
expectations and removes adding the Brave brand to the lists because
it's already there. Now we just need to zero out 3 last components of
the full versions list and uaFullVersion string.

Also, adds a browser test to check the sizes of the lists and versions
values.
2022-11-30 16:12:04 -05:00
Douglas Daniel c3e508cf83 fix(swap): Update Nav Theme to Swap Theme 2022-11-30 14:45:23 -06:00
Arthur Edelstein 64b5afca9a Bug 27021: modify screen size spoofing of iframes (#16160)
Modify the behavior of the kBraveBlockScreenFingerprinting flag
for scripts in an iframe, to make sure values returned by spoofed APIs
match the results from a script in the top-level document.

New spoofing behaviors:

- window.outer{Width,Height} -> top.inner{Width, Height} + R
- window.screen.{width, height} -> top.inner{Width, Height} + R
- window.screen.avail{Width, Height} -> top.inner{Width, Height} + R
- media query for device-width -> top.screen.width (also farbled)
- media query for device-height -> top.screen.height (also farbled)
- window.open coordinates -> relative to top.screen coordinates,
    regardless of whether opened from top-level document or an iframe

  (R = random number between 0 and 8, seeded by [session + top-level-domain])

In addition, extend existing browser tests of these protections to iframes.
2022-11-30 10:47:54 -08:00
William Muli d2151fa2ff fix(wallet): Fix iframe background (#16173)
Remove color-scheme value in iframes
2022-11-30 21:30:19 +03:00
Jocelyn Liu 5712ba6251 Merge pull request #16154 from brave/sign_solana_tx_with_selected_acc
Sign Solana transaction based on selected account instead of fee payer
2022-11-30 10:18:04 -08:00
brave-builds e4f5c6b87e 1.48.18 2022-11-30 18:02:35 +00:00
Aleksey Khoroshilov d60cc35951 Merge pull request #16166 from brave/add-multiline-license-example
Add multiline comment license example to presubmit message.
2022-11-30 23:52:49 +07:00
samartnik ecd65f9e57 Merge pull request #15908 from brave/java_patch_reviewers_codeowners
Changes owners for java patches to java-patch-reviewers
2022-11-30 11:28:29 -05:00
aseren b2d9c8f851 Merge pull request #16043 from brave/issues/26904
Update ads status header hosts list.
2022-11-30 11:01:29 -05:00
Aleksey Khoroshilov 7bff57f87c Add multiline comment license example to presubmit message. 2022-11-30 21:31:19 +07:00
brave-builds 27d91cab8e 1.48.17 2022-11-30 12:01:17 +00:00
Pete Miller df9d04a301 Merge pull request #16161 from brave/bn-subscribe-opted-int
[Brave News]: Don't show subscribe button until opted in to Brave News
2022-11-29 23:45:40 -08:00
Taher b7322b9239 Removed previous welcome page components and tests (#16118) 2022-11-29 20:37:39 -08:00
Jay Harris e7cd2a2647 Don't show Brave News button till the user has opted in 2022-11-30 16:08:05 +13:00
brave-builds ad89e3260b 1.48.16 2022-11-30 00:01:51 +00:00
Josh Leonard 9f1069062c Fix: normalize token lists to registries within api slice (#16125)
fix: store tokens as registry within api slice

fix: provide networksList as registry in api slice

chore: store fullTokensList as registries by chain

fix: reuse token logo logic

feat: get user tokens registry in api slice

feat: addUserToken mutation

fix: simplified blockchain token registries

feat: update and remove tokens in api slice

feat: api slice updateUserAssetVisible mutation

chore: remove balance refresh from addUserToken

feat: add selectors for tokens from api slice

fix: reduce arg object size for nft metadata query

feat: memoize token selectors

chore: remove unused type

test: fix mocked store for tests

fix: add try-catches to token registry queries

fix: add chain id to tokens & fix result selectors

fix: add chain id to user assets in registry
2022-11-29 23:49:15 +01:00
Douglas Daniel 41292aa56e Merge pull request #16144 from brave/fix-wallet-nav-zindex
fix(wallet): New Nav zIndex
2022-11-29 15:39:17 -07:00
Jocelyn Liu 79a28afe7b Sign Solana transaction based on selected account instead of fee payer 2022-11-29 14:37:06 -08:00
Douglas Daniel 1e1d2a48c1 Merge pull request #16142 from brave/fix-wallet-add-custom-token
fix(wallet): Add Custom Token
2022-11-29 15:17:23 -07:00
Max 32c564e620 Merge pull request #16139 from brave/108.0.5359.71_master
Upgrade from Chromium 108.0.5359.62 to Chromium 108.0.5359.71.
2022-11-29 16:38:54 -05:00
wchen342 2790a2dea4 Merge pull request #16140 from brave/android_wallet_add_visible_asset_fix
[Android] Fix add ERC721 tokens that are in registry
2022-11-29 23:14:43 +02:00
wchen342 48165e9894 [Android] Fix add ERC721 tokens that are in registry 2022-11-29 22:35:12 +02:00
Douglas Daniel fc50e909db fix(wallet): New Nav zIndex 2022-11-29 14:28:04 -06:00
Douglas Daniel 9217fce73e fix(wallet): Add Custom Token 2022-11-29 14:02:10 -06:00
Serg 66ec8fc818 Merge pull request #16080 from brave/android_safebrowsing_safetynet
Android safebrowsing safetynet
2022-11-29 13:34:34 -05:00
brave-builds 6ce019a15b Update pins list timestamp 2022-11-29 18:13:08 +00:00
brave-builds 337f35fcb1 Upgrade patches from Chromium 108.0.5359.62 to Chromium 108.0.5359.71 2022-11-29 18:11:38 +00:00
brave-builds 579911aafc Upgrade from Chromium 108.0.5359.62 to Chromium 108.0.5359.71 2022-11-29 18:11:38 +00:00
brave-builds bb1d97c416 1.48.15 2022-11-29 18:01:25 +00:00