Stypox
6eaff5ca6a
Apply review: move thumbnail loading out of Player
2021-08-24 10:56:25 +02:00
Stypox
52189fc5df
Add debug setting to enable Picasso indicators
2021-08-24 10:56:25 +02:00
Stypox
fcef783bbb
Replace UniversalImageLoader with Picasso
2021-08-24 10:56:25 +02:00
Isira Seneviratne
d32450255c
Use NotificationChannelCompat.
2021-08-01 14:59:30 +05:30
wb9688
0f75024e03
Support SAF properly
2021-06-08 10:40:44 +02:00
TobiGr
c0c78ae9bb
Do not set reChaptache cookie when there is no cookie stored
...
In DownloaderImpl#getCookies(String url) the reChaptcha cookie is set if it is not null. For this reason, the cookie was set in every request.
2021-04-04 12:27:12 +02:00
Stypox
463dd8ea74
Completely remove return activity, now outdated
2021-03-12 23:21:54 +01:00
Stypox
c43bca6007
Add report/solve-recaptcha button in error panel
...
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.
Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Stypox
553b80164b
Move all error-related classes into error package
2021-03-07 17:49:28 +01:00
TiA4f8R
79e98db3bd
Apply the requested changes and little improvements
...
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.
Apply the requested changes and do little improvements
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.
2021-01-16 13:23:42 +01:00
Stypox
9ee7740fcc
Merge pull request #4947 from Isira-Seneviratne/Convert_ExceptionUtils_to_extensions
...
Rewrite ExceptionUtils methods as extension functions.
2021-01-14 14:54:37 +01:00
Isira Seneviratne
486e720e00
Rewrite ExceptionUtils methods as extension functions.
2021-01-11 16:49:45 +05:30
XiangRongLin
50a026183d
Make Localization.relativeTime testable
...
Problem is global state in static variable prettyTime. But for performance reasons on Android that is preferred.
Now allow injecting prettyTime dependency by making init function public.
2021-01-06 14:48:34 +01:00
bopol
2b8837609b
dynamically get package name
...
it fixes issues with forks or debug builds, e.g. when you open two newpipe apps (with debug or fork apps), close one notification, it closes all newpipe notifications
fixes https://github.com/TeamNewPipe/NewPipe/issues/4653
2020-12-20 13:52:20 +01:00
Isira Seneviratne
917f459569
Use a notification instead of a ProgressDialog in MissionAdapter.
2020-12-13 05:21:38 +05:30
Stypox
f0ca916432
Update most dependencies
2020-11-22 14:03:10 +01:00
Stypox
8dc4e6dc2a
Fix crash on startup without internet: Cbservable callable returning null
...
Use Maybe instead
2020-11-21 12:02:03 +01:00
Isira Seneviratne
340b92e32b
Convert ErrorInfo to Kotlin and use the Parcelize annotation.
2020-11-21 12:47:35 +05:30
Isira Seneviratne
ef5084036c
Use RxJava instead of AsyncTask to check for new app versions.
2020-11-05 11:06:50 +05:30
Isira Seneviratne
66ba8d56b7
Use multidex for all build types.
2020-10-18 14:14:27 +05:30
Isira Seneviratne
f55381d689
Combine initNotificationChannel() and setUpUpdateNotificationChannel() into a single method.
2020-10-09 08:52:05 +05:30
Isira Seneviratne
58b720b004
Use ContextCompat.getSystemService() and the Context.getSystemService() extension function.
2020-10-09 08:52:05 +05:30
TacoTheDank
06d54ef77e
Clean up SDK version checks
2020-09-06 12:55:30 +02:00
wb9688
87228673b4
Use final where possible
2020-08-16 10:25:09 +02:00
Stypox
04e7d13043
Remove deprecated calls to set Sender class to ACRA
...
setReportSenderFactoryClasses() is deprecated, now extensions (ReportSenderFactory is an extension) should be registered using AutoService: https://github.com/ACRA/acra/wiki/Custom-Extensions#by-annotation
2020-07-29 10:56:33 +02:00
Stypox
21d1f69d6d
Do not init ACRA if inside its own process
...
https://github.com/ACRA/acra/wiki/Troubleshooting-Guide#applicationoncreate
2020-07-28 10:48:54 +02:00
Stypox
1b9f5989ef
Fix empty stacktrace in bug report
...
ACRA has to be initialized after MultiDex
https://github.com/ACRA/acra/issues/619
https://github.com/ACRA/acra/wiki/Troubleshooting-Guide#legacy-multidex
2020-07-28 10:48:25 +02:00
wb9688
d0c03a0211
Use androidx.annotation.NonNull instead of io.reactivex.annotations.NonNull
2020-07-14 21:15:29 +02:00
wb9688
7b81e98581
Upgrade ACRA
2020-05-25 11:03:07 +02:00
wb9688
0cae58ce8e
Upgrade LeakCanary
2020-05-25 11:03:07 +02:00
Vincent Nagel
f60cce54ea
rename setting to "YouTube restricted mode"
2020-04-20 21:47:32 -05:00
Vincent Nagel
63087a4311
renamed to "restricted mode"
2020-04-20 21:46:40 -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
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
Mauricio Colli
a1b9892c77
Move exception utils to a separate class and add tests for it
2020-04-09 13:22:18 -03:00
wb9688
fda5405e48
Improve code style to be more consistent
2020-04-02 15:57:50 +02:00
bopol
b32935a1b0
app language now changes time formatting (3hrs ago), was system language b4
2020-01-09 15:51:41 +01:00
yausername
596005c69e
merged upstream/dev
2019-11-20 03:48:56 +05:30
Mauricio Colli
b125ff702a
Show parsed relative times instead of whatever the service gives us
...
Before, the direct value was given to the user, now it uses the parsed
date so we can match the device's language.
To get the relative time from the parsed dates, we use the PrettyTime
library.
Also introduces a debug option to check the service's original value.
2019-11-17 23:58:55 -03:00
Mauricio Colli
71f1bbdcc1
Use new Localization and Downloader implementations from extractor
2019-11-17 23:58:52 -03:00
yausername
b6be586766
merged upstream/dev
2019-11-16 04:37:14 +05:30
Robin
bf2a3ca043
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
Ritvik Saraf
2581fa4176
init services in app onCreate
2019-03-10 17:30:21 +05:30
krtkush
26e22f97ee
Conflict resolution
2018-11-23 01:41:47 +05:30
krtkush
23309e6fdf
Pull request changes.
2018-11-18 19:15:50 +05:30
Christian Schabesberger
f1aa3d8c90
Merge branch 'dev' into 1520_app_update_notif
2018-10-06 18:04:39 +02:00
Christian Schabesberger
52bf5690c0
add support for content language and content country
2018-10-05 16:20:27 +02:00
Kartikey Kushwaha
7124d9bca5
Removed flvor checks. Added update settings under main settings.
2018-09-15 20:51:17 +05:30
BO41
27fbe69033
code cleanup
...
mainly removes throw statements
automated using Android Studio, staged by hand
BUILD SUCCESSFUL in 52s
39 actionable tasks: 37 executed, 2 up-to-date
2018-09-11 19:14:21 +02:00
Kartikey Kushwaha
04e974b326
Bug fix.
2018-08-17 01:11:51 +05:30