Commit Graph
467 Commits
Author SHA1 Message Date
Emerick Rogul 0f8835e824 Fix Include in Auto-Contribute toggle 2021-03-18 21:06:11 -04:00
Terry Mancey 4686667a69 Fixes estimated pending rewards for Ads resets to Zero in NTP after browser restart until ads has initialized 2021-03-12 21:50:43 +00:00
Sergey b265c2a4de Merge pull request #8219 from brave/ipfs-installation-progress
Add installation progress to brave://ipfs page
2021-03-12 18:33:12 +03:00
sergey 97df40a3ec Add installation progress to brave://ipfs page 2021-03-12 07:04:53 +03:00
Anton Lazarev 7edbf6d1eb Merge pull request #8156 from brave/migrate-legacy-cosmetic-filters
Migrate legacy cosmetic filters
2021-03-11 16:50:05 -05:00
Pete Miller 401adb5075 Merge pull request #8120 from brave/storybook-v6-2 2021-03-11 13:17:20 -08:00
zenparsing 41726a8767 Remove unused properties from ExternalWallet TypeScript definitions 2021-03-11 10:52:11 -05:00
Pete Miller cfb39feef2 Upgrade to styled-components v5 2021-03-11 21:31:02 +13:00
Anton Lazarev 225fcb666e update actions available from right click context menu 2021-03-10 09:37:48 -08:00
Anton Lazarev 371d95aaa7 migrate existing legacy cosmetic filters to custom filter engine 2021-03-10 09:37:44 -08:00
sergey d3c12733da Show errors about node status 2021-03-10 18:43:04 +03:00
Emerick Rogul 69ed69e894 Add support for generic rewards external wallets 2021-03-04 16:49:14 -05:00
Simon Hong 5dc84a246c Improve topsites in NTP
* Adjust max topsite tiles number to 12
* Can add/edit topsites from NTP
* Can toggle favorites and frecency mode from NTP customization option

fix https://github.com/brave/brave-browser/issues/7493
2021-03-02 09:54:30 +09:00
Pete Miller ec48fcc039 Brave Today: download japanese feed for japanese-language users 2021-02-24 23:56:27 +13:00
sergey 90bcb4e8a6 Add button to perform garbage collection sweep 2021-02-19 18:19:16 +03:00
sergey 1f5ff485b1 Added installation status 2021-02-15 14:50:09 +03:00
sergey 91a2f771cb Add Restart button to brave://ipfs page 2021-02-15 14:50:09 +03:00
Serg a76f287290 Merge pull request #7808 from brave/cosmetic_filters_scriptlets
inject scriptlets straight avoiding creation of a <script> tag
2021-02-04 10:56:12 -05:00
Simon Hong 945298693f Fix renderer crash from adblock page
fix https://github.com/brave/brave-browser/issues/13775

When navigting from adblock to other pages, renderer is crashed.
This crash comes from referring RFH to try update stats whlie
new naviagion occurs. As we don't need to show stats, stats updating
logic is removed.
2021-02-04 10:49:36 +09:00
Serg b94918104b inject scriptlets straight avoiding creation of a <script> tag 2021-02-03 16:49:13 -05:00
sergey 2a42f890cf List PeerID and AgentVersion in brave://ipfs
13839: Add additional section with node information
2021-02-01 21:31:08 +03:00
sergey 020c95f494 Add node information to brave://ipfs
13839: PeerID and Agent version added to brave://ipfs
2021-02-01 21:31:08 +03:00
Sergey 89a3147708 Add repo stats to brave://ipfs 2021-01-31 23:00:14 +03:00
Brian R. Bondy 1ed04daa96 Fix tslint 2021-01-29 16:57:14 -05:00
Brian R. Bondy f147504399 Make Brave extension translate IPFS URIs 2021-01-27 15:14:29 -05:00
Anthony Tseng 7c243357c7 Add l10n strings and lint fixes 2021-01-25 12:19:23 -08:00
Anthony Tseng 11e90a3f9a Add TorControlEvents 2021-01-25 12:19:23 -08:00
Anthony Tseng 1561541144 Simply TorLauncherObserver without involving TorProfileService
Also add tor init percentage to tor-internals
2021-01-25 12:19:23 -08:00
Anthony Tseng 98cc8cb8ba Add TorLog 2021-01-25 12:19:22 -08:00
Anthony Tseng ad41464b85 tor-internals init 2021-01-25 12:19:22 -08:00
Serg 88bfb1701c Merge pull request #6735 from brave/cometic_filters_css_rules
cosmetic filters for Android and desktop
2021-01-22 14:19:18 -05:00
Pete Miller 0343ea4135 Brave Today: send ad service notifications when promoted content is viewed or clicked 2021-01-20 22:14:30 -08:00
Pete Miller 976e81322a Brave Today: cli flag to change hostname feed and sources are fetched from
Flag is `--brave-today-host` and allows to use, for example, staging, dev or a local in-development feed.
2021-01-20 22:14:30 -08:00
Pete Miller c9fe88912c Brave Today: promoted content 2021-01-20 22:14:30 -08:00
Serg 00f58ed378 addresses code review feedback 2021-01-20 19:26:32 -05:00
Serg c28bbd8294 corrects scriptlets injection 2021-01-20 19:26:32 -05:00
Serg c6c42f5f6b switched back to ts instead of js 2021-01-20 19:26:32 -05:00
ryanml 261655d6fb Using localized urls for Binance widget/suggested sites
Fixes brave/brave-browser#9691
2021-01-18 16:15:38 -07:00
Kevin Smith f7ee3e1621 Merge pull request #7525 from brave/ksmith-rewards-tour-setup
Add setup form to rewards onboarding modal
2021-01-15 15:50:54 -05:00
zenparsing bf07e8cb7d Add setup form to rewards onboarding modal 2021-01-15 12:59:42 -05:00
yan c818480b40 npm package upgrade fixes
* fix import paths
* remove type dependencies that are no longer needed (https://github.com/storybookjs/storybook/issues/8233)
* fix typescript errors
2021-01-14 20:44:59 -08:00
Pete Miller d216e8c964 New Tab Page: Prompt for Brave Together
Button in footer always shows
Prompt (anchored to button) shows like a tooltip until the user manually closes via button.
2021-01-07 10:50:07 -08:00
Mario Sanchez Prada cc90b36d6f Remove "bs_" prefix from settings names and modify only those needed
In a previous commit we added a "bs_" (standing for "Brave Shields")
to all the settings' names for consistency, even if only "ads", cookies"
and "javascript" needed to be changed to prevent collissions with other
types from upstream when registering the types.

However this is problematic and confusing, so let's only modify the
ones strictly needed, that is, "cookies" and "ads". For "javascript"
we can simply stop registering our own ContentSettingsType for that
since the one that's actually being used is upstream's.
2021-01-05 21:27:44 -05:00
Mario Sanchez Prada e6fedc966a Migrate away from using ResourceIdentifier now that it's gone upstream
As part of upstream bug 1134547[1], the ResourceIdentifier that Brave
Shields relied on so far has been completely removed[2], so we need to
adapt our code not to rely on it anymore so that we can keep building
Brave correctly on the latest dev channel release of Chromium 88.

This patch implements the first step to adapt Brave to this new
scenario, by moving into using Brave-specific values of the
ContentSettingsType enumeration instead of using the PLUGINS
type plus a ResourceIdentifier as we did before.

Note that this patch adds a "bs_" prefix to all the BraveShields
constants, to avoid collisions with the COOKIES and JAVASCRIPT
upstream content types. Added prefix to all constants for
consistency + update TS code.

Note that the goal of this change is simply to keep Brave building,
running and passing the tests so that we can continue working on the
rebase. Further work will be still needed in follow-up patches to
fully migrate the code base to a post-Flash world by changing those
bits that don't make sense anymore, and simplifying things as much
as possible.

[1] https://crbug.com/1134547
[2] https://crrev.com/c/2500161
2021-01-05 21:27:44 -05:00
ryanml 02bf386b3a Restoring widget stack order up re enabling cards
Fixes brave/brave-browser#12863
2020-12-09 13:05:10 -07:00
Pete Miller d174f90d3a Brave Today: optimize fetching
- Do not fetch any data from remote until user has interacted with brave today once
- Fix double-fetching due to feed fetch also fetching sources which notifies feed there is an update which then performs feed fetch...
- Debounce fetch feed update when user is toggling publishers
2020-12-07 14:14:53 -08:00
ryanml c907af0048 Removing Bitcoin.com widget code, Moonpay API
Fixes brave/brave-browser#12897
2020-12-02 14:36:40 -07:00
Pete Miller 098e065672 Brave Today: dismiss intro card if it has been viewed for 4 seconds
Intro Card (and the current tab) has to be fully in view
2020-11-30 11:51:05 -08:00
Pete Miller 2e1aa4ea1c New Tab Page: Don't define Preferences type twice 2020-11-30 11:50:41 -08:00
Terry Mancey 5a585e82b4 Add statement of accounts changes for Brave Rewards NTP widget 2020-11-25 12:01:20 +00:00