7230 Commits

Author SHA1 Message Date
MohitMaliFtechiz
eb571031ba Fixed crashes occurring in Version 3.8.1 when opening ZIM files.
* A user provided logs indicating that, during the attempt to open ZIM files, a crash occurred when stopping the TTS service. The logs revealed that, in the absence of any activity to stop the service, using `requireActivity()` resulted in an error and application crash. To address this issue, we replaced `requireActivity()` with `activity`. Now, if there is no activity present, using `activity` avoids the error that would lead to a crash.
2024-01-19 17:01:43 +05:30
Kelson
3f19f55b99
Merge pull request #3659 from kiwix/Fix#3627
Fixed: Nowdays CI frequently failing on API level 24, and 33.
2024-01-14 16:13:41 +01:00
MohitMaliFtechiz
adeabcf56c Removed the extra logs showing in CI. 2024-01-14 19:08:46 +05:30
MohitMaliFtechiz
f16e579194 Removed the deprecated method from SaveSearchToRecents. 2024-01-14 19:08:39 +05:30
MohitMaliFtechiz
87632c5f6a Fixed ZimHostFragment which is failing on API level 33.
* Improved the permission.
* Enabled wifi programmatically in emulator.
* Improved test case for showing "Wifi connection dialog".
2024-01-14 19:08:31 +05:30
MohitMaliFtechiz
ed4f072048 Fixed: Nowdays CI frequently failing on API level 24, and 33.
* Addressed an issue with the `SaveSearchToRecentsTest` test, which occasionally failed. The primary cause of this was the recent modification to save the `RecentSearch` on a background thread using `coroutines`. In some cases, the test was validating the output before the coroutine completed its execution. Consequently, we have adjusted our test case to properly wait for the coroutine to finish its work before validating the output.
2024-01-14 19:08:23 +05:30
Kelson
f8647de2ac
Merge pull request #3642 from kiwix/Issue#3638
Fixed: Application crashing below API level 29 when we select the external storage.
2024-01-12 08:12:02 +01:00
MohitMaliFtechiz
24e10caf19 Fixed: Application crashing below API level 29 when we select the external storage.
* The issue was with the `FileObserver` class constructor we used, which is introduced in SDK 29. As a result, it is not available for older versions, leading to a `NoSuchMethodError` when attempting to access it. This caused the application to crash below API level 29 when selecting external storage.
2024-01-12 08:11:48 +01:00
Kelson
7a73eb797a
Merge pull request #3665 from kiwix/Fix#3634 2024-01-12 06:33:58 +01:00
MohitMaliFtechiz
991f4479c4 Fixed the custom app (wikispecies, wikimed) bundle build problem.
* We utilize `Play Asset Delivery` in our bundle, housing the ZIM file within it. The size of the wikispecies ZIM file is 2.13GB. To process all resources inside the bundle, we require a minimum of 6GB of Java heap memory.
2024-01-11 18:50:49 +05:30
Kelson
34645b67fa
Merge pull request #3657 from kiwix/Fix#3656
Updated badges and documentation.
2024-01-10 15:34:05 +01:00
MohitMaliFtechiz
492e8ee049 Review changes.
* As develop branch is not exist so we are removing it from our documentation.
2024-01-08 14:26:22 +05:30
MohitMaliFtechiz
be0961cda5 Added backquotes around the branch names. 2024-01-05 20:06:53 +05:30
MohitMaliFtechiz
4da3922a18 Updated badges and documentation.
* Fixed the badging of `Build Status` and `Codecov`.
* Since there is no `master` and `develop` branches, we have updated our `CONTRIBUTING.md` to reflect these changes.
2024-01-05 19:37:07 +05:30
Kelson
bd27edc649
Merge pull request #3652 from kiwix/Fix#3650
Fixed: When we select any ZIM file using the file picker, it is not being added to the library screen.
2024-01-05 14:11:54 +01:00
MohitMaliFtechiz
17068b540e Fixed: When we select any ZIM file using the file picker, it is not being added to the library screen. 2024-01-05 14:11:26 +01:00
Kelson
37b20dffea
Merge pull request #3639 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-01-05 14:11:02 +01:00
translatewiki.net
2b01dec0f0 Localisation updates from https://translatewiki.net. 2024-01-05 14:10:48 +01:00
Kelson
329242e9e4
Merge pull request #3655 from Sagar0-0/patch-1
#3654 Added valid link for DESIGN.md
2024-01-05 11:59:19 +01:00
Sagar
a87665d522
Add valid workflows link 2024-01-05 15:36:59 +05:30
Sagar
44237ae6b3
Added valid link for DESIGN.md 2024-01-05 09:49:31 +05:30
Kelson
1c85cc572b
Merge pull request #3648 from kiwix/Fix#3644
Upgraded `webkit` version to latest to work with latest `chromium` dependencies.
2024-01-03 11:15:12 +01:00
MohitMaliFtechiz
4796137fad Upgraded webkit version to latest to work with latest chromium dependencies.
* Upgraded the `WebKit` version to the latest (from 1.3.0 to 1.7.0) to leverage improvements and bug fixes. This update is essential to address the issue with the latest `chromium` dependency, as outlined in #3644.
* Additionally, elevated the `androidx.annotation:annotation` dependency from `1.1.0` to `1.2.0` to meet the requirements of the updated WebKit version.
2024-01-02 17:06:52 +05:30
Kelson
61c6f96131
Merge pull request #3626 from kiwix/Issue#3625
Fixed: Extracted the website link from the string file for the Play Store restriction dialog.
2023-12-29 09:45:14 +01:00
MohitMaliFtechiz
9b148682f4 Fixed HelpFragmentTest that is failing on API level 30,33. 2023-12-29 09:44:21 +01:00
MohitMaliFtechiz
aeca8d2e1a Fixed: Extracted the website link from the string file for the Play Store restriction dialog.
* Removed the link from `zim_files_not_showing_description`.
* Modified the dialog for displaying the link in `PlayStoreRestrictionPopup`.
* Refactored the `rawTitleDescriptionMap`() method in `HelpFragment` to accommodate both strings and arrays for showing links inside the HelpFragment.
2023-12-29 09:44:21 +01:00
Kelson
fff9991905
Merge pull request #3641 from kiwix/Issue#3640
Fixed: Resolved the issue where Google Play Store displayed an error during APK upload.
2023-12-28 21:24:17 +01:00
MohitMaliFtechiz
62883febb3 Fixed: Resolved the issue where Google Play Store displayed an error during APK upload.
* We have excluded the universal APK from the variant list that is being uploaded to the Play Store.
* This exclusion is necessary because we cannot disable the universal APK, as it is required to set the version code for the bundle. Disabling the universal APK would result in the bundle version code being set exclusively for `x86_64`.
2023-12-28 19:24:09 +05:30
Kelson
f41701cc30
Merge pull request #3637 from kiwix/Issue#3635
Fixed: Links to Config.kt and CONTRIBUTING.md were not functioning in the README.md file.
2023-12-27 16:21:13 +01:00
MohitMaliFtechiz
f2ef85c363 Fixed: Links to Config.kt and CONTRIBUTING.md were not functioning in the README.md file.
* As we've renamed the default branch from 'develop' to 'main,' we have accordingly updated the links.
2023-12-27 16:19:44 +01:00
Kelson
f17ed9af69
Merge pull request #3633 from kiwix/java_heap_bundle_issue
Fixes custom app wikimed bundle build problem
2023-12-27 16:17:11 +01:00
Gouri Panda
fea3bebd63 update to 5GB JVM Heap 2023-12-27 18:44:09 +05:30
Gouri Panda
86d43a5f02 Fixes bundle problem with the publish 2023-12-27 00:10:07 +05:30
Kelson
5fe3f5e9e6
Merge pull request #3617 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
3.9.1
2023-12-25 15:21:22 +01:00
translatewiki.net
922d4d2b35 Localisation updates from https://translatewiki.net. 2023-12-25 15:20:01 +01:00
Kelson
352449fb55
Merge pull request #3630 from kiwix/release-3.9.1
Release 3.9.1
2023-12-25 15:18:35 +01:00
Emmanuel Engelhart
0258c09af4
Update Changelog for 3.9.1 2023-12-25 15:17:37 +01:00
Emmanuel Engelhart
bbc683da88
Bump-up version to 3.9.1 2023-12-25 15:09:18 +01:00
Kelson
3c17704a07
Merge pull request #3618 from kiwix/Issue#3611
Fixed: 3.9.0 Welcome screen does not run, and Kiwix does not prompt for permissions.
2023-12-23 10:26:13 +01:00
MohitMaliFtechiz
0e61bdd7d8 Removed the lint suppression for "NewApi". 2023-12-23 10:25:54 +01:00
MohitMaliFtechiz
cc744b2b74 Fixed: 3.9.0 Welcome screen does not run, and Kiwix does not prompt for permissions.
* This commit addresses the scenario where, for any reason, shared preferences and the database are retained on the device, and the list of ZIM files is visible in the library. However, the `MANAGE_EXTERNAL_PERMISSION` is not found, and when a user attempts to open a file, the application lacks the necessary permission. To improve this scenario, we now prompt the user for permission if it is not available when opening ZIM files from the library.
* Additionally, enhanced the behavior of the swipe refresh layout if the user clicks on the "NO" button in the permission dialog.
2023-12-23 10:25:54 +01:00
Kelson
c6700762ba
Merge pull request #3621 from kiwix/Issue#3620
Fixed: ErrorActivity was not appearing in the non-debug version when the application crashed.
2023-12-23 10:25:28 +01:00
MohitMaliFtechiz
f7e14162fc Fixed: ErrorActivity was not appearing in the non-debug version when the application crashed.
* We are using the `applicationContext` to start the `ErrorActivity`, which is outside the `Activity`. Therefore, to initiate the activity with an external context of the `Activity`, we must include the `FLAG_ACTIVITY_NEW_TASK` flag in the intent. Without this flag, the activity will not start.
2023-12-23 10:25:11 +01:00
Kelson
fa3e2d1aab
Merge pull request #3616 from kiwix/Fixes-#3615
Refactor GitHub Action for Emulator Runner Job Redundancy
2023-12-22 08:29:37 +01:00
MohitMaliFtechiz
394e72be27 Removed the "develop" branch from CI because it no longer exists, rendering it redundant. 2023-12-21 06:32:14 +01:00
MohitMaliFtechiz
a4227f04a1 Fixed incorrect indentation. 2023-12-21 06:32:14 +01:00
gouri-panda
e23e4190f4 updated ram-size 2023-12-21 06:32:14 +01:00
gouri-panda
005434ec13 Fixes #3615 2023-12-21 06:32:14 +01:00
Kelson
2a0d98db1b
Merge pull request #3612 from gouri-panda/Fixes#3609
Removed Debouncing mechanism
2023-12-21 06:31:43 +01:00
MohitMaliFtechiz
3eda149636 Removed unnecessary debouncing code from search functionality.
* Refactored SearchViewModelTest.
2023-12-20 12:30:04 +05:30