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

Fix subtitle size and merge from NewPipe upstream to dev2 #9

Merged
merged 865 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
865 commits
Select commit Hold shift + click to select a range
5a4dae2
Fix settings_notification.xml indentation
Stypox Dec 29, 2023
30f0db1
Customize only 2 notification actions on Android 13+
Stypox Dec 29, 2023
aab6580
Extract NotificationSlot from NotificationActionsPreference
Stypox Dec 29, 2023
9fb8125
Allow each notification slot to contain any possible action
Stypox Dec 29, 2023
2c4c283
Extract NotificationActionData from NotificationUtil
Stypox Nov 16, 2023
5edafca
Implement notification actions via MediaSessionConnector on Android 13+
Stypox Nov 16, 2023
17e88f1
Do not update notification actions if nothing changed
Stypox Dec 29, 2023
4b1824e
Allow play/pausing from notification when buffering
Stypox Dec 29, 2023
f985486
Android 33 -> Android 13
Stypox Dec 30, 2023
1d8850d
Merge pull request #10712 from Stypox/notification-actions-api-33-2
Stypox Dec 30, 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
2051334
Bump GH actions
Goooler Jan 8, 2024
32d2606
BaseDescriptionFragment: Assert member is initialized
Profpatsch Jan 20, 2024
6dd6233
Update Matrix room URL to new link
opusforlife2 Jan 27, 2024
4aa0190
Merge pull request #10795 from TeamNewPipe/matrix_room_URL_change
AudricV Jan 28, 2024
27730a2
Update Jsoup to 1.17.2
Isira-Seneviratne Feb 5, 2024
bcd4626
Merge pull request #10817 from Isira-Seneviratne/Jsoup
AudricV Feb 5, 2024
6f7b905
Merge pull request #10740 from Goooler/gha
AudricV Feb 5, 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
praharaj-ashutosh 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
8267d32
Fix compilation error when parsing unsupported file format
AbdeltwabMF Apr 30, 2024
b74cab6
Adjust the playlist bookmark item layout for RTL languages
AbdeltwabMF Apr 30, 2024
cf21b9f
Revert "Fix compilation error when parsing unsupported file format"
AbdeltwabMF May 1, 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
c02ceda
Use layout constraints instead of static height
AbdeltwabMF May 18, 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
aryan-zero7 May 28, 2024
e1bf67c
Update README.md
shrimprugbysnowowl Jun 7, 2024
71822a4
Update README.md
shrimprugbysnowowl Jun 7, 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
26dd86e
Use Android's elapsed time formatting
Isira-Seneviratne Jul 7, 2024
07c63f7
Update documentation
Isira-Seneviratne Jul 7, 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
063568b
Fixed playlist order between "Bookmarked Playlists" list and "add to …
nicholasala Sep 26, 2024
eb9f300
Fix seekbar preview crashes (#11584)
Thompson3142 Oct 10, 2024
781a69d
Chanegd related videos enqueue modal to attach to parent fragment ins…
rmtilde Oct 16, 2024
b14f658
Added comments to explain changes
rmtilde Oct 16, 2024
678f0a7
Merge pull request #1 from rmtilde/fix-related-items-enqueue-on-video…
rmtilde Oct 17, 2024
53edd05
Project now runs
u7656655 Oct 17, 2024
0cf4732
Fix UI crash when user navigates away before the download dialog appears
elvakang Oct 19, 2024
2eb2567
Revert "Project now runs"
elvakang Oct 19, 2024
ee15a72
Fix build failing locally due to outdated kotlin version
litetex Oct 22, 2024
8106ba6
CI: Use Java 21
litetex Oct 22, 2024
d80b6a7
Use working Extractor version
litetex Oct 22, 2024
ea0da5f
Delete symlink
litetex Oct 22, 2024
b1d4b66
Replace symlink with original
litetex Oct 22, 2024
9384365
Update Gradle to latest version
litetex Oct 22, 2024
2482615
Fix Android Gradle plugin warning
litetex Oct 22, 2024
2e96b65
Replaced ``Icepick`` with ``Bridge`` and ``Android-State``
litetex Oct 23, 2024
3a28651
Merge pull request #11636 from litetex/fix-build-2024-10
Stypox Oct 23, 2024
63bc982
Merge branch 'TeamNewPipe:dev' into fixing-ui-crash-11468
elvakang Oct 24, 2024
1ed4928
Add comment for fragment lifecycle checks before showing DownloadDialog
elvakang Oct 24, 2024
0190bce
Fix line length violation
elvakang Oct 24, 2024
1996c11
Merge branch 'TeamNewPipe:dev' into fix-related-items-enque-popup-crash
rmtilde Oct 26, 2024
fef4001
Added not null check for thumbnail URL before performing comparison
u7656655 Oct 27, 2024
05a87da
Merge pull request #11651 from u7656655/fix-addtoplaylist-crash
TobiGr Oct 27, 2024
f4baf46
Update app/src/main/java/org/schabi/newpipe/info_list/dialog/StreamDi…
TobiGr Oct 27, 2024
ba1e9c8
Update comment
Thompson3142 Oct 24, 2024
2396154
Formatting changes (back to original)
Thompson3142 Oct 27, 2024
cdac50b
Merge pull request #11596 from Thompson3142/fix_scrubbing_seekbar_pre…
TobiGr Oct 27, 2024
c855069
Make it possible control the version code and name
litetex Oct 27, 2024
94f992a
Merge pull request #11656 from litetex/better-control-over-version
TobiGr Oct 27, 2024
734b6e2
Add null-safe SharedPreferences.getStringSafe
Two-Ai Aug 30, 2024
64ad05d
Merge pull request #11629 from Two-Ai/kotlin-getStringSafe
TobiGr Oct 27, 2024
90404a2
Merge pull request #11621 from u7656655/fixing-ui-crash-11468
TobiGr Nov 2, 2024
66ec596
Update app/src/main/java/org/schabi/newpipe/fragments/list/videos/Rel…
rmtilde Nov 3, 2024
c0b36b8
Merge pull request #11614 from rmtilde/fix-related-items-enque-popup-…
TobiGr Nov 3, 2024
1193b02
Update user agent to Firefox ESR128
TobiGr Jul 11, 2024
f08e078
Merge pull request #11566 from nicholasala/fix/#10993-strange-playlis…
Stypox Nov 10, 2024
fe1c538
Update README.md
TobiGr Nov 11, 2024
7c18d4d
Update README.md
TobiGr Nov 11, 2024
0009613
Merge pull request #11140 from shrimprugbysnowowl/dev
TobiGr Nov 11, 2024
0ac5a26
Update README.md
VishramKidPG123 Nov 12, 2024
cb30072
Remove history dialog override so clicking "Start playing in the back…
codyit Nov 12, 2024
544b302
Merge pull request #11694 from VishramKidPG123/fix-typo-in-readme
Stypox Nov 12, 2024
a229ab6
Merge pull request #11696 from codyit/history-remove-dialog-override
Stypox Nov 12, 2024
6fe417a
Merge pull request #11024 from AbdeltwabMF/fix/rtl_lang_adjustment_bo…
Stypox Nov 14, 2024
bcd4579
Translated using Weblate (Hebrew)
weblate Nov 12, 2024
986cd52
Fix crash because of no height set on playlist bookmark
Stypox Nov 16, 2024
b43031f
Ellipsize uploader text in playlist bookmark
Stypox Nov 16, 2024
1f39523
Update NewPipeExtractor
Stypox Nov 16, 2024
e6c03bf
Merge pull request #11711 from Stypox/prepare-for-0.27.3
Stypox Nov 17, 2024
4ba961f
Translated using Weblate (Hungarian)
mdvhimself Nov 15, 2024
970ef93
Merge branch 'origin/dev' into Weblate.
weblate Nov 17, 2024
a962e6d
Add changelog for v0.27.3 (1000)
Stypox Nov 17, 2024
cf870ad
Release v0.27.3 (1000)
Stypox Nov 17, 2024
3c8d81a
add README.fr.md
KaGaster Mar 19, 2024
06d25b0
Merge pull request #11244 from Isira-Seneviratne/Android-elapsed-time
Stypox Nov 18, 2024
841471b
Merge pull request #10892 from KaGaster/el-koko
Stypox Nov 18, 2024
9f2f219
Merge branch 'dev' into release-0.27.3
Stypox Nov 18, 2024
10e7a5c
Merge pull request #11268 from TeamNewPipe/user-agent
Stypox Nov 18, 2024
8bf24e6
Merge branch 'dev' into release-0.27.3
Stypox Nov 18, 2024
2cc38f5
Readme translation to arabic
yosrinajar Apr 12, 2024
6d686b9
fixed all readme files
yosrinajar Apr 12, 2024
c7848e5
Apply URL encode/decode changes
Isira-Seneviratne Jul 21, 2024
ffcba17
Merge pull request #11330 from Isira-Seneviratne/Java-10-URL-NP
Profpatsch Nov 19, 2024
ebd4880
Merge pull request #10969 from yosrinajar/Read-Me-Translation
TobiGr Nov 19, 2024
1408150
Update backup and restore explanation & improve hindi, punjabi and as…
ShareASmile Nov 20, 2024
16c79c8
Fixed player resuming from start when clicking on a timestamp
Thompson3142 Nov 21, 2024
213f49f
Allow changing player notification preferences regardless of system s…
cillyvms Nov 22, 2024
33b96d2
Throttle loading subscriptions feed to avoid YouTube rate limits
Stypox Nov 24, 2024
726c12e
Only throttle YouTube feed loading
Stypox Nov 24, 2024
acf2e88
Merge pull request #11743 from TeamNewPipe/slower-feed
Stypox Nov 24, 2024
dc3f556
Add support for secondary audio track type
AudricV Nov 5, 2024
1255817
Merge pull request #11714 from AudricV/yt_more-audio-track-types-support
Stypox Nov 24, 2024
661e615
Update NewPipeExtractor to v0.24.3
Stypox Nov 24, 2024
a79bc3d
Translated using Weblate (Italian)
weblate Nov 23, 2024
d298a12
Merge pull request #11712 from TeamNewPipe/release-0.27.3
Stypox Nov 24, 2024
57e66b1
Merge branch 'master' into dev
Stypox Nov 24, 2024
df94167
Fix downloading/exporting when overwriting file would not truncate
Stypox Nov 24, 2024
f9711a3
Removed call to setRecovery() entirely
Thompson3142 Nov 24, 2024
b21981a
Add comments to explain why openAndTruncateStream()
Stypox Nov 27, 2024
e31a8ad
Mock openAndTruncateStream instead of getStream in test
Stypox Nov 27, 2024
c6b8bcf
Merge pull request #11745 from Stypox/truncate-before-export
TobiGr Nov 27, 2024
e4b0245
Merge pull request #11734 from Thompson3142/fix_timestamp_popup_time
Stypox Nov 27, 2024
52942ff
Merge pull request #11738 from cillyvms/a13-player-notifs
Stypox Nov 27, 2024
246fc03
Add build-release-apk workflow
Stypox Nov 30, 2024
c569f08
Add build-release-apk workflow
Stypox Nov 30, 2024
88d8d90
Merge pull request #11765 from Stypox/release-workflow
Stypox Nov 30, 2024
b19cd00
Translated using Weblate (Malay)
weblate Nov 30, 2024
0dca92d
Merge branch 'master' into dev
Stypox Nov 30, 2024
9054575
Add changelog for v0.27.4 (1001)
Stypox Nov 30, 2024
3847b32
Release v0.27.4 (1001)
Stypox Nov 30, 2024
70748fa
Use JDK 21 in build-release-apk.yml
Stypox Dec 2, 2024
86203d6
MainPlayer/PopupPlayer: Use system settings for subtitle size
Thompson3142 Dec 20, 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
  •  
  •  
  •  
12 changes: 5 additions & 7 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### Please do **not** open pull requests for *new features* now, as we are planning to rewrite large chunks of the code. Only bugfix PRs will be accepted. More details will be announced soon!

NewPipe contribution guidelines
===============================

Expand Down Expand Up @@ -40,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 @@ -81,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).
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Question
description: Ask about anything NewPipe-related
labels: [question, needs triage]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this issue! :hugs:
Thanks for taking the time to fill out this form! :hugs:

Note that you can also ask questions on our [IRC channel](https://web.libera.chat/#newpipe).

Expand All @@ -14,7 +11,7 @@ body:
attributes:
label: "Checklist"
options:
- label: "I made sure that there are *no existing issues* - [open](https://github.com/TeamNewPipe/NewPipe/issues) or [closed](https://github.com/TeamNewPipe/NewPipe/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
- label: "I made sure that there are *no existing issues or discussions* - [open](https://github.com/TeamNewPipe/NewPipe/issues) or [closed](https://github.com/TeamNewPipe/NewPipe/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
required: true
- label: "I have read the [FAQ](https://newpipe.net/FAQ/) and my question isn't listed."
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body:
attributes:
label: "Checklist"
options:
- label: "I am able to reproduce the bug with the [latest version](https://github.com/TeamNewPipe/NewPipe/releases/latest)."
- label: "I am able to reproduce the bug with the latest version given here: [CLICK THIS LINK](https://github.com/TeamNewPipe/NewPipe/releases/latest)."
required: true
- label: "I made sure that there are *no existing issues* - [open](https://github.com/TeamNewPipe/NewPipe/issues) or [closed](https://github.com/TeamNewPipe/NewPipe/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
required: true
Expand Down
9 changes: 6 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
blank_issues_enabled: false
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
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#### APK testing
<!-- Use a new, meaningfully named branch. The name is used as a suffix for the app ID to allow installing and testing multiple versions of NewPipe, e.g. "commentfix", if your PR implements a bugfix for comments. (No names like "patch-0" and "feature-1".) -->
<!-- Remove the following line if you directly link the APK created by the CI pipeline. Directly linking is preferred if you need to let users test.-->
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration [on this wiki page](https://github.com/TeamNewPipe/NewPipe/wiki/Download-APK-for-PR).

#### Due diligence
- [ ] I read the [contribution guidelines](https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md).
17 changes: 17 additions & 0 deletions .github/changed-lines-count-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add 'size/small' label to any changes with less than 50 lines
size/small:
max: 49

# Add 'size/medium' label to any changes between 50 and 249 lines
size/medium:
min: 50
max: 249

# Add 'size/large' label to any changes between 250 and 749 lines
size/large:
min: 250
max: 749

# Add 'size/giant' label to any changes for more than 749 lines
size/giant:
min: 750
38 changes: 38 additions & 0 deletions .github/workflows/build-release-apk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Build unsigned release APK on master"

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'master'

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'

- name: "Build release APK"
run: ./gradlew assembleRelease --stacktrace

- name: "Rename APK"
run: |
VERSION_NAME="$(jq -r ".elements[0].versionName" "app/build/outputs/apk/release/output-metadata.json")"
echo "Version name: $VERSION_NAME" >> "$GITHUB_STEP_SUMMARY"
echo '```json' >> "$GITHUB_STEP_SUMMARY"
cat "app/build/outputs/apk/release/output-metadata.json" >> "$GITHUB_STEP_SUMMARY"
echo >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
# assume there is only one APK in that folder
mv app/build/outputs/apk/release/*.apk "app/build/outputs/apk/release/NewPipe_v$VERSION_NAME.apk"

- name: "Upload APK"
uses: actions/upload-artifact@v4
with:
name: app
path: app/build/outputs/apk/release/*.apk
59 changes: 36 additions & 23 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 @@ -36,62 +37,74 @@ jobs:
contents: read

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

- name: create and checkout branch
# push events already checked out the branch
if: github.event_name == 'pull_request'
run: git checkout -B ${{ github.head_ref }}
env:
BRANCH: ${{ github.head_ref }}
run: git checkout -B "$BRANCH"

- name: set up JDK 11
uses: actions/setup-java@v3
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 21
distribution: "temurin"
cache: 'gradle'

- name: Build debug APK and run jvm tests
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint

- name: Upload APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: app
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:
# api-level 19 is min sdk, but throws errors related to desugaring
api-level: [ 21, 29 ]
include:
- api-level: 21
target: default
arch: x86
- api-level: 33
target: google_apis # emulator API 33 only exists with Google APIs
arch: x86_64

permissions:
contents: read

steps:
- uses: actions/checkout@v3
- 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 11
uses: actions/setup-java@v3
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 21
distribution: "temurin"
cache: 'gradle'

- name: Run android tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
# workaround to emulator bug: https://github.com/ReactiveCircus/android-emulator-runner/issues/160
emulator-build: 7425822
target: ${{ matrix.target }}
arch: ${{ matrix.arch }}
script: ./gradlew connectedCheck --stacktrace

- name: Upload test report when tests fail # because the printed out stacktrace (console) is too short, see also #7553
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: android-test-report-api${{ matrix.api-level }}
Expand All @@ -104,19 +117,19 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 11 # Sonar requires JDK 11
java-version: 21
distribution: "temurin"
cache: 'gradle'

- name: Cache SonarCloud packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
Expand Down
Loading
Loading