Commit graph

7696 commits

Author SHA1 Message Date
bopol
bea39a14ea Support PeerTube short links 2021-11-03 14:49:17 +01:00
TiA4f8R
4efd60e80c Unrevert PR 6824
PR 7061 reverted by mistake PR 6824 (it was a rebase issue). This commit unreverts this change and uses custom TextViews correctly in the file changed by PR 6824.
2021-11-02 17:53:27 +01:00
litetex
da715ae555 Merge pull request #7304 from mhmdanas/add-y2ube-link-support
Add support for y2u.be links
2021-11-01 23:22:21 +01:00
litetex
f0a3bb1c15 Merge pull request #7296 from vhouriet/vhouriet_feature_issue6049
Add "Check for updates" button in update settings
2021-11-01 23:17:25 +01:00
litetex
67bcafd8bd Merge pull request #7061 from TiA4f8R/custom-textview-edittext
Use custom TextViews and EditTexts in all XML resources
2021-10-27 20:47:15 +02:00
litetex
4bf5c733bd Less indents and code -> better readable
Also removed a useless variable
2021-10-26 20:47:15 +02:00
litetex
d2422ef94d Make naming great again
When we build APKs in PRs it's also a GITHUB_APK...
2021-10-26 20:47:14 +02:00
litetex
0c42ec715b Removed dead code 2021-10-26 20:47:13 +02:00
litetex
18626566db Cleanup up some code 2021-10-26 20:47:13 +02:00
vhouriet
e6db2b70f8 Change check for updates button to trigger a version check 2021-10-26 20:47:12 +02:00
vhouriet
66d7c282ca Add Check for updates button 2021-10-26 20:47:11 +02:00
litetex
623dff5c2a Merge pull request #7261 from TacoTheDank/bumpRecyclerView
Update RecyclerView & Groupie libraries
2021-10-24 21:22:04 +02:00
mhmdanas
e84e19a271 Add support for y2u.be links 2021-10-23 23:14:25 +03:00
Tobi
0a15251ec4 Merge pull request #7268 from TeamNewPipe/release/0.21.13
Release 0.21.13
- Fix playback resume
- Ensure that the service for new version checks is not started in background
2021-10-21 20:51:01 +02:00
TobiGr
d7bf370bfc Start service for update checks in onPastCreate() 2021-10-20 23:55:18 +02:00
Stypox
a707961ef4 Revert part of #6872 and fix playback resuming 2021-10-20 23:20:26 +02:00
litetex
f77455c518 Merge pull request #7149 from TacoTheDank/updateFragWorkaround
Update pager workaround code to Fragment 1.3.6
2021-10-20 19:44:35 +02:00
TacoTheDank
79165d349c Update pager workaround to Fragment 1.3.6 2021-10-19 17:39:38 -04:00
TacoTheDank
8f7a36dc48 Update RecyclerView & Groupie 2021-10-19 17:31:59 -04:00
TobiGr
fecdab9897 Fix new version check still occassionally started in background 2021-10-17 12:55:06 +02:00
TobiGr
dd2725ca62 [Player] Fix resuming playback
This was caused by #6872
2021-10-17 12:13:38 +02:00
TacoTheDank
53cc6737bc Get rid of setUserVisibleHint 2021-10-16 15:33:45 -04:00
TiA4f8R
5e25566b67 Adress new requested changes 2021-10-16 15:32:56 +02:00
TiA4f8R
35401c0103 Adress requested changes and remove an unused return value in NewPipeTextViewHelper 2021-10-16 13:41:05 +02:00
TiA4f8R
648641341f Simplify code 2021-10-16 13:41:05 +02:00
TiA4f8R
4cd970fc97 Merge the Share process of the two classes into one
A new class has been added in the util package: NewPipeTextViewHelper.
It shares the selected text of a TextView with ShareUtils#shareText (with the created shareSelectedTextWithShareUtils static method).
Only this static method can be used by other classes, other methods are private.
2021-10-16 13:41:04 +02:00
TiA4f8R
1cfd513e25 Improve code of created views
Use the same logic as Android TextViews
2021-10-16 13:41:04 +02:00
TiA4f8R
098f781b05 Add JavaDocs on created views 2021-10-16 13:41:04 +02:00
TiA4f8R
ddc3916437 Use a custom EditText everywhere to be able to share with ShareUtils the selected text
This EditText class extends the AppCompatEditText class from androidx.

These changes (only in XML ressources) allow us to share the selected text by using ShareUtils.shareText, which opens the Android system chooser instead of the Huawei system chooser on EMUI devices.
2021-10-16 13:41:03 +02:00
TiA4f8R
a6bebe7b54 Use a custom TextView everywhere to be able to share with ShareUtils the selected text
This TextView class extends the AppCompatTextView class from androidx.

These changes (only in XML ressources) allow us to share the selected text by using ShareUtils.shareText, which opens the Android system chooser instead of the Huawei system chooser on EMUI devices.
2021-10-16 13:40:54 +02:00
litetex
660408e35b Merge pull request #7222 from ktprograms/queue-menu-channel-details
Added the 'Show Channel Details' menu item to the Queue long press menu
2021-10-15 20:28:18 +02:00
litetex
4989c06916 Fixed format of code 2021-10-15 20:18:52 +02:00
litetex
63b6e074a7 Improved documentation 2021-10-15 20:16:34 +02:00
ktprograms
d33d390250 Add reasoning for separate openChannelFragmentUsingIntent method 2021-10-14 09:51:25 +08:00
litetex
617cde9930 Merge pull request #7194 from KalleStruik/add-to-playlist-in-share
Add a "add to playlist" option in the share menu
2021-10-13 20:34:07 +02:00
TobiGr
2affa4a1c3 Merge branch 'master' into dev 2021-10-12 20:03:42 +02:00
litetex
446a9bb0ea Merge pull request #7224 from vhouriet/vhouriet_fix_check-background-player-type
Check if background player already active before displaying player toast
2021-10-12 19:47:50 +02:00
TobiGr
d17ece226a Move checking for new version to MainAcitvity
When the service is started from the Application class, the app might be still in the background. This is definetly not the case when MainActivity.onCreate() is called.

Fixes #7227
2021-10-12 16:45:01 +02:00
litetex
891867b38e Merge pull request #7215 from litetex/code-cleanup-drawer-main-activity
Deduplicated drawer code in MainActivity
2021-10-11 21:29:42 +02:00
litetex
1470d4d43e Merge pull request #7202 from vhouriet/vhouriet_bug_issue-6662
Fix clicking timestamp shows Toast "Playing in popup mode"
2021-10-11 21:20:26 +02:00
vhouriet
cbe10ab3ea Check player type before displaying background player toast 2021-10-11 19:41:22 +02:00
Tobi
549b46e874 Merge pull request #7220 from TeamNewPipe/code-improvements
Simplify code and add annotations
2021-10-11 16:36:13 +02:00
ktprograms
ea6e99eff9 Added the 'Show Channel Details' menu item to the Queue long press menu
Created a method in NavigationHelper that opens the channel fragment using an Intent to MainActivity instead of replacing fragments.
2021-10-11 14:47:37 +08:00
Hosted Weblate
238c5d16e3 Translated using Weblate (Indonesian)
Currently translated at 98.8% (614 of 621 strings)

Translated using Weblate (Persian)

Currently translated at 17.2% (10 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (621 of 621 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (621 of 621 strings)

Translated using Weblate (Ukrainian)

Currently translated at 79.3% (46 of 58 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (621 of 621 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (58 of 58 strings)

Translated using Weblate (Polish)

Currently translated at 53.4% (31 of 58 strings)

Translated using Weblate (Hebrew)

Currently translated at 48.2% (28 of 58 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (621 of 621 strings)

Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Igor Nedoboy <i.nedoboy@mail.ru>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: MS-PC <MSPCtranslator@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: chr56 <chr0056@gmail.com>
Co-authored-by: zmni <zmni@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/he/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
Translation: NewPipe/Metadata
2021-10-10 20:51:58 +02:00
TobiGr
3a7f39d684 Simplify code and add annotations 2021-10-10 20:33:05 +02:00
Kalle Struik
5ab0946c70 Fix cursor color in PlaylistCreationDialog 2021-10-10 12:32:57 +02:00
litetex
1134891eac Fixed typo 2021-10-09 18:56:10 +02:00
litetex
3c4e392ce1 Add to playlist - Showing toast that this may take a moment 2021-10-09 18:47:36 +02:00
litetex
2361d32f75 Cleaned up PlaylistDialog-related code 2021-10-09 18:46:20 +02:00
litetex
f9f59642f3 Deduplicated drawer code in MainActivity 2021-10-09 16:37:34 +02:00