Commit Graph

936 Commits

Author SHA1 Message Date
Joey Peter
aecafc5380
refactor: dialogs and seperate RYD from SB (#31) 2022-06-30 12:38:28 +02:00
OxrxL
d9268bc0fa
refactor: use containsAny helper method (#27) 2022-06-27 23:12:28 +02:00
Joey Peter
9b1dce42ed
fix: some more refactoring and cleanup (#21)
* refactor: integrations and prepare new patches

* bugfixes

* fix critical bug

* prepare BrandingWaterMark patch

* fixing create button

* dont use Strings in ReVancedSettingsFragment when we have a wonderful enum for that

* rename classes from fenster to Swipe

* push

* exclude android packages from build
2022-06-27 22:08:50 +02:00
OxrxL
0938f6c59f
fix: home ads (#24)
* Ads test

* refactor: cleanup code

Co-authored-by: Sculas <contact@sculas.xyz>
2022-06-27 22:08:24 +02:00
bogadana
a2bb4a5f03
refactor: move whole speeds array to new class (#22) 2022-06-25 15:15:59 +02:00
Joey Peter
d26b9339fb
refactor: integrations (#17) 2022-06-24 00:16:32 +02:00
bogadana
61ed39722e
feat: add array for custom-playback-speed patch (#20) 2022-06-23 01:54:37 +02:00
Canny1913
9bf804219e
feat: hide cast button by default (#12) 2022-06-16 00:09:28 +02:00
oSumAtrIX
d7631f371b
fix: info panel removal 2022-06-15 11:05:42 +02:00
oSumAtrIX
a30776f69f
feat: reels_player_overlay ads 2022-06-13 20:02:09 +02:00
oSumAtrIX
dcfcc36fb8
fix: containsAd returning true for regular video templates 2022-06-12 01:12:41 +02:00
oSumAtrIX
8ff5f0e68d
feat: make containsAd more efficient & add new values 2022-06-11 21:37:26 +02:00
oSumAtrIX
468c72e2a5
refactor: deduplicate code 2022-06-08 15:47:34 +02:00
oSumAtrIX
94c2c9d6e6
feat: additional annoyance removal options 2022-06-08 15:47:34 +02:00
oSumAtrIX
40857b1b34
refactor: remove unnecessary method containsAd(String) 2022-06-08 15:47:33 +02:00
oSumAtrIX
a96bbe6469
feat: app promo banner removal setting 2022-06-08 15:47:22 +02:00
josesilveiraa
d007deedd2
refactor: rename applicationId
Refactor `applicationId` from `revanced.integrationspp` to `revanced.integrationsapp`.
2022-06-06 22:13:25 +00:00
oSumAtrIX
a27ec45be8
feat: additional annoyance removal options 2022-06-05 07:13:03 +02:00
oSumAtrIX
8fb1a251a2
refactor: remove unnecessary method containsAd(String) 2022-06-05 07:12:08 +02:00
oSumAtrIX
30724583e3
feat: app promo banner removal setting 2022-06-04 17:02:16 +02:00
oSumAtrIX
f84fa03624
feat: hide reels by default
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-21 19:36:53 +02:00
j4k0xb
145b3c063a feat: hide-shorts-button patch 2022-04-19 17:53:38 +02:00
oSumAtrIX
f80db4f7c8
feat: hide create button by default
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-13 03:21:00 +02:00
oSumAtrIX
63358f1ba4
refact: remove useless imports and newline 2022-04-13 03:19:56 +02:00
oSumAtrIX
e98bcd2216
feat: Globals class for proxying getAppContext 2022-04-12 20:55:12 +02:00
oSumAtrIX
792b6dc2ad
fix: project not building 2022-04-08 19:34:16 +02:00
Lachlan Wimsett
4da053804b
fix: correct implementation of indexOf (#5)
LithoAdRemoval.indexOf never increments the index for the outer loop, causing an infinite loop
2022-04-08 19:25:38 +02:00
Isayah Vidito
06a468fb36 fix: hierarcy -> hierarchy 2022-03-25 14:24:40 -03:00
she11sh0cked
57be50cab1 feat: implement missing classes 2022-03-25 11:20:56 +01:00
caneleex
9c945e28c6 change nonmusic skip string 2022-03-05 20:37:54 +01:00
caneleex
086b2f9757 don't add the vanced user agent for the channel details route 2022-02-24 22:47:57 +01:00
caneleex
b1a86abd34 make sure to add vanced useragent 2022-02-22 16:31:46 +01:00
caneleex
804dae3731 add a null check for parseEnabledMap context param 2022-02-17 17:23:36 +01:00
KevinX8
5e78704276 fix previous dislike logic and change MinSDK 2022-02-16 01:17:55 +00:00
KevinX8
dfb25653b2 Updated deps + fixed player buttons and dislike formatting 2022-02-16 01:05:23 +00:00
caneleex
1e115e1d69 format dislikes from the json 2022-02-11 20:02:16 +01:00
caneleex
2318490793 rename filler 2022-02-08 17:55:22 +01:00
caneleex
9a45757824 import/export api url 2022-02-07 16:29:42 +01:00
caneleex
e5c6cff7dc mark locked segments as orange if vip 2022-02-07 16:15:22 +01:00
caneleex
e3ec5430c9 preview new category color while editing 2022-02-01 15:17:44 +01:00
caneleex
15267516c1 fix filler category name 2022-02-01 14:05:11 +01:00
caneleex
b809ac6111 add support for changing the API URL 2022-01-28 22:38:43 +01:00
caneleex
4c7f21f5a9 uncommit xml because AS is being a little bitch 2022-01-28 15:48:14 +01:00
caneleex
fde1f3d95b submit video duration with segments 2022-01-28 15:47:58 +01:00
caneleex
3773422f4c fix guidelines url 2022-01-28 14:47:17 +01:00
caneleex
bd4725a2e2 change sbb sum sum more :^) 2022-01-27 23:37:15 +01:00
caneleex
dd961378cf round down 2022-01-27 23:28:05 +01:00
caneleex
073ba21dec commit drawables 2022-01-27 23:22:08 +01:00
caneleex
5018bed000 change the browser button string sum a bit 2022-01-27 23:07:51 +01:00
caneleex
5fafc46cb7 add open in sb.ltn.fi button 2022-01-27 23:05:46 +01:00
caneleex
3960dcad6e Merge remote-tracking branch 'origin/ryd-integration' into ryd-integration 2022-01-26 14:44:01 +01:00
caneleex
6bac0407bb fix RYD voting 2022-01-26 14:43:52 +01:00
VancedOfficial
fff3d18fbb Merge branch 'ryd-integration' of vancedofficial:YTVanced/Integrations into ryd-integration 2022-01-26 00:36:39 +02:00
VancedOfficial
0ed0e7d0e7 Button container, button gone fix 2022-01-26 00:32:26 +02:00
caneleex
48c268b0bc simplify vote switch 2022-01-25 22:52:11 +01:00
VancedOfficial
770bacfd8f RYD and SB hints at startup 2022-01-25 23:28:04 +02:00
VancedOfficial
afaa85d2eb Merge branch 'ryd-refactor' of vancedofficial:YTVanced/Integrations into ryd-refactor 2022-01-25 20:26:16 +02:00
VancedOfficial
7c71435e5d Small fixes and changes
- Added versionName fetching
- Reduced RYD API spam for Shorts
- Fixes and additions to strings
- YT API Key from local.properties
2022-01-25 20:25:47 +02:00
caneleex
3303643161 remove unused variable 2022-01-24 23:02:21 +01:00
caneleex
643dd8585d add support for the filler category (#63) 2022-01-24 23:01:21 +01:00
caneleex
92f5c742f0 replace color changing dialog with a custom preference
thanks @X1nto
2022-01-24 18:26:41 +01:00
caneleex
c36ab42920 update default whitelist button strings 2022-01-24 17:23:18 +01:00
caneleex
32a3675211 add min duration option 2022-01-24 17:22:21 +01:00
caneleex
2febb924d8 add strings for whitelist types 2022-01-24 15:36:55 +01:00
caneleex
f1feec008e display full responses on vote/submit 403 2022-01-24 15:14:56 +01:00
caneleex
b3768cb2c4 SB request fixes 2022-01-24 13:45:07 +01:00
caneleex
2ebad96acf fix 400 2022-01-24 12:47:32 +01:00
caneleex
a3c40d10ce add more disconnects 2022-01-23 22:56:16 +01:00
caneleex
3469121bbf disconnect even if not 200 2022-01-23 22:46:12 +01:00
caneleex
e8a31fb6f4 fix field name 2022-01-23 22:43:45 +01:00
caneleex
16073a7f74 final touches 2022-01-23 22:36:01 +01:00
caneleex
d04c8f99ab uncomment debug call 2022-01-17 23:40:02 +01:00
caneleex
2128c2d7d6 add sb whitelisting (TODO: fix checks) 2022-01-17 23:38:25 +01:00
caneleex
f53b526957 unify whitelisting 2022-01-17 20:15:43 +01:00
caneleex
a8f6cca852 move some requests and prepare for unifying 2022-01-17 18:12:09 +01:00
caneleex
dd72d292a4 fix route 2022-01-17 14:56:13 +01:00
caneleex
b0d6658741 start refactoring the integration impl 2022-01-17 14:54:11 +01:00
VancedOfficial
88a7838cd8 Added dislike formatting 2022-01-16 21:07:34 +02:00
VancedOfficial
e48e16ae69 Settings added plus some fixes 2022-01-16 18:19:59 +02:00
VancedOfficial
306457ef84 RYD and Video ad whitelisting base 2022-01-10 22:58:25 +02:00
caneleex
739d58d5ae add missing strings 2021-11-13 15:34:49 +01:00
caneleex
fd7abd5c32 add a check for unknown categories 2021-08-27 17:59:32 +02:00
caneleex
8799e8c995 change enable SB toggle sum 2021-08-26 20:31:36 +02:00
KevinX8
3fa44f947e Removed stock youtube strings from xml 2021-08-14 12:56:31 +01:00
caneleex
f96bc0c19b whoops lol 2021-08-10 13:56:37 +02:00
caneleex
3a676d364b fix submitting for other locales 2021-08-10 13:55:50 +02:00
caneleex
bd9a324afa push the whole string xml 2021-08-09 19:48:34 +02:00
caneleex
fbc54fc243 change the settings i/e sum 2021-08-09 18:17:38 +02:00
caneleex
7e32b63150 the unsubmitted color should be white 2021-08-09 18:17:19 +02:00
caneleex
77832cf83a ocd 2021-08-03 19:22:12 +02:00
caneleex
c0c9ea451e add toast for failed exporting 2021-08-03 16:38:38 +02:00
caneleex
eba12ba2e6 clarify the summary 2021-08-03 16:33:18 +02:00
caneleex
f31b4744e5 add support for importing/exporting applicable SB settings 2021-08-03 16:23:44 +02:00
caneleex
1c1bf5cfec actually fixed negative time without segments 2021-07-31 20:03:09 +02:00
caneleex
69f44095f6 make minutes translatable 2021-07-30 19:30:00 +02:00
caneleex
70d477adbf Merge branch 'master' into feature/configurable-colors 2021-07-28 13:31:37 +02:00
caneleex
eceea24b70 remove unnecessary class ref 2021-07-28 13:31:27 +02:00
caneleex
c96d5c8afc Merge remote-tracking branch 'upstream/master' into feature/configurable-colors 2021-07-28 13:29:49 +02:00
caneleex
bfcd548d80 another shot at fixing corrupted length string 2021-07-28 13:29:26 +02:00
caneleex
64b656f997 final touches 2021-07-27 19:58:14 +02:00
caneleex
a5c7212db6 finished the implementation 2021-07-27 17:26:59 +02:00
caneleex
f5574d0445 Merge remote-tracking branch 'upstream/master' into feature/configurable-colors
# Conflicts:
#	app/src/main/java/pl/jakubweg/SponsorBlockPreferenceFragment.java
2021-07-26 20:11:18 +02:00
caneleex
3a4c6e0955 add handling of unknown error codes to submitting 2021-07-26 00:15:02 +02:00
caneleex
8980480236 hopefully fix corrupted string 2021-07-26 00:13:33 +02:00
caneleex
c6306b66d0 add 500 millis to the time without segments
nobody knows why
2021-07-24 20:29:21 +02:00
caneleex
d3e2f2c5e4 remove static import for String.format and unused constant 2021-07-24 20:22:31 +02:00
caneleex
00350bf081 mmLul
mmLul
2021-07-24 20:14:47 +02:00
caneleex
89636a407c Merge remote-tracking branch 'upstream/master' into segment-length-improvements 2021-07-24 19:29:11 +02:00
caneleex
45f67d4f29 ah yes 2021-07-24 18:55:45 +02:00
caneleex
518572967b add proper response handling to setUsername 2021-07-24 18:53:59 +02:00
caneleex
a030e6e280 fix requests not sending sometimes 2021-07-24 16:57:42 +02:00
caneleex
79fb5c8c43 replace overcomplicated calc with one method 2021-07-24 16:35:09 +02:00
xfileFIN
cd3edfe07f Skipped video length fixed 2021-07-24 02:48:33 +03:00
caneleex
96561f6c90 finish merging 2021-07-23 23:50:57 +02:00
caneleex
d29fbe4c2b Merge branch 'master' into feature/show-stats
# Conflicts:
#	app/src/main/java/pl/jakubweg/SponsorBlockSettings.java
#	app/src/main/java/pl/jakubweg/SponsorBlockUtils.java
2021-07-23 23:43:59 +02:00
VancedOfficial
e4b6f7a359 Merge pull request #44 from YTVanced/length-without-segments-pr
Length without segments pr
2021-07-24 00:27:29 +03:00
xfileFIN
04efa79b53 Test ready I guess 2021-07-24 00:24:51 +03:00
caneleex
fc3fb979ba reset segments when closing videos 2021-07-23 17:44:42 +02:00
caneleex
13a12c9523 Merge remote-tracking branch 'upstream/length-without-segments-pr' into feature/length-without-segments 2021-07-23 17:34:33 +02:00
xfileFIN
e372566998 Experiments for fixing the appending 2021-07-23 18:28:54 +03:00
caneleex
5334bc4cae fix string key 2021-07-23 17:13:17 +02:00
caneleex
8d189aba57 add setting 2021-07-23 17:10:56 +02:00
caneleex
8b4ff63f31 moved appending the settings 2021-07-23 14:56:54 +02:00
caneleex
6f63df0ce6 make loading stats async 2021-07-23 14:45:10 +02:00
caneleex
c589b41990 remove wrong calc 2021-07-19 22:01:51 +02:00
caneleex
6748bce0e8 replace hardcoded value with dynamic getter 2021-07-19 21:59:44 +02:00
caneleex
1cd5732fe9 remove comma weirdness 2021-07-19 21:58:28 +02:00
caneleex
76591f180e optimize imports 2021-07-19 21:55:15 +02:00
caneleex
1cbf1603de make sure nothing weird happens here 2021-07-19 21:53:28 +02:00
caneleex
eb8b6117b9 add local skips tracking 2021-07-19 21:51:26 +02:00
caneleex
52aeeded20 we show stats now 2021-07-19 18:54:26 +02:00
caneleex
8cbd0b7104 cleanup more stuff 2021-07-19 17:32:06 +02:00
caneleex
dfe62274fd fix requesting segments 2021-07-19 17:14:16 +02:00
caneleex
6038d8d318 cleanup imports 2021-07-19 16:44:33 +02:00
caneleex
e88cf5143d initial cleanup 2021-07-19 16:19:47 +02:00
caneleex
9b17e70e0e change preview color 2021-06-20 21:08:20 +02:00
caneleex
7b6f1d6774 remove useless debug import 2021-06-18 14:53:50 +02:00
caneleex
dce63e76e2 add length of the video without segments to the time bar 2021-06-18 14:51:14 +02:00
caneleex
b9e454e329 add preview category (#17) 2021-06-18 14:46:55 +02:00
caneleex
e08567892d fix buttons after watching Shorts
Fixes #36
2021-06-14 19:12:51 +02:00
Oizaro
3460237c0f Fixes (#34)
* General improvements

- Fixed preferences not obtained properly.
- Cleaned up libraries and code.
- Update deps.

* Update README.md
2021-06-08 17:25:01 +01:00
caneleex
1ffb7872c0 remove unnecessary check 2021-04-29 23:05:23 +02:00
caneleex
bf6c9e7b28 fix more issues with buttons i don't even know anymore 2021-04-29 22:47:40 +02:00
caneleex
234edac030 fix a lot of unintended button behaviors 2021-04-29 15:03:23 +02:00
caneleex
087b80cf8e fix another issue with buttons 2021-04-29 12:35:01 +02:00
KevinX8
974c2733a8 Merge pull request #30 from caneleex/patch/buttons
fix SB and voting buttons overlapping YouTube icons
2021-04-28 21:51:30 +01:00
caneleex
23182e928e remove testing change 2021-04-28 22:40:39 +02:00
caneleex
ad7bdf0fb8 fix SB and voting buttons overlapping YouTube icons 2021-04-28 22:39:23 +02:00
caneleex
d92c73f9f3 add spacing to the voting ui 2021-04-25 16:32:35 +02:00
caneleex
80697320ca add toast when voting while no segments are present 2021-04-25 15:20:31 +02:00
KevinX8
ce87d8ac0e Merge pull request #24 from caneleex/fix/shorts-bug
remove thread check from PlayerController.setCurrentVideoId
2021-04-24 15:56:44 +01:00
caneleex
25bc38af87 use options rather than boolean 2021-04-24 14:20:57 +02:00
caneleex
0ec120a023 duplicate code is never returned 2021-04-23 18:14:23 +02:00
caneleex
2edb665b8b fix change category crash 2021-04-22 21:17:15 +02:00
caneleex
c87b38330a fix black boxes in toasts 2021-04-22 21:13:39 +02:00
caneleex
f4808a9778 change vote buttons to items 2021-04-22 20:19:00 +02:00
caneleex
03f6e496b9 add support for voting 2021-04-22 18:43:14 +02:00
caneleex
e22146a8e3 remove unused imports 2021-04-21 22:55:40 +02:00
caneleex
40cf605826 remove thread check from PlayerController.setCurrentVideoId 2021-04-21 19:56:30 +02:00
KevinX8
7ffe07ae34 Merge pull request #23 from caneleex/fix/app-class
rename YouTubeApplication to YouTubeTikTokRoot_Application
2021-04-19 22:39:41 +01:00
caneleex
d0caaaeacc rename YouTubeApplication 2021-04-19 23:26:16 +02:00
KevinX8
e01c84df8e Merge pull request #22 from caneleex/patch/setSponsorBarRect-impl
fix field access in setSponsorBarReact
2021-04-18 23:39:02 +01:00
caneleex
1cbae30ab1 remove pointless changes 2021-04-16 19:51:11 +02:00
caneleex
3276433d7a fix field access in setSponsorBarReact 2021-04-16 19:46:10 +02:00
caneleex
2f40fe6985 add basic support 2021-04-16 19:43:03 +02:00
KevinX8
0d0b4f41de Merge pull request #20 from caneleex/fix/countSkips
fix a bug where the Skip count tracking option wouldn't change
2021-04-13 14:50:50 +01:00
caneleex
9cdc1ed857 fix a bug where the Skip count tracking option wouldn't change 2021-04-07 09:35:59 +02:00
bomiva
c13100c27c Add that it is available on other platforms 2020-12-29 03:09:01 -05:00
xfileFIN
aa1b0942e3 VideoInformation for copy buttons 2020-12-16 13:34:11 +02:00
VancedOfficial
e266f5a6e7 setMillisecondMethod replaceable with patcher 2020-10-24 21:46:53 +03:00
VancedOfficial
6a0985ac7e Merge pull request #4 from YTVanced/shieldBtnFixes
Shield btn fixes
2020-10-15 18:57:28 +03:00
xfileFIN
d013f95111 Skip sponsor to Skip segment 2020-10-15 18:56:39 +03:00
xfileFIN
863bad149b Player overlay buttons redone 2020-10-15 18:53:00 +03:00
Oizaro
867a63a8d5 Make "About" string translatable 2020-10-15 14:32:34 +02:00
xfileFIN
84934c2818 New shield button POC 2020-09-03 00:07:52 +03:00
jakweg
a466463e53 Added guidelines alert and preference entry 2020-09-02 19:31:17 +02:00
jakweg
5614a94dd7 Removed skipped_segment string and replaced its usage with skipped_sponsor 2020-08-28 14:36:33 +02:00
jakweg
e693d56196 Removed â–¶ emoji from SkipSegmentView 2020-08-25 21:30:24 +02:00
KevinX8
8d625ec2ef improve strings 2020-08-25 17:58:43 +03:00
jakweg
4df0704df5 Removed useless caching functionality 2020-08-25 13:46:20 +02:00
jakweg
3d78e8deb1 Added formatted=false to some strings, fixed missing string 2020-08-25 13:36:06 +02:00
jakweg
3a8ee9d455 Fixed strings.xml conflict 2020-08-25 13:23:01 +02:00
jakweg
0ec26c9a16 Fixed string loading, replaced hardcoded strings into string resources 2020-08-25 13:19:27 +02:00
KevinX8
716b0d55e6 update strings 2020-08-25 11:02:47 +03:00
jakweg
814d7e3f86 Fixed bug: Sponsor segments drawn wrongly when video has chapters and changed orientation 2020-08-24 20:10:03 +02:00
jakweg
4a411e1c98 Initial commit 2020-08-24 17:47:57 +02:00