Kelson
51e2189cc9
Merge pull request #3471 from kiwix/Issue#3462
...
Fixed USB-OTG not working on android 11 and above devices
2023-08-31 19:08:15 +08:00
MohitMali
c1cbebd64f
Enhanced ZIM file support for Android 10 and above devices, including USB-OTG integration.
...
* Previously we can only open zim files from `USB-OTG` in android 10 and below devices, because `context.getExternalFilesDirs("")` does not provide the USB path in android 10 and above devices for security reasons. There is no direct way to access the USB-OTG on these devices, but USB-OTG are mounted under the `/mnt/media_rw` directory, so now we are directly using this to open zim files from USB drive for android 10 and above devices.
2023-08-29 21:23:15 +07:00
Kelson
6ec78d0ed9
Merge pull request #3477 from kiwix/Issue#2889
...
Added tmpfs filesystem to `support 4GB filesystem` list and improved the writing test file name
2023-08-29 21:22:19 +07:00
MohitMali
8fee2d119a
Enhanced FileSystem Check.
...
* Added `tmpfs` filesystem to `support 4GB filesystem list` since this type supports writing files over 4GB.
* Updated the name of the writing test result file to `kiwix_4gb_writing_test_result` to enhance readability.
2023-08-29 18:35:15 +05:30
Kelson
a8fdbc8114
Merge pull request #3422 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2023-08-28 10:57:34 +07:00
translatewiki.net
64a2bba45d
Localisation updates from https://translatewiki.net .
2023-08-24 13:10:10 +02:00
Kelson
3a788b939e
Merge pull request #3469 from kiwix/Issue#3468
...
Fixed Keyboard repeatedly disappearing and reappearing in search when any article is loading in the background
2023-08-19 18:28:27 +08:00
MohitMali
9e0541b54a
Fixed Keyboard repeatedly disappearing and reappearing in search when any article is loading in the background.
...
* When any article is loading then we invalidate the `OptionMenu` from `KiwixWebChromeClient` (It does not check whether the fragment is visible or not) which also invalidates the toolbar and the search bar is inside the toolbar that's the reason the keyboard showing and hiding repeatedly.
* Now we are invalidating the `OptionMenu` inside the `CoreReaderFragment` when it is visible to the user since this fragment loads the content in the webview. Hence, it is better to update the UI when it is visible to the user so it would not affect any other UI part.
2023-08-18 18:49:27 +05:30
Kelson
b628d7c46c
Merge pull request #3414 from kiwix/Issue#3406
...
Updated README.md file to explain ZIM File Picker Restriction and Storage Scanning in play store variant
2023-08-17 11:33:22 +08:00
Emmanuel Engelhart
c1c1cac1ee
Few rewrittings
2023-08-17 11:30:10 +08:00
MohitMaliFtechiz
416edddb9a
Updated README.md file to explain ZIM File Picker Restriction and Storage Scanning in play store variant
2023-08-17 11:21:16 +08:00
Kelson
3b8ba6364b
Merge pull request #3464 from kiwix/Issue#3463
...
Fixes of Storage configured dialog showing again in OnlineLibraryFragment if we configured it from settings's screen
2023-08-17 11:13:37 +08:00
MohitMali
b624f1cbb5
Hide storage selection dialog from OnlineLibraryFragment if user already configured the storage in settings
2023-08-17 11:13:27 +08:00
Kelson
908a238856
Merge pull request #3459 from kiwix/PauseResumeDownload
...
Reintroduced Download pause/resume
2023-08-17 11:11:04 +08:00
MohitMali
64c3c041f6
Added test case for testing the pause/resume functionality
2023-08-01 12:15:17 +05:30
MohitMali
5b3aa73d53
Enabled pause/resume functionality in downloading notification
2023-07-31 13:50:31 +05:30
MohitMali
0a2cff92b5
Introduced pause/resume functionality.
...
* Added pause/resume button beside the stop button to perform pause/resume action on the downloading zim file.
* Handling pause/resume via fetch library.
2023-07-31 13:50:23 +05:30
MohitMali
524c469d78
Refactored the code to fix the issue, if we canceled downloading from the notification
2023-07-31 13:50:09 +05:30
MohitMali
ba4031258e
Fixes of Zim file does not download / pending forever
2023-07-31 13:50:00 +05:30
Kelson
8469e18e23
Merge pull request #3439 from kiwix/Fixes#3370
...
Improved the permission asking scenario for custom apps
2023-07-26 07:44:55 +02:00
MohitMaliFtechiz
b1eb76e49b
Improved the permission asking scenario for custom apps
2023-07-26 07:44:21 +02:00
Kelson
06c9dbc9ca
Merge pull request #3451 from kiwix/Issue#3441
...
Fixes of Zim file does not download / pending forever
2023-07-26 07:43:43 +02:00
MohitMali
842a7ee737
Fixed downloading pending forever if we canceled it from notification
2023-07-19 14:08:11 +05:30
Kelson
8a105ae296
Merge pull request #3440 from kiwix/Issue#3409
...
Introducing deprecated code check in CI
2023-07-19 08:09:43 +02:00
MohitMali
9d49bbbf31
Removed unnecessary classes from the custom rule and suppressed the Compat21 file because we are handling the deprecated code within it. Therefore, we don't want Detekt to check this file for deprecations.
2023-07-19 08:09:31 +02:00
MohitMali
ae5b3a5074
Added RuleSetProvider file to define our custom rules
2023-07-19 08:09:31 +02:00
MohitMali
8e6c74abe8
Introduced custom rule for detekt to exclude the deprecated imports
2023-07-19 08:09:31 +02:00
MohitMali
af23cf56b7
Detecting deprecated code via detekt and fixed detekt detection for the issues in project, and refactored deprecated rules of detekt
2023-07-19 08:09:31 +02:00
Kelson
73fe388514
Merge pull request #3449 from kiwix/Issue#3448
...
Fixes of View Notes from all books Switch is always enabled
2023-07-19 07:00:45 +02:00
MohitMali
38d6335860
Fixes of View Notes from all books Switch is always enabled
2023-07-19 07:00:35 +02:00
Kelson
c49d8d8ac3
Merge pull request #3447 from kiwix/Issue#3446
...
Fixes of `UnsafeCallOnNullableType` and `UnnecessaryAbstractClass` issues found by detekt
2023-07-19 06:57:36 +02:00
MohitMali
6e195fc42f
Fixed the UnsafeCallOnNullableType
detekt issue in the project.
2023-07-18 22:42:54 +02:00
MohitMali
7493b842b7
Fixed UnnecessaryAbstractClass issue of detekt
2023-07-18 22:42:54 +02:00
Kelson
1806495674
Merge pull request #3450 from kiwix/Issue#3395
...
Fixes of Refactor the Toolbar functionality
2023-07-18 22:41:38 +02:00
MohitMali
eeaceabf0a
Fixed test failure
2023-07-18 22:41:12 +02:00
MohitMali
f8594b0183
Moved the common toolbar functionality to the BaseFragment
2023-07-18 22:41:12 +02:00
Kelson
79e43d8735
Merge pull request #3444 from kiwix/Issue#3443
...
Fixes of Some deprecation warnings are showing in the logs but they are already fixed
2023-07-18 22:40:45 +02:00
MohitMali
7445da9bfc
Replaced deprecated onOptionsItemSelected
and onCreateOptionsMenu
methods with new MenuProvider API.
2023-07-05 18:06:39 +05:30
MohitMali
f2d130c547
Fixes of Some deprecation warnings are showing in the logs but they are already fixed
2023-07-03 18:44:33 +05:30
Kelson
0891512be7
Merge pull request #3433 from kiwix/Issue#3431
...
Fixes of KiwixWifiP2pBroadcastReceiver using some deprecated methods
2023-06-30 17:00:05 +02:00
MohitMaliFtechiz
ded00766ba
Fixes of KiwixWifiP2pBroadcastReceiver using some deprecated methods
2023-06-30 16:59:42 +02:00
Kelson
99f6fdf474
Merge pull request #3420 from kiwix/Issue#3419
...
Fixes of PreferenceManager.getDefaultSharedPreferences() is deprecated
2023-06-30 16:59:06 +02:00
MohitMaliFtechiz
7d3756af4e
Fixes of PreferenceManager.getDefaultSharedPreferences() is deprecated
2023-06-30 16:58:52 +02:00
Kelson
1fd71b51c9
Merge pull request #3436 from kiwix/Issue#3430
...
Fixed `Toast.getView()` and `Html.fromHtml()` is deprecated
2023-06-28 18:29:26 +02:00
MohitMaliFtechiz
36803af9e2
Fixed Toast.getView() and Html.fromHtml() is deprecated
...
* We already handled the deprecation of `fromHtml`, we have a string's extension function to handle the this so we are now using that function.
* Since `Toast.getView()` is no longer supported after Android 11 (it always returns null on Android 11 and above devices), we no longer need to show the toast on the ZIM file that is clicked by the user for UI enhancement. Therefore, we have removed this function and are now using the context class extension function to display the toast message.
2023-06-28 18:29:02 +02:00
Kelson
4723d869d2
Merge pull request #3437 from kiwix/Issue#3429
...
Fixed Auth.kt file using some deprecated method
2023-06-28 18:27:58 +02:00
MohitMaliFtechiz
aa86a88acb
Fixed Auth.kt file using some deprecated method
2023-06-28 18:27:50 +02:00
Kelson
8c20953b5d
Merge pull request #3432 from kiwix/Issue#3428
...
Fixes of Fragment's onActivityCreated is deprecated
2023-06-27 17:24:26 +02:00
MohitMaliFtechiz
8791a824b6
Fixes of Fragment's onActivityCreated is deprecated
2023-06-27 17:23:57 +02:00
Kelson
a32eac811d
Merge pull request #3411 from kiwix/Issue#3351
...
Fixed some `lintOptions` are deprecated
2023-06-27 17:23:08 +02:00