Kelson
1d47314102
Merge pull request #4075 from kiwix/Fixes#4067
...
Fixed: Many problems at first side loading of a ZiM file
2024-11-14 13:42:41 +01:00
MohitMaliFtechiz
0b1b716c43
Refactored and added new unit test cases.
2024-11-14 17:09:59 +05:30
MohitMaliFtechiz
7f94f48a06
Improved the copy/move operation when file system is detecting and the file is less then four GB
2024-11-14 16:01:51 +05:30
MohitMaliFtechiz
d2fad83dcc
Fixed the DeepLinkTest which was failing
2024-11-14 14:27:56 +05:30
MohitMaliFtechiz
daf2596fd8
Improved the copy/move after choosing the storage
2024-11-14 14:20:12 +05:30
MohitMaliFtechiz
b4e2a68944
Added the explanation in Help screen about this functionality. Also, added the test cases for testing help screen
2024-11-14 12:52:14 +05:30
MohitMaliFtechiz
bfb7ad2fd5
Fixed CopyMoveFileHandlerTest UI test
2024-11-14 11:48:38 +05:30
MohitMaliFtechiz
828f736eb5
Fixed OpeningFilesFromStorageTest
2024-11-14 11:48:30 +05:30
MohitMaliFtechiz
bd45f0e942
Showing storage selection dialog at first time when copying/moving ZIM file
2024-11-14 11:48:23 +05:30
Kelson
9c6267d05f
Merge pull request #4074 from kiwix/Fixes#4065
...
Fixed: Unclean opening local ZIM file in library
2024-11-13 16:06:22 +01:00
MohitMaliFtechiz
1732aa89d1
Fixed: Unclean opening local ZIM file in library
2024-11-13 16:29:18 +05:30
Kelson
07ea815819
Merge pull request #4072 from kiwix/Fix#3736
...
Improved donation popup schedule
2024-11-12 14:35:30 +01:00
MohitMaliFtechiz
9b29b07dcb
Imporved the showing of donation popup
2024-11-12 14:34:42 +01:00
Kelson
44ad90e3a3
Merge pull request #4070 from kiwix/Fixes#4066
...
Corrected all the messages related to ZIM, and improved the message of copy/move ZIM file dialog
2024-11-12 14:33:57 +01:00
MohitMaliFtechiz
903c1e142e
Corrected all the messages related to ZIM, and improved the message of copy/move ZIM file dialog
2024-11-12 18:59:00 +05:30
Kelson
d68aec9922
Merge pull request #4069 from kiwix/Fixes#4064
...
Improved the message to copy/move ZIM
2024-11-12 14:23:18 +01:00
MohitMaliFtechiz
309d0906eb
Improved the message to copy/move ZIM
2024-11-12 12:40:37 +05:30
Kelson
f17cef2972
Merge pull request #4062 from kiwix/Fixes#4059
...
Fixed: SearchWidget is not properly working.
2024-11-11 22:22:46 +01:00
MohitMaliFtechiz
a0d6e1d3c9
Improved the SearchWidgetTest
2024-11-08 18:32:41 +05:30
MohitMaliFtechiz
829cbd7260
Added logs in InitialDownloadTest, DownloadTest which will show in CI which helps us to debug the actual problem
2024-11-08 17:04:31 +05:30
MohitMaliFtechiz
9610e53a51
Added instrumentation test cases for testing the SearchWidget functionality
2024-11-08 16:52:51 +05:30
MohitMaliFtechiz
3c378b5d7a
Improved the DownloadTest which sometimes failing on API level 25
2024-11-08 16:45:43 +05:30
MohitMaliFtechiz
f3d115cde1
Fixed MimeTypeTest, EncodedUrlTest, and ZimFileReaderWithSplittedZimFileTest which sometimes failing on CI
2024-11-08 16:42:31 +05:30
MohitMaliFtechiz
f9bf7b2d00
Fixed: The voice search was not working properly
2024-11-08 16:37:22 +05:30
MohitMaliFtechiz
5eed4748c2
Fixed: SearchWidget is not properly working.
2024-11-08 16:32:55 +05:30
Kelson
38e4b87e14
Merge pull request #4051 from kiwix/Fixes#4047
...
Fixed: Still displaying old storage configurator (at first download).
2024-11-08 09:57:45 +01:00
MohitMaliFtechiz
ac3b63560f
Fixed code formatting issue
2024-11-08 09:57:32 +01:00
MohitMaliFtechiz
13c5cb5278
Improved the showing of storage list in dialog
2024-11-08 09:57:32 +01:00
MohitMaliFtechiz
ff87fddece
Displaying the storage selection dialog for configuration if an SD card is available at first download. If only internal storage is available, proceed directly with the ZIM file download, as showing the configuration dialog is unnecessary in this case.
2024-11-08 09:57:32 +01:00
MohitMaliFtechiz
47c0abc482
Fixed: Still displaying old storage configurator (at first download).
2024-11-08 09:57:32 +01:00
Kelson
13951d3581
Merge pull request #4058 from kiwix/Fixes#4048
...
Fixed: Kiwix opens in the Samsung file navigator.
2024-11-07 07:39:48 +01:00
MohitMaliFtechiz
071dc96c9a
Fixed: Kiwix now opens in the Samsung file navigator.
2024-11-07 07:39:16 +01:00
Kelson
4c773e27a5
Merge pull request #4060 from kiwix/Fixes#4055
...
Removed the `usesCleartextTraffic` from our manifest
2024-11-07 07:38:04 +01:00
MohitMaliFtechiz
d572af4fcd
Removed the usesCleartextTraffic from our manifest
2024-11-07 10:44:43 +05:30
Kelson
15760953d9
Merge pull request #4021 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-10-31 13:51:55 +01:00
translatewiki.net
44fe71119b
Localisation updates from https://translatewiki.net .
2024-10-31 13:51:32 +01:00
Kelson
a826ca1672
Merge pull request #4046 from kiwix/handle_copy_move_for_invalid_zim
...
Implemented error handling for cases when the selected file is not a ZIM file.
2024-10-31 13:51:13 +01:00
MohitMaliFtechiz
8f7ca9f6c7
Improved some code.
2024-10-31 11:59:15 +01:00
MohitMaliFtechiz
9f6184bbd0
Added UI test cases for testing this functionality.
...
* Improved the unit test cases for this functionality.
2024-10-31 11:59:15 +01:00
MohitMaliFtechiz
a45f94add7
Implemented error handling for cases when the selected file is not a ZIM file.
...
* We retrieve the file name from the incoming Uri using `DocumentFile` (the official way to handle Uris) and check if it contains `.zim` or `.zimma` before proceeding with the copy/move operation. If the file name is null, we copy/move the file first and then validate it as a ZIM file using `libkiwix`. If valid, the file opens in our reader; otherwise, we revert the copy/move operation.
* Added test cases for this new functionality.
2024-10-31 11:59:15 +01:00
Kelson
ab3d8ffd75
Merge pull request #4022 from kiwix/Fixes#4002
...
Fixed: Not able to open a ZIM file from Samsung's file explorer.
2024-10-31 11:31:12 +01:00
MohitMaliFtechiz
0eb618c41f
Fixed: Not able to open a ZIM file from Samsung's file explorer.
...
* Created a custom intent filter for Samsung's "My Files" app to handle all MIME types, allowing ZIM files to be opened directly from this file manager.
2024-10-31 14:38:02 +05:30
Kelson
7400c26c8f
Merge pull request #4015 from kiwix/Fixes#4008
...
Fixed: In Samsung tablet of Android 14, downloaded files can not be opened via file picker or deep linking in non-PS variant.
2024-10-30 07:25:53 +01:00
MohitMaliFtechiz
946b5cc260
Improved the getFilePathWithFolderFromUri
, and getFullFilePathFromFilePath
methods to properly resolve the other folders uri.
2024-10-30 07:25:37 +01:00
MohitMaliFtechiz
96e9b8913f
Improved the getFullFilePathFromFilePath
method to not return the filePath for null fileNames.
2024-10-30 07:25:37 +01:00
MohitMaliFtechiz
b4bb0f98c8
Fixed the issue where files would not open on Huawei phones when directly accessed from the file manager.
...
* Improved the method for resolving content type URIs to properly return the file path of the selected URI.
* Refined the code and methods for improved clarity in their operations.
2024-10-30 07:25:37 +01:00
MohitMaliFtechiz
777c0fff4b
Fixed: In Samsung tablet of Android 14, downloaded files can not be opened via file picker or deep linking.
...
* When we open a file from different browsers, they provide a URI through their own file provider, and the content resolver cannot retrieve the file path for these types of URIs. To fix this issue, we have introduced a fallback method that returns the exact path of the file located in the Downloads folder.
* Another issue we encountered on tablets is that the URIs are different from those on regular mobile devices, and our `documentProviderContentQuery` method could not return the path for these types of URIs from the Downloads folder. To fix this issue, we used our fallback method to retrieve the file path for these URIs.
2024-10-30 07:25:37 +01:00
Kelson
eaa28d66df
Merge pull request #4042 from kiwix/Fixes#4005
...
Fixed: "Send diagnostic report" function should open the user's email client.
2024-10-24 13:26:52 +02:00
MohitMaliFtechiz
61dd97ce9a
Attaching the device logs in the email body instead of as a file.
...
* We cannot attach a file to the email when using the `ACTION_SENDTO` action in the intent. However, we must use this intent action because it is the only one handled exclusively by email apps. This ensures that only email apps appear in the suggestions.
2024-10-22 10:57:24 +05:30
MohitMaliFtechiz
e12387e256
Fixed: "Send diagnostic report" function should open the user's email client.
...
* Previously, other apps were appearing in the suggestions when sending the diagnostic report. We have improved our intent so that it now directly opens the user's email client to send the diagnostic report to us.
2024-10-22 10:52:32 +05:30