6961 Commits

Author SHA1 Message Date
MohitMaliFtechiz
073580701a Removed fdroid variant
* We have removed the F-Droid variant since we are not planning to publish the application on F-Droid until we have completely removed Object Box from our codebase.
2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
76f8c35dd1 Added edge test cases in ObjecBoxToRoomMigrator for recent search migration 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
edcb10e59d Placing condition for checking recent search migrated or not using sharedPreference 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
b7ba82d2ed Fixed unit coverage 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
4aea6ebfe3 Removed FdroidCallback and improved test cases 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
f091da24c7 Added test cases for inserting very long values, undefined values, empty values, unicode values into room database for recent searches 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
613d375e1d Refactor test cases 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
954c4f5d55 separating room accesor and migration code 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
1bd468fd58 Fixed test failure and improve funcation naming 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
18b29086e1 Migrated recentSearchRoomDaoTest test cases into one test 2023-08-17 11:35:04 +08:00
MohitMaliFtechiz
790d75645e Improved variables naming
* Fixed BUILD_TYPE condition issue.
* Improved code for `RecentSearchRoomDaoTest`
2023-08-17 11:35:04 +08:00
Gouri Panda
8335929088 Fixed test cases 2023-08-17 11:35:04 +08:00
Gouri Panda
da7871e9d6 Fix test bug 2023-08-17 11:35:04 +08:00
Gouri Panda
1723a5bf1f Added & refactored tests 2023-08-17 11:35:04 +08:00
Gouri Panda
4fcaf464a5 Created separate database callback for separate releases 2023-08-17 11:35:04 +08:00
Gouri Panda
3bb9c0be37 Fix fdroid gradle 2023-08-17 11:35:04 +08:00
Gouri Panda
b6d8fdd722 Refactored/migrated From Object box to Room 2023-08-17 11:35:04 +08:00
Gouri Panda
d4d3d9059b Added Room dependency 2023-08-17 11:35:04 +08:00
Gouri Panda
e8f6199b47 Added playstore and fdroid flavors to gradle 2023-08-17 11:35:04 +08:00
Kelson
b628d7c46c
Merge pull request #3414 from kiwix/Issue#3406
Updated README.md file to explain ZIM File Picker Restriction and Storage Scanning in play store variant
2023-08-17 11:33:22 +08:00
Emmanuel Engelhart
c1c1cac1ee
Few rewrittings 2023-08-17 11:30:10 +08:00
MohitMaliFtechiz
416edddb9a
Updated README.md file to explain ZIM File Picker Restriction and Storage Scanning in play store variant 2023-08-17 11:21:16 +08:00
Kelson
3b8ba6364b
Merge pull request #3464 from kiwix/Issue#3463
Fixes of Storage configured dialog showing again in OnlineLibraryFragment if we configured it from settings's screen
2023-08-17 11:13:37 +08:00
MohitMali
b624f1cbb5 Hide storage selection dialog from OnlineLibraryFragment if user already configured the storage in settings 2023-08-17 11:13:27 +08:00
Kelson
908a238856
Merge pull request #3459 from kiwix/PauseResumeDownload
Reintroduced Download pause/resume
2023-08-17 11:11:04 +08:00
MohitMali
64c3c041f6 Added test case for testing the pause/resume functionality 2023-08-01 12:15:17 +05:30
MohitMali
5b3aa73d53 Enabled pause/resume functionality in downloading notification 2023-07-31 13:50:31 +05:30
MohitMali
0a2cff92b5 Introduced pause/resume functionality.
* Added pause/resume button beside the stop button to perform pause/resume action on the downloading zim file.
* Handling pause/resume via fetch library.
2023-07-31 13:50:23 +05:30
MohitMali
524c469d78 Refactored the code to fix the issue, if we canceled downloading from the notification 2023-07-31 13:50:09 +05:30
MohitMali
ba4031258e Fixes of Zim file does not download / pending forever 2023-07-31 13:50:00 +05:30
Kelson
8469e18e23
Merge pull request #3439 from kiwix/Fixes#3370
Improved the permission asking scenario for custom apps
2023-07-26 07:44:55 +02:00
MohitMaliFtechiz
b1eb76e49b Improved the permission asking scenario for custom apps 2023-07-26 07:44:21 +02:00
Kelson
06c9dbc9ca
Merge pull request #3451 from kiwix/Issue#3441
Fixes of Zim file does not download / pending forever
2023-07-26 07:43:43 +02:00
MohitMali
842a7ee737 Fixed downloading pending forever if we canceled it from notification 2023-07-19 14:08:11 +05:30
Kelson
8a105ae296
Merge pull request #3440 from kiwix/Issue#3409
Introducing deprecated code check in CI
2023-07-19 08:09:43 +02:00
MohitMali
9d49bbbf31 Removed unnecessary classes from the custom rule and suppressed the Compat21 file because we are handling the deprecated code within it. Therefore, we don't want Detekt to check this file for deprecations. 2023-07-19 08:09:31 +02:00
MohitMali
ae5b3a5074 Added RuleSetProvider file to define our custom rules 2023-07-19 08:09:31 +02:00
MohitMali
8e6c74abe8 Introduced custom rule for detekt to exclude the deprecated imports 2023-07-19 08:09:31 +02:00
MohitMali
af23cf56b7 Detecting deprecated code via detekt and fixed detekt detection for the issues in project, and refactored deprecated rules of detekt 2023-07-19 08:09:31 +02:00
Kelson
73fe388514
Merge pull request #3449 from kiwix/Issue#3448
Fixes of View Notes from all books Switch is always enabled
2023-07-19 07:00:45 +02:00
MohitMali
38d6335860 Fixes of View Notes from all books Switch is always enabled 2023-07-19 07:00:35 +02:00
Kelson
c49d8d8ac3
Merge pull request #3447 from kiwix/Issue#3446
Fixes of `UnsafeCallOnNullableType` and `UnnecessaryAbstractClass` issues found by detekt
2023-07-19 06:57:36 +02:00
MohitMali
6e195fc42f Fixed the UnsafeCallOnNullableType detekt issue in the project. 2023-07-18 22:42:54 +02:00
MohitMali
7493b842b7 Fixed UnnecessaryAbstractClass issue of detekt 2023-07-18 22:42:54 +02:00
Kelson
1806495674
Merge pull request #3450 from kiwix/Issue#3395
Fixes of Refactor the Toolbar functionality
2023-07-18 22:41:38 +02:00
MohitMali
eeaceabf0a Fixed test failure 2023-07-18 22:41:12 +02:00
MohitMali
f8594b0183 Moved the common toolbar functionality to the BaseFragment 2023-07-18 22:41:12 +02:00
Kelson
79e43d8735
Merge pull request #3444 from kiwix/Issue#3443
Fixes of Some deprecation warnings are showing in the logs but they are already fixed
2023-07-18 22:40:45 +02:00
MohitMali
7445da9bfc Replaced deprecated onOptionsItemSelected and onCreateOptionsMenu methods with new MenuProvider API. 2023-07-05 18:06:39 +05:30
MohitMali
f2d130c547 Fixes of Some deprecation warnings are showing in the logs but they are already fixed 2023-07-03 18:44:33 +05:30