Commit Graph
35275 Commits
Author SHA1 Message Date
zenparsing 64a13c1229 Ensure that RewardsService callers handle empty StructPtr 2022-09-19 15:25:56 -04:00
zenparsing 1f08aced7c Ensure all RewardsService async methods run their callbacks 2022-09-19 13:39:47 -04:00
Kevin Smith 9a4dc38288 Merge pull request #14604 from brave/ksmith-android-rewards-page
Use responsive Rewards page on Android
2022-09-19 13:21:55 -04:00
William Muli ea92a53e57 feat(wallet): Add Sardine on-ramp provider to onboarding(fund wallet) (#15104)
Add sardine on-ramp provider to onboarding(fund wallet)
2022-09-19 18:53:05 +03:00
samartnik 12b1d0bafe Merge pull request #15131 from brave/android_shields_info_crash
[Android] Fix for crash on receiving initial shields state
2022-09-19 11:38:38 -04:00
zenparsing b9efe313e5 Use responsive Rewards page for Android 2022-09-19 10:48:16 -04:00
samartnik ed61c46309 [Android] Fix for crash on receiving initial shields state 2022-09-19 10:30:40 -04:00
brave-builds 1bf680f555 1.45.59 2022-09-19 12:01:56 +00:00
Pavneet Singh 51052bec6b Merge pull request #15118 from brave/fix-network-selector-state-solana
fix(wallet): set previous network if no solana account created
2022-09-19 15:31:53 +05:30
Aleksey Khoroshilov f494ac20d8 Merge pull request #15117 from brave/issues/908
Cleanup permission contexts on PermissionManager::Shutdown().
2022-09-19 14:35:59 +07:00
Sangwoo Ko 34235a65fd Always pass "Background Wallpaper" even when we use "Sponsored image" (#15119)
This data is required for Background chooser to be able to know
which wallpaper is currently set.
2022-09-19 15:58:36 +09:00
ptjamesandPlas James 47b5b37ff8 Implement text embedding processing for ad matching MVP (#14393)
* restoring embedding PR from backup

* linting and running tests

* reorganizing parts of embedding processing

* linting and re-testing

* additional touch-up comments

* reorganizing loading of embedding resource from value

* retesting and linting

* updating db classes to match master

* linting

* work on PR comments so far

* added unittest and additional comments resolved

* syncing with master

* additional unit tests and comments

* linting

* fixing const issue in pipeline_embedding_info FromValue function

* incorporating clangd recommendations

* adding READMEs

* adding more detail to the text embedding processor readme

* additional clangd recommendations

* comment resolution iteration

* resolving more comments

* fixing unit text, checking unit tests, and linting

* comments iteration

* linting includes added

* resolving additional comments

* pipeline_embedding_value_util reformat

* resolving additional comments

* linting

* fixing header ordering in file

* additional comments

* updating unit tests

* comments

* addressing final comments

* fixing linting unnecessary semicolon

* removing gtest include

Co-authored-by: Plas James <plasjames@Plass-MacBook-Pro.local>
2022-09-19 00:25:06 -04:00
brave-builds 4fe49d14c2 1.45.58 2022-09-19 00:01:38 +00:00
Jay Harris f4b62b4977 Convert Stats & Clock to functional components (#14843) 2022-09-19 08:57:57 +12:00
brave-builds a1847b3193 1.45.57 2022-09-18 08:01:08 +00:00
Sangwoo Ko e9c04aa282 [Experiment] Vertical tabs (#13816)
* [Experiment] Vertical tabs

This new feature is at experimental stage for now. So it's hidden
behind flag('Vertical tabs')

Impemented:
* Expand and collapse via a button on top of tabs.
* Vertical scroll area for tabs
* TabCards
* Tab reordering via drag-and-drop
* Tab detaching and attaching via drag-and-drop
* Shape customization

TBD:
* Switching tabs layout direction on runtime
  - need to plumb pref to many UI components.
* Title area in frame
  - Show title or move up toolbar
  - Moving up toolbar can take some time.
* Layout animation
2022-09-17 21:15:05 +09:00
Max 4370470073 Merge pull request #14928 from brave/maxk-disable-rewards-by-policy
Disable Brave Rewards by policy.
2022-09-17 01:11:29 -04:00
Anton Lazarev 1032d03ddd Merge pull request #15099 from brave/filterlist-to-regionalcatalogentry
Move `adblock::FilterList` to `brave_shields::FilterListCatalogEntry`
2022-09-16 19:23:54 -07:00
Anton Lazarev 44370f96c1 address PR comments 2022-09-16 17:50:29 -07:00
Anton Lazarev 705aa09def rename to FilterListCatalogEntry 2022-09-16 17:50:29 -07:00
Terry Mancey 9694ace463 Merge pull request #15124 from brave/issues/25452
Cleanup Brave Ads public API calls
2022-09-17 01:38:33 +01:00
mkarolin b9d766d093 Streamline checking for Rewards being supported.
* Creates an RewardsService::IsSuppoted check for Rewards on the
//components level and checks policy and feature flag.

* Creates an IsSupportedForProfile check for Rewards on the
//brave/browser level and calls the RewardsService::IsSupported
check and also verifies the profile type.

* Switches all places needing to check for Rewards support to the
appropriate method/funcion.
2022-09-16 20:26:56 -04:00
mkarolin b48c5c0a58 Adds browser tests for disabling Brave Rewards by policy. 2022-09-16 20:26:55 -04:00
mkarolin c7ff99237d Do not load Rewards extension if disabled by policy. 2022-09-16 20:26:54 -04:00
mkarolin e4d5ecd311 Do not show NTP Rewards widgets if disabled by policy. 2022-09-16 20:26:53 -04:00
mkarolin 4a00180a11 Do not mention Rewards in Shields Settings UI if disabled by policy. 2022-09-16 20:26:52 -04:00
mkarolin b698e65ec5 Do now show Rewards in Settings UI if disabled by policy. 2022-09-16 20:26:51 -04:00
mkarolin fbf37cbae2 Do not show Rewards in app menu if disabled by policy. 2022-09-16 20:04:27 -04:00
mkarolin 46626d8e58 Do not show Rewards WebUI if disabled by policy. 2022-09-16 20:04:26 -04:00
mkarolin 1fb40c915f AdsTabHelper should check for null service. 2022-09-16 20:04:26 -04:00
mkarolin d45fb1131f Do not create Rewards/Ads services if disable by policy. 2022-09-16 20:04:25 -04:00
mkarolin c3074a6ebf Adds a policy to disable Brave Rewards. 2022-09-16 20:04:24 -04:00
Terry Mancey 13ab62c673 Cleanup Brave Ads param comments 2022-09-16 17:01:00 -05:00
Terry Mancey 9c52870bec Cleanup Brave Ads OnUserGesture 2022-09-16 16:46:16 -05:00
Terry Mancey feaedd030c Cleanup Brave Ads OnWalletUpdated 2022-09-16 16:46:16 -05:00
Terry Mancey 69d65894c7 Cleanup Brave Ads OnTabClosed 2022-09-16 15:22:01 -05:00
Terry Mancey 3ef5be9b0c Cleanup Brave Ads OnTabUpdated 2022-09-16 15:08:41 -05:00
Terry Mancey b582373daa Cleanup Brave Ads OnMediaStarted and OnMediaStopped 2022-09-16 15:08:41 -05:00
Terry Mancey f5f6a8c7fc Cleanup Brave Ads OnIdle, OnUnidle and WasLocked 2022-09-16 15:08:41 -05:00
Terry Mancey 9236c7d83f Cleanup comments 2022-09-16 15:08:41 -05:00
Terry Mancey 55575789a5 Cleanup Brave Ads OnHtmlLoaded 2022-09-16 15:08:41 -05:00
Terry Mancey c4a519fb49 Cleanup Brave Ads OnTextLoaded 2022-09-16 15:08:41 -05:00
Terry Mancey f33166e450 Cleanup Brave Ads OnPrefChanged 2022-09-16 15:08:41 -05:00
Terry Mancey c36573cee7 Cleanup Brave Ads OnChangeLocale 2022-09-16 15:08:41 -05:00
Terry Mancey 9a771e34a3 Cleanup Brave Ads ResourceComponent 2022-09-16 15:08:40 -05:00
Terry Mancey 39620e0d9b Merge pull request #15122 from brave/issues/25450
Remove Brave Ads redundant new tab page ad wallpaper validation
2022-09-16 21:05:22 +01:00
brave-builds 2b4532c5fd 1.45.56 2022-09-16 18:02:55 +00:00
brave-builds a5d1e88a9d 1.45.55 2022-09-16 17:10:44 +00:00
Terry Mancey ea1ada878b Remove Brave Ads redundant new tab page ad wallpaper validation 2022-09-16 11:29:45 -05:00
Terry Mancey b2061595ab Merge pull request #15120 from brave/issues/25442
Cleanup Brave Ads TODO, BUILD.gn and DEPS files
2022-09-16 17:25:03 +01:00