Commit graph

2139 commits

Author SHA1 Message Date
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
bopol
342c248a91 remove timestamp from share url for all services except youtube
It produces not found error for PeerTube, media.ccc.de, SoundCloud
2020-12-20 10:53:22 +01:00
Isira Seneviratne
da095794a4 Use ServiceCompat.stopForeground(). 2020-12-19 16:52:17 +05:30
Isira Seneviratne
f7d4e5800f Use WebViewClientCompat in ReCaptchaActivity. 2020-12-19 13:21:57 +05:30
Isira Seneviratne
1e8b014e7c Use view binding in SettingsActivity. 2020-12-19 04:22:01 +05:30
Isira Seneviratne
2c5d9ee1a9 Use view binding in ErrorActivity. 2020-12-19 04:21:59 +05:30
Isira Seneviratne
9c7e1ecfa0 Use view binding in ServicePlayerActivity. 2020-12-19 04:21:59 +05:30
Isira Seneviratne
6ba6323b65 Use view binding in RouterActivity. 2020-12-19 04:21:58 +05:30
Isira Seneviratne
88d035dfba Use view binding in ReCaptchaActivity. 2020-12-19 04:21:55 +05:30
Isira Seneviratne
54b45404a0 Use view binding in DownloadActivity. 2020-12-19 04:19:59 +05:30
Isira Seneviratne
02f7f1d501 Use view binding in AboutActivity. 2020-12-19 04:19:58 +05:30
Isira Seneviratne
1364b4c2e7 Use view binding in MainActivity. 2020-12-19 04:19:57 +05:30
Stypox
53885fe61b Use user agent of DownloaderImpl also in ReCapthaActivity
Does not contain device info and should also fix some issues about recaptchas not showing up
2020-12-18 18:40:09 +01:00
Stypox
7feb07e686 Merge pull request #5208 from Stypox/recaptcha-pbj
Remove pbj=1 parameter from YouYube urls in recaptcha activity
2020-12-18 18:28:44 +01:00
Stypox
14584b2f12 Remove pbj=1 parameter from YouYube urls in recaptcha activity 2020-12-17 21:02:13 +01:00
XiangRongLin
be8716c0ea Fix compile error caused by auto merging
#5176 changed `homeDir` from type `String` to `File`. #5059 was based on `homeDir` being a `String`. It was incorrectly auto-resolved by git.
2020-12-15 20:26:38 +01:00
TiA4f8R
571bf8e512 Update NewPipe's API url for new app's version check 2020-12-15 18:57:36 +01:00
Stypox
8ef61f2765 Merge pull request #5059 from XiangRongLin/content_settings_manager
Extract export database logic into own class
2020-12-15 10:34:32 +01:00
Stypox
533bf43817 Merge pull request #5116 from hlloreda/fix-crash-deleting-video-refreshing
Fix crash deleting video refreshing
2020-12-15 09:52:17 +01:00
Stypox
9bea46744b Merge pull request #5178 from Isira-Seneviratne/Use_ActivityCompat_recreate
Use ActivityCompat.recreate().
2020-12-15 09:49:14 +01:00
Stypox
ffe9492617 Merge pull request #5142 from Isira-Seneviratne/Use_notification_instead_of_ProgressDialog
Use a notification instead of a ProgressDialog in MissionAdapter.
2020-12-15 09:33:19 +01:00
Isira Seneviratne
3712843a78 Use ActivityCompat.recreate(). 2020-12-15 13:55:05 +05:30
Stypox
c7be77b4fe Merge pull request #5176 from Isira-Seneviratne/Use_ContextCompat_getDataDir
Use ContextCompat.getDataDir().
2020-12-15 09:05:35 +01:00
Isira Seneviratne
bc68d6f95f Use ContextCompat.getDataDir(). 2020-12-15 08:02:25 +05:30
Stypox
342a003cd2 Show radio instead of Youtube logo in mixes
YouTube mixes have YouTube as a creator, though YouTube's logo is not safe to use as it is a trademark (better safe than sorry)
2020-12-14 19:22:00 +01:00
Isira Seneviratne
288a9ce2af Use a notification instead of a ProgressDialog in MissionAdapter. 2020-12-13 05:21:38 +05:30
Tobias Groza
cd671ce986 Merge pull request #5112 from mhmdanas/fix-typos
Fix some typos
2020-12-12 13:13:06 +01:00
Isira Seneviratne
9d045db71f Add a workaround for a possible null offset ID. 2020-12-10 15:23:30 +05:30
mhmdanas
de2e4722ad Fix typos 2020-12-07 13:35:37 +03:00
Tobias Groza
2796608428 Merge pull request #4961 from TeamNewPipe/lint
Fix some Lint errors
2020-12-07 11:19:01 +01:00
hlloreda
ae03327f4c [FIX] - Use of a Data class instead of overriding equals method 2020-12-07 10:53:33 +01:00
hlloreda
2d86452c5d [IMPORT] - import got deleted 2020-12-07 00:06:56 +01:00
hlloreda
c00b667347 [FIX] - Crash while deleting a video from a playlist while refreshing 2020-12-06 23:40:38 +01:00
XiangRongLin
dc7f2bf894 Extract export database logic into own class
- Separate it from the UI.
- Add happy path unit test.
2020-12-04 18:30:29 +01:00
TobiGr
a9f1c232d7 Add missing import for @throws annotation 2020-11-28 12:53:22 +01:00
XiangRongLin
c6f114fa8f Make ErrorInfo constructor public
Allows the library behind Parceable to crete an object of the class.
2020-11-25 17:05:52 +01:00
Stypox
57c28a9a9c Fix ktlint errors 2020-11-22 14:03:10 +01:00
Stypox
34dd7c0fbf Update most dependencies 2020-11-22 14:03:10 +01:00
Stypox
de49bb01fb Handle CheckForNewAppVersion exceptions in one place 2020-11-22 13:27:51 +01:00
TobiGr
efbd0f1f37 Fix crash on startup caused by no implementation of onError() method 2020-11-22 11:46:24 +01:00
TobiGr
397ca000e3 Fix typos 2020-11-22 10:39:00 +01:00
TobiGr
40d32034dd Fix Lint: Inconsistent line separators 2020-11-22 10:16:27 +01:00
Stypox
2236b7f887 Refactor CheckForNewAppVersion 2020-11-21 12:02:08 +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
Stypox
5d695d19ac Merge pull request #4944 from Isira-Seneviratne/Dispose_RxView_disposable
Dispose of RxViews disposable in BaseStateFragment.
2020-11-21 10:52:00 +01:00
Isira Seneviratne
832ea825d8 Dispose of RxViews disposable in BaseStateFragment. 2020-11-21 14:24:21 +05:30
Isira Seneviratne
a2500345d6 Use try-with-resources. 2020-11-21 13:47:13 +05:30
Isira Seneviratne
39a008db6e Convert ErrorInfo to Kotlin and use the Parcelize annotation. 2020-11-21 12:47:35 +05:30
Isira Seneviratne
db6b11ca95 Convert SavedState to Kotlin and use the Parcelize annotation. 2020-11-21 12:47:32 +05:30
Isira Seneviratne
c8760eff56 Convert SoftwareComponent to Kotlin and use the Parcelize annotation. 2020-11-21 12:47:30 +05:30