Commit graph

6959 commits

Author SHA1 Message Date
Vincent Nagel
08a6e999b9 fix checkstyle errors 2020-04-20 21:45:32 -05:00
Vincent Nagel
e33cdca1ef added logging when context null in onPrefTreeClick 2020-04-20 21:45:32 -05:00
Vincent Nagel
9ede7a3c42 setupTabs() if ageRestrictedContent pref changed 2020-04-20 21:45:32 -05:00
Vincent Nagel
430d4e1ccd ageRestrictedContent cookie only sent for youtube
Now the age restricted content cookie is only sent when sending a
request to youtube. There's no need to remove the cookie when the
service changes because whether to add the cookie is determined by
looking at the url the request is being sent to.
2020-04-20 21:45:32 -05:00
Vincent Nagel
de4d6037d3 ageRestrictedContent first draft
Cookie updated whenever ageRestrictedContent setting is changed or
service is changed. Right now there is only a cookie for youtube, but
cookies for other services could be added in the future.

Problems with this approach: Even when the service is set to youtube,
the downloader doesn't only request youtube urls e.g. it also sends
reqeusts to i.ytimg.com, suggestqueries.google.com, and yt3.ggpht.com.
The ageRestrictedContent cookie is not normally sent when sending
requests to these other urls, so doing so might have unknown effects.
2020-04-20 21:45:32 -05:00
Tobias Groza
fc1fc6842b
Merge pull request #3464 from wb9688/checkstyle-debug-only
Run Checkstyle only on debug builds
2020-04-20 20:22:12 +02:00
wb9688
0649b297f6 Run Checkstyle only on debug builds 2020-04-20 17:01:36 +02:00
Hosted Weblate
9a470b9d41
Merge branch 'origin/dev' into Weblate. 2020-04-20 14:46:28 +02:00
MohammedSR Vevo
47d1ab356d
Translated using Weblate (Kurdish)
Currently translated at 99.8% (568 of 569 strings)
2020-04-20 14:46:27 +02:00
WaldiS
1ea5787486
Translated using Weblate (Polish)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:27 +02:00
thami simo
1d4695c109
Translated using Weblate (Arabic)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:27 +02:00
Gontzal Manuel Pujana Onaindia
b673f9dd7f
Translated using Weblate (Basque)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:27 +02:00
Bruno Guerreiro
a1dd03472f
Translated using Weblate (Portuguese)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:26 +02:00
Anxhelo Lushka
497e545024
Translated using Weblate (Albanian)
Currently translated at 100.0% (569 of 569 strings)
2020-04-20 14:46:22 +02:00
wb9688
6892fdb70b
Merge pull request #3463 from B0pol/json
use nanojson instead of org.json
2020-04-20 14:02:36 +02:00
wb9688
aa1cc32d17 Open comment author on TV at long press 2020-04-20 13:37:35 +02:00
bopol
b22398ae6c use nanojson instead of org.json 2020-04-20 11:02:45 +02:00
Stypox
e6eddaff73
Merge pull request #3460 from wb9688/force-utf-8
Force UTF-8 encoding for Gradle
2020-04-20 10:18:56 +02:00
Tobias Groza
cd53518897
Merge pull request #3345 from mitosagi/error-with-bookmarks
Fix repeated exceptions in Bookmarked Playlists
2020-04-19 22:00:31 +02:00
wb9688
8e9b1b7213
Merge pull request #3414 from Stypox/recaptcha
Fix ReCaptcha Activity for another type of recaptcha page
2020-04-19 19:49:01 +02:00
wb9688
7a88fae2e2 Force UTF-8 encoding for Gradle 2020-04-19 19:33:46 +02:00
Tobias Groza
f066da23c5
Merge pull request #3456 from Stypox/enqueue-channel
Enqueue on long click on background/popup in channel
2020-04-19 11:41:12 +02:00
Stypox
34aa3d3e00
Enqueue on long click on background/popup in channel 2020-04-19 10:34:07 +02:00
Hosted Weblate
715119fd45
Merge branch 'origin/dev' into Weblate. 2020-04-16 21:55:01 +02:00
Allan Nordhøy
bde34fc4c4
Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.6% (516 of 569 strings)
2020-04-16 21:55:00 +02:00
MohammedSR Vevo
07b4aa89d4
Translated using Weblate (Kurdish)
Currently translated at 99.4% (566 of 569 strings)
2020-04-16 21:54:59 +02:00
Isak Holmström
d60351114c
Translated using Weblate (Swedish)
Currently translated at 83.1% (473 of 569 strings)
2020-04-16 21:54:59 +02:00
Yaron Shahrabani
c932a70bef
Translated using Weblate (Hebrew)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:58 +02:00
Jeff Huang
4641d7ee8c
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:58 +02:00
Xiang Xu
d4b3ee50f2
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:58 +02:00
Samuel Carvalho de Araújo
5392daa3ff
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:57 +02:00
Mostafa Ahangarha
a70e366fb4
Translated using Weblate (Persian)
Currently translated at 85.2% (485 of 569 strings)
2020-04-16 21:54:56 +02:00
Oğuz Ersen
dff14268db
Translated using Weblate (Turkish)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:55 +02:00
zmni
5517e157ad
Translated using Weblate (Indonesian)
Currently translated at 98.9% (563 of 569 strings)
2020-04-16 21:54:54 +02:00
anonymous
bdf4ffc36b
Translated using Weblate (Arabic)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:54 +02:00
Vojtěch Šamla
71455c63c1
Translated using Weblate (Czech)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:54 +02:00
Aaron Feng
b1ae2b1a41
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 30.0% (171 of 569 strings)
2020-04-16 21:54:53 +02:00
Jeannette L
8a31732ce2
Translated using Weblate (Italian)
Currently translated at 99.8% (568 of 569 strings)
2020-04-16 21:54:53 +02:00
AioiLight
e79aed7792
Translated using Weblate (Japanese)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:52 +02:00
B0pol
973fc08f2d
Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:52 +02:00
JoC
00211e1fb2
Translated using Weblate (Spanish)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:52 +02:00
C. Rüdinger
ce7286a72a
Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)
2020-04-16 21:54:51 +02:00
Grady Clark
db335d5cec
Removed redundant code
reorganized code
2020-04-16 12:58:16 -05:00
Stypox
ee5ce0c809
Save and restore cookies to/from preferences
So that the user does not have to solve a recaptcha every time he opens the app
2020-04-15 13:30:27 +02:00
Stypox
b8efef7c7a
Remove duplicate check if cookies are already present 2020-04-15 13:30:27 +02:00
Stypox
e2cbf40957
Fix recaptcha activity for another type of recaptcha page
Try to get cookies from pages even when they start loading, because non-html pages like ones with `pbj=1` never stop loading.
Try to extract the cookie directly from the redirection url, by looking at the field "google_abuse=".
Add `GOOGLE_ABUSE_EXEMPTION=` to the youtube recaptcha cookies.
2020-04-15 13:30:27 +02:00
Stypox
d7d45fb8e2
Merge pull request #3415 from TeamNewPipe/fix/f-droid_build
Fix F-Droid build
2020-04-15 10:32:44 +02:00
TheLastGimbus
63afacc067 Add listeners in activity 2020-04-14 22:06:32 +02:00
TheLastGimbus
3175199787 Add fast-rewind/forward buttons in layout 2020-04-14 22:05:51 +02:00
Grady Clark
1d0c3de65f
Merge branch 'dev' of https://github.com/TeamNewPipe/NewPipe into dev 2020-04-14 13:24:57 -05:00