Stypox
12ad678d14
Apply review: move thumbnail loading out of Player
2021-08-24 10:56:25 +02:00
Stypox
3236b3a882
Add debug setting to enable Picasso indicators
2021-08-24 10:56:25 +02:00
Stypox
8602beed0b
Replace UniversalImageLoader with Picasso
2021-08-24 10:56:25 +02:00
Isira Seneviratne
924e8703e2
Use NotificationChannelCompat.
2021-08-01 14:59:30 +05:30
wb9688
4e133a3599
Support SAF properly
2021-06-08 10:40:44 +02:00
TobiGr
a991b2ad4d
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
22c92f1fb3
Completely remove return activity, now outdated
2021-03-12 23:21:54 +01:00
Stypox
0ea6b4928c
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
bb398189d6
Move all error-related classes into error package
2021-03-07 17:49:28 +01:00
TiA4f8R
e44495af9a
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
747d629732
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
4d59466977
Rewrite ExceptionUtils methods as extension functions.
2021-01-11 16:49:45 +05:30
XiangRongLin
6a03ac88d3
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
c12b55600c
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
288a9ce2af
Use a notification instead of a ProgressDialog in MissionAdapter.
2020-12-13 05:21:38 +05:30
Stypox
34dd7c0fbf
Update most dependencies
2020-11-22 14:03:10 +01:00
Stypox
0ff63c94cb
Fix crash on startup without internet: Cbservable callable returning null
...
Use Maybe instead
2020-11-21 12:02:03 +01:00
Isira Seneviratne
39a008db6e
Convert ErrorInfo to Kotlin and use the Parcelize annotation.
2020-11-21 12:47:35 +05:30
Isira Seneviratne
82ba67ca82
Use RxJava instead of AsyncTask to check for new app versions.
2020-11-05 11:06:50 +05:30
Isira Seneviratne
e4b31a30aa
Use multidex for all build types.
2020-10-18 14:14:27 +05:30
Isira Seneviratne
27c0e408fb
Combine initNotificationChannel() and setUpUpdateNotificationChannel() into a single method.
2020-10-09 08:52:05 +05:30
Isira Seneviratne
3da55d9f40
Use ContextCompat.getSystemService() and the Context.getSystemService() extension function.
2020-10-09 08:52:05 +05:30
TacoTheDank
7db90c0561
Clean up SDK version checks
2020-09-06 12:55:30 +02:00
wb9688
25b56bf5e4
Use final where possible
2020-08-16 10:25:09 +02:00
Stypox
b5e7b86df8
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
d7f69f0ac6
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
7ff31f58c3
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
863b8242b7
Use androidx.annotation.NonNull instead of io.reactivex.annotations.NonNull
2020-07-14 21:15:29 +02:00
wb9688
e0092771a1
Upgrade ACRA
2020-05-25 11:03:07 +02:00
wb9688
76fee31989
Upgrade LeakCanary
2020-05-25 11:03:07 +02:00
Vincent Nagel
6bd25dc805
rename setting to "YouTube restricted mode"
2020-04-20 21:47:32 -05:00
Vincent Nagel
eed9fe2684
renamed to "restricted mode"
2020-04-20 21:46:40 -05:00
Vincent Nagel
b1c310ce22
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
c62e363ba5
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
9ff7c90a9c
Move exception utils to a separate class and add tests for it
2020-04-09 13:22:18 -03:00
wb9688
ac264464ef
Improve code style to be more consistent
2020-04-02 15:57:50 +02:00
bopol
3dd492e82b
app language now changes time formatting (3hrs ago), was system language b4
2020-01-09 15:51:41 +01:00
yausername
2a843a16d7
merged upstream/dev
2019-11-20 03:48:56 +05:30
Mauricio Colli
ab1c2b00da
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
cb2f0625b1
Use new Localization and Downloader implementations from extractor
2019-11-17 23:58:52 -03:00
yausername
ca9dff049c
merged upstream/dev
2019-11-16 04:37:14 +05:30
Robin
edd5ad2d13
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
Ritvik Saraf
ac4e0a51ef
init services in app onCreate
2019-03-10 17:30:21 +05:30
krtkush
fd3475f000
Conflict resolution
2018-11-23 01:41:47 +05:30
krtkush
27d0902b98
Pull request changes.
2018-11-18 19:15:50 +05:30
Christian Schabesberger
8d10693d07
Merge branch 'dev' into 1520_app_update_notif
2018-10-06 18:04:39 +02:00
Christian Schabesberger
0c72d4614e
add support for content language and content country
2018-10-05 16:20:27 +02:00
Kartikey Kushwaha
e6ba244c8c
Removed flvor checks. Added update settings under main settings.
2018-09-15 20:51:17 +05:30
BO41
89eeaab6f0
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
37ddb56fe8
Bug fix.
2018-08-17 01:11:51 +05:30