From 2f988e13211f3c31f7792488031ea2eff39d5ded Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 18 Dec 2022 23:22:39 +0100 Subject: [PATCH 1/4] ci: stash before rebasing --- .releaserc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 8fd4c5ba..a72f1bce 100644 --- a/.releaserc +++ b/.releaserc @@ -38,7 +38,8 @@ [ "@saithodev/semantic-release-backmerge", { - "branches": [{from: "main", to: "dev"}] + branches: [{from: "main", to: "dev"}], + clearWorkspace: true } ] ] From 26784d37556ca8b978a538aefcf03a35254fcc19 Mon Sep 17 00:00:00 2001 From: 0xrxL <120989892+0xrxL@users.noreply.github.com> Date: Sun, 18 Dec 2022 23:26:10 +0100 Subject: [PATCH 2/4] refactor(youtube/theme): remove unnecessary attributes (#1303) --- .../patches/youtube/layout/theme/patch/ThemePatch.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt index 919342c5..f1671344 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt @@ -32,12 +32,10 @@ class ThemePatch : ResourcePatch { node.textContent = when (node.getAttribute("name")) { "yt_black0", "yt_black1", "yt_black1_opacity95", "yt_black1_opacity98", "yt_black2", "yt_black3", - "yt_black4", "yt_status_bar_background_dark", "material_grey_100", "material_grey_50", - "material_grey_600", "material_grey_800", "material_grey_850", "material_grey_900", - "material_grey_white_1000", "sud_glif_v3_dialog_background_color_dark" -> darkThemeBackgroundColor + "yt_black4", "yt_status_bar_background_dark", "material_grey_850" -> darkThemeBackgroundColor "yt_white1", "yt_white1_opacity95", "yt_white1_opacity98", "yt_white2", "yt_white3", "yt_white4", - "sud_glif_v3_dialog_background_color_light" -> lightThemeBackgroundColor + -> lightThemeBackgroundColor else -> continue } From 30273a9bbdd40453baeb09f26ac9d218569a3e71 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Thu, 22 Dec 2022 01:19:19 +0400 Subject: [PATCH 3/4] feat(youtube/return-youtube-dislike): debug connection statistics, toast on error, high priority background threads (#1320) --- .../host/values/strings.xml | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/src/main/resources/returnyoutubedislike/host/values/strings.xml b/src/main/resources/returnyoutubedislike/host/values/strings.xml index 314f5dc2..b01df034 100644 --- a/src/main/resources/returnyoutubedislike/host/values/strings.xml +++ b/src/main/resources/returnyoutubedislike/host/values/strings.xml @@ -1,4 +1,12 @@ + Dislikes temporarily not available (API timed out) + Dislikes not available (client API limit reached) + + ReturnYouTubeDislike failed to register as new user + ReturnYouTubeDislike failed to confirm new user + ReturnYouTubeDislike failed to send vote + ReturnYouTubeDislike failed to confirm vote + Return YouTube Dislike Dislikes are shown Dislikes are not shown @@ -9,4 +17,28 @@ ReturnYouTubeDislike.com Dislike data is provided by the Return YouTube Dislike API. Tap here to learn more. - \ No newline at end of file + + + ReturnYouTubeDislike API statistics of this device + + API response time, average + API response time, minimum + API response time, maximum + + API response time, last video + Dislikes temporarily not available - Client API rate limit in effect + + API fetch votes, number of calls + No network calls have been made + %d network calls have been made + + API fetch votes, number of timeouts + No network calls have timed out + %d network calls timed out + + API client rate limits + No client rate limits have been encountered + Client rate limit was encountered %d times + + %d milliseconds + From f5a4460df85df47f595698828105fdc1a43523ed Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 21 Dec 2022 21:21:16 +0000 Subject: [PATCH 4/4] chore(release): 2.147.0-dev.1 [skip ci] # [2.147.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.146.0...v2.147.0-dev.1) (2022-12-21) ### Features * **youtube/return-youtube-dislike:** debug connection statistics, toast on error, high priority background threads ([#1320](https://github.com/revanced/revanced-patches/issues/1320)) ([30273a9](https://github.com/revanced/revanced-patches/commit/30273a9bbdd40453baeb09f26ac9d218569a3e71)) --- CHANGELOG.md | 7 +++++++ gradle.properties | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8637ee96..5d11d999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.147.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.146.0...v2.147.0-dev.1) (2022-12-21) + + +### Features + +* **youtube/return-youtube-dislike:** debug connection statistics, toast on error, high priority background threads ([#1320](https://github.com/revanced/revanced-patches/issues/1320)) ([30273a9](https://github.com/revanced/revanced-patches/commit/30273a9bbdd40453baeb09f26ac9d218569a3e71)) + # [2.146.0](https://github.com/revanced/revanced-patches/compare/v2.145.0...v2.146.0) (2022-12-18) diff --git a/gradle.properties b/gradle.properties index cd9bb660..276f6bf7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style = official -version = 2.146.0 +version = 2.147.0-dev.1