Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
337 commits
Select commit Hold shift + click to select a range
4b626c3
Translated using Weblate (Persian)
comradekingu Apr 3, 2020
ebad856
Translated using Weblate (Telugu)
comradekingu Apr 3, 2020
037fac7
Translated using Weblate (Tamil)
comradekingu Apr 3, 2020
82d514d
Translated using Weblate (Kurdish)
comradekingu Apr 3, 2020
512fad2
Translated using Weblate (Punjabi)
comradekingu Apr 3, 2020
180ddcc
Translated using Weblate (Estonian)
weblate Apr 4, 2020
d1b6615
Translated using Weblate (Norwegian Bokmål)
comradekingu Apr 3, 2020
055fa19
Translated using Weblate (Nepali)
comradekingu Apr 3, 2020
df12b83
Translated using Weblate (Nepali)
hemanta212 Apr 4, 2020
89fbc05
Translated using Weblate (Nepali)
weblate Apr 4, 2020
cb7ed40
Merge branch 'origin/dev' into Weblate.
weblate Apr 4, 2020
99dd6ae
Merge pull request #3349 from B0pol/update_changelog_0.19.2
TobiGr Apr 4, 2020
fe2858b
update contributing.md
B0pol Apr 4, 2020
8d69657
Update .github/CONTRIBUTING.md
B0pol Apr 4, 2020
12405f4
Made the bug report template less daunting
opusforlife2 Apr 4, 2020
1f4b147
Translated using Weblate (French)
VeryTastyTomato Apr 4, 2020
14d01ae
Translated using Weblate (Czech)
zeritti Apr 4, 2020
3a2444d
Translated using Weblate (Nepali)
hemanta212 Apr 4, 2020
3e383a9
Merge branch 'origin/dev' into Weblate.
weblate Apr 4, 2020
ec52e14
Merge pull request #3356 from B0pol/contributing.md
TobiGr Apr 4, 2020
1347bdd
Translated using Weblate (Japanese)
AioiLight Apr 4, 2020
aebed13
Translated using Weblate (Chinese (Traditional))
s8321414 Apr 4, 2020
99c823c
Translated using Weblate (Norwegian Bokmål)
comradekingu Apr 4, 2020
a435167
Translated using Weblate (Nepali)
hemanta212 Apr 4, 2020
d60feb4
Merge branch 'origin/dev' into Weblate.
weblate Apr 4, 2020
a5a497c
Clean up CheckForNewAppVersionTask
wb9688 Apr 3, 2020
5653d44
Merge pull request #3344 from wb9688/checkfornewappversiontask-downlo…
TobiGr Apr 4, 2020
0cddd15
Translated using Weblate (Spanish)
j9o1 Apr 4, 2020
a54c8d4
Translated using Weblate (Asturian)
enolp Apr 4, 2020
1b1534a
Translated using Weblate (Norwegian Bokmål)
comradekingu Apr 4, 2020
a3a00ea
Merge branch 'origin/dev' into Weblate.
weblate Apr 5, 2020
9bc2472
Added translation using Weblate (Acehnese)
emhaye Apr 5, 2020
4491b66
Make null sortable
mitosagi Apr 3, 2020
5502df8
Translated using Weblate (Polish)
Apr 5, 2020
100c7b8
Translated using Weblate (Acehnese)
emhaye Apr 5, 2020
c726639
Avoid unnecessary changes to the upload date of saved streams
mauriciocolli Apr 5, 2020
5c8b9f6
Merge pull request #3370 from mauriciocolli/avoid-upload-date-update
wb9688 Apr 5, 2020
bb905b7
Translated using Weblate (Portuguese (Brazil))
weblate Apr 5, 2020
c462766
Translated using Weblate (Portuguese (Brazil))
br-arruda Apr 5, 2020
ce75747
Merge branch 'origin/dev' into Weblate.
weblate Apr 5, 2020
3855e48
Save and restore playback parameters into/from preferences
XiangRongLin Apr 3, 2020
7a9d2c9
Translated using Weblate (Portuguese)
SantosSi Apr 5, 2020
225b9e1
Fix visibility of group sort button in the subscriptions fragment
mauriciocolli Apr 5, 2020
5166c22
Fix webalte badge and link in readme
TobiGr Apr 6, 2020
2c453c7
Merge pull request #3357 from opusforlife2/improve-bug-report-template
TobiGr Apr 6, 2020
49879bc
Translated using Weblate (Czech)
tajnymag Apr 6, 2020
2d0dadb
Translated using Weblate (Interlingua)
softinterlingua Apr 7, 2020
55c8bcd
Merge branch 'origin/dev' into Weblate.
weblate Apr 7, 2020
1600233
Merge pull request #3374 from mauriciocolli/fix-sort-button-visibility
TobiGr Apr 7, 2020
b047e56
Merge branch 'dev' into fix/the-the-typo
wb9688 Apr 7, 2020
e4a4af3
Merge pull request #3276 from lnjX/fix/the-the-typo
wb9688 Apr 7, 2020
655522a
Translated using Weblate (Italian)
FiloSpaTeam Apr 7, 2020
b5df000
Merge branch 'origin/dev' into Weblate.
weblate Apr 8, 2020
ff9a1eb
checkstyle
kapodamy Apr 8, 2020
65cd975
Merge pull request #3288 from XiangRongLin/save-playback
TobiGr Apr 8, 2020
35a706f
Merge branch 'origin/dev' into Weblate.
weblate Apr 9, 2020
03de4b2
Suppress remaining Checkstyle errors
wb9688 Apr 9, 2020
a1b9892
Move exception utils to a separate class and add tests for it
mauriciocolli Mar 28, 2020
913796f
Use exception utils in network error detection throughout the app
mauriciocolli Mar 28, 2020
36b2bea
Merge pull request #3395 from kapodamy/checkstyle-warnings
wb9688 Apr 9, 2020
cc7a25d
handle ContentNotSupportedException in BaseStateFragment
B0pol Mar 30, 2020
c392804
handle ContentNotSupportedException in ExtractorHelper.handleGeneralE…
B0pol Apr 7, 2020
4c128d8
handle ContentNotSupportedException for Channel Fragment (when an use…
B0pol Apr 7, 2020
e51314b
Merge pull request #3300 from B0pol/content_not_supported
wb9688 Apr 10, 2020
2710d9d
Add support for INFINITE_ and MORE_THAN_100_ITEMS in playlists
Stypox Mar 17, 2020
625419a
Detect ITEM_COUNT_* in localizeStreamCount()
Stypox Mar 20, 2020
2b47a1b
Also use localizeStreamCount() in local items
Stypox Mar 20, 2020
914d3c4
Use "mini" stream count alternatives for info items
Stypox Mar 20, 2020
63e489f
Use ITEM_COUNT_UNKNOWN
Stypox Mar 20, 2020
41a1006
Add ability to translate YouTube Music search options
wb9688 Mar 17, 2020
2852815
Use suggested layout for search filters
wb9688 Mar 21, 2020
9bbd03c
Bump NewPipeExtractor version
wb9688 Apr 4, 2020
90f9819
Show error when video has age limit and setting is disabled
wb9688 Apr 10, 2020
506d1dc
Improve size handling of the drawer header title
mauriciocolli Apr 10, 2020
bd9b2d5
Merge pull request #3240 from wb9688/yt-music-search
wb9688 Apr 10, 2020
6b47df7
Merge pull request #3412 from mauriciocolli/improve-drawer-title-size…
TobiGr Apr 10, 2020
9487b53
changed popup resizing
harshlele Feb 11, 2020
fe18896
made formatting changes
harshlele Mar 8, 2020
46918ee
formatting changes
harshlele Mar 9, 2020
a50e430
Fix checkstyle issues and improve code formatting
Stypox Apr 10, 2020
feab633
Merge pull request #3075 from harshlele/better-popup-resizing
Stypox Apr 10, 2020
9cb6816
Merge pull request #3294 from mauriciocolli/fix-network-issues-detection
TobiGr Apr 10, 2020
c42f5ec
Merge remote-tracking branch 'newpipe/dev' into rebase
Alexander-- Apr 11, 2020
ac5571a
Merge remote-tracking branch 'newpipe/dev' into rebase
Alexander-- Apr 11, 2020
53b3bda
Comply with Checkstyle rules
Alexander-- Apr 11, 2020
d1d942f
Fix Checkstyle violations in MediaSourceManager
Alexander-- Apr 11, 2020
70ede70
Hide tabs when a video is age restricted
wb9688 Apr 11, 2020
b7ef60e
Merge pull request #3410 from wb9688/fix-restricted
wb9688 Apr 11, 2020
ef7a5bc
Make channel info button focusable
Alexander-- Apr 11, 2020
54ceb85
Don't break navigation if player Views other than controls are focused
Alexander-- Apr 11, 2020
d37b195
Fix F-Droid build
TobiGr Apr 11, 2020
850f51a
When drawer opens, always place focus at it's start
Alexander-- Apr 12, 2020
daed42d
Translated using Weblate (German)
franconian Apr 10, 2020
8355042
Translated using Weblate (Russian)
Apr 11, 2020
4341219
Translated using Weblate (Japanese)
mitosagi Apr 9, 2020
8319963
Translated using Weblate (Italian)
Apr 9, 2020
9fbdc95
Translated using Weblate (Basque)
Apr 11, 2020
a790f43
Translated using Weblate (Arabic)
Apr 10, 2020
bc423c4
Translated using Weblate (Ukrainian)
tolstovka Apr 11, 2020
39ec365
Translated using Weblate (Portuguese (Brazil))
Sam-Oak Apr 10, 2020
d4b2a3c
Translated using Weblate (Swedish)
Apr 11, 2020
79f37ff
Translated using Weblate (Swedish)
iah Apr 11, 2020
f38f265
Merge branch 'origin/dev' into Weblate.
weblate Apr 12, 2020
1967d60
Translated using Weblate (Russian)
Apr 12, 2020
8fd7583
Translated using Weblate (Russian)
Apr 12, 2020
ddaa66f
Translated using Weblate (Italian)
Apr 12, 2020
772d84e
Translated using Weblate (German)
Apr 13, 2020
b02badb
Translated using Weblate (German)
Apr 13, 2020
cf1488f
Translated using Weblate (German)
Apr 13, 2020
7a5a773
Translated using Weblate (German)
Apr 13, 2020
7a84cfd
Translated using Weblate (Russian)
Apr 14, 2020
f30a87e
Translated using Weblate (German)
weblate Apr 13, 2020
c2e2e76
Translated using Weblate (German)
franconian Apr 13, 2020
c7c01ae
Translated using Weblate (German)
Apr 13, 2020
72710f0
Translated using Weblate (German)
nautilusx Apr 13, 2020
fe1646c
Changed "Remove Watched":
GradyTheDev Apr 14, 2020
1d0c3de
Merge branch 'dev' of https://github.com/TeamNewPipe/NewPipe into dev
GradyTheDev Apr 14, 2020
d7d45fb
Merge pull request #3415 from TeamNewPipe/fix/f-droid_build
Stypox Apr 15, 2020
e2cbf40
Fix recaptcha activity for another type of recaptcha page
Stypox Apr 10, 2020
b8efef7
Remove duplicate check if cookies are already present
Stypox Apr 11, 2020
ee5ce0c
Save and restore cookies to/from preferences
Stypox Apr 11, 2020
db335d5
Removed redundant code
GradyTheDev Apr 16, 2020
ce7286a
Translated using Weblate (German)
franconian Apr 14, 2020
00211e1
Translated using Weblate (Spanish)
j9o1 Apr 12, 2020
973fc08
Translated using Weblate (French)
B0pol Apr 12, 2020
e79aed7
Translated using Weblate (Japanese)
AioiLight Apr 16, 2020
8a31732
Translated using Weblate (Italian)
Apr 13, 2020
b1ae2b1
Translated using Weblate (Chinese (Traditional, Hong Kong))
AaronFeng753 Apr 16, 2020
71455c6
Translated using Weblate (Czech)
auzkok Apr 12, 2020
bdf4ffc
Translated using Weblate (Arabic)
weblate Apr 14, 2020
5517e15
Translated using Weblate (Indonesian)
zmni Apr 15, 2020
dff1426
Translated using Weblate (Turkish)
Apr 12, 2020
a70e366
Translated using Weblate (Persian)
ahangarha Apr 14, 2020
5392daa
Translated using Weblate (Portuguese (Brazil))
Sam-Oak Apr 12, 2020
d4b3ee5
Translated using Weblate (Chinese (Simplified))
Apr 14, 2020
4641d7e
Translated using Weblate (Chinese (Traditional))
s8321414 Apr 13, 2020
c932a70
Translated using Weblate (Hebrew)
yarons Apr 12, 2020
d603511
Translated using Weblate (Swedish)
Apr 14, 2020
07b4aa8
Translated using Weblate (Kurdish)
ShexSMohammed Apr 14, 2020
bde34fc
Translated using Weblate (Norwegian Bokmål)
comradekingu Apr 12, 2020
715119f
Merge branch 'origin/dev' into Weblate.
weblate Apr 16, 2020
34aa3d3
Enqueue on long click on background/popup in channel
Stypox Apr 19, 2020
f066da2
Merge pull request #3456 from Stypox/enqueue-channel
TobiGr Apr 19, 2020
7a88fae
Force UTF-8 encoding for Gradle
wb9688 Apr 19, 2020
8e9b1b7
Merge pull request #3414 from Stypox/recaptcha
wb9688 Apr 19, 2020
cd53518
Merge pull request #3345 from mitosagi/error-with-bookmarks
TobiGr Apr 19, 2020
e6eddaf
Merge pull request #3460 from wb9688/force-utf-8
Stypox Apr 20, 2020
b22398a
use nanojson instead of org.json
B0pol Apr 20, 2020
aa1cc32
Open comment author on TV at long press
wb9688 Apr 20, 2020
6892fdb
Merge pull request #3463 from B0pol/json
wb9688 Apr 20, 2020
497e545
Translated using Weblate (Albanian)
AnXh3L0 Apr 18, 2020
a1dd034
Translated using Weblate (Portuguese)
Generator Apr 16, 2020
b673f9d
Translated using Weblate (Basque)
Apr 19, 2020
1d4695c
Translated using Weblate (Arabic)
Apr 19, 2020
1ea5787
Translated using Weblate (Polish)
Apr 18, 2020
47d1ab3
Translated using Weblate (Kurdish)
ShexSMohammed Apr 19, 2020
9a470b9
Merge branch 'origin/dev' into Weblate.
weblate Apr 20, 2020
0649b29
Run Checkstyle only on debug builds
wb9688 Apr 20, 2020
fc1fc68
Merge pull request #3464 from wb9688/checkstyle-debug-only
TobiGr Apr 20, 2020
776dddd
fixed naming and formatting issues
GradyTheDev Apr 21, 2020
7361100
Code cleanup, and best practices
GradyTheDev Apr 21, 2020
0ec22c7
Fix pause button is not focused on player control activation
Stypox Apr 20, 2020
a07f143
Translated using Weblate (Russian)
Apr 21, 2020
0f493ae
Translated using Weblate (Albanian)
AnXh3L0 Apr 21, 2020
346f9fb
Merge branch 'origin/dev' into Weblate.
weblate Apr 21, 2020
651cdec
Fix button ripples in VideoDetailFragment
TobiGr Apr 22, 2020
bc4a598
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr Apr 23, 2020
04ab753
Merge pull request Android TV support #2806
TobiGr Apr 23, 2020
5ba1df5
Add Achinese (ACE) to the language selector
TobiGr Apr 23, 2020
437b86d
Use centralized CompositeDisposable instead of custom Disposable
Stypox Apr 23, 2020
2db0d63
Merge pull request #3065 from GradyClark/dev
Stypox Apr 23, 2020
f773930
Translated using Weblate (Serbian)
Apr 23, 2020
28ab9d3
Merge branch 'origin/dev' into Weblate.
weblate Apr 24, 2020
3cebb02
Translated using Weblate (Hebrew)
yarons Apr 24, 2020
8d43ae9
Translated using Weblate (German)
nautilusx Apr 24, 2020
b27de5c
Translated using Weblate (Japanese)
AioiLight Apr 24, 2020
137afba
Translated using Weblate (Indonesian)
zmni Apr 24, 2020
30f1c71
Translated using Weblate (Indonesian)
weblate Apr 24, 2020
17685f3
Translated using Weblate (Portuguese (Brazil))
Apr 24, 2020
b0c0249
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr Apr 24, 2020
8fe75d2
Translated using Weblate (French)
weblate Apr 24, 2020
3755f48
Translated using Weblate (French)
Floflr Apr 24, 2020
d65552b
Translated using Weblate (Japanese)
mitosagi Apr 24, 2020
de6cabe
Merge branch 'origin/dev' into Weblate.
weblate Apr 25, 2020
00262b4
Better detection of TV devices
B0pol Apr 25, 2020
f62f00b
Fix crash on Android 4.4 and surely other sdk versions
B0pol Apr 25, 2020
77597b3
store isTv value to prevent calculating it again and again
B0pol Apr 25, 2020
4ea273b
Merge pull request #3483 from B0pol/tv
TobiGr Apr 26, 2020
19bfdf3
Translated using Weblate (Russian)
winqooq Apr 26, 2020
96d75f4
Translated using Weblate (Spanish)
j9o1 Apr 25, 2020
dc57480
Translated using Weblate (Russian)
Apr 26, 2020
eacb0b1
Translated using Weblate (Italian)
StarFang208 Apr 26, 2020
daeee6b
Translated using Weblate (Czech)
zeritti Apr 25, 2020
2d4d237
Translated using Weblate (Ukrainian)
winqooq Apr 26, 2020
d11c537
Translated using Weblate (Ukrainian)
flatcow Apr 26, 2020
1f7892d
Translated using Weblate (Ukrainian)
biroder Apr 26, 2020
8a2b9df
Translated using Weblate (Turkish)
emintufan Apr 26, 2020
2df6ab2
Translated using Weblate (Polish)
Apr 25, 2020
d553ee7
Translated using Weblate (Chinese (Traditional))
s8321414 Apr 25, 2020
bbd014d
Translated using Weblate (Croatian)
milotype Apr 26, 2020
46e1f16
Translated using Weblate (Kurdish)
ShexSMohammed Apr 25, 2020
d94b170
Translated using Weblate (Albanian)
AnXh3L0 Apr 25, 2020
ceff827
Merge branch 'origin/dev' into Weblate.
weblate Apr 26, 2020
d8d9c7e
Fix crashes on rotation by checking for `null`
Stypox Apr 26, 2020
f4f4f06
Merge pull request #3495 from Stypox/fix-rotation
TobiGr Apr 27, 2020
004e579
Added translation using Weblate (Malayalam)
theophinetheodore Apr 27, 2020
98662ba
Translated using Weblate (Arabic)
Apr 26, 2020
cd66836
Merge branch 'origin/dev' into Weblate.
weblate Apr 27, 2020
639c589
Translated using Weblate (Russian)
Apr 27, 2020
ca8beaf
Translated using Weblate (Russian)
Apr 27, 2020
a66d468
Translated using Weblate (Malayalam)
theophinetheodore Apr 27, 2020
1b44dc9
Translated using Weblate (Russian)
Apr 28, 2020
a5ca262
Translated using Weblate (Dutch)
Apr 29, 2020
fe73a70
Translated using Weblate (Dutch)
weblate Apr 29, 2020
faa1d7e
Translated using Weblate (Dutch)
Apr 29, 2020
6fbadbd
Translated using Weblate (Dutch)
weblate Apr 29, 2020
2cf558e
Translated using Weblate (Russian)
Apr 29, 2020
3988c64
Translated using Weblate (Dutch)
Apr 29, 2020
36921b3
Translated using Weblate (Swedish)
Apr 28, 2020
828f07b
Translated using Weblate (Swedish)
iah Apr 28, 2020
2f9a0b3
Translated using Weblate (Albanian)
AnXh3L0 Apr 29, 2020
e556c8e
Translated using Weblate (Malayalam)
theophinetheodore Apr 28, 2020
9e8af96
Translated using Weblate (German)
May 1, 2020
de8c401
Translated using Weblate (Spanish)
j9o1 May 1, 2020
2b281fb
Translated using Weblate (French)
B0pol May 1, 2020
b697e8a
Translated using Weblate (Italian)
pjammo May 2, 2020
68fd129
Translated using Weblate (Portuguese)
SantosSi May 1, 2020
83c7244
Translated using Weblate (Kurdish)
ShexSMohammed May 1, 2020
0517bba
Translated using Weblate (Malayalam)
NithinSS Apr 30, 2020
81c3e7e
Use our nanojson fork
wb9688 Apr 25, 2020
697b969
Translated using Weblate (Bengali (Bangladesh))
Oymate May 2, 2020
5b928d6
Translated using Weblate (Bengali (Bangladesh))
weblate May 2, 2020
cb5e753
Merge pull request #3480 from wb9688/update-nanojson
TobiGr May 2, 2020
3430874
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr May 2, 2020
f017024
Translated using Weblate (Bengali (Bangladesh))
Oymate May 2, 2020
f81af7a
Translated using Weblate (Bengali (Bangladesh))
weblate May 2, 2020
2b6290d
Translated using Weblate (Italian)
pjammo May 2, 2020
93e2145
Translated using Weblate (Bengali (Bangladesh))
Oymate May 2, 2020
ae3861a
Merge branch 'origin/dev' into Weblate.
weblate May 2, 2020
5b2f2f3
Translated using Weblate (Bengali (Bangladesh))
weblate May 2, 2020
620c139
Translated using Weblate (Bengali (Bangladesh))
Oymate May 2, 2020
ac096fb
Translated using Weblate (Bengali (Bangladesh))
weblate May 2, 2020
1070880
Translated using Weblate (Bengali (Bangladesh))
Oymate May 2, 2020
a01975d
Translated using Weblate (Bengali (Bangladesh))
weblate May 2, 2020
7291654
Translated using Weblate (Bengali (Bangladesh))
Oymate May 2, 2020
910bde8
Translated using Weblate (Bengali (Bangladesh))
weblate May 2, 2020
6d94a54
Update extractor to fix NPE in YouTube Muic search
TobiGr May 3, 2020
d221194
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr May 3, 2020
3752913
Add changelog
TobiGr Apr 24, 2020
243f3e2
Release 0.19.3 (930)
TobiGr Apr 24, 2020
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
  •  
  •  
  •  
38 changes: 17 additions & 21 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,57 +12,53 @@ add a comment to it. You'll see exactly what is sent, the system is 100% transpa
## Issue reporting/feature requests

* Search the [existing issues](https://github.com/TeamNewPipe/NewPipe/issues) first to make sure your issue/feature
hasn't been reported/requested before
* Check whether your issue/feature is already fixed/implemented
* Check if the issue still exists in the latest release/beta version
* If you are an Android/Java developer, you are always welcome to fix/implement an issue/a feature yourself. PRs welcome!
hasn't been reported/requested before.
* Check whether your issue/feature is already fixed/implemented.
* Check if the issue still exists in the latest release/beta version.
* If you are an Android/Java developer, you are always welcome to fix an issue or implement a feature yourself. PRs welcome!
* We use English for development. Issues in other languages will be closed and ignored.
* Please only add *one* issue at a time. Do not put multiple issues into one thread.
* When reporting a bug please give us a context, and a description how to reproduce it.
* Issues that only contain a generated bug report, but no description might be closed.
* Follow the template! Issues or feature requests not matching the template might be closed.

## Bug Fixing
* If you want to help NewPipe to become free of bugs (this is our utopic goal for NewPipe), you can send us an email to
tnp@newpipe.schabi.org to let me know that you intend to help. We'll send you further instructions. You may, on request,
register at our [Sentry](https://sentry.schabi.org) instance (see section "Crash reporting" for more information.
<a href="mailto:tnp@newpipe.schabi.org">tnp@newpipe.schabi.org</a> to let us know that you intend to help. We'll send you further instructions. You may, on request,
register at our [Sentry](https://sentry.schabi.org) instance (see section "Crash reporting" for more information).

## Translation

* NewPipe can be translated via [Weblate](https://hosted.weblate.org/projects/newpipe/strings/). You can log in there
* NewPipe is translated via [Weblate](https://hosted.weblate.org/projects/newpipe/strings/). You can log in there
with your GitHub account.
* If the language you want to translate is not on Weblate, you can add it: see [How to add a new language](https://github.com/TeamNewPipe/NewPipe/wiki/How-to-add-a-new-language-to-NewPipe) in the wiki.

## Code contribution

* Stick to NewPipe's style conventions (well, just look the other code and then do it the same way :))
* Do not bring non-free software (e.g., binary blobs) into the project. Also, make sure you do not introduce Google
* Stick to NewPipe's style conventions: follow [checkStyle](https://github.com/checkstyle/checkstyle). It will run each time you build the project.
* Do not bring non-free software (e.g. binary blobs) into the project. Also, make sure you do not introduce Google
libraries.
* Stick to [F-Droid contribution guidelines](https://f-droid.org/wiki/page/Inclusion_Policy)
* Make changes on a separate branch, not on the master branch. This is commonly known as *feature branch workflow*. You
may then send your changes as a pull request on GitHub. Patches to the email address mentioned in this document might
not be considered, GitHub is the primary platform. (This only affects you if you are a member of TeamNewPipe)
* Stick to [F-Droid contribution guidelines](https://f-droid.org/wiki/page/Inclusion_Policy).
* Make changes on a separate branch with a meaningful name, not on the master neither dev branch. This is commonly known as *feature branch workflow*. You
may then send your changes as a pull request (PR) on GitHub.
* When submitting changes, you confirm that your code is licensed under the terms of the
[GNU General Public License v3](https://www.gnu.org/licenses/gpl-3.0.html).
* Please test (compile and run) your code before you submit changes! Ideally, provide test feedback in the PR
description. Untested code will **not** be merged!
* Try to figure out yourself why builds on our CI fail.
* Make sure your PR is up-to-date with the rest of the code. Often, a simple click on "Update branch" will do the job,
but if not, you are asked to merge the master branch manually and resolve the problems on your own. That will make the
but if not, you are asked to rebase the dev branch manually and resolve the problems on your own. You can find help [on the wiki](https://github.com/TeamNewPipe/NewPipe/wiki/How-to-merge-a-PR). That will make the
maintainers' jobs way easier.
* Please show intention to maintain your features and code after you contributed it. Unmaintained code is a hassle for
the core developers, and just adds work. If you do not intend to maintain features you contributed, please think again
about submission, or clearly state that in the description of your PR.
* Respond yourselves if someone requests changes or otherwise raises issues about your PRs.
* Check if your contributions align with the [fdroid inclusion guidelines](https://f-droid.org/en/docs/Inclusion_Policy/).
* Check if your submission can be build with the current fdroid build server setup.
* Send PR that only cover one specific issue/solution/bug. Do not send PRs that are huge and consists of multiple
independent solutions.

## Communication

* WE DO NOW HAVE A MAILING LIST: [newpipe@list.schabi.org](https://list.schabi.org/cgi-bin/mailman/listinfo/newpipe).
* There is an IRC channel on Freenode which is regularly visited by the core team and other developers:
[#newpipe](irc:irc.freenode.net/newpipe). [Click here for Webchat](https://webchat.freenode.net/?channels=newpipe)!
* If you want to get in touch with the core team or one of our other contributors you can send an email to
tnp(at)schabi.org. Please do not send issue reports, they will be ignored and remain unanswered! Use the GitHub issue
<a href="mailto:tnp@newpipe.schabi.org">tnp@newpipe.schabi.org</a>. Please do not send issue reports, they will be ignored and remain unanswered! Use the GitHub issue
tracker described above!
* Feel free to post suggestions, changes, ideas etc. on GitHub, IRC or the mailing list!
* Feel free to post suggestions, changes, ideas etc. on GitHub or IRC!
34 changes: 18 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,40 @@ assignees: ''
---

<!--
Oh no, a bug! It happens. Thanks for reporting an issue with NewPipe.
Oh no, a bug! It happens. Thanks for reporting an issue with NewPipe. If this is your first bug report, read the following information before proceeding:

Use this template to notify us if you found a bug.

To make it easier for us to help you please enter detailed information below.

Please note, we only support the latest version of NewPipe and the master branch. Make sure you have that version installed. If you don't, upgrade & reproduce the problem before opening the issue. The release page (https://github.com/TeamNewPipe/NewPipe/releases/latest) is the go-to place to get this version. In order to check your app version, open the left drawer and click on "About".
Please note, we only support the latest version of NewPipe. In order to check your app version, open the left drawer and click on "About". If you don't have the latest version, upgrade to it and reproduce the problem before opening the issue. The release page (https://github.com/TeamNewPipe/NewPipe/releases/latest) is where you can get it.

P.S.: Our contribution guidelines might be a nice document to read before you fill out the report :) You can find it at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md

To make it easier for us to help you please enter detailed information in the template we have provided below. If a section isn't relevant, just delete it, though it would be helpful to still provide as much detail as possible.
-->
### Version
<!-- Which version are you using? -->
-

<!-- The comments between these brackets won't show up in the submitted issue (as you can see in the preview). -->

### Version
<!-- Which version are you using? Hopefully the latest! We just told you that above! -->
-

### Steps to reproduce the bug
<!-- If you can't reproduce it, please try to give as many details as possible on how you think you got to the bug. -->
Steps to reproduce the behavior:
<!--
1. Go to '...'
2. Press on '....'
3. Swipe down to '....'
-->

<!-- If you can't cause the bug to show up again reliably (and hence don't have a proper set of steps to give us), please still try to give as many details as possible on how you think you encountered the bug. -->

### Expected behavior
Tell us what you expected to happen.
<!-- Tell us what you expect to happen. -->

### Actual behaviour
Tell us what happens instead.
<!-- Tell us what happens instead. -->

### Screenshots/Screen records
If applicable, add screenshots or a screen recording to help explain your problem. GitHub should support uploading them directly in the issue field. If your file is too big, feel free to paste a link from an image/video hoster here instead.
### Screenshots/Screen recordings
<!-- If applicable, add screenshots or a screen recording to help explain your problem. GitHub supports uploading them directly in the issue text box. If your file is too big for Github to accept, feel free to paste a link from an image/video hoster here instead. -->

### Logs
If your bug includes a crash, please head over to the [incredible bugreport to markdown converter](https://teamnewpipe.github.io/CrashReportToMarkdown/). Copy the result. Paste it here:
<!-- If your bug includes a crash (where you're shown the Error Report page with a bunch of info), copy it to the clipboard (there is a share button for this), head over to our bug report to markdown converter at https://teamnewpipe.github.io/CrashReportToMarkdown/ and paste it. Copy the converted text (it is MUCH easier to read this way) from there and paste it here: -->

<!-- That's right, here! -->
33 changes: 22 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,33 @@ assignees: ''
---
<!-- Hey. Our contribution guidelines (https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md) might be an appropriate
document to read before you fill out the request :) -->
#### Is your feature request related to a problem? Please describe it
A clear and concise description of what the problem is.
Example: *I want to do X, but there is no way to do it.*

#### Describe the solution you'd like
A clear and concise description of what you want to happen.
<!-- The comments between these brackets won't show up in the submitted issue (as you can see in the preview). -->

#### Describe the feature you want
<!-- A clear and concise description of what you want to happen. PLEASE MAKE SURE it is one feature ONLY. You should open separate issues for separate feature requests, because those issues will be used to track their status.
Example: *I think it would be nice if you add feature Y which makes X possible.*

#### (Optional) Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Example: *I considered Z, but that didn't turn out to be a good idea because...*
Optionally, also describe alternatives you've considered.
Example: *Z is also a good alternative. Not as good as Y, but at least...* or *I considered Z, but that didn't turn out to be a good idea because...* -->

<!-- Write below this -->

#### Is your feature request related to a problem? Please describe it
<!-- A clear and concise description of what the problem is. Maybe the developers could brainstorm and come up with a better solution to your problem. If they exist, link to related Issues and/or PRs for developers to keep track easier.
Example: *I want to do X, but there is no way to do it.* -->

<!-- Write below this -->

#### Additional context
Add any other context or screenshots about the feature request here.
Example: *Here's a photo of my cat!*
<!-- Add any other context, like screenshots, about the feature request here.
Example: *Here's a photo of my cat!* -->

<!-- Write below this -->

#### How will you/everyone benefit from this feature?
Convince us! How does it change your NewPipe experience and/or your life?
<!-- Convince us! How does it change your NewPipe experience and/or your life?
The better this paragraph is, the more likely a developer will think about working on it.
Example: *This feature will help us colonize the galaxy! -->

<!-- Write below this -->
8 changes: 5 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<!-- Hey there. Thank you so much for improving NewPipe. Please take a moment to fill out the following suggestion on how to structure this PR description. Having roughly the same layout helps everyone considerably :)-->

#### What is it?
- [ ] Bug fix
- [ ] Feature
- [ ] Bug fix (user facing)
- [ ] Feature (user facing)
- [ ] Code base improvement (dev facing)
- [ ] Meta improvement to the project (dev facing)

#### Long description of the changes in your PR
#### Description of the changes in your PR
<!-- While bullet points are the norm in this section, feel free to write a text instead if you can't fit it in a list -->
- record videos
- create clones
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<p align="center"><a href="https://f-droid.org/packages/org.schabi.newpipe/"><img src="https://f-droid.org/wiki/images/0/06/F-Droid-button_get-it-on.png"></a></p>

<p align="center">
<a href="https://github.com/TeamNewPipe/NewPipe" alt="GitHub release"><img src="https://img.shields.io/github/release/TeamNewPipe/NewPipe.svg" ></a>
<a href="https://github.com/TeamNewPipe/NewPipe/releases" alt="GitHub release"><img src="https://img.shields.io/github/release/TeamNewPipe/NewPipe.svg" ></a>
<a href="https://www.gnu.org/licenses/gpl-3.0" alt="License: GPLv3"><img src="https://img.shields.io/badge/License-GPL%20v3-blue.svg"></a>
<a href="https://travis-ci.org/TeamNewPipe/NewPipe" alt="Build Status"><img src="https://travis-ci.org/TeamNewPipe/NewPipe.svg"></a>
<a href="https://hosted.weblate.org/engage/NewPipe/" alt="Translation Status"><img src="https://hosted.weblate.org/widgets/NewPipe/-/svg-badge.svg"></a>
<a href="https://hosted.weblate.org/engage/newpipe/" alt="Translation Status"><img src="https://hosted.weblate.org/widgets/newpipe/-/svg-badge.svg"></a>
<a href="http://webchat.freenode.net/?channels=%23newpipe" alt="IRC channel: #newpipe"><img src="https://img.shields.io/badge/IRC%20chat-%23newpipe-brightgreen.svg"></a>
<a href="https://www.bountysource.com/teams/newpipe" alt="Bountysource bounties"><img src="https://img.shields.io/bountysource/team/newpipe/activity.svg?colorB=cd201f"></a>
</p>
Expand Down
71 changes: 60 additions & 11 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'checkstyle'

android {
compileSdkVersion 28
Expand All @@ -12,8 +13,8 @@ android {
resValue "string", "app_name", "NewPipe"
minSdkVersion 19
targetSdkVersion 28
versionCode 920
versionName "0.19.2"
versionCode 930
versionName "0.19.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand All @@ -26,12 +27,6 @@ android {
}

buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}

debug {
multiDexEnabled true
debuggable true
Expand All @@ -49,6 +44,16 @@ android {
archivesBaseName = 'NewPipe_' + normalizedWorkingBranch
}
}

// Keep the release build type at the end of the list to override 'archivesBaseName' of
// debug build. This seems to be a Gradle bug, therefore
// TODO: update Gradle version
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
archivesBaseName = 'app'
}
}

lintOptions {
Expand Down Expand Up @@ -82,18 +87,62 @@ ext {
icepickLibVersion = '3.2.0'
stethoLibVersion = '1.5.0'
markwonVersion = '4.2.1'
checkstyleVersion = '8.31'
}

checkstyle {
configFile rootProject.file('checkstyle.xml')
ignoreFailures false
showViolations true
toolVersion = "${checkstyleVersion}"
}

task runCheckstyle(type: Checkstyle) {
source 'src'
include '**/*.java'
exclude '**/gen/**'
exclude '**/R.java'
exclude '**/BuildConfig.java'
exclude 'main/java/us/shandian/giga/**'

// empty classpath
classpath = files()

showViolations true

reports {
xml.enabled true
html.enabled true
}
}

tasks.withType(Checkstyle).each {
checkstyleTask -> checkstyleTask.doLast {
reports.all { report ->
def outputFile = report.destination
if (outputFile.exists() && outputFile.text.contains("severity=\"error\"")) {
throw new GradleException("There were checkstyle errors! For more info check $outputFile")
}
}
}
}

afterEvaluate {
preDebugBuild.dependsOn runCheckstyle
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

debugImplementation "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"

androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation "android.arch.persistence.room:testing:1.1.1"
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude module: 'support-annotations'
})

implementation 'com.github.TeamNewPipe:NewPipeExtractor:69e0624e3'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:fc3a69ed54b393e3e4e3a78ae6e89edc1d47c45a'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.0'

Expand All @@ -113,7 +162,7 @@ dependencies {
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'

// Originally in NewPipeExtractor
implementation 'com.grack:nanojson:1.1'
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
implementation 'org.jsoup:jsoup:1.9.2'

implementation 'ch.acra:acra:4.9.2' //4.11
Expand Down Expand Up @@ -165,4 +214,4 @@ static String getGitWorkingBranch() {
// git was not found
return ""
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ class AppDatabaseTest {
private const val DEFAULT_SECOND_URL = "https://www.youtube.com/watch?v=ncQU6iBn5Fc"
}

@get:Rule val testHelper = MigrationTestHelper(InstrumentationRegistry.getInstrumentation(),
AppDatabase::class.java.canonicalName, FrameworkSQLiteOpenHelperFactory());
@get:Rule
val testHelper = MigrationTestHelper(InstrumentationRegistry.getInstrumentation(),
AppDatabase::class.java.canonicalName, FrameworkSQLiteOpenHelperFactory())

@Test
fun migrateDatabaseFrom2to3() {
Expand Down Expand Up @@ -72,7 +73,7 @@ class AppDatabaseTest {
}

testHelper.runMigrationsAndValidate(AppDatabase.DATABASE_NAME, Migrations.DB_VER_3,
true, Migrations.MIGRATION_2_3);
true, Migrations.MIGRATION_2_3)

val migratedDatabaseV3 = getMigratedDatabase()
val listFromDB = migratedDatabaseV3.streamDAO().all.blockingFirst()
Expand Down
Loading