litetex
bbab3a45cc
Fixed some sonar warnings
2022-01-24 21:08:45 +01:00
litetex
d7b316863a
Made debug settings searchable (debug only)
...
* Consolidated main-setttings into a single file
* Debug settings are only enabled in the DEBUG build
* Moved LeakCanary (debug) specific stuff into a small class that's only shipped with the debug build
* Other minor fixes
2022-01-24 21:08:45 +01:00
litetex
c62c8c077d
Code rework
2022-01-24 21:08:44 +01:00
litetex
19adb84d7d
Code cleanup + indexing improvements
...
* Removed unused method
* Only index all settings once -> Saves performance
* Fixed some SonarLint reported problems
2022-01-24 21:08:44 +01:00
litetex
5cd3fcb269
Added fuzzy searching + Some minor code refactoring
2022-01-24 21:08:43 +01:00
litetex
499e222822
Fine tuning
2022-01-24 21:08:42 +01:00
litetex
3a26dee3f3
Moved reset-reCAPTCHA-cookie to cache tab and made it read-only
...
so that the search works as expected
2022-01-24 21:08:42 +01:00
litetex
9af91a7f44
Applied code changes for preference search framework
2022-01-24 21:08:41 +01:00
litetex
ab9f6a816d
Added preference search "framework"
2022-01-24 21:08:40 +01:00
litetex
0fedfce411
Code cleanup
2022-01-24 21:08:39 +01:00
litetex
4bbc0e413d
Removed dead code
2022-01-24 21:08:38 +01:00
TobiGr
778f57b422
Small improvements to code quality and readability
...
Add annotations to methods and parameters.
Replace Jetbrains' @NotNull with Androidx' @NonNull annotatiation.
Make class variables static if possible.
Use constants for some Strings.
Simplify if conditions.
2021-12-21 20:55:41 +01:00
TobiGr
f484c67608
Introduce constants for some Strings that indicate no data in Tab class
2021-12-21 20:53:17 +01:00
litetex
3ecaf66e1a
Merge pull request #7452 from litetex/show-alert-when-file-manager-not-found
...
Show an alert-dialog when no appropriate file-manager was found
2021-12-14 20:01:02 +01:00
Stypox
5583f71a8e
Replace ErrorActivity with ErrorUtil
2021-12-04 10:36:36 +01:00
litetex
625ffba8b7
Refactoring + deduplicated code
2021-11-28 14:07:45 +01:00
litetex
273e0e7f06
Fixed typos
2021-11-27 23:39:17 +01:00
litetex
9285958b4f
Show an alert/dialog when no appropriate file-manager was found
2021-11-27 15:52:54 +01:00
litetex
9080d3d6dd
Removed `e.printStacktrace` and used an proper logger
2021-11-05 18:04:49 +01: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
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
TacoTheDank
8f7a36dc48
Update RecyclerView & Groupie
2021-10-19 17:31:59 -04:00
Tobi
c95ac17837
Merge pull request #6980 from bravenewpipe/check-for-update-after-toggle-and-restart
...
resets the expire date for checking for updates
2021-10-02 09:07:05 +02:00
Tobi
2c50cc29f2
Add a comment
2021-10-02 08:53:03 +02:00
Laksh
5d827623e2
Make requested changes
2021-09-27 01:45:33 +05:30
Laksh
4aa77b0145
Fix Settings import
2021-09-25 15:37:07 +05:30
evermind
666b6a8323
check immediately for updates if user enables 'check for updates setting'
...
- Convert CheckForNewAppVersion to IntentService
- reset expire date to 0 after user enables check for updates setting
2021-09-02 07:20:35 +02:00
Stypox
d87d418ce4
Always use our strings, not android ones
2021-08-30 16:37:01 +02:00
Stypox
14ebb41264
Rename string finish to ok, as its content was "OK"
2021-08-30 16:36:57 +02:00
Tobi
d9d1b73e80
Merge pull request #6820 from Stypox/picker-mime-type
...
Provide mime type to file picker to gray out unselectable files
2021-08-26 21:39:35 +02:00
Stypox
b75b6c0c3f
First run migrations, then setDefaultValues, since the latter requires the correct types
2021-08-24 18:16:17 +02:00
Stypox
acf56fce82
Allow choosing which types of search suggestions to show
...
local, remote, both, none
Replacing the old on-off setting
2021-08-24 18:16:16 +02:00
Stypox
8602beed0b
Replace UniversalImageLoader with Picasso
2021-08-24 10:56:25 +02:00
Stypox
6cf6a9faad
Provide mime type to file picker to gray out unselectable files
2021-08-01 13:52:32 +02:00
TacoTheDank
bf7d98f359
Consolidate edittext alert dialogs into one layout
2021-07-27 13:31:58 -04:00
Stypox
b8f7c7173d
Merge pull request #6536 from TacoTheDank/moar-onactivityresult
...
More onActivityResult deprecation fixes
2021-07-18 10:24:00 +02:00
Tobi
47e6dc7d42
Merge pull request #6531 from XiangRongLin/immediat_pref_commit
...
Remove option to immediately commit pref changes on import
2021-07-14 09:48:58 +02:00
Mohammed Anas
e055b84206
Don't enable SAF on Fire TV ( #6516 )
2021-06-20 19:01:06 +00:00
TacoTheDank
f48e1d1da9
Fix onActivityResult deprecation in DownloadSettingsFragment
2021-06-20 14:11:00 -04:00
XiangRongLin
ca07dff0e3
Remove variable ContentSettingsFragment.lastImportExportDataUri
...
Instead pass the value through the methods as parameter
2021-06-20 09:30:59 +02:00
XiangRongLin
b78d987bcb
Resolve sonar issues in ContentSettingsFragment
...
https://sonarcloud.io/organizations/teamnewpipe/rules?open=java%3AS2885&rule_key=java%3AS2885
https://sonarcloud.io/organizations/teamnewpipe/rules?open=java%3AS112&rule_key=java%3AS112
2021-06-20 09:30:59 +02:00
XiangRongLin
ff8139f3b3
Remove option to immediately commit pref changes on import
...
System is now not restarted with `System.exit(0)`.
Instead it is done properly by finishing the activity and restarting the activity. This allows preference changes which are queued up asynchronously through `apply` to be applied.
2021-06-20 09:17:55 +02:00
TacoTheDank
2b1d11dc60
Annotate some overridden methods and parameters as NonNull
2021-06-19 18:37:02 -04:00
Stypox
4a963858ba
Merge pull request #6394 from TacoTheDank/androidx-fragment-134
...
Update AndroidX Fragment to 1.3.4
2021-06-18 13:14:30 +02:00
danielmbutler
d58e7e0cb1
Replaced System.Exit calls with FinishAffinity and Start Activity calls
...
Implemented "RestartApp" method defined in NavigationHelper.java.
This method is used in ExitActivity.java and ContentSettingsFragment.java
2021-06-17 17:18:15 +01:00
TacoTheDank
f91b35a718
Fix onActivityResult deprecation in ContentSettingsFragment
2021-06-15 22:08:55 -04:00
TacoTheDank
c1e0b877f5
Fix some older deprecations from previous Fragment versions
2021-06-15 22:08:25 -04:00
Stypox
7d41b3415d
Merge pull request #6346 from Imericxu/tabs-style-check
...
Resolve Tabs style checks
2021-06-08 14:49:14 +02:00