8300 Commits

Author SHA1 Message Date
MohitMaliFtechiz
153765491a Removed the default scanning behavior upon launching the LocalLibraryFragment.
* Now, scanning the storage only occurs when the user explicitly requests it. When the user attempts to refresh the list, the storage is scanned to identify ZIM files. This approach prevents unnecessary scanning when users frequently navigate to other screens.
2024-02-05 21:00:05 +01:00
MohitMaliFtechiz
ab1f9bad6b Improved the scanning of ZIM files.
* Excluding the "data," "obb," and "Trash" folders from scanning is justified for several reasons. The "Trash" folder contains deleted files, making it unnecessary for scanning. Additionally,
the "data" and "obb" folders are specifically designed for the
app's private directory, and users usually do not store ZIM files there.
Most file managers prohibit direct copying of files into these directories. Therefore, scanning these folders is not essential. Moreover, such scans consume time, given the presence of numerous files written by other apps, which are irrelevant to our application.
2024-02-05 21:00:05 +01:00
Kelson
9b3bfa4fe6
Merge pull request #3687 from kiwix/AddedTestCasesForNotesFragment
Added test cases for notes.
2024-02-03 16:44:16 +01:00
MohitMaliFtechiz
894a8e559e Added test cases for notes.
* We identified an issue where opening notes crashes the application if the particular ZIM file does not exist. To test this scenario, we have added corresponding test cases.
* These test cases cover both scenarios – when the ZIM file is deleted and when it is present.
2024-02-03 14:17:35 +01:00
Kelson
796c5a000f
Merge pull request #3688 from kiwix/Fix#3623
Fixed: Inconsistent Visibility Behavior: Text and Button Overlay When Opening Tabs.
2024-02-03 14:16:47 +01:00
MohitMaliFtechiz
cfcb429da3 Fixed: Inconsistent Visibility Behavior: Text and Button Overlay When Opening Tabs.
* Fixed the tab icon showing when there is no ZIM file is opened in the reader which causing the unexpected UI behaviour.
* Fixed "Read Aloud" menu item is showing when we close all tabs(which means currently no ZIM file is opened in the reader) so showing this button is redundant.
2024-02-03 14:16:30 +01:00
Kelson
0fafa8520b
Merge pull request #3690 from kiwix/Fix#3555
Fixed some `TypographyQuotes` errors in our main English version.
2024-02-02 19:42:45 +01:00
MohitMaliFtechiz
7accb4a651 Fixed some TypographyQuotes error in our main english version. 2024-02-01 17:37:46 +05:30
Kelson
235451bd6f
Merge pull request #3686 from Sagar0-0/develop
#3675 Notification Navigation to KiwixReaderFragment
2024-01-30 19:14:09 +01:00
Sagar
cb7d27e1c0 #3675 Download notification opens the reader 2024-01-30 19:13:10 +01:00
Sagar
9475b6625e #3675 Download notification opens the reader 2024-01-30 19:13:10 +01:00
Sagar
893bd9cf4d #3675 Notification Navigation to KiwixReaderFragment 2024-01-30 19:13:10 +01:00
Kelson
4a02951c1d
Merge pull request #3681 from kiwix/Fix#3677
Fixed: Release versions are lower in the custom apps.
2024-01-30 12:13:00 +01:00
MohitMaliFtechiz
fa031a4fde Fixed: Release versions are lower in the custom apps.
* Changed the date format from `YYDDD0` to `yyDDD0` to accurately calculate the version code for the last day of the year as well.
2024-01-30 12:12:46 +01:00
Kelson
ecc0c4e130
Merge pull request #3683 from kiwix/Fix#3682
Fixed: The application crashes when attempting to open saved notes in the absence of the ZIM file.
2024-01-30 12:11:27 +01:00
MohitMaliFtechiz
02182e4297 Fixed: The application crashes when attempting to open saved notes in the absence of the ZIM file.
* Now, the user can view the notes even if the ZIM file does not exist. However, they cannot edit the note since the corresponding ZIM file is not present. Nevertheless, the user can still share and delete that note.
2024-01-29 18:11:34 +05:30
Kelson
3b4f58b229
Merge pull request #3676 from Sagar0-0/develop
#3673 Added color Independent snack function
2024-01-26 07:24:26 +01:00
Sagar
ccdd9527f5
#3673 Fixed Lint errors 2024-01-19 14:56:47 +05:30
Sagar
c85bac1bd4 #3673 Removed redundant snack function 2024-01-19 09:08:16 +00:00
Sagar
59dd343a24 #3673 Fixed New tab Snack Action color 2024-01-18 18:05:42 +00:00
Sagar
5cf56a8e52 #3673 Added color Independent snack function 2024-01-18 18:02:47 +00:00
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