8300 Commits

Author SHA1 Message Date
MohitMaliFtechiz
ffcfa9f837 Removed the URL type deep link since we are mainly using deep links for opening zim files in the application, and URLs type deep links are for downloading the content not for opening the ZIM files so we are removing these deep links from our application. 2024-05-09 21:09:58 +05:30
Kelson
4a1ac3a9b7
Merge pull request #3833 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-05-09 15:33:50 +02:00
translatewiki.net
7bd39f0dfd Localisation updates from https://translatewiki.net. 2024-05-09 14:07:20 +02:00
Kelson
7ff9b25064
Merge pull request #3828 from kiwix/update_version_to_3.10.1
Updated kiwix version to `3.10.1`.
2024-05-08 16:59:24 +02:00
MohitMaliFtechiz
94dcebe25a Updated kiwix version to 3.10.1. 2024-05-08 16:59:08 +02:00
Kelson
642b86ee5e
Merge pull request #3829 from kiwix/update_changelog_file
Updated the CHANGELOG file for `3.10.1`.
2024-05-08 16:58:45 +02:00
MohitMaliFtechiz
9cca135b30 Updated the CHANGELOG file for 3.10.1. 2024-05-08 19:15:01 +05:30
Kelson
36d8ae9808
Merge pull request #3803 from kiwix/Issue#3605
Error on opening a split zim file on external storage.
2024-05-08 14:08:13 +02:00
MohitMaliFtechiz
ecf74ed803 Corrected the comment for handling the exception. 2024-05-08 14:07:47 +02:00
MohitMaliFtechiz
96debf9e53 Added test case for testing splitted zim file with zero size file. 2024-05-08 14:07:47 +02:00
MohitMaliFtechiz
c0912dee89 Simplified the creation of splitted zim file. 2024-05-08 14:07:47 +02:00
MohitMaliFtechiz
326b3901c4 Added comments if libzim throw exception for articleCount and mediaCount this will necessary to catch the all exception thrown by libzim to prevent the aborting of the rendering process of other zim files. 2024-05-08 14:07:47 +02:00
MohitMaliFtechiz
9cb881bf06 Capturing the better exception when getting the mediaCount and articleCount because it was throwing java.lang.Exception with splitted zim file when the zim file is corrupted. If there is any zim file is corrupted and libzim throws this exception then our UI will not show the other zim file on LocalLibraryScreen due to the getting zim files process being crashed. 2024-05-08 14:07:47 +02:00
MohitMaliFtechiz
b8971e1b64 Error on opening a split zim file on external storage.
* Added test cases for testing that the ZimFileReader can open the splitted zim file or not.
2024-05-08 14:07:47 +02:00
Kelson
07956ebfd2
Merge pull request #3826 from kiwix/Fix#3825
Fixed: The Delete icon is showing wrong content description on the notes and history screen.
2024-05-08 14:01:48 +02:00
MohitMaliFtechiz
4a5033fb7c Fixed: The Delete icon is showing wrong content description on the notes and history screen.
* Added correct description to delete button on HistoryFragment, and NotesFragment.
* Refactored the test case according to this new change.
* Sometimes actionOnItemAtPosition method gives an internal error, and does not perform the desired operation and fails the NoteFragmentTest. So we have moved it inside the testFlakyView method so that if there is any internal error occurs it retries this action.
2024-05-08 14:57:35 +05:30
Kelson
c663059d41
Merge pull request #3823 from kiwix/Fix#3813
Fixed: `Low contrast` issues reported by the playstore.
2024-05-07 15:24:40 +02:00
MohitMaliFtechiz
119fca00d3 Fixed, selecting language was not working because the clickable area became short due to our change because we have changed the height to wrap_content. 2024-05-07 18:03:13 +05:30
MohitMaliFtechiz
cf8093d259 Fixed: Low contrast issues reported by the playstore.
* Changed the background color of `ErrorActivity` and checkbox to resolve the issue.
* Added the background color in `IntroFragment` for resolving the issue, it is exact same design as previous.
* Changed the tint color of `ic_feedback_orange_24dp` image to resolve the low contrast issue.
* Changed the height of item_language item to wrap content instead of a fix height which prevent the expansion of layout if there is more content.
2024-05-07 16:11:29 +05:30
Kelson
4b575cf8b5
Merge pull request #3822 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-05-07 09:37:35 +02:00
translatewiki.net
a09cc2dec4 Localisation updates from https://translatewiki.net. 2024-05-07 12:11:20 +05:30
Kelson
c29abd1b67
Merge pull request #3817 from kiwix/Fix#3809
Fixed: issue with front page of Zim on a USB stick loading.
2024-05-06 20:19:13 +02:00
MohitMaliFtechiz
4b8dd0ec3b Fixed: issue with front page of Zim on a USB stick loading.
* Rectified the `ServiceWorkerUninitialiser` code to appropriately uninitialize the service worker. Previously, when the uninitializing code ran from the JavaScript interface, we directly called the function, which sometimes functioned correctly but sometimes did not. To address this inconsistency, we are now invoking that function to ensure the main page loads after the service worker is uninitialized.
* Rectified the syntax error in the `ServiceWorkerUninitialiser` JavaScript code, which was causing an issue on API level 24. Consequently, the main page failed to load on this API level. We've refactored our code to ensure compatibility across all API levels.
* Now that our service is functioning correctly, there's no need to explicitly load the main page. Upon service worker uninitialization, the main page automatically loads.
2024-05-06 20:12:53 +05:30
Kelson
c06194dfdc
Merge pull request #3821 from kiwix/java-libkiwix-2.1.1
Use java-libkiwix 2.1.1
2024-05-03 23:12:57 +02:00
Emmanuel Engelhart
11e5bb3ed4
Use java-libkiwix 2.1.1 2024-05-03 22:38:34 +02:00
Kelson
8c312685f3
Merge pull request #3818 from kiwix/Fix#3811
Fixed: `Touch target size` issue reported by the playstore.
2024-05-03 18:40:09 +02:00
MohitMaliFtechiz
284c1bf925 Fixed: Touch target size issue reported by the playstore.
* Fixed the touch target issue occurring in the HelpFragment screen. Added the `minWidth` and `minHeight`. For manintaing the current design we have done some modification in this screen like adding the padding and `scaleType` otherwise the design was looking very bigger then previous.
* Changed the width of `page_switch` to `wrapContent` instead of fixed width which prevents to expansion of the view if there is more content to display.
* Increase the height of SearchView's editText to resolve the `Touch target issue`.
* Added the minHeight for `deviceName` to touch target issue. Also, added the contentDescription for this textView.
* Moved the "Device Name" string to strings.xml file since it was hardcoded here.
* Added `minHeight` for showing link textView in external link popup.
2024-05-03 14:44:11 +02:00
Kelson
f55df2fa5b
Merge pull request #3820 from kiwix/Fix#3819
Fixed: Ci is continuously failing.
2024-05-03 14:43:53 +02:00
MohitMaliFtechiz
ad1cbeb7bc Deleting the test application before running the test cases. 2024-05-03 17:08:23 +05:30
MohitMaliFtechiz
ff9c82ebb8 Fixed: Ci is continuously failing.
* Modified the `instrumentation.sh` script to delete the app if already installed in the device before running the test cases.
2024-05-03 16:50:46 +05:30
Kelson
6656d94115
Merge pull request #3815 from kiwix/Fix#3810
Fixed: `Content labeling` issue reported by the playstore.
2024-04-30 18:37:28 +02:00
MohitMaliFtechiz
cb6c9e0f88 Fixed: Content labeling issue reported by the playstore.
* Added the content description for `send report` image, and fixed the sizing issues of `send feedback` and `send report` textView so that user can easily click on these views.
* Added content description for `File transfer list recyclerview`.
* There is only one accessibility warning left which is `Multiple items have the same description` it is because recyclerview items have the same content description and we can ignore this type of error because 2 views can have the same content description because their functionality can be same.
2024-04-30 21:35:18 +05:30
Kelson
c8f080f507
Merge pull request #3814 from kiwix/Fix#3812
Fixed `Implementation` issue reported by the playstore.
2024-04-30 18:00:59 +02:00
MohitMaliFtechiz
471337d506 Fixed Implementation issue reported by the playstore.
* Changed the width and height of `ic_tab_switcher_text` to  `wrapContent`  instead of fixed width and height which prevents to expand of the view if there is more content to display.
* To maintain the current design we have added the `minHeight` and `minWidth` for textView otherwise the background was showing very odd.
2024-04-30 18:29:29 +05:30
Kelson
281ce6f17e
Merge pull request #3807 from kiwix/Fix#3805
Fixed: Sometimes setting the `org.kiwix.libzim.Archive.setNativeArchive` crashes the application.
2024-04-30 10:07:52 +02:00
MohitMaliFtechiz
89a5a9ade5 Added the test cases, for testing the scenario where the zim file was not properly loading after opening the note on the notes screen to ensure that this functionality should work properly. 2024-04-30 12:19:35 +05:30
MohitMaliFtechiz
a246c932ad Removed the existBook method from KiwixReaderFragment sine we moved this in CoreReaderFragment.
* Improved the UI to not show the webView options for deleted zim files.
2024-04-29 19:33:44 +05:30
MohitMaliFtechiz
e193f10afd Fixed Search is not working in both modules.
* Fixed when we opens the `Note dialog` from Note screen and came back to reader screen then it was showing the blank screen.
2024-04-29 19:27:58 +05:30
MohitMaliFtechiz
010052a3a0 Fixed: Sometimes setting the org.kiwix.libzim.Archive.setNativeArchive crashes the application.
* We are now creating the ZimFileReader object on the background thread to not block the UI thread which sometimes causing the ANR because UI was frozen due to creation of ZimFileReader with large file.
* Refactored our functionality to support this new change.
* Refactored the test cases according to this functionality.
2024-04-26 19:16:09 +05:30
translatewiki.net
16048ed150 Localisation updates from https://translatewiki.net. 3.10.0 2024-04-26 15:16:10 +05:30
Kelson
183e2505b4
Merge pull request #3804 from kiwix/Update_changelog_file
Updated `CHANGELOG` file
2024-04-25 18:04:27 +02:00
MohitMaliFtechiz
5582718fe4 Updated CHANGELOG file since we have added some new fixes/improvements in milestone 3.10.0. 2024-04-23 17:08:43 +05:30
Kelson
c0588a816f
Merge pull request #3800 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-04-23 08:02:00 +02:00
translatewiki.net
0a47a22301 Localisation updates from https://translatewiki.net. 2024-04-23 08:01:34 +02:00
Kelson
ccc92fb31e
Merge pull request #3798 from kiwix/Fix#2360
Added documentation for `Git Hooks` in the `CONTRIBUTING` file.
2024-04-23 07:45:30 +02:00
MohitMaliFtechiz
6c25f0d97c Added documentation for Git Hooks in CONTRIBUTING file. 2024-04-23 07:45:20 +02:00
Kelson
f53b656ab8
Merge pull request #3802 from kiwix/libkiwix-2.1.0
Use libkiwix-java 2.1.0
2024-04-22 20:33:12 +02:00
Emmanuel Engelhart
68dd59432c
Use libkiwix-java 2.1.0 2024-04-22 19:37:29 +02:00
Kelson
6f1a24829c
Merge pull request #3770 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-04-19 08:02:36 +02:00
translatewiki.net
7b923ed371 Localisation updates from https://translatewiki.net. 2024-04-18 14:09:28 +02:00