Commit graph

3917 commits

Author SHA1 Message Date
Tobi
01cf681156 Merge pull request #11614 from rmtilde/fix-related-items-enque-popup-crash
Fix related items list enqueue popup crash
2024-11-03 10:13:45 +01:00
rmtilde
1808791345 Update app/src/main/java/org/schabi/newpipe/fragments/list/videos/RelatedItemsFragment.java
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-11-03 18:26:38 +11:00
Tobi
982850cc1e Merge pull request #11621 from u7656655/fixing-ui-crash-11468
Fix UI crash when user navigates away before the download dialog appears
2024-11-02 23:30:35 +01:00
TwoAi
6642461151 Add null-safe SharedPreferences.getStringSafe
Null-safe alternative to SharedPreferences.getString that guarantees the return value is non-null when defValue is non-null.
2024-10-27 20:38:28 +01:00
Thompson3142
75b4cf6432 Formatting changes (back to original) 2024-10-27 14:38:25 +01:00
Thompson3142
bba9b2b3b4 Update comment
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-10-27 14:17:32 +01:00
Tobi
6cac73800e Update app/src/main/java/org/schabi/newpipe/info_list/dialog/StreamDialogDefaultEntry.java 2024-10-27 09:41:45 +01:00
Jacob Hawkins
452261e599 Added not null check for thumbnail URL before performing comparison 2024-10-27 17:38:57 +11:00
rmtilde
6b23e6ee8a Merge branch 'TeamNewPipe:dev' into fix-related-items-enque-popup-crash 2024-10-26 20:33:17 +11:00
Elva Kang
cd447aaf00 Fix line length violation 2024-10-24 16:04:53 +11:00
Elva Kang
1cef20fce8 Add comment for fragment lifecycle checks before showing DownloadDialog 2024-10-24 11:47:23 +11:00
Elva Kang
b582044050 Merge branch 'TeamNewPipe:dev' into fixing-ui-crash-11468 2024-10-24 11:11:37 +11:00
litetex
2c2904d59c Replaced `Icepick with Bridge and Android-State`
* IcePick fails on Java 21 (default in Android Studio 2024.2)
* Bridge is the most modern alternative that is currently available. It is backed by ``Android-State`` and can be configured with various frameworks
* In the long term this should be replaced with something better
2024-10-23 21:28:07 +02:00
Elva Kang
bf535e87dc Fix UI crash when user navigates away before the download dialog appears 2024-10-19 19:43:34 +11:00
rmtilde
f1f156f88f Added comments to explain changes 2024-10-16 23:58:32 +11:00
u7310752
703002fa07 Chanegd related videos enqueue modal to attach to parent fragment instead 2024-10-16 20:52:43 +11:00
Thompson3142
2ffc7b9d95 Fix seekbar preview crashes (#11584)
Fixed crashes from recycled bitmaps by creating real copies of bitmaps if necessary + some minor refactoring
2024-10-10 10:32:06 +02:00
TwoAi
c8d27d49a7 Remove outdated returnActivity test code
returnActivity was removed in 22c92f1
2024-08-10 23:09:54 -04:00
Stypox
28717c4205 Merge branch 'master' into dev 2024-07-25 21:20:44 +02:00
Stypox
a67f08008d Update NewPipeExtractor to v0.24.2 2024-07-25 18:40:50 +02:00
Stypox
40393d947d Merge branch 'master' into dev 2024-07-15 10:17:27 +02:00
Stypox
e1f9be0e64 Fix NPE in MediaSessionPlayerUi while destroying player 2024-07-11 09:41:33 +02:00
Tobi
b28a7b3734 Merge pull request #11067 from snaik20/fix_rss_button_visibility
Fix RSS button visibility
2024-06-17 11:49:33 +02:00
Aryan Yadav
621b6cbcce fixes #11093 2024-05-28 10:14:46 +05:30
Isira Seneviratne
7209f03bf0 Convert comment touch listener to a lambda 2024-05-15 06:51:57 +05:30
Siddhesh Naik
ba6ac1dc43 Fix RSS button visibility
- The `onPrepareMenu` callback is invoked after setting the visibility
  of the menu items.
- Due to this, the menu item resets to it's default visibility.
- Now updating the menu item within the callback.
- Also migrated to the MenuHost framework to reduce dependency on
  deprecated APIs.
2024-05-13 02:28:21 +05:30
Stypox
916bcb99ce Merge pull request #10918 from Stypox/non-transitive-r
Migrate to non-transitive R classes
2024-05-08 10:35:08 +02:00
Stypox
ecee42d690 Fix indentation for ktlint 2024-04-23 20:16:04 +02:00
Stypox
31be5daf71 Merge branch 'dev' 2024-04-23 19:23:20 +02:00
Stypox
53d4993c80 Merge pull request from GHSA-wxrm-jhpf-vp6v
Fix preferences import vulnerability
2024-04-23 19:22:17 +02:00
Stypox
f31e5c1a8e Update app/src/main/java/org/schabi/newpipe/streams/io/StoredDirectoryHelper.java
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-04-23 18:39:56 +02:00
Stypox
8756a6a01a Ignore all errors when getting free storage space
It's not a critical check that needs to be perfomed, so in case something does not work on some device/version, let's just ignore the error.
2024-04-23 18:05:31 +02:00
Stypox
4b0e50fd65 Fix free storage space check for all APIs
See https://stackoverflow.com/q/31171838
See https://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatvfs.html
2024-04-23 12:16:06 +02:00
Stypox
7cbd0843d7 Merge pull request #10952 from bg172/release-0.27.0
Add an intuitive prefix for the duration of lists in the UI
2024-04-11 09:27:54 +02:00
Stypox
d81689cda5 Merge pull request #10957 from Stypox/fix-feed-npe
Fix NPE if avatarUrl is null when reloading feed
2024-04-11 09:26:11 +02:00
Stypox
2a9665c3e5 Fix not saving comment replies state on config change 2024-04-10 10:52:47 +02:00
Stypox
d9b116bf00 Fix NPE when avatarUrl is empty 2024-04-09 20:18:21 +02:00
bg1722
118c426438 add an intuitive prefix for the duration of lists on UI, and avoid using the new prefix for single videos 2024-04-06 07:58:05 +02:00
TobiGr
8652485556 Improve documentation 2024-04-04 15:49:12 +02:00
Stypox
01a305e480 Show notification when failing to import settings 2024-03-30 18:53:45 +01:00
Stypox
7af41e2770 Expose all import/export errors to the user 2024-03-30 18:47:20 +01:00
Stypox
3f4aebac1b Add test zips and extensive tests for ImportExportManager
Now all possible combinations of files in the zip (present or not) are checked at the same time
2024-03-30 18:42:11 +01:00
Stypox
dd4bbdffd6 Use JSON for settings imports/exports 2024-03-30 16:58:12 +01:00
TobiGr
71f5356ed3 Add comment that empty constructors are needed for IcePick
See d5cc8fe048 and https://github.com/TeamNewPipe/NewPipe/pull/10781#discussion_r1545351144
2024-03-30 16:19:02 +01:00
Stypox
b45b9c10ce Show snackbar error when settings import fails 2024-03-30 16:12:41 +01:00
Stypox
ef9396bbcb Fix vulnerability with whitelist-aware ObjectInputStream
Only a few specific classes are now allowed.
2024-03-30 16:12:35 +01:00
Stypox
0e2f590723 Move import export manager to separate folder 2024-03-30 15:49:05 +01:00
Stypox
d5cc8fe048 Fix fragments without empty constructor 2024-03-30 15:15:31 +01:00
Stypox
bf770cc684 Undo some unneeded changes to LocalPlaylistManager 2024-03-30 14:46:13 +01:00
Stypox
6657a937e6 Fix warnings and allow moving only up and down even in grid 2024-03-30 14:39:40 +01:00