Isira Seneviratne
e7a5f0bd85
Add trending and normal views localization strings.
2023-02-21 08:29:04 +05:30
Isira Seneviratne
17f76fde31
Use ChronoUnit in formatRelativeDate().
2023-02-21 07:05:59 +05:30
Isira Seneviratne
40abc051b2
Dismiss dialogs after the long-running operations complete.
2023-02-20 20:40:59 +05:30
Isira Seneviratne
9a36a832a6
Hide clone dialog before starting the clone.
2023-02-20 20:20:27 +05:30
Isira Seneviratne
38b3de6bed
Move use of lifecycleScope to BaseBottomSheet.
2023-02-20 20:06:15 +05:30
Isira Seneviratne
d1fd030ab0
Use viewModelScope extension.
2023-02-20 19:13:55 +05:30
Isira Seneviratne
3171c82dbc
Use lifecycleScope extension.
2023-02-20 19:13:55 +05:30
Bnyro
f2285be082
Merge pull request #3133 from Bnyro/master
...
Display the video category in the description
2023-02-20 10:25:04 +01:00
Bnyro
7942563fcd
Display the video category in the description
2023-02-20 10:24:42 +01:00
Praveen Rajput
3d8a782a7a
Fix crash on empty playlist shuffle and background playback ( #3131 )
...
* 🐛 Fixes crash on empty playlist shuffle and background playback
---------
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2023-02-20 10:18:54 +01:00
Bnyro
207e6cb6fc
Improved relative date time formatting
2023-02-20 10:16:58 +01:00
Bnyro
3b27ca3205
Round the displayed playback speed
2023-02-20 09:30:55 +01:00
Bnyro
5c204097a0
Cleanup the instance preference
2023-02-20 09:23:27 +01:00
Bnyro
091a855e4b
Merge pull request #3119 from Linus789/fix-rt-connection
...
Fix no connection with gnirehtet reverse tethering
2023-02-20 09:17:33 +01:00
Bnyro
44b671c12a
Merge pull request #3123 from Isira-Seneviratne/SearchHistoryDao_suspend
...
Convert SearchHistoryDao methods to suspend functions.
2023-02-20 07:55:17 +01:00
Isira Seneviratne
bce6648a0a
Use Patterns.EMAIL_ADDRESS regex.
2023-02-20 05:30:25 +05:30
Linus789
f9873fd634
Treat reverse tethering as not metered connection
2023-02-19 18:46:06 +01:00
Isira Seneviratne
7bb0c838ff
Convert SearchHistoryDao methods to suspend functions.
2023-02-19 20:00:49 +05:30
Linus789
09ad638827
Fix no connection with gnirehtet reverse tethering
2023-02-19 00:31:54 +01:00
Bnyro
c31f17ab11
Merge pull request #3113 from Bnyro/master
...
Better error messages when a video is unavailable
2023-02-18 10:32:18 +01:00
Bnyro
da04059359
Better error messages when a video is unavailable
2023-02-18 10:29:26 +01:00
Bnyro
ee1484fafa
Merge pull request #3112 from Bnyro/master
...
Better login/register error messages
2023-02-18 10:21:11 +01:00
Bnyro
c673b7464b
Better login/register error messages
2023-02-18 10:20:49 +01:00
Bnyro
933cff7ae6
Replace unneeded activity restarts
2023-02-18 10:14:05 +01:00
Bnyro
f20ab5b57a
Merge pull request #3111 from Bnyro/master
...
Fix crash when creating a playlist (closes #3102 )
2023-02-18 09:52:17 +01:00
Bnyro
97bd9da857
Fix crash when creating a playlist ( closes #3102 )
2023-02-18 09:52:05 +01:00
Isira Seneviratne
b7af649d98
Fix lint issues.
2023-02-17 08:12:01 +05:30
Isira Seneviratne
c4c6ff5543
Fix package.
2023-02-17 07:23:39 +05:30
Isira Seneviratne
10aa703aa5
Convert some extension functions to member functions.
2023-02-17 07:23:38 +05:30
Bnyro
1366578f5a
Option to manage Playback Speed of Audio and Video Mode Separately
2023-02-16 20:23:46 +01:00
Bnyro
b5848f43b0
Merge pull request #3095 from Bnyro/master
...
Remove the inbuilt updater
2023-02-16 20:04:38 +01:00
Bnyro
cf37f3bf74
Remove the inbuilt updater
2023-02-16 20:04:23 +01:00
Bnyro
6c35e0649a
Merge pull request #3094 from Bnyro/master
...
Restore the orientation before entering PiP
2023-02-16 19:59:16 +01:00
Bnyro
dc16223b9a
Restore the orientation before entering PiP
2023-02-16 19:59:01 +01:00
Bnyro
2ae5ebf637
Merge pull request #3082 from Isira-Seneviratne/DownloadDao_suspend
...
Convert DownloadDao methods to suspend functions.
2023-02-15 08:24:06 +01:00
Isira Seneviratne
c381437efd
Convert DownloadDao methods to suspend functions.
2023-02-15 12:14:45 +05:30
Isira Seneviratne
2b2c16f9f2
Use removeIf() instead of removeAll().
2023-02-15 05:06:41 +05:30
Faisal Khan
5eddd63ed3
Removes callbacks when player fragment is destroyed. ( #3073 )
...
* Made improvement to player double-tap further.
* Minor fixes.
* fix ktlint
* Filter out null comments returned from Piped API.
* Fixes: Labels under icons are not visible
* Minor player controls UI improvements
* Removes callbacks when player fragment is destroyed.
---------
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-02-14 15:35:07 +01:00
Faisal Khan
c199d35913
Fixes: Labels under icons are not visible ( #3066 )
...
* Made improvement to player double-tap further.
* Minor fixes.
* fix ktlint
* Filter out null comments returned from Piped API.
* Fixes: Labels under icons are not visible
* Minor player controls UI improvements
---------
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-02-14 11:35:24 +01:00
Isira Seneviratne
b99fb04cbd
Simplify getAvailableResolutions().
2023-02-14 06:55:46 +05:30
Faisal Khan
6053eae99b
Filter out null comments returned from Piped API. ( #3061 )
...
* Made improvement to player double-tap further.
* Minor fixes.
* fix ktlint
* Filter out null comments returned from Piped API.
2023-02-13 18:08:56 +01:00
Bnyro
582ab70bd1
Merge pull request #3053 from Isira-Seneviratne/Search_binding
...
Use view binding extensions in the search fragments.
2023-02-13 15:44:02 +01:00
Bnyro
16334d3bbe
Merge pull request #3037 from Isira-Seneviratne/Player_view_binding
...
Use view binding extensions in PlayerFragment.
2023-02-13 15:43:41 +01:00
Isira Seneviratne
5030453db4
Use view binding extensions in the search fragments.
2023-02-13 12:00:02 +05:30
Isira Seneviratne
0bea476772
Use view binding extensions in PlayerFragment.
2023-02-13 07:18:58 +05:30
Isira Seneviratne
4bdd5c1aa0
Use HttpUrl in ProxyHelper.
2023-02-13 06:17:06 +05:30
Bnyro
f0857633e9
Fix compatibility with previous backups
2023-02-12 17:42:51 +01:00
Bnyro
26a4eeea6f
Remember the download selections
2023-02-12 16:52:31 +01:00
Bnyro
22af1f9362
[Download dialog] Cleanup and sort by quality
2023-02-12 16:35:55 +01:00
Bnyro
59a1378531
Handle errors properly on home fragmemt
2023-02-12 16:01:51 +01:00
Bnyro
883f14fd56
Improve home page loading behavior
2023-02-12 15:48:38 +01:00
Bnyro
cd21f64be2
Improve the dynamic instance list fetching
2023-02-12 15:32:57 +01:00
Bnyro
cd54f2beb0
Merge pull request #3038 from Isira-Seneviratne/CustomInstanceDao_suspend
...
Convert CustomInstanceDao methods to suspend functions.
2023-02-12 15:07:57 +01:00
Bnyro
e4627fd156
Fix SponsorBlock segment loop at end of video
2023-02-12 13:27:35 +01:00
Isira Seneviratne
3ef8dc0092
Convert CustomInstanceDao methods to suspend functions.
2023-02-12 17:53:11 +05:30
Bnyro
9746d5a5fd
Refactor the SponsorBlock segment handling
2023-02-12 13:17:44 +01:00
Bnyro
7648f1822f
Option to disable watch positions in audio mode
2023-02-12 12:55:31 +01:00
Bnyro
80be666b48
Button to quit the audio mode
2023-02-12 12:39:56 +01:00
Bnyro
4e9273f7cb
Open audio player from three dot menu
2023-02-12 12:34:53 +01:00
Bnyro
df40c8e50d
Search history improvements
2023-02-12 12:27:57 +01:00
Isira Seneviratne
a0408840c4
Release view bindings in SearchResultFragment.
2023-02-12 16:40:44 +05:30
Isira Seneviratne
cec4f4da66
Release view bindings in SearchFragment.
2023-02-12 15:50:18 +05:30
Bnyro
32533ca11c
Merge pull request #3026 from Isira-Seneviratne/URL_validation
...
Simplify custom instance URL validation.
2023-02-12 09:09:42 +01:00
Isira Seneviratne
00eef4ed65
Simplify custom instance URL validation.
2023-02-12 06:56:47 +05:30
Isira Seneviratne
f155bf8751
Convert DatabaseHolder to an object.
2023-02-12 05:44:22 +05:30
Bnyro
a051d70f48
Fullscreen swipe gestures
2023-02-10 18:53:36 +01:00
Bnyro
61334db826
Option to mark videos as watched
2023-02-10 18:10:17 +01:00
Bnyro
2c64692381
Merge pull request #3011 from Isira-Seneviratne/AudioHelper
...
Simplify AudioHelper.
2023-02-10 16:47:25 +01:00
Bnyro
ce3edce7d1
Merge pull request #3012 from Isira-Seneviratne/WatchHistoryDao_suspend
...
Convert WatchHistoryDao methods to suspend functions.
2023-02-10 16:46:27 +01:00
Isira Seneviratne
cfce0d1f3d
Improve unsupported file type message.
2023-02-10 09:21:41 +05:30
Isira Seneviratne
fdc17d6dfd
Convert WatchHistoryDao methods to suspend functions.
2023-02-10 06:50:09 +05:30
Isira Seneviratne
9d469b1627
Simplify AudioHelper.
2023-02-10 04:52:31 +05:30
Bnyro
ccc27c255d
Fix the time stamp parsing in the PlayerFragment
2023-02-08 10:38:28 +01:00
Bnyro
5992b0c567
Fix history showing up when clearing search query
2023-02-08 10:10:46 +01:00
Bnyro
793ad8e731
Merge pull request #2993 from Isira-Seneviratne/LifecycleService
...
Use LifecycleService.
2023-02-08 10:00:58 +01:00
Bnyro
1e239faf03
Fix that thumbnails persist after deleting a download
2023-02-08 09:58:49 +01:00
Bnyro
8322fbd5c9
Add preference to choose video codecs
2023-02-08 09:41:59 +01:00
Isira Seneviratne
df565bb8da
Fix lint issues.
2023-02-08 07:41:51 +05:30
Isira Seneviratne
2321ed22f1
Restore coroutine context originally used in DownloadService.
2023-02-08 06:20:06 +05:30
Isira Seneviratne
5e6d171675
Convert DownloadService and BackgroundMode to lifecycle services.
2023-02-08 04:50:45 +05:30
Bnyro
0821ac66db
Prevent controls from disappearing while scrubbing
2023-02-07 19:42:08 +01:00
Bnyro
fb0054d15e
Fix the downloads empty indicator
2023-02-07 19:36:59 +01:00
Bnyro
b5e7aeb5cd
Convert delete download dialog to confirmation dialog
2023-02-07 19:31:43 +01:00
Faisal Khan
8017898c80
Further double tap gesture improvements ( #2988 )
2023-02-07 17:28:27 +01:00
Bnyro
6cd8792b9a
Merge branch 'master' into SparseBooleanArray
2023-02-06 15:33:01 +01:00
Bnyro
12d3991f01
Merge pull request #2979 from Isira-Seneviratne/CronetHelper_object
...
Convert CronetHelper to an object.
2023-02-06 15:30:16 +01:00
Isira Seneviratne
fd60959827
Use SparseBooleanArray in DownloadService.
2023-02-06 08:19:08 +05:30
Isira Seneviratne
8cd1094526
Use ServiceCompat.
2023-02-06 08:10:05 +05:30
Isira Seneviratne
73f488e3d2
Convert CronetHelper to an object.
2023-02-06 05:29:49 +05:30
Praveen Rajput
aa998d80a4
Merge remote-tracking branch 'origin/master'
2023-02-06 01:08:44 +05:30
Praveen Rajput
2f83327a3c
🐛 Fixes crash on playlist background playback
...
- Fixes #2965
2023-02-06 01:08:35 +05:30
Bnyro
3d78250daf
Merge pull request #2970 from Isira-Seneviratne/Backup_restore_improvements
...
Make backup and restore improvements.
2023-02-05 11:16:16 +01:00
Bnyro
da8b383153
Merge pull request #2968 from Isira-Seneviratne/ListAdapter_search
...
Convert SearchAdapter to a ListAdapter.
2023-02-05 11:13:18 +01:00
Bnyro
e7b6846845
Merge pull request #2969 from Isira-Seneviratne/Transaction_extensions
...
Use Fragment transaction extensions.
2023-02-05 11:07:28 +01:00
Bnyro
67a951f39e
Unauthenticated: Use GET when subs <= 100
2023-02-05 11:05:03 +01:00
Isira Seneviratne
a90d22f111
Use Fragment transaction extensions.
2023-02-05 09:02:59 +05:30
Isira Seneviratne
3d7ef76d52
Convert import helper methods to suspend functions.
2023-02-05 06:17:21 +05:30
Isira Seneviratne
a5d6d8d9df
Convert backup helper methods to suspend functions.
2023-02-05 06:17:21 +05:30
Isira Seneviratne
d2a6dd5c31
Initialize activity result listeners in the fragment constructor.
2023-02-05 06:17:21 +05:30
Isira Seneviratne
423c257dd7
Convert BackupHelper and ImportHelper to objects.
2023-02-05 06:17:21 +05:30
Isira Seneviratne
3b6ccdb91d
Convert SearchAdapter to a ListAdapter.
2023-02-05 06:01:12 +05:30
Bnyro
1f2be76559
Use an elevated surface color for the swipe to refresh
2023-02-04 11:21:44 +01:00
Bnyro
b3ffb226d4
Improve double tap on center of player
2023-02-04 11:18:20 +01:00
Bnyro
4bd2d473bf
Use POST requests for unauthenticated subscriptions
2023-02-04 11:16:55 +01:00
Isira Seneviratne
2973b204dd
Remove unnecessary TextViewCompat calls.
2023-02-04 05:31:51 +05:30
faisalcodes
42272b878b
Fixes: icons not showing in the player menu options.
2023-02-03 21:35:41 +05:30
Bnyro
1e379d5a91
Merge pull request #2951 from Isira-Seneviratne/Work_KTX
...
Use Work KTX functionality.
2023-02-03 13:24:13 +01:00
Isira Seneviratne
b2b444d3e5
Convert ClipboardHelper to an object.
...
Also improve some related code.
2023-02-03 14:47:09 +05:30
Isira Seneviratne
38e8cd1012
Use PeriodicWorkRequestBuilder.
2023-02-03 14:35:05 +05:30
Isira Seneviratne
5f1d41c790
Convert NotificationWorker to a CoroutineWorker.
2023-02-03 14:35:04 +05:30
Bnyro
fcbd12c32f
Merge remote-tracking branch 'faisal/master' into HEAD
2023-02-02 15:46:12 +01:00
Bnyro
142be9dc03
Minor cleanup to the DrawableTextView
2023-02-02 15:45:13 +01:00
faisalcodes
1a7ad4fd68
Minor clean
2023-02-02 20:05:44 +05:30
Faisal Khan
9a9b127e9f
Merge branch 'libre-tube:master' into master
2023-02-02 20:03:06 +05:30
Bnyro
81568e2135
Cleanup common methods in the about and help acitvities
2023-02-01 18:49:59 +01:00
Bnyro
766c7c82d9
Cleanup the AboutActivity.kt
2023-02-01 18:45:40 +01:00
Bnyro
59a56f8467
Cleanup the HelpActivity.kt
2023-02-01 18:42:35 +01:00
Bnyro
4732ff2477
Help & About: Use icon without background
2023-02-01 18:36:39 +01:00
Bnyro
2cd8e7f7d8
Remove social media name strings from translations
2023-02-01 18:22:29 +01:00
Bnyro
89f85fa8ff
[Help section] Add Mastodon, remove Twitter
2023-02-01 18:18:02 +01:00
Faisal Khan
5c593d7eb8
Merge branch 'libre-tube:master' into master
2023-02-01 22:45:22 +05:30
faisalcodes
89ac493496
Fix ktlint
2023-02-01 22:41:04 +05:30
Bnyro
8916bd8214
Merge master into Remove_String_all
2023-02-01 18:06:08 +01:00
Bnyro
0685e1c2d7
Merge remote-tracking branch 'upstream/master' into HEAD
2023-02-01 18:05:17 +01:00
faisalcodes
e584d7bed5
Follow-up to #2929 . Simplified layouts.
2023-02-01 22:32:28 +05:30
Bnyro
cc53e17403
Merge branch 'master' into master
2023-02-01 10:00:25 +01:00
Isira Seneviratne
27f338cf72
Remove uses of String.all().
2023-02-01 05:44:27 +05:30
faisalcodes
766e6ebc7f
Adds more RTL languages support.
2023-01-31 22:47:45 +05:30
Bnyro
1403c3bc1c
Play and pause the video on single touches
2023-01-31 18:08:37 +01:00
Bnyro
288067b044
[Audio Player] Volume controls
2023-01-31 17:57:24 +01:00
Bnyro
38859c43f6
[Audio player] Swipe listener
2023-01-31 17:34:40 +01:00
Bnyro
b734c69ea8
Move helpers from .util
to .ui.listeners
and .helpers
2023-01-31 16:43:39 +01:00
Bnyro
296ca42a19
Fix playlist importing issues
2023-01-31 16:35:00 +01:00
Bnyro
a096247c94
Import playlists asynchronously
2023-01-31 16:29:13 +01:00
Bnyro
f274dd205b
Fix the importing of playlists
2023-01-31 16:23:34 +01:00
Bnyro
9607edef22
Simplify the local playlist handling
2023-01-31 16:12:19 +01:00
Bnyro
7b23da5eca
Reload playlists after successfully cloning
2023-01-31 15:55:02 +01:00
Bnyro
2d4c616111
Merge pull request #2921 from faisalcodes/master
...
Fixes: Showing progress for unwatched videos.
2023-01-31 15:37:43 +01:00
Bnyro
c634cd9c9c
Simplify watch progress length extension
2023-01-31 15:37:10 +01:00
faisalcodes
25c0d3c0c8
Fix ktlint
2023-01-31 11:20:57 +05:30
faisalcodes
bd556baa76
Fixes #2815
2023-01-31 11:11:00 +05:30
Isira Seneviratne
a7a885f88d
Convert LocalPlaylistsDao methods to suspend functions.
2023-01-31 07:30:16 +05:30
Bnyro
432e301db5
Fix ktlint
2023-01-30 19:44:29 +01:00
Bnyro
cb88ae9eea
Merge pull request #2910 from faisalcodes/master
...
Added the original comment as the first item in replies.
2023-01-30 16:57:42 +01:00
Bnyro
c405ca08f0
Remove unused expression
2023-01-30 16:57:08 +01:00
Bnyro
ec25173503
Fix that multiple comments are hightlighted sometimes
2023-01-30 16:44:50 +01:00
Bnyro
758f559811
Minor UI improvements and code cleanup
2023-01-30 16:39:05 +01:00
Bnyro
8c6d20d64d
Merge pull request #2913 from Isira-Seneviratne/awaitAll
...
Use awaitAll() extension.
2023-01-30 16:20:41 +01:00
Isira Seneviratne
02d9aa5655
Use take() extension.
2023-01-30 20:44:26 +05:30
Isira Seneviratne
825fc7bda5
Use awaitAll() extension.
2023-01-30 20:14:20 +05:30