8180 Commits

Author SHA1 Message Date
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
MohitMaliFtechiz
ab2295be68 Fixed: The download progress sometimes stopped when resuming a download, as the Download Manager took some time to update the status. Meanwhile, the foreground service stopped due to no active downloads being detected. This issue has been resolved to ensure proper tracking of active download progress. 2024-12-04 17:07:31 +05:30
MohitMaliFtechiz
d7bcad5656 Fixed: Download progress not updating for large files (>2GB), showing "In Progress" indefinitely. 2024-12-04 12:51:49 +05:30
MohitMaliFtechiz
c136380945 Fixed: Impossible to download full Wikipedia in English.
* Updating the UI correctly when there is some error while creating the kiwixService(Specially when failed to connect with the server).
* Minor improvement in showing right drawer.
2024-12-01 16:21:51 +05:30
Kelson
116180e6f0
Merge pull request #4117 from kiwix/Fixes#4112
Fixed: Virtual keyboard reset the search (in library).
2024-11-28 20:43:02 +01:00
MohitMaliFtechiz
2912bc92a2 Fixed: Virtual keyboard resetting the search in the library.
* The issue was with android 14 device, it is working fine in below devices.
* Improved the back press handling in CoreMainActivity using the latest onBackPressedDispatcher API, ensuring proper functionality on Android 14 and above.
* Enhanced the back press behavior in OnlineLibraryFragment while searching for ZIM files, so the SearchView does not close immediately when the user presses the back button to simply dismiss the keyboard.
2024-11-28 23:02:43 +05:30
Kelson
2cd2e15365
Merge pull request #4110 from kiwix/minor_improvement_in_download
Minor improvement in downloading functionality.
3.12.0
2024-11-27 11:59:22 +01:00
MohitMaliFtechiz
49fb4ca5d4 Minor improvement in downloading functionality.
* When the internet connection is turned off and then turned on back, the download progress is now properly tracked while the application is in the foreground. Tracking progress is working fine with this scenario when the application is closed.
2024-11-27 15:28:07 +05:30
Kelson
15081caab3
Merge pull request #4109 from kiwix/minor_update_in_changelog_for_milestone_3.12.0
Minor fixes are added in the `CHANGELOG` file for milestone `3.12.0`.
2024-11-27 07:01:49 +01:00
MohitMaliFtechiz
837069b7cc Minor fixes are added in the CHANGELOG file for milestone 3.12.0. 2024-11-27 11:07:28 +05:30
Kelson
2fda182251
Merge pull request #4107 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2024-11-26 18:09:09 +01:00
translatewiki.net
7dae5307e0 Localisation updates from https://translatewiki.net. 2024-11-26 18:08:55 +01:00
Kelson
308fe39d8c
Merge pull request #4108 from kiwix/Fixes#4106
Fixed: Download notification was disappearing when the application is in background.
2024-11-26 18:07:07 +01:00
MohitMaliFtechiz
05891eba03 Fixed: CustomDownloadFragment was not showing if there is no ZIM file available in custom apps. 2024-11-26 21:14:19 +05:30