Stypox
c43bca6007
Add report/solve-recaptcha button in error panel
...
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.
Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Stypox
553b80164b
Move all error-related classes into error package
2021-03-07 17:49:28 +01:00
XiangRongLin
af119db1d7
Extract settings file deletion
2021-01-03 20:32:16 +01:00
XiangRongLin
122e80fae9
Remove subclasses from ContentSettingsManagerTest
...
ExportTest provides no value.
ImportTest creates temporary files even if not needed.
2021-01-03 20:32:16 +01:00
XiangRongLin
19cd3a17df
Move isValidZipFile to ZipHelper
2021-01-03 20:32:16 +01:00
XiangRongLin
cef791ba1b
Introduce NewPipeFileLocator class
...
It handles locating specific NewPipe files based on the home directory of the app.
2021-01-03 20:32:16 +01:00
XiangRongLin
f78a7fa630
Extract import database logic in ContentSettingsManager
2021-01-03 20:32:16 +01:00
Stypox
d46c7eb8fe
Merge pull request #5059 from XiangRongLin/content_settings_manager
...
Extract export database logic into own class
2020-12-15 10:34:32 +01:00
Isira Seneviratne
30613b7064
Use ContextCompat.getDataDir().
2020-12-15 08:02:25 +05:30
XiangRongLin
f7f00293cc
Extract export database logic into own class
...
- Separate it from the UI.
- Add happy path unit test.
2020-12-04 18:30:29 +01:00
Isira Seneviratne
95333d37c8
Use try-with-resources.
2020-11-21 13:47:13 +05:30
Isira Seneviratne
340b92e32b
Convert ErrorInfo to Kotlin and use the Parcelize annotation.
2020-11-21 12:47:35 +05:30
TacoTheDank
2669ba944d
Correct some other small lints
2020-11-19 18:54:27 -05:00
wb9688
2c23678fb9
Add button in settings to clear reCAPTCHA cookies
2020-10-14 14:39:08 +02:00
TacoTheDank
ba6c7de35a
Use AndroidX preference
2020-09-06 12:52:42 +02:00
wb9688
87228673b4
Use final where possible
2020-08-16 10:25:09 +02:00
Vincent Nagel
f60cce54ea
rename setting to "YouTube restricted mode"
2020-04-20 21:47:32 -05:00
Vincent Nagel
63087a4311
renamed to "restricted mode"
2020-04-20 21:46:40 -05:00
Vincent Nagel
e33cdca1ef
added logging when context null in onPrefTreeClick
2020-04-20 21:45:32 -05:00
Vincent Nagel
430d4e1ccd
ageRestrictedContent cookie only sent for youtube
...
Now the age restricted content cookie is only sent when sending a
request to youtube. There's no need to remove the cookie when the
service changes because whether to add the cookie is determined by
looking at the url the request is being sent to.
2020-04-20 21:45:32 -05:00
Vincent Nagel
de4d6037d3
ageRestrictedContent first draft
...
Cookie updated whenever ageRestrictedContent setting is changed or
service is changed. Right now there is only a cookie for youtube, but
cookies for other services could be added in the future.
Problems with this approach: Even when the service is set to youtube,
the downloader doesn't only request youtube urls e.g. it also sends
reqeusts to i.ytimg.com, suggestqueries.google.com, and yt3.ggpht.com.
The ageRestrictedContent cookie is not normally sent when sending
requests to these other urls, so doing so might have unknown effects.
2020-04-20 21:45:32 -05:00
wb9688
fda5405e48
Improve code style to be more consistent
2020-04-02 15:57:50 +02:00
yausername
3e1e07e468
refactor checkpointing
2020-03-07 20:09:05 +01:00
yausername
c6b062a698
checkpoint db before export
2020-03-07 20:09:05 +01:00
TobiGr
d36ac7a5de
Improve formatting
2020-02-01 15:35:33 +01:00
bopol
55a138e8da
fix toast on app language change
...
I forgot to change the key here when I renamed it
2020-02-01 15:30:51 +01:00
bopol
6be23a0a6f
fix wrong language shown many popup dialogs
...
Changed android.R.string.ok, which is "OK", into R.string.finish, which is also OK, but from our strings
Then for a small amount of languages that don't have Android translation, it will show the good string.
2020-02-01 09:44:49 +01:00
bopol
3ad0e313ca
changed the way to change language, now is «NewPipe's language» selector
2020-01-09 09:40:05 +01:00
Mauricio Colli
bc283bce4e
Make the KioskFragment aware of changes in the preferred content country
2019-11-20 00:23:35 -03:00
Mauricio Colli
71f1bbdcc1
Use new Localization and Downloader implementations from extractor
2019-11-17 23:58:52 -03:00
Robin
bf2a3ca043
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
Christian Schabesberger
fabb07bb28
fix import settings not working
2019-08-04 17:27:56 +02:00
Christian Schabesberger
efb8ea4c25
make local settings be live updated
2018-10-05 16:31:23 +02:00
BO41
802b26e870
error handling + imports + unboxing
2018-09-11 19:18:50 +02:00
BO41
0ab86937d2
data flow issue + declaration redundancy
...
make final
unused methods
make final
BUILD SUCCESSFUL in 0s
39 actionable tasks: 39 up-to-date
2018-09-11 19:18:41 +02:00
BO41
3ab06bf383
class structure
...
BUILD SUCCESSFUL in 17s
39 actionable tasks: 6 executed, 33 up-to-date
2018-09-11 19:18:14 +02:00
BO41
a588ec084b
correctness
...
use apply() on SharedPreferences
use dp instead of sp for text sizes
BUILD SUCCESSFUL in 22s
39 actionable tasks: 10 executed, 29 up-to-date
2018-09-11 19:18:02 +02:00
Somethingweirdhere
33f5ed5b14
Reduced Font size, fixed bugs that were created when moving the setting
2018-08-24 12:17:42 +02:00
Somethingweirdhere
890b3e13c9
Fixed 1. Put the tab settings into Aperence settings
2018-08-24 12:16:41 +02:00
Somethingweirdhere
cbf6540889
New selection menu
2018-08-24 12:16:41 +02:00
Somethingweirdhere
6675d3e2cd
Set up custom Main Page tabs
2018-08-24 12:14:53 +02:00
Somethingweirdhere
8ecbe4c8ad
Created a dialog for the main page content
2018-08-24 12:13:44 +02:00
John Zhen Mo
e7d23176b7
-Fixed database backup failing due to journal file name change after Room DB version update.
2018-06-28 12:04:30 -07:00
John Zhen Mo
27131d15dd
-Updated room db to 1.1.1.
...
-Fixed database import/export to no longer include accessory db files to ensure backward compatibility.
2018-06-26 12:26:01 -07:00
Somethingweirdhere
342b3191ac
Changed to lambda convention
2018-05-11 17:17:07 +02:00
Somethingweirdhere
dcdb2c323e
Added settings export
2018-04-19 01:31:25 +02:00
Somethingweirdhere
d9e616beee
Fixed crash when trying to open a downloaded file without a player
2018-04-17 22:26:24 +02:00
John Zhen Mo
0258726f0a
-Changed thumbnail toggle in disabled mode to load dark dummy image.
...
-Changed play queue items to display service names.
-Fixed Soundcloud playlist not fitting thumbnail.
-Refactored image display options to follow uniform behavior.
-Refactoring and style changes on audio reactor and media button receiver.
2018-03-19 16:44:17 -07:00
Mauricio Colli
83b084a90b
Implement subscriptions import/export
...
- Import subscriptions from YouTube and SoundCloud (all services that the extractor support)
- Import/export a JSON representation of the subscriptions
- [Minor] Remove some javax annotations in favor of the one provided by the android support library
2018-03-08 10:39:24 -03:00
Christian Schabesberger
cbfe91f36f
merge RouterActivity and RouterVideoActivity
...
change share title
fixed compatiblity issue
rename info_screen to show_info
2018-02-12 23:07:17 +01:00