8243 Commits

Author SHA1 Message Date
MohitMaliFtechiz
6330a78df2 Keeping the foreground service active when downloads are paused due to network errors (especially during network fluctuations), as the Download Manager will retry after some time once the connection is restored. 2024-12-18 11:47:13 +01:00
MohitMaliFtechiz
9444a3d74b Fixed: IllegalStateException while setting the toolbar in SearchFragment which i accidentally faced while navigating very frequently to other screens. 2024-12-18 11:47:13 +01:00
MohitMaliFtechiz
8df7bddff0 Fixed: Downloads were not automatically starting or showing progress when reopening the app.
* Previously, if a download was stopped due to a network error and the Download Manager was waiting to retry, we were not receiving updates from the Download Manager. As a result, the download progress was not being displayed when the app was reopened.
* Improved the service start mechanism: If the application is in the background, we now avoid starting the service because foreground services cannot be started when the application is not in the foreground.
2024-12-18 11:47:13 +01:00
Kelson
0db479a8d8
Merge pull request #4141 from kiwix/update_kiwix_version_to_3.13.0
Upgraded the kiwix version to `3.13.0`.
2024-12-18 11:46:52 +01:00
MohitMaliFtechiz
bd2e299548 Upgraded the kiwix version to .3.13.0. 2024-12-18 11:46:29 +01:00
Kelson
cdd03ec34b
Merge pull request #4142 from kiwix/update_changelog_file_for_3.13.0
Updated the CHANGELOG file to show changes made in milestone `.3.13.0`.
2024-12-18 11:46:13 +01:00
MohitMaliFtechiz
65ecea353e Added remaining changes in CHANGELOG file. 2024-12-18 15:24:26 +05:30
MohitMaliFtechiz
9abdb391e4 Updated the CHANGELOG file to show changes made in milestone .3.13.0. 2024-12-18 15:05:09 +05:30
Kelson
cae22c8a36
Merge pull request #4116 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-12-13 19:33:28 +01:00
translatewiki.net
91f9ca3624 Localisation updates from https://translatewiki.net. 2024-12-13 19:33:19 +01:00
Kelson
dd327f8315
Merge pull request #4134 from kiwix/Fixes#4132
Fixed: ZIM files are not showing on "Library" screen when updating the app from `3.11.1` to `3.12.0`.
2024-12-13 07:07:47 +01:00
MohitMaliFtechiz
5b868ddc73 Added a comment in the JSON file to clarify that entity and property IDs should remain unchanged unless the corresponding entity is modified. 2024-12-13 11:30:56 +05:30
MohitMaliFtechiz
968dc2824d Fixed: ZIM files are not showing on "Library" screen when updating the app to from 3.11.1 to 3.12.0. 2024-12-13 06:14:12 +01:00
Kelson
97e6b9bf6b
Merge pull request #4133 from viditpawar0/main
#4083 fixed external link warning when user wants to make a donation
2024-12-12 13:38:22 +01:00
ArctikCircle
393d645918 #4083 fixed external link popup not showing for external links not for donation 2024-12-12 16:53:41 +05:30
ArctikCircle
b9d662f3da #4083 fixed bug from last commit 2024-12-12 16:53:41 +05:30
ArctikCircle
89d67b6304 #4083 made similar changes in CoreReaderFragment.kt and CustomReaderFragment.kt 2024-12-12 16:53:41 +05:30
ArctikCircle
2ed91ddef2 #4083 made same changes in CoreReaderFragment.kt 2024-12-12 16:53:41 +05:30
ArctikCircle
5062841714 #4083 modified TopLevelDestinationTest.kt to accommodate this change 2024-12-12 16:53:41 +05:30
ArctikCircle
40cea15065 #4083 fixed external link warning when user wants to make a donation for custom apps 2024-12-12 16:53:41 +05:30
ArctikCircle
f6a4daa773 #4083 fixed external link warning when user wants to make a donation 2024-12-12 16:53:41 +05:30
Kelson
5990291892
Merge pull request #4135 from kiwix/remove_butterknife_from_readme_file
Removed the `ButterKnife` from the README file as we are not using this library in our project anymore.
2024-12-11 14:03:30 +01:00
MohitMaliFtechiz
bfd9e57c12 Removed the `ButterKnife ' from the README file as we are not using this library in our project anymore.
* Also removed this library from the `credits.html` of both the app and custom modules.
2024-12-11 18:03:34 +05:30
Kelson
9fc6e66ecc
Merge pull request #4103 from CalebKL/caleb/task/move-free-space-to-IO-thread
Move free space to io thread
2024-12-10 17:16:04 +01:00
MohitMaliFtechiz
ab1b7b19cd Removed unused code. 2024-12-10 17:15:47 +01:00
CalebK
0be9244578 Review fix. 2024-12-10 17:15:47 +01:00
CalebK
9b64e5d815 Fixed failing test cases. 2024-12-10 17:15:47 +01:00
MohitMaliFtechiz
cd73d6eb89 Moved free space to IO thread. 2024-12-10 17:15:47 +01:00
Kelson
3e197cfcd2
Merge pull request #4129 from kiwix/Fixes#4127
Fixed: Input dispatching timed out in `CoreReaderFragment.toggleBookmark`.
2024-12-10 17:15:23 +01:00
MohitMaliFtechiz
3f4fb9dcfc Fixed: Input dispatching timed out in CoreReaderFragment.toggleBookmark.
* Moved the `Book()` object creation to `lifeCycleScope` instead of running it on the main thread. Earlier, it was blocking the UI, especially with large ZIM files. Now, by using `lifeCycleScope`, it won't block the main thread.
* Improved the KiwixServer creation process. Server creation was previously happening on the main thread, which could cause the same issue we are facing with adding bookmarks. Because we are creating the same book object while creating the server, which is required for `server` creation.
* Updated the behavior of the "Starting server" dialog. Before, the dialog disappeared after validating the IP address, even though server creation was still in progress. Now, the server creation process is moved to the IO thread. For large ZIM files, server creation can take some time, so the dialog will only dismiss once the server is successfully created or if an error occurs. This ensures users are aware that server creation is in progress.
2024-12-10 12:40:39 +05:30
Kelson
696087e396
Merge pull request #4119 from kiwix/Fixes#4036
Moved `isFileExist` method to IO thread.
2024-12-10 06:26:49 +01:00
MohitMaliFtechiz
17d9d9e350 Fixed: SearchFragmentTest which was failing on API 33, and 34. 2024-12-10 06:26:26 +01:00
MohitMaliFtechiz
9f84a38e7d Improved the initializing of Bookmarks. 2024-12-10 06:26:26 +01:00
MohitMaliFtechiz
4c1c40a536 Improved the CopyMoveFileHandlerTest. 2024-12-10 06:26:26 +01:00
MohitMaliFtechiz
3e47cfa6ae Fixed: Books are not displayed on the LocalLibrary screen if a book is deleted from storage after being added to the DAO.
* Improved the test cases as well.
2024-12-10 06:26:26 +01:00
MohitMaliFtechiz
f78e1447a6 Improved the importing bookmark feature. 2024-12-10 06:26:26 +01:00
MohitMaliFtechiz
dc53139d84 Moved isFileExist method to IO thread. 2024-12-10 06:26:26 +01:00
Kelson
accc0b0cf0
Merge pull request #4126 from kiwix/Fixes#4125
Fixed: Input dispatching timed out at `DownloadMonitorService.cancelDownload`.
2024-12-10 06:26:08 +01:00
MohitMaliFtechiz
7edb65656f Fixed: Input dispatching timed out at DownloadMonitorService.cancelDownload.
* Moved the cancel download logic to the IO thread, ensuring that download-related tasks are performed on the IO thread while keeping the main thread free.
* Also moved the functionality to the IO thread for checking the status when we receive the ACTION_DOWNLOAD_COMPLETE broadcast from DownloadManager, to determine if the download was successful or canceled. This ensures it doesn't block the main thread, as cancelDownload is currently causing a blockage.
2024-12-10 06:25:54 +01:00
Kelson
4d3c878aee
Merge pull request #4124 from kiwix/Fixes#4123
Fixed: Input dispatching timed out at `CopyMoveFileHandler.deleteSourceFile`.
2024-12-10 06:25:05 +01:00
MohitMaliFtechiz
c410f20a0f Fixed: Input dispatching timed out at CopyMoveFileHandler.deleteSourceFile.
* Moved the delete logic to the IO thread to ensure the deletion operation does not block the main thread.
2024-12-09 15:40:49 +05:30
Kelson
9c8826e8d1
Merge pull request #4061 from CalebKL/caleb/task/migrate-total-space-to-io-thread
Migrate totalSpace to IO Thread
2024-12-08 08:45:13 +01:00
CalebK
63e3513aa5 revert .idea Project.xml file 2024-12-08 08:44:57 +01:00
CalebK
08bbdf0585 fix linting 2024-12-08 08:44:57 +01:00
CalebK
2168f9dcd6 linting 2024-12-08 08:44:57 +01:00
CalebK
de5e2b7071 revert .idea 2024-12-08 08:44:57 +01:00
CalebK
cd442c37d9 updated storage extension 2024-12-08 08:44:57 +01:00
CalebK
d9cba86579 Fix failing tests 2024-12-08 08:44:57 +01:00
CalebK
cff3901491 move total space to IO Thread 2024-12-08 08:44:57 +01:00
Kelson
154389f459
Merge pull request #4118 from kiwix/Fixes#4113
Fixed: Impossible to download full Wikipedia in English.
2024-12-08 08:44:18 +01:00