Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Debouncing mechanism #3609

Closed
wants to merge 399 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
399 commits
Select commit Hold shift + click to select a range
8a105ae
Merge pull request #3440 from kiwix/Issue#3409
kelson42 Jul 19, 2023
842a7ee
Fixed downloading pending forever if we canceled it from notification
MohitMaliDeveloper Jul 19, 2023
06c9dbc
Merge pull request #3451 from kiwix/Issue#3441
kelson42 Jul 26, 2023
b1eb76e
Improved the permission asking scenario for custom apps
Jun 26, 2023
8469e18
Merge pull request #3439 from kiwix/Fixes#3370
kelson42 Jul 26, 2023
ba40312
Fixes of Zim file does not download / pending forever
MohitMaliDeveloper Jul 11, 2023
524c469
Refactored the code to fix the issue, if we canceled downloading from…
MohitMaliDeveloper Jul 12, 2023
0a2cff9
Introduced pause/resume functionality.
MohitMaliDeveloper Jul 28, 2023
5b3aa73
Enabled pause/resume functionality in downloading notification
MohitMaliDeveloper Jul 31, 2023
64c3c04
Added test case for testing the pause/resume functionality
MohitMaliDeveloper Aug 1, 2023
908a238
Merge pull request #3459 from kiwix/PauseResumeDownload
kelson42 Aug 17, 2023
b624f1c
Hide storage selection dialog from OnlineLibraryFragment if user alre…
MohitMaliDeveloper Aug 4, 2023
3b8ba63
Merge pull request #3464 from kiwix/Issue#3463
kelson42 Aug 17, 2023
416eddd
Updated README.md file to explain ZIM File Picker Restriction and Sto…
Jun 13, 2023
c1c1cac
Few rewrittings
kelson42 Aug 17, 2023
b628d7c
Merge pull request #3414 from kiwix/Issue#3406
kelson42 Aug 17, 2023
9e0541b
Fixed Keyboard repeatedly disappearing and reappearing in search when…
MohitMaliDeveloper Aug 18, 2023
3a788b9
Merge pull request #3469 from kiwix/Issue#3468
kelson42 Aug 19, 2023
64a2bba
Localisation updates from https://translatewiki.net.
translatewiki Aug 24, 2023
a8fdbc8
Merge pull request #3422 from kiwix/translatewiki
kelson42 Aug 28, 2023
8fee2d1
Enhanced FileSystem Check.
MohitMaliDeveloper Aug 29, 2023
6ec78d0
Merge pull request #3477 from kiwix/Issue#2889
kelson42 Aug 29, 2023
c1cbebd
Enhanced ZIM file support for Android 10 and above devices, including…
MohitMaliDeveloper Aug 25, 2023
51e2189
Merge pull request #3471 from kiwix/Issue#3462
kelson42 Aug 31, 2023
efc3dbf
Fixed Bookmark toggle is not ON for saved bookmarks
MohitMaliDeveloper Aug 24, 2023
f029498
Added `SYSTEM_ALERT_WINDOW` permission for api level 21 as by default…
MohitMaliDeveloper Aug 24, 2023
4ae2c0d
Merge pull request #3473 from kiwix/Issue#3472
kelson42 Sep 4, 2023
f29c206
Localisation updates from https://translatewiki.net.
translatewiki Sep 18, 2023
4121f40
Merge pull request #3476 from kiwix/translatewiki
kelson42 Sep 18, 2023
d62d439
Refactored the code to support the java-libkiwix 11.0.0
MohitMaliDeveloper Jul 13, 2023
64f2620
Changes to support libkiwix 11.0.0 wrapper * Get correct zim file tit…
MohitMaliDeveloper Jul 14, 2023
3e59e97
Refactoring the search functionality to support the latest wrapper
MohitMaliDeveloper Jul 14, 2023
a1ee8be
Fixed zim file size issue in library section
MohitMaliDeveloper Jul 17, 2023
161337a
Start using libkiwix 11.0.0 from maven, loading wrappers .so files fo…
MohitMaliDeveloper Jul 17, 2023
384bacc
Refactored code to safely get the metadata of zim files
MohitMaliDeveloper Jul 17, 2023
e69499f
Removed the relinker dependency from the project, since now we are lo…
Jul 22, 2023
75fab06
Refactored search functionality according to the new wrapper
MohitMaliDeveloper Jul 24, 2023
bbd23d1
Fixed loading content which contains a query params, mostly this fix …
MohitMaliDeveloper Jul 25, 2023
6e0336e
Using newly published 'libkiwix 1.0.0' from maven
MohitMaliDeveloper Jul 25, 2023
02a6d0f
Fix the instrumentation test cases
MohitMaliDeveloper Jul 26, 2023
e363889
Fixed search functionality crash if any FT Xapian index not found in …
MohitMaliDeveloper Jul 26, 2023
46d4aeb
Refactored SearchFragmentTest
MohitMaliDeveloper Jul 26, 2023
d188a82
Improved search functionality
MohitMaliDeveloper Jul 27, 2023
f7517a2
Minimum SDK version changed to 24: The NDK version in kiwix-build has…
MohitMaliDeveloper Jul 27, 2023
632bb4a
Refactored code to remove lint errors
MohitMaliDeveloper Aug 7, 2023
3e40c09
Refactored ci to support minimum api level 24
MohitMaliDeveloper Jul 27, 2023
69982e9
Fixed ZimMangeViewModelTest
MohitMaliDeveloper Jul 28, 2023
adea940
Introduced an endless suggestion list in search.
MohitMaliDeveloper Aug 1, 2023
3edfd88
Updated test cases to accommodate the new search functionality.
MohitMaliDeveloper Aug 1, 2023
dd1ae68
Fixed duplicate searched items are showing
MohitMaliDeveloper Aug 1, 2023
376776c
Imrpvoed pagination search, avoid loading unnecessary data when user …
MohitMaliDeveloper Aug 2, 2023
ac78a67
Improved the code, removed unnecessary parentheses
MohitMaliDeveloper Aug 2, 2023
f29be04
Improved article loading.
MohitMaliDeveloper Aug 2, 2023
ed237a4
Keep everything in `libkiwix/libzim` in release variant.
MohitMaliDeveloper Aug 7, 2023
51ef8af
Use `SuggestionSearch` instead of `Search` for better search function…
MohitMaliDeveloper Aug 8, 2023
4f2b54e
Improved `SearchFragmentTest`:
MohitMaliDeveloper Aug 8, 2023
609e9e2
Improved 'Search' Functionality:
MohitMaliDeveloper Aug 9, 2023
f1889ee
Fixed bugs and enhanced search functionality.
MohitMaliDeveloper Aug 10, 2023
ad81bbd
Fixed server crashing issue when we open it on web browser
MohitMaliDeveloper Aug 15, 2023
644521c
Add library dependence libkiiwx to the README
kelson42 Aug 28, 2023
fff9196
Started using new `libkiwix` from new maven repo `org.kiwix/libkiwix`.
MohitMaliDeveloper Aug 28, 2023
1281c0c
Improved test cases and fixed memory leak in application.
MohitMaliDeveloper Aug 29, 2023
221f84b
Improved the "load more" functionality for search and introduced seve…
Sep 15, 2023
ec007e4
Moved the load more data logic to SearchViewModel class to manage sep…
MohitMaliDeveloper Sep 18, 2023
9ff91ba
Remove the unnecessary `SearchState` object since we no longer need i…
MohitMaliDeveloper Sep 18, 2023
27215b0
Merge pull request #3217 from kiwix/Issue#3216
kelson42 Sep 18, 2023
59834f1
Fixed Zimit-generated zim files were partially failing to open.
MohitMaliDeveloper Sep 20, 2023
d5e98dc
Merge pull request #3484 from kiwix/Issue#2561
kelson42 Sep 27, 2023
1a58589
Update README.md
computerscienceiscool Oct 4, 2023
3369572
Merge pull request #3496 from computerscienceiscool/patch-1
kelson42 Oct 4, 2023
7fc249f
Authentication created for DWDS app
gouri-panda Oct 2, 2023
7e9aee9
We have fixed the issue of downloading not working in the custom app …
MohitMaliDeveloper Oct 2, 2023
3136b00
Removed hardcoded secret name.
MohitMaliDeveloper Oct 3, 2023
97eaa1a
Review changes done.
MohitMaliDeveloper Oct 4, 2023
e4624b2
Handled download on the first run when no ZIM file is found.
MohitMaliDeveloper Oct 4, 2023
77f5146
Fixed CustomDownloadViewModelTest
MohitMaliDeveloper Oct 4, 2023
cb20f85
Fix URL template detection
kelson42 Oct 4, 2023
9edc9d2
Merge pull request #3493 from kiwix/dwds_creation
kelson42 Oct 4, 2023
57a95f1
Fixed, The File transfer feature does not work in android 12, android…
MohitMaliDeveloper Sep 27, 2023
e4d27e1
Improved code for android 13.
MohitMaliDeveloper Sep 27, 2023
530faa4
added a test case to evaluate the functionality of `LocalFileTransfer…
MohitMaliDeveloper Sep 28, 2023
51c3ce3
Fixed unit coverage
MohitMaliDeveloper Oct 5, 2023
03b5f3d
Merge pull request #3492 from kiwix/Issue#3491
kelson42 Oct 5, 2023
d210cc7
Improve punctuation in a recently-added message
amire80 Oct 5, 2023
d399f6f
Merge pull request #3500 from amire80/comma
kelson42 Oct 5, 2023
3332421
Remove Authentication from URL before downloading.
MohitMaliDeveloper Oct 6, 2023
717d593
Fixed the bug that was happening in the ci
gouri-panda Oct 7, 2023
852deaf
changed order of chain request
gouri-panda Oct 7, 2023
0b4b223
checking the authentication if works
gouri-panda Oct 7, 2023
cdd4ce7
Revert checking the authentication if works
gouri-panda Oct 7, 2023
af1cc84
Merge pull request #3501 from kiwix/dwds_publishing_issue
kelson42 Oct 8, 2023
5e9f183
Fixed, unable to open the support link with default browser.
MohitMaliDeveloper Oct 13, 2023
0b240c6
Merge pull request #3504 from kiwix/Issue#3426
kelson42 Oct 14, 2023
94d592f
Reintroduce wifi hotspot feature in custom apps.
MohitMaliDeveloper Sep 21, 2023
41be43d
Fixed ZimHostFragment Open Issue for Both App and Custom Modules.
MohitMaliDeveloper Sep 22, 2023
8dda367
Fixed custom app not displaying Zim information on the Server screen
MohitMaliDeveloper Sep 22, 2023
cb73c90
Fixed, the book is always unselected on the hosted books screen in cu…
MohitMaliDeveloper Sep 25, 2023
ec3095e
Improved code to show proper error message to the user why the server…
MohitMaliDeveloper Sep 27, 2023
5e81039
Merge pull request #3487 from kiwix/Issue#1602
kelson42 Oct 14, 2023
11c5b3c
Fixed URLConnection not adding headers to the request.
MohitMaliDeveloper Oct 10, 2023
8f0d3ff
We have enabled the universal APK for custom apps because we require …
MohitMaliDeveloper Oct 12, 2023
8c9cdcb
Disabled the universal APK as now we are uploading the dummy bundle f…
MohitMaliDeveloper Oct 13, 2023
033d116
Fixed language bundle issue for the playstore
gouri-panda Oct 13, 2023
12c6f5e
Reverting fixed language bundle issue for the playstore
gouri-panda Oct 13, 2023
c4405ab
Fixed language bundle issue for the playstore
gouri-panda Oct 13, 2023
7460b9d
Fixed, Code formatting issue
MohitMaliDeveloper Oct 16, 2023
3a47ae6
Merge pull request #3503 from kiwix/header_issue_in_custom_application
kelson42 Oct 16, 2023
4c951de
Fixed, Unable to upload APK on play store for new apps.
MohitMaliDeveloper Oct 16, 2023
1b87900
Fixed zim file not found when we try to retrieve it from `Play asset …
MohitMaliDeveloper Oct 17, 2023
71f8518
Fixed, uploadBundle method to properly upload bundle on play console …
MohitMaliDeveloper Oct 17, 2023
53d4ac1
Fixed version code not found exception while publishing bundle on pla…
MohitMaliDeveloper Oct 17, 2023
725a5cc
Added overrided version code suffix
MohitMaliDeveloper Oct 17, 2023
1d39d35
Added build task to sync the changes.
MohitMaliDeveloper Oct 19, 2023
e32ba6d
Bundle order issue fixed
gouri-panda Oct 19, 2023
69ce81c
Enhanced asset loading.
MohitMaliDeveloper Oct 20, 2023
724f4a7
Enhanced zim file loading functionality.
MohitMaliDeveloper Oct 20, 2023
338d64e
Refactored the code to make the 'Play Asset Delivery' process generic.
MohitMaliDeveloper Oct 20, 2023
981b4e6
Merge pull request #3506 from kiwix/Issue#3505
kelson42 Oct 20, 2023
a2f2bee
Updated the asset folder naming
gouri-panda Oct 20, 2023
ce45eba
Merge pull request #3510 from kiwix/Issue#3509
kelson42 Oct 21, 2023
c81ae5d
Fixed Refactor LocalFileTransfer UI.
MohitMaliDeveloper Oct 4, 2023
a8b41f5
Introduce 'MaterialShowCase' feature to provide user education on the…
MohitMaliDeveloper Oct 5, 2023
76b6f5c
Fixed TopLevelDestinationTest
MohitMaliDeveloper Oct 5, 2023
5e2c314
Added test cases to comprehensively assess the `ShowCaseView` functio…
MohitMaliDeveloper Oct 5, 2023
2ff2387
Fixed the memory leak in LocalFileTransferFragment.
MohitMaliDeveloper Oct 6, 2023
350c3ba
Improved `testShowCaseFeature` which are sometimes failing on the API…
MohitMaliDeveloper Oct 10, 2023
bfc0b4a
Fixing Test Case Failures on API Level 33.
MohitMaliDeveloper Oct 11, 2023
8cf8e1b
Merge pull request #3497 from kiwix/Issue#1532
kelson42 Oct 23, 2023
bf089fd
Localisation updates from https://translatewiki.net.
translatewiki Oct 30, 2023
89acaf1
Merge pull request #3489 from kiwix/translatewiki
kelson42 Oct 30, 2023
0b59d9c
Fixed, the DWDS app is very slow when opening a search result.
MohitMaliDeveloper Oct 25, 2023
8178bbd
Fixed, unit coverage failure.
MohitMaliDeveloper Oct 25, 2023
99e11d9
Saving 'Recent Searches' in the background.
MohitMaliDeveloper Oct 26, 2023
8f099e6
Merge pull request #3514 from kiwix/Issue#3508
kelson42 Oct 31, 2023
3babc62
Localisation updates from https://translatewiki.net.
translatewiki Nov 9, 2023
68bfd77
Merge pull request #3520 from kiwix/translatewiki
kelson42 Nov 11, 2023
b00e335
Fixed Hosted Books don't update on Application
MohitMaliDeveloper Oct 16, 2023
59e474e
Checkbox always visible to user in Wifi Hotspot and user can select a…
MohitMaliDeveloper Oct 16, 2023
d660d80
Added test cases for ZimHostFragment
MohitMaliDeveloper Oct 16, 2023
3432b32
Improved ZimHostFragmentTest to properly test the server functionality.
MohitMaliDeveloper Oct 16, 2023
c3049a6
Fixed memory leak on API level 24.
MohitMaliDeveloper Oct 16, 2023
8a40565
Improved ZimHostFragmentTest.
MohitMaliDeveloper Oct 16, 2023
96b1b19
Fixed `ZimHostFragment` failing on API level 33 (Android 13) because …
MohitMaliDeveloper Oct 26, 2023
a7b5a77
Fixed test failure on API level 33.
MohitMaliDeveloper Oct 27, 2023
969ad0d
Increase timeout to check views are displayed or not.
MohitMaliDeveloper Oct 27, 2023
f53809a
Merge pull request #3218 from kiwix/Issue#2537
kelson42 Nov 12, 2023
4baff85
Fixed, can not open ZIM files from phone storage via the file picker …
MohitMaliDeveloper Oct 31, 2023
a8eb53f
Merge pull request #3518 from kiwix/Issue#3515
kelson42 Nov 12, 2023
4c8f7cb
Fixed the redundancy of the 'All-Books-Mode' option for Bookmarks, No…
MohitMaliDeveloper Nov 6, 2023
ae41355
Merge pull request #3525 from kiwix/Issue#3523
kelson42 Nov 12, 2023
99614ed
Introducing reading zim file content through `fileDescriptor` instead…
MohitMaliDeveloper Oct 26, 2023
c8b98cc
Using `ParcelFileDescriptor` instead of `FileDescriptor`.
MohitMaliDeveloper Oct 31, 2023
ae08930
Fixed MimeTypeTest compilation error
MohitMaliDeveloper Oct 31, 2023
f315359
Using `AssetFileDescriptor` instead of `ParcelFileDescriptor`.
MohitMaliDeveloper Oct 31, 2023
b6d718f
Fixed note saving with `FileDescriptor`.
MohitMaliDeveloper Nov 1, 2023
845f19e
Fixed #3519.
MohitMaliDeveloper Nov 1, 2023
bdb00d7
Fixed the issue where the Zim File was not displaying in the `ZimHost…
MohitMaliDeveloper Nov 2, 2023
8b1cb8b
We are temporary hiding the `kiwixServer` feature from `Custom Apps`.
MohitMaliDeveloper Nov 6, 2023
3716b72
Merge pull request #3516 from kiwix/Issue#56
kelson42 Nov 12, 2023
f6b01a4
Fixed, I can't open Zim from an external download.
MohitMaliDeveloper Nov 16, 2023
088f28d
Fixed `MimeTypeTest`.
MohitMaliDeveloper Nov 16, 2023
fdbfe38
Merge pull request #3527 from kiwix/Issue#1447
kelson42 Nov 16, 2023
132f376
Fixed, Hitting back on the DWDS app exits it.
MohitMaliDeveloper Oct 23, 2023
e0c4b45
Removed unnecessary overriding of `onBackPressed` method.
MohitMaliDeveloper Oct 23, 2023
748f0c4
Moved openSearchItem, findInPage functionality to our `CoreReaderFrag…
MohitMaliDeveloper Oct 30, 2023
b752219
Added comments to `CustomReaderFragment` to explain why we have overr…
MohitMaliDeveloper Nov 1, 2023
4a96824
Added comments on `CoreReaderFragment` method that are implemented in…
MohitMaliDeveloper Nov 16, 2023
252d846
Merge pull request #3512 from kiwix/Issue#3507
kelson42 Nov 16, 2023
c4f5b3f
Fixed, the search is not working in dwds app.
MohitMaliDeveloper Nov 17, 2023
e6b76a5
Merge pull request #3535 from kiwix/search_not_working_in_dwds_app
kelson42 Nov 17, 2023
b5f6c54
Updated CHANGELOG file to show the changes made in the version `3.8.0`.
MohitMaliDeveloper Nov 17, 2023
7c11c5a
Merge pull request #3534 from kiwix/update_changelog_3.8.0
kelson42 Nov 20, 2023
45c12e7
Bump-up version to 3.8.0
kelson42 Nov 20, 2023
3e03201
Merge pull request #3538 from kiwix/bump-up-version-3.8.0
kelson42 Nov 20, 2023
baf2429
Fixed, Using TTS on Wikivoyage 2023-06 (Android 13) reads code aloud.
MohitMaliDeveloper Nov 17, 2023
65c262e
Fixed the lines skip issue in read aloud feature.
MohitMaliDeveloper Nov 17, 2023
72197c2
Merge pull request #3533 from kiwix/Issue#3530
kelson42 Nov 20, 2023
52fefe7
Moved version-related properties from individual build.gradle files t…
Nov 21, 2023
527e270
Merge pull request #3540 from kiwix/move_version_from_both_gradles
kelson42 Nov 21, 2023
b52e844
Remove Content from `playstore.json` file.
Nov 21, 2023
d2ba06b
Merge pull request #3545 from kiwix/remove_unnecessary_keys_from_play…
kelson42 Nov 21, 2023
a9088c0
Fixed, Sidebar adds unwanted space after closing the full screen mode.
Nov 21, 2023
43e6ce6
Merge pull request #3544 from kiwix/Issue#3543
kelson42 Nov 22, 2023
46b51bb
Fixed, Bookmark toggle is not on when opening bookmarks for existing …
Nov 21, 2023
68f811b
Fixed the issue by correctly setting up the bookmark disposable for t…
Nov 22, 2023
0dac73c
Merge pull request #3542 from kiwix/Issue#3541
kelson42 Nov 22, 2023
4929c5a
Merge pull request #3546 from kiwix/develop
kelson42 Nov 22, 2023
04868ec
Fixed: Numerous issues with links were reported by the Play Store.
Nov 23, 2023
edee77d
Merge pull request #3550 from kiwix/Issue#3549
kelson42 Nov 25, 2023
88f020e
Use GitHub 'release' event to trigger release
kelson42 Nov 25, 2023
acb9036
Merge pull request #3552 from kiwix/better-cd-release-event
kelson42 Nov 25, 2023
a1df0fe
Implemented debouncing mechanism for the search functionality.
Nov 29, 2023
c3da77b
Added unit test cases to properly test the search functionalities sce…
Nov 29, 2023
c90c631
Fixed unit test cases.
Nov 29, 2023
c3e46bb
Merge pull request #3558 from kiwix/Issue#3556
kelson42 Dec 1, 2023
9d129d5
Updated kiwi version to 3.8.1
Nov 29, 2023
6832acc
Merge pull request #3562 from kiwix/update_kiwix_version_to_3.8.1
kelson42 Dec 1, 2023
dff852c
Updated the CHANGELOG for milestone 3.8.1
Nov 29, 2023
7028489
Merge pull request #3561 from kiwix/update_changelog_of_3.8.1
kelson42 Dec 1, 2023
e258552
Localisation updates from https://translatewiki.net.
translatewiki Nov 27, 2023
6a6706c
Merge pull request #3537 from kiwix/translatewiki
kelson42 Dec 1, 2023
f6d86fb
Merge pull request #3567 from kiwix/develop
kelson42 Dec 2, 2023
2a3d479
Fixes a small bug in the apk dir variable
gouri-panda Dec 2, 2023
952b539
Adjusted the zone for triggering search suggestions.
Dec 1, 2023
f46f2f3
Introduced the disable title option for custom apps.
Dec 1, 2023
cd7b988
Adjusted the size of the hamburger icon. * To address unexpected beha…
Dec 1, 2023
2c1c678
Fixed code formatting issue.
Dec 1, 2023
88475d8
The app icon will no longer automatically be replaced with three line…
Dec 4, 2023
bbcf8be
Added a placeholder for search in custom apps.
Dec 4, 2023
e391b40
Fixed the left margin on the placeholder to make it look nice on the …
Dec 6, 2023
64582cf
Merge pull request #3566 from kiwix/Issue#3547
kelson42 Dec 6, 2023
1a13516
Improved Sidebar icon for Support Kiwix
Shreyassp002 Dec 9, 2023
78e186d
Merge pull request #3588 from Shreyassp002/develop
kelson42 Dec 10, 2023
0bc1392
Fixed the app crashes that occurred when deleting letters in a search.
Dec 11, 2023
6d5e50d
Fixed the `SearchStateTest` was failing due to improvements in the se…
Dec 11, 2023
a07bb68
Introduced a mutex to manage concurrency in the search functionality.…
Dec 12, 2023
d65265b
Merge pull request #3592 from kiwix/Issue#3581
kelson42 Dec 14, 2023
caf776a
Introduced the disable external links option for custom apps.
Dec 13, 2023
fb0cdf4
Merge pull request #3595 from kiwix/Issue#3586
kelson42 Dec 14, 2023
3ca6a15
Fixes the issue where the "Help" submenu in the sidebar is misleading…
Dec 13, 2023
ee57a1a
Merge pull request #3594 from kiwix/Issue#3584
kelson42 Dec 14, 2023
736d952
Fixed unable to open zim files on sd card in version 3.8.1
Dec 12, 2023
1b6be45
Fixed `LocalLibraryTest` that was failing.
Dec 13, 2023
2632a85
Merge pull request #3593 from kiwix/Issue#3577
kelson42 Dec 14, 2023
fc6740e
Fixed version `3.8.1` from Google Play cannot find zim on SD card tha…
Dec 8, 2023
eece22e
Merge pull request #3582 from kiwix/Issue#3579
kelson42 Dec 14, 2023
25eab4e
Introduced the 'About the app' option in the navigation for custom apps.
Dec 13, 2023
a32cc86
Merge pull request #3597 from kiwix/Issue#3590
kelson42 Dec 14, 2023
4fdbf54
Updated kiwix version to `3.9.0`.
Dec 14, 2023
fb520a3
Merge pull request #3599 from kiwix/update_kiwix_version_to_3.9.0
kelson42 Dec 14, 2023
a1ec16a
Updated `CHANGELOG` for `3.9.0`.
Dec 14, 2023
2745892
Merge pull request #3598 from kiwix/update_changelog_of_3.9.0
kelson42 Dec 14, 2023
7d27665
Fixed Start-up message to inform about the restrictions on the Google…
Dec 8, 2023
a736a7b
Fixed the URL shown in the help option and made it clickable to direc…
Dec 8, 2023
4d47198
Introducing the startup message dialog that shows the restrictions of…
Dec 8, 2023
c3a6a52
Added play store restriction dialog
MohitMaliDeveloper Dec 8, 2023
c20b40e
Added a button to the startup message dialog to directly open the Kiw…
Dec 11, 2023
90dc8ec
Enhanced the visibility of the ZIM file on the help screen for testab…
Dec 12, 2023
b572d02
Fixed HelpFragmentTest and PlayStoreRestrictionTest on api level 24
MohitMaliDeveloper Dec 12, 2023
977baf5
Merge pull request #3583 from kiwix/Issue#3576
kelson42 Dec 14, 2023
ced2182
Fixed Zimit archives are not displaying correctly.
Dec 6, 2023
226213c
Merge pull request #3580 from kiwix/Issue#3578
kelson42 Dec 14, 2023
6bd22da
Localisation updates from https://translatewiki.net.
translatewiki Dec 14, 2023
bff68c0
Merge pull request #3591 from kiwix/translatewiki
kelson42 Dec 14, 2023
2423b6b
* Fixed: Made a small improvement to the sidebar entries for "About t…
Dec 15, 2023
dcc8a40
Increased timeout for waiting the views in `ZimHostFragmentTest` sinc…
Dec 15, 2023
e33edbe
Merge pull request #3602 from kiwix/Issue#3601
kelson42 Dec 16, 2023
7356bcd
Added a small change in the CHANGELOG for `3.9.0`.
Dec 15, 2023
d0a951c
Merge pull request #3603 from kiwix/update_changelog_for_3.9.0
kelson42 Dec 16, 2023
274b96a
Debouncing mechanism removed
gouri-panda Dec 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Automated tests
strategy:
matrix:
api-level: [ 21, 30, 33 ]
api-level: [ 24, 30, 33 ]
fail-fast: false
runs-on: macos-11
steps:
Expand Down Expand Up @@ -79,16 +79,16 @@ jobs:
path: screencap.png

- name: create unit coverage
if: ${{ matrix.api-level==21 }}
if: ${{ matrix.api-level==24 }}
run: ./gradlew testDebugUnitTest testCustomexampleDebugUnitTest

- name: Upload coverage to Codecov
if: ${{ matrix.api-level==21 }}
if: ${{ matrix.api-level==24 }}
uses: codecov/codecov-action@v3

- name: Upload Coverage to GH-Actions
uses: actions/upload-artifact@v3
if: ${{ matrix.api-level==21 }}
if: ${{ matrix.api-level==24 }}
with:
name: Tests Coverage Report
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
${{ runner.os }}-gradle-

- name: Static Analysis
run: ./gradlew detekt
run: ./gradlew detektDebug detektCustomExampleDebug
- name: Upload Lint Reports
uses: actions/upload-artifact@v3
if: ${{ always() }}
Expand Down
28 changes: 11 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
name: Publish App

on:
push:
branches-ignore:
- '*'
- '*/**'
tags:
- '*'
- '*/**'
release:
types: [published]

jobs:
publish:
Expand All @@ -32,25 +27,24 @@ jobs:
echo "$SSH_KEY" | base64 -d > ssh_key
chmod 600 ssh_key

- name: Set tag variable
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV

- name: Publish APK to download.kiwix.org
env:
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
UNIVERSAL_RELEASE_APK: app/build/outputs/apk/release/*universal*.apk
ARCHIVE_NAME: kiwix-${{ github.event.release.tag_name }}.apk
run: |
./gradlew assembleRelease
cp $UNIVERSAL_RELEASE_APK kiwix-${TAG}.apk
scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no kiwix-${TAG}.apk ci@master.download.kiwix.org:/data/download/release/kiwix-android/
cp ${UNIVERSAL_RELEASE_APK} ${ARCHIVE_NAME}
scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no "$ARCHIVE_NAME" ci@master.download.kiwix.org:/data/download/release/kiwix-android/

# This is necessary for F-Droid
- name: Publish "versionInfo" to download.kiwix.org
run: |
./gradlew generateVersionCodeAndName
scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no VERSION_INFO ci@master.download.kiwix.org:/data/download/release/kiwix-android/
# This is temporary, once we will publish 3.7.0 then we will uncommented this code.
# # This is necessary for F-Droid
# - name: Publish "versionInfo" to download.kiwix.org
# run: |
# ./gradlew generateVersionCodeAndName
# scp -P 30022 -vrp -i ssh_key -o StrictHostKeyChecking=no VERSION_INFO ci@master.download.kiwix.org:/data/download/release/kiwix-android/

- name: Publish to GitHub
uses: ncipollo/release-action@v1
Expand Down
65 changes: 64 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
3.7.0
3.9.0
New Features:
* Added a start-up message to inform users about restrictions on sideloading ZIM files in the Google Store app. (/~https://github.com/kiwix/kiwix-android/pull/3583)
* Introduced the "Disable title" feature for custom apps. (/~https://github.com/kiwix/kiwix-android/pull/3566)
* Introduced the "Disable external links" feature for custom apps. (/~https://github.com/kiwix/kiwix-android/pull/3595)
* Added the show/hide "About the app" option in the navigation for custom apps. (/~https://github.com/kiwix/kiwix-android/pull/3597)
* "Support Kiwix", "About the app" are configurable for custom apps. (/~https://github.com/kiwix/kiwix-android/pull/3602)

Bug Fixes:
* Application crash occurring when deleting letters in a search. (/~https://github.com/kiwix/kiwix-android/pull/3592)
* Enhanced the permission-asking scenario for the Kiwix app. (/~https://github.com/kiwix/kiwix-android/pull/3593)
* Zimit archives were not displaying correctly. (/~https://github.com/kiwix/kiwix-android/pull/3580)
* Addressed the issue of not being able to find ZIM files on the SD card that are copied to the app-specific directory in the Play Store variant. (/~https://github.com/kiwix/kiwix-android/pull/3582)
* Removed the "Help" menu from the sidebar for custom apps. (/~https://github.com/kiwix/kiwix-android/pull/3594)
* Updated the "Support Kiwix" icon in sidebar. (/~https://github.com/kiwix/kiwix-android/pull/3588)

3.8.1
Bug Fixes:
* Application crash occurring when users rapidly typed during a search for an entry. (/~https://github.com/kiwix/kiwix-android/pull/3558)
* Play Store deep linking issue on Android 12 and above. (/~https://github.com/kiwix/kiwix-android/pull/3550)

3.8.0
New Features:
* Download pause/resume feature. (/~https://github.com/kiwix/kiwix-android/pull/3459)
* Added support to read ZIM files from USB-OTG stick. (/~https://github.com/kiwix/kiwix-android/pull/3471)
* Endless suggestion list while searching articles. (/~https://github.com/kiwix/kiwix-android/pull/3217)
* Refactored LocalFileTransfer UI to educate users on how to use this feature. (/~https://github.com/kiwix/kiwix-android/pull/3497)

Bug Fixes:
* All books notes switch is always enabled. (/~https://github.com/kiwix/kiwix-android/pull/3449)
* Download remained pending indefinitely if we canceled it from the notification. (/~https://github.com/kiwix/kiwix-android/pull/3451)
* Enhanced permission asking scenario for custom apps. (/~https://github.com/kiwix/kiwix-android/pull/3439)
* If the storage is already configured, it was again showing while downloading. (/~https://github.com/kiwix/kiwix-android/pull/3464)
* The keyboard repeatedly disappears and reappears while searching articles. (/~https://github.com/kiwix/kiwix-android/pull/3469)
* Bookmark toggle is not ON for saved bookmarks. (/~https://github.com/kiwix/kiwix-android/pull/3473)
* Article opening after search page result leads to a blank page. (/~https://github.com/kiwix/kiwix-android/pull/3217)
* Random article function not working. (/~https://github.com/kiwix/kiwix-android/pull/3217)
* 500 Error happens on the server. (/~https://github.com/kiwix/kiwix-android/pull/3217)
* Unable to open the support link with the default browser. (/~https://github.com/kiwix/kiwix-android/pull/3504)
* Unable to upload APK on the play store. (/~https://github.com/kiwix/kiwix-android/pull/3506)
* Hosted Books don't update on Application. (/~https://github.com/kiwix/kiwix-android/pull/3218)
* Cannot open ZIM files from phone storage via the file picker in Android 13. (/~https://github.com/kiwix/kiwix-android/pull/3518)
* The redundancy of the 'All-Books-Mode' option for Bookmarks, Notes, and History in custom apps. (/~https://github.com/kiwix/kiwix-android/pull/3525)
* The same Note saves multiple times while we are updating existing notes. (/~https://github.com/kiwix/kiwix-android/issues/3519)
* Reduced mass-storage consumption with Android custom apps with embedded ZIM. (/~https://github.com/kiwix/kiwix-android/pull/3516)
* Hitting back in the custom apps exits it. (/~https://github.com/kiwix/kiwix-android/pull/3512)
* Multiple memory leaks
* Updated README file to show file picker restriction. (/~https://github.com/kiwix/kiwix-android/pull/3414)
+ More

Compilation/CI/CD:
* Adapted libkiwix `1.0.0`. (/~https://github.com/kiwix/kiwix-android/pull/3217)
* Deprecated code check in CI. (/~https://github.com/kiwix/kiwix-android/pull/3440)
* Added/improved test cases.

3.7.1
* FIX: Useless permission request at start for custom apps
* FIX: Few code deprecations
* FIX: Broken back button in custom apps
* FIX: Broken not saving notes in custom apps
* FIX: Application crashing while adding notes
* FIX: Partly broken fullscreen feature
* FIX: Invisible suggestion box in custom apps

3.7.0
New Features:
* Support for Android 13.
* Scrollbar indicator in the download screen
Expand Down
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,31 @@
Kiwix is an offline reader for Web content. One of its main purposes
is to make Wikipedia available offline. This is done by reading the
content of a file in the ZIM format, a highly compressed open format
with additional metadata. This is the version for Android.
with additional metadata.

This is the version for Android, with support versions ranging from 7
to 13 (like [mentioned
here](/~https://github.com/kiwix/kiwix-android/blob/develop/buildSrc/src/main/kotlin/Config.kt)).

**Important Note**: Starting from Android 11, the ZIM file picker
feature has been restricted in the Play Store variant due to Play
Store policies. This means that users running Android 11 and above
will not be able to load ZIM files from internal/external storage
directly within the app if they have downloaded Kiwix from the Google
Play Store. This restriction is in place to comply with the Play
Store policies. The Play Store variant of Kiwix does not require the
`MANAGE_EXTERNAL_STORAGE` permission anymore, which is necessary to
scan storage and access ZIM files at arbitrary locations. Therefore,
the storage scanning & file picking functionalities are not available
in this variant anymore. To use the full version of Kiwix and benefit
of the ZIM file picker feature, you can download it directly from the
[official
repository](https://download.kiwix.org/release/kiwix-android/) or use
[F-Droid](https://fdroid.kiwix.org). We understand that this
restriction may cause inconvenience, but it is necessary to comply
with the Play Store policies and ensure a smooth user experience. We
recommend using the official version of the app available on our
website to access the complete set of features.

Kiwix Android is written in [Kotlin](https://kotlinlang.org/)

Expand Down Expand Up @@ -39,13 +63,14 @@ If you are interested in our custom apps they have their own repo [kiwix-android

## Libraries Used

- [Libkiwix](/~https://github.com/kiwix/java-libkiwix) - Kotlin/Java binding for the core Kiwix library
- [Dagger 2](/~https://github.com/google/dagger) - A fast dependency injector for Android and Java
- [Retrofit](https://square.github.io/retrofit/) - Retrofit turns your REST API into a Java interface
- [OkHttp](/~https://github.com/square/okhttp) - An HTTP+SPDY client for Android and Java applications
- [Butterknife](https://jakewharton.github.io/butterknife/) - View "injection" library for Android
- [Mockito](/~https://github.com/mockito/mockito) - Most popular Mocking framework for unit tests written in Java
- [RxJava](/~https://github.com/ReactiveX/RxJava) - Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
- [ObjectBox](/~https://github.com/objectbox/objectbox-java) - Reactive NoSQL Databse
- [ObjectBox](/~https://github.com/objectbox/objectbox-java) - Reactive NoSQL Database
- [MockK](/~https://github.com/mockk/mockk) - Kotlin mocking library that allows mocking of final classes by default.
- [JUnit5](/~https://github.com/junit-team/junit5/) - The next generation of JUnit
- [AssertJ](/~https://github.com/joel-costigliola/assertj-core) - Fluent assertions for test code
Expand Down
18 changes: 6 additions & 12 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@ plugins.apply(KiwixConfigurationPlugin::class)

apply(from = rootProject.file("jacoco.gradle"))

ext {
set("versionMajor", 3)
set("versionMinor", 7)
set("versionPatch", 0)
}

fun generateVersionName() = "${ext["versionMajor"]}.${ext["versionMinor"]}.${ext["versionPatch"]}"
fun generateVersionName() = "${Config.versionMajor}.${Config.versionMinor}.${Config.versionPatch}"

/*
* max version code: 21-0-0-00-00-00
Expand All @@ -30,9 +24,9 @@ fun generateVersionName() = "${ext["versionMajor"]}.${ext["versionMinor"]}.${ext

fun generateVersionCode() =
20 * 10000 +
ext["versionMajor"] as Int * 10000 +
ext["versionMinor"] as Int * 100 +
ext["versionPatch"] as Int
Config.versionMajor * 10000 +
Config.versionMinor * 100 +
Config.versionPatch

val apkPrefix get() = System.getenv("TAG") ?: "kiwix"

Expand Down Expand Up @@ -73,7 +67,7 @@ android {
}
create("nightly") {
initWith(getByName("debug"))
setMatchingFallbacks("debug")
matchingFallbacks += "debug"
}
}
bundle {
Expand All @@ -93,7 +87,7 @@ android {
play {
enabled.set(true)
serviceAccountCredentials.set(file("../playstore.json"))
track.set("alpha")
track.set("internal")
releaseStatus.set(com.github.triplet.gradle.androidpublisher.ReleaseStatus.DRAFT)
resolutionStrategy.set(com.github.triplet.gradle.androidpublisher.ResolutionStrategy.FAIL)
}
Expand Down
7 changes: 2 additions & 5 deletions app/detekt_baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<ID>MagicNumber:ShareFiles.kt$ShareFiles$24</ID>
<ID>MagicNumber:ZimManageViewModel.kt$ZimManageViewModel$5</ID>
<ID>MagicNumber:ZimManageViewModel.kt$ZimManageViewModel$500</ID>
<ID>NestedBlockDepth:LocalLibraryFragment.kt$LocalLibraryFragment$private fun checkPermissions()</ID>
<ID>MagicNumber:LocalFileTransferFragment.kt$LocalFileTransferFragment$500</ID>
<ID>NestedBlockDepth:LocalLibraryFragment.kt$LocalLibraryFragment$private fun checkManageExternalStoragePermission()</ID>
<ID>NestedBlockDepth:PeerGroupHandshake.kt$PeerGroupHandshake$private fun readHandshakeAndExchangeMetaData(): InetAddress?</ID>
<ID>NestedBlockDepth:ReceiverHandShake.kt$ReceiverHandShake$override fun exchangeFileTransferMetadata(inputStream: InputStream, outputStream: OutputStream)</ID>
<ID>PackageNaming:AvailableSpaceCalculator.kt$package
Expand All @@ -25,10 +26,6 @@
org.kiwix.kiwixmobile.zimManager.fileselectView</ID>
<ID>PackageNaming:FileSystemChecker.kt$package org.kiwix.kiwixmobile.zimManager</ID>
<ID>PackageNaming:FileWritingFileSystemChecker.kt$package org.kiwix.kiwixmobile.zimManager</ID>
<ID>PackageNaming:HotspotNotificationManager.kt$package org.kiwix.kiwixmobile.webserver.wifi_hotspot</ID>
<ID>PackageNaming:HotspotStateReceiver.kt$package org.kiwix.kiwixmobile.webserver.wifi_hotspot</ID>
<ID>PackageNaming:IpAddressCallbacks.kt$package org.kiwix.kiwixmobile.webserver.wifi_hotspot</ID>
<ID>PackageNaming:HotspotService.kt$package org.kiwix.kiwixmobile.webserver.wifi_hotspot</ID>
<ID>PackageNaming:LibraryAdapter.kt$package
org.kiwix.kiwixmobile.zimManager.libraryView.adapter</ID>
<ID>PackageNaming:LibraryDelegate.kt$package
Expand Down
7 changes: 5 additions & 2 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@

-keepclassmembers class org.kiwix.videowebview.VideoEnabledWebView$JavascriptInterface { public *; }

#keep everything in kiwixlib
-keep class org.kiwix.kiwixlib.** { *; }
#keep everything in libkiwix
-keep class org.kiwix.libkiwix.** { *; }

#keep everything in libzim
-keep class org.kiwix.libzim.** { *; }

## SimpleXml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package org.kiwix.kiwixmobile

import android.Manifest.permission
import android.content.Context
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.core.app.ActivityScenario
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry.getInstrumentation
import androidx.test.rule.GrantPermissionRule
Expand All @@ -32,16 +32,16 @@ import org.kiwix.kiwixmobile.main.KiwixMainActivity

@RunWith(AndroidJUnit4::class)
abstract class BaseActivityTest {
@get:Rule
open var activityScenarioRule = ActivityScenarioRule(KiwixMainActivity::class.java)
open lateinit var activityScenario: ActivityScenario<KiwixMainActivity>

@get:Rule
var readPermissionRule: GrantPermissionRule =
GrantPermissionRule.grant(permission.READ_EXTERNAL_STORAGE)
private val permissions = arrayOf(
permission.READ_EXTERNAL_STORAGE,
permission.WRITE_EXTERNAL_STORAGE
)

@get:Rule
var writePermissionRule: GrantPermissionRule =
GrantPermissionRule.grant(permission.WRITE_EXTERNAL_STORAGE)
var permissionRules: GrantPermissionRule =
GrantPermissionRule.grant(*permissions)

val context: Context by lazy {
getInstrumentation().targetContext.applicationContext
Expand Down
22 changes: 8 additions & 14 deletions app/src/androidTest/java/org/kiwix/kiwixmobile/NetworkTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ package org.kiwix.kiwixmobile

import android.Manifest
import android.util.Log
import androidx.test.InstrumentationRegistry
import androidx.test.core.app.ActivityScenario
import androidx.test.espresso.Espresso
import androidx.test.espresso.IdlingPolicies
import androidx.test.espresso.IdlingRegistry
import androidx.test.espresso.action.ViewActions
import androidx.test.espresso.matcher.ViewMatchers
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.rule.ActivityTestRule
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.rule.GrantPermissionRule
import com.adevinta.android.barista.interaction.BaristaClickInteractions.clickOn
import com.adevinta.android.barista.interaction.BaristaDialogInteractions
Expand Down Expand Up @@ -57,21 +57,15 @@ class NetworkTest {
// @Inject
// MockWebServer mockWebServer

@Rule
@JvmField
var mActivityTestRule = ActivityTestRule(
KiwixMainActivity::class.java, false, false
private val permissions = arrayOf(
Manifest.permission.READ_EXTERNAL_STORAGE,
Manifest.permission.WRITE_EXTERNAL_STORAGE
)

@Rule
@JvmField
var readPermissionRule: GrantPermissionRule =
GrantPermissionRule.grant(Manifest.permission.READ_EXTERNAL_STORAGE)

@Rule
@JvmField
var writePermissionRule: GrantPermissionRule =
GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE)
var permissionRules: GrantPermissionRule =
GrantPermissionRule.grant(*permissions)

@Before fun setUp() {
val component = DaggerTestComponent.builder().context(
Expand Down Expand Up @@ -99,7 +93,7 @@ class NetworkTest {

@Test @Ignore("Broken in 2.5") // TODO Fix in 3.0
fun networkTest() {
mActivityTestRule.launchActivity(null)
ActivityScenario.launch(KiwixMainActivity::class.java)
BaristaSleepInteractions.sleep(TestUtils.TEST_PAUSE_MS.toLong())
clickMenu(TestUtils.getResourceString(R.string.library))
TestUtils.allowStoragePermissionsIfNeeded()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package org.kiwix.kiwixmobile.core.di.modules
import dagger.Module
import dagger.Provides
import io.mockk.mockk
import org.kiwix.kiwixlib.JNIKiwix
import org.kiwix.libkiwix.JNIKiwix
import javax.inject.Singleton

/**
Expand Down
Loading