Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] dev from TeamNewPipe:dev #162

Merged
merged 175 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
96d6b30
Migrate database
GGAutomaton Apr 13, 2022
c34549a
Update database migrations and getter/setter
GGAutomaton Apr 13, 2022
270a541
Implement algorithm to merge playlists
GGAutomaton Apr 13, 2022
813f551
Merge branch 'TeamNewPipe:dev' into feature-7870
GGAutomaton Apr 13, 2022
ba8370b
Save changes to the database and bugfix
GGAutomaton Apr 14, 2022
bfb56b4
UI design and behavior
GGAutomaton Apr 14, 2022
3c48825
Debounced saver & bugfix & clean code
GGAutomaton Apr 15, 2022
0aa08a5
Use new item holder
GGAutomaton Apr 15, 2022
c24aed0
Fix sonar warning and typo
GGAutomaton Apr 16, 2022
bd1aae8
Fix sonar warning
GGAutomaton Apr 16, 2022
bb5390d
Reuse DebounceSaver
GGAutomaton Apr 17, 2022
6526ff1
Add tests
GGAutomaton Apr 17, 2022
d32490a
Create sub-package and default interval for DebounceSaver & sort play…
GGAutomaton May 11, 2022
ba394a7
Update test and Javadoc
GGAutomaton May 11, 2022
9ecef6f
Add abstract methods in PlaylistLocalItem & rename setIsModified
GGAutomaton Jun 23, 2022
4e401bc
Update playlists in parallel
GGAutomaton Jun 23, 2022
898a936
Update index modification logic & redo sorting in the merge algorithm
GGAutomaton Jun 23, 2022
8ad7bf6
Delete saveImmediate warnings & add comments
GGAutomaton Jun 23, 2022
90f0809
Trim search string and remove duplicate records from the database
TobiGr Aug 16, 2023
4af5b5f
Fix database migration and string trimming
TobiGr Aug 16, 2023
881d04b
Refactor database migration test and string trimming
dtcxzyw May 4, 2022
ef40ac7
Fix a typo
dtcxzyw May 5, 2022
15fd47c
Apply review
TobiGr Aug 16, 2023
9118ecd
Remove unnecessary debug warning and use JDoc instead
TobiGr Aug 17, 2023
5d101e7
Added reset button but not working as intended.
vincetzr Oct 23, 2022
aa18471
Added reset button but slightly working as intended.
vincetzr Oct 25, 2022
58517d1
Added reset button but working as intended for theme.
vincetzr Oct 26, 2022
2103a04
Cleaned up xml files.
vincetzr Oct 26, 2022
076e9ee
Added alert dialogue and restarts the app when resetting settings.
vincetzr Oct 28, 2022
5c46412
Changed alert dialogue.
vincetzr Oct 28, 2022
23de9bf
clear shared preference xmls
plasticanu Oct 28, 2022
81ad50e
Added delete xml method inside the yes dialogue.
vincetzr Oct 28, 2022
06d2562
Revert changes made to dev.
vincetzr Oct 28, 2022
a239a26
Revert changes made to dev.
vincetzr Oct 28, 2022
25a7309
Revert changes made to dev.
vincetzr Oct 28, 2022
40a3e1b
Revert committed file change of settings key.
vincetzr Oct 28, 2022
d7ef9b1
Added strings to strings.xml to allow translation.
vincetzr Oct 29, 2022
ad0855a
Update app/src/main/res/xml/debug_settings.xml
vincetzr Oct 29, 2022
f2e3528
Create new settings category: Backup and restore
TobiGr Sep 17, 2023
ff1aca2
Remove strange change
TobiGr Sep 17, 2023
df2e0be
Add summary to reset preference
TobiGr Sep 17, 2023
04bdc1c
Base cache key on info type instead of item type
Stypox Dec 30, 2023
55373c9
Update NewPipeExtractor to include MediaCCC channel fix
Stypox Dec 30, 2023
66e8e2a
use GitHub markdown to emphasise warning in Readme
Roshanjossey Jan 1, 2024
575e809
Don't write defaultFormat setting, use default value
Profpatsch Jan 6, 2024
32d2606
BaseDescriptionFragment: Assert member is initialized
Profpatsch Jan 20, 2024
9d6ac67
Update TextLinkifier.java
eltociear Mar 18, 2024
de2a139
Merge pull request #10889 from eltociear/patch-1
TobiGr Mar 18, 2024
e6a4a3f
Translated using Weblate (Danish)
weblate Mar 18, 2024
7edd471
Merge pull request #10890 from TeamNewPipe/weblate
TobiGr Mar 18, 2024
bec18e1
Improve app signature check
Isira-Seneviratne Nov 27, 2023
2e53a99
Convert isReleaseApk to lazy value
Isira-Seneviratne Feb 5, 2024
5bdb6f1
Use hexToByteArray() extension
Isira-Seneviratne Mar 20, 2024
2e318b8
Added "free memory" check before downloading [Android N / API 24+] (#…
CloudyRowly Mar 21, 2024
206d1b6
Add separate message when download is rejected due to insufficient st…
TobiGr Mar 21, 2024
5cf3c58
Merge pull request #10732 from Profpatsch/dont-write-media-format
TobiGr Mar 25, 2024
b760419
Merge pull request #10896 from TeamNewPipe/storage-message
TobiGr Mar 26, 2024
bc7c3f4
Fix GitHub question discussion form
triallax Mar 26, 2024
f50cafb
Merge pull request #10905 from mhmdanas/fix-question-discussion-form
TobiGr Mar 26, 2024
1732584
Translated using Weblate (Danish)
weblate Mar 20, 2024
3134f5e
Don't add "question" label to question discussions (#10906)
triallax Mar 26, 2024
34a25d0
Merge pull request #10907 from TeamNewPipe/weblate
TobiGr Mar 26, 2024
0d4c1be
[CI] Update gradle/wrapper-validation-action to v2
TobiGr Mar 26, 2024
c34d30d
[CI] Update sonar job to use cache@v4
TobiGr Mar 26, 2024
434c4a5
Merge pull request #10908 from TeamNewPipe/node-20
Stypox Mar 27, 2024
b06a961
use GitHub markdown to emphasise warning in all READMEs
Stypox Mar 27, 2024
58ae7fb
Merge pull request #10724 from Roshanjossey/patch-1
Stypox Mar 27, 2024
3a014d8
Fix not considering nullability when comparing getAudioTrackType
Stypox Mar 27, 2024
bed3516
Fix non-desugared method being used
Stypox Mar 27, 2024
d8a5d55
Fix choosing audio format to mux with video-only download
Stypox Mar 28, 2024
d3afde8
Remove unused DownloadDialog.onDismissListener
Stypox Mar 28, 2024
5d9adce
Fix NPE, since dismissing a dialog still calls onViewCreated()
Stypox Mar 28, 2024
29e4135
Try to fix PR labeler
Stypox Mar 28, 2024
e0268a9
Merge pull request #10717 from Stypox/cache-key-type
Stypox Mar 28, 2024
81220f9
Merge pull request #10909 from Stypox/fix-getAudioTrackType-null
Stypox Mar 28, 2024
ddd6c8c
Changed the landscape layout of list card item
Mar 27, 2023
88c3af7
Merge pull request #9975 from Marius1501/landscape_card_mode_improve
Stypox Mar 28, 2024
e687eb5
Merge pull request #8242 from dtcxzyw/trim-search-string
Stypox Mar 28, 2024
37f7fa7
Merge branch 'dev' into pr9236
Stypox Mar 28, 2024
cefdefd
11111th commit
Stypox Mar 28, 2024
2af95cc
Merge pull request #9236 from vincetzr/Option-to-reset-settings
Stypox Mar 28, 2024
3f94e7b
Merge pull request #10912 from Stypox/download-fixes
Stypox Mar 28, 2024
b85f7a6
Some more slight improvements
Stypox Mar 28, 2024
10c57b1
Merge pull request #10781 from Profpatsch/BaseDescriptionFragment-ass…
Stypox Mar 28, 2024
1d3a69a
Move text from manual_update_title to check_for_updates
TobiGr Jan 25, 2024
a3bbbf0
Ask for consent before starting update checks
TobiGr Mar 27, 2024
f4fb960
Migrate to non-transitive R classes
Stypox Mar 28, 2024
3703fed
update_app_key default value should be false
Stypox Mar 29, 2024
9240268
Improve new version checks before running
Stypox Mar 29, 2024
f0beb66
Merge pull request #10790 from TeamNewPipe/update-check-consent
Stypox Mar 29, 2024
bef5907
show OverallDuration in Playlist
Apr 10, 2021
3c0a200
Merge pull request #6045 from bg172/showOverallDurationInPlaylist
Stypox Mar 29, 2024
e1ce3fe
Merge branch 'dev' into pr8221
Stypox Mar 29, 2024
4591c09
Apply review
Stypox Mar 29, 2024
92e9c3e
Fix DatabaseMigrationTest
Stypox Mar 29, 2024
e66e1b5
Also sort playlist duplicates by display index
Stypox Mar 29, 2024
90979e2
Fix PlaylistLocalItemTest
Stypox Mar 29, 2024
3cc0205
Fix inconsistencies when removing playlist
Stypox Mar 30, 2024
c9051d3
Fix warnings and allow moving only up and down even in grid
Stypox Mar 30, 2024
38d4887
Undo some unneeded changes to LocalPlaylistManager
Stypox Mar 30, 2024
4c82388
Merge pull request #8221 from GGAutomaton/feature-7870
Stypox Mar 30, 2024
5e7ad6f
Fix fragments without empty constructor
Stypox Mar 30, 2024
e42c9ab
moved player notification to notification section
pratyaksh1610 Dec 19, 2022
58f5ec0
Merge pull request #9580 from pratyaksh1610/branch-8232
Stypox Mar 30, 2024
ea18b4e
Move import export manager to separate folder
Stypox Dec 31, 2023
235fb92
Make checkstyle accept javadocs with long links
Stypox Dec 31, 2023
d75a6ea
Fix vulnerability with whitelist-aware ObjectInputStream
Stypox Dec 31, 2023
d8668ed
Show snackbar error when settings import fails
Stypox Mar 27, 2024
6afdbd6
Add test: vulnerable settings should fail importing
Stypox Mar 27, 2024
974167f
Add comment that empty constructors are needed for IcePick
TobiGr Mar 30, 2024
d842349
Use JSON for settings imports/exports
Stypox Mar 27, 2024
8e192ac
Add test zips and extensive tests for ImportExportManager
Stypox Mar 30, 2024
7da1d30
Expose all import/export errors to the user
Stypox Mar 30, 2024
2756ef6
Show notification when failing to import settings
Stypox Mar 30, 2024
0b28c68
Translated using Weblate (Estonian)
weblate Apr 1, 2024
c915b6e
Add changelog for v0.27.0 (997)
Stypox Apr 1, 2024
7abf0f4
Update NewPipeExtractor to YT comments fix PR
Stypox Apr 1, 2024
f704721
Release v0.27.0 (997)
Stypox Apr 1, 2024
f0db2aa
Improve documentation
TobiGr Apr 4, 2024
13baaa3
add an intuitive prefix for the duration of lists on UI, and avoid us…
Apr 6, 2024
0ba73b1
Update NewPipeExtractor
Stypox Apr 7, 2024
3738e30
Fix NPE when avatarUrl is empty
Stypox Apr 9, 2024
67b41b9
Fix not saving comment replies state on config change
Stypox Apr 10, 2024
b3a6318
Merge pull request #10959 from Stypox/fix-comment-replies-state
AudricV Apr 10, 2024
d9da84c
Merge pull request #10957 from Stypox/fix-feed-npe
Stypox Apr 11, 2024
5bf7716
Merge pull request #10952 from bg172/release-0.27.0
Stypox Apr 11, 2024
00770fc
Update NewPipeExtractor
Stypox Apr 20, 2024
c3c39a7
Fix free storage space check for all APIs
Stypox Apr 23, 2024
23a087c
Translated using Weblate (Romanian)
weblate Apr 23, 2024
caa3812
Ignore all errors when getting free storage space
Stypox Apr 23, 2024
b8daf16
Update app/src/main/java/org/schabi/newpipe/streams/io/StoredDirector…
Stypox Apr 23, 2024
d61b4b8
Merge pull request #10992 from Stypox/fix-download-nnfp
Stypox Apr 23, 2024
a557ac3
Merge pull request #10929 from TeamNewPipe/release-0.27.0
Stypox Apr 23, 2024
a69bbab
Merge pull request from GHSA-wxrm-jhpf-vp6v
Stypox Apr 23, 2024
24e65ef
Merge branch 'dev'
Stypox Apr 23, 2024
83ca6b9
Update NewPipeExtractor to v0.24.0
Stypox Apr 23, 2024
8caaa6d
Merge branch 'origin/dev' into Weblate.
weblate Apr 23, 2024
9828586
Fix indentation for ktlint
Stypox Apr 23, 2024
d9d6fff
Update README.md
ashutosh001 Apr 26, 2024
9e4ac2e
Merge pull request #11003 from ashutosh001/dev
Stypox Apr 26, 2024
879d7a2
Fix github worklow for Android tests (#11014)
snaik20 Apr 28, 2024
e37336e
Merge pull request #10918 from Stypox/non-transitive-r
Stypox May 8, 2024
7204407
Fix RSS button visibility
snaik20 May 12, 2024
4613934
Convert comment touch listener to a lambda
Isira-Seneviratne May 15, 2024
e48ce5a
Update PrettyTime to 5.0.8
moontoaster May 23, 2024
8645618
Merge pull request #11094 from moontoaster/update-prettytime-to-fix-u…
TobiGr May 23, 2024
3e3d1fd
Merge pull request #11075 from Isira-Seneviratne/Comment-touch-lambda
Isira-Seneviratne May 25, 2024
2a3d133
Add missing Peertube instance subscribeto.me to the links Newpipe han…
May 27, 2024
8583c48
fixes #11093
aryn-ydv May 28, 2024
c795214
Merge pull request #11112 from aryn-ydv/extend-playlist-description
TobiGr Jun 17, 2024
a2d93b3
Merge pull request #11110 from Neznak/add-peertube-instance
TobiGr Jun 17, 2024
0c7a91f
Merge pull request #11067 from snaik20/fix_rss_button_visibility
TobiGr Jun 17, 2024
e64c01d
Remove kotlin restriction
EricDriussi Jun 24, 2024
4eeea7b
Merge pull request #11209 from EricDriussi/kotlin-contributing
Stypox Jun 25, 2024
2ac0d1f
add NP icon for Android Studio's NewUI
theScrabi Jul 2, 2024
1f30985
Run CI on pull requests to refactor branch, too
Stypox Jul 2, 2024
5e5e77f
Merge pull request #11230 from TeamNewPipe/idea_icon
TobiGr Jul 3, 2024
9f766eb
Fix NPE in MediaSessionPlayerUi while destroying player
Stypox Jul 11, 2024
6f71c00
Merge pull request #11261 from Stypox/fix-media-session-ui-npe
Stypox Jul 11, 2024
0e0cee1
Update NewPipeExtractor to v0.24.1
Stypox Jul 11, 2024
acc5be9
Add changelogs for hotfix release v0.27.1 (998)
Stypox Jul 11, 2024
0f64158
Hotfix release v0.27.1 (998)
Stypox Jul 11, 2024
ad6b676
Update README.pt_BR.md (#11275)
tag27 Jul 13, 2024
72e9f7f
Merge branch 'master' into dev
Stypox Jul 15, 2024
0e8303f
Update Matrix room link, and prioritise it (#11350)
opusforlife2 Jul 25, 2024
947ac28
Update NewPipeExtractor to v0.24.2
Stypox Jul 25, 2024
56b6241
Hotfix release v0.27.2 (999)
Stypox Jul 25, 2024
03a6b5c
Add changelogs for hotfix release v0.27.2 (999)
Stypox Jul 11, 2024
64a8f65
Merge pull request #11351 from Stypox/update-npe
Stypox Jul 25, 2024
dbcb721
Don't warn about rhino class in proguard
Stypox Jul 25, 2024
d442b45
Remove code committed accidentally
Stypox Jul 25, 2024
51ee2f8
Merge branch 'master' into dev
Stypox Jul 25, 2024
38c823a
Remove outdated returnActivity test code
Two-Ai Aug 10, 2024
fad3120
Merge pull request #11428 from Two-Ai/remove-returnActivity-test
TobiGr Aug 14, 2024
035c394
Fixing the 404 page not found, when clicking on "contribution notes" …
Stackoverflow-addict Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 3 additions & 7 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ You'll see *exactly* what is sent, be able to add **your comments**, and then se
* Create PRs that cover only **one specific issue/solution/bug**. Do not create PRs that are huge monoliths and could have been split into multiple independent contributions.
* NewPipe uses [NewPipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) to fetch data from services. If you need to change something there, you must test your changes in NewPipe. Telling NewPipe to use your extractor version can be accomplished by editing the `app/build.gradle` file: the comments under the "NewPipe libraries" section of `dependencies` will help you out.

### Kotlin in NewPipe
* NewPipe will remain mostly Java for time being
* Contributions containing a simple conversion from Java to Kotlin should be avoided. Conversions to Kotlin should only be done if Kotlin actually brings improvements like bug fixes or better performance which are not, or only with much more effort, implementable in Java. The core team sees Java as an easier to learn and generally well adopted programming language.

### Creating a Pull Request (PR)

* Make changes on a **separate branch** with a meaningful name, not on the _master_ branch or the _dev_ branch. This is commonly known as *feature branch workflow*. You may then send your changes as a pull request (PR) on GitHub.
Expand Down Expand Up @@ -83,6 +79,6 @@ The [ktlint](https://github.com/pinterest/ktlint) plugin does the same job as ch

## Communication

* The #newpipe channel on Libera Chat (`ircs://irc.libera.chat:6697/newpipe`) has the core team and other developers in it. [Click here for webchat](https://web.libera.chat/#newpipe)!
* You can also use a Matrix account to join the NewPipe channel at [#newpipe:libera.chat](https://matrix.to/#/#newpipe:libera.chat). Some convenient clients, available both for phone and desktop, are listed at that link.
* You can post your suggestions, changes, ideas etc. on either GitHub or IRC.
* You can use a Matrix account to join the NewPipe channel at [#newpipe:matrix.newpipe-ev.de](https://matrix.to/#/#newpipe:matrix.newpipe-ev.de). Some convenient clients, available both for phone and desktop, are listed at that link.
* Alternatively, the #newpipe channel on Libera Chat (`ircs://irc.libera.chat:6697/newpipe`) can also be joined, as it is bridged to the Matrix room. [Click here for webchat](https://web.libera.chat/#newpipe)!
* You can post your suggestions, changes, ideas etc. on either GitHub or Matrix (including via IRC).
3 changes: 0 additions & 3 deletions .github/DISCUSSION_TEMPLATE/questions.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
name: Question
description: Ask about anything NewPipe-related
labels: [question]
body:
- type: markdown
attributes:
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ contact_links:
- name: ❓ Question
url: https://github.com/TeamNewPipe/NewPipe/discussions/new?category=questions
about: Ask about anything NewPipe-related
- name: 💬 Matrix
url: https://matrix.to/#/#newpipe:matrix.newpipe-ev.de
about: Chat with us via Matrix for quick Q/A
- name: 💬 IRC
url: https://web.libera.chat/#newpipe
about: Chat with us via IRC for quick Q/A
- name: 💬 Matrix
url: https://matrix.to/#/#newpipe:libera.chat
about: Chat with us via Matrix for quick Q/A
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- dev
- master
- refactor
- release**
paths-ignore:
- 'README.md'
Expand Down Expand Up @@ -37,7 +38,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/wrapper-validation-action@v2

- name: create and checkout branch
# push events already checked out the branch
Expand All @@ -63,8 +64,7 @@ jobs:
path: app/build/outputs/apk/debug/*.apk

test-android:
# macos has hardware acceleration. See android-emulator-runner action
runs-on: macos-latest
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
Expand All @@ -82,6 +82,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm

- name: set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -123,7 +129,7 @@ jobs:
cache: 'gradle'

- name: Cache SonarCloud packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "PR size labeler"
on: [pull_request]
on: [pull_request_target]
permissions:
contents: read
pull-requests: write
Expand Down
21 changes: 21 additions & 0 deletions .idea/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@

*Read this document in other languages: [Deutsch](doc/README.de.md), [English](README.md), [Español](doc/README.es.md), [Français](doc/README.fr.md), [हिन्दी](doc/README.hi.md), [Italiano](doc/README.it.md), [한국어](doc/README.ko.md), [Português Brasil](doc/README.pt_BR.md), [Polski](doc/README.pl.md), [ਪੰਜਾਬੀ ](doc/README.pa.md), [日本語](doc/README.ja.md), [Română](doc/README.ro.md), [Soomaali](doc/README.so.md), [Türkçe](doc/README.tr.md), [正體中文](doc/README.zh_TW.md), [অসমীয়া](doc/README.asm.md), [Српски](doc/README.sr.md)*

<b>WARNING: THIS APP IS IN BETA, SO YOU MAY ENCOUNTER BUGS. IF YOU DO, OPEN AN ISSUE IN OUR GITHUB REPOSITORY BY FILLING OUT THE ISSUE TEMPLATE.</b>

<b>PUTTING NEWPIPE, OR ANY FORK OF IT, INTO THE GOOGLE PLAY STORE VIOLATES THEIR TERMS AND CONDITIONS.</b>
> [!warning]
> <b>THIS APP IS IN BETA, SO YOU MAY ENCOUNTER BUGS. IF YOU DO, OPEN AN ISSUE IN OUR GITHUB REPOSITORY BY FILLING OUT THE ISSUE TEMPLATE.</b>
>
> <b>PUTTING NEWPIPE, OR ANY FORK OF IT, INTO THE GOOGLE PLAY STORE VIOLATES THEIR TERMS AND CONDITIONS.</b>

## Screenshots

Expand Down Expand Up @@ -103,10 +104,10 @@ You can install NewPipe using one of the following methods:
We recommend method 1 for most users. APKs installed using method 1 or 2 are compatible with each other (meaning that if you installed NewPipe using either method 1 or 2, you can also update NewPipe using the other), but not with those installed using method 3. This is due to the same signing key (ours) being used for 1 and 2, but a different signing key (F-Droid's) being used for 3. Building a debug APK using method 4 excludes a key entirely. Signing keys help ensure that a user isn't tricked into installing a malicious update to an app. When using method 5, each APK is signed with a different random key supplied by GitHub Actions, so you cannot even update it. You will have to backup and restore the app data each time you wish to use a new APK.

In the meanwhile, if you want to switch sources for some reason (e.g. NewPipe's core functionality breaks and F-Droid doesn't have the latest update yet), we recommend following this procedure:
1. Back up your data via Settings > Content > Export Database so you keep your history, subscriptions, and playlists
1. Back up your data via Settings > Backup and Restore > Export Database so you keep your history, subscriptions, and playlists
2. Uninstall NewPipe
3. Download the APK from the new source and install it
4. Import the data from step 1 via Settings > Content > Import Database
4. Import the data from step 1 via Settings > Backup and Restore > Import Database

<b>Note: when you're importing a database into the official app, always make sure that it is the one you exported _from_ the official app. If you import a database exported from an APK other than the official app, it may break things. Such an action is unsupported, and you should only do so when you're absolutely certain you know what you're doing.</b>

Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android {
resValue "string", "app_name", "NewPipe"
minSdk 21
targetSdk 33
versionCode 996
versionName "0.26.1"
versionCode 999
versionName "0.27.2"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

Expand Down Expand Up @@ -198,7 +198,7 @@ dependencies {
// name and the commit hash with the commit hash of the (pushed) commit you want to test
// This works thanks to JitPack: https://jitpack.io/
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.23.1'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.24.2'
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'

/** Checkstyle **/
Expand Down Expand Up @@ -282,7 +282,7 @@ dependencies {
implementation "com.jakewharton.rxbinding4:rxbinding:4.0.0"

// Date and time formatting
implementation "org.ocpsoft.prettytime:prettytime:5.0.7.Final"
implementation "org.ocpsoft.prettytime:prettytime:5.0.8.Final"

/** Debugging **/
// Memory leak detection
Expand Down
1 change: 1 addition & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
-keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; }
-keep class org.mozilla.javascript.** { *; }
-keep class org.mozilla.classfile.ClassFileWriter
-dontwarn org.mozilla.javascript.JavaToJSONConverters
-dontwarn org.mozilla.javascript.tools.**

## Rules for ExoPlayer
Expand Down
Loading
Loading