2178 Commits

Author SHA1 Message Date
Sean Mac Gillicuddy
3cb357f9bd Merge branch 'master' into macgills/2.5-mergeable-to-dev
# Conflicts:
#	app/build.gradle
#	app/src/androidTest/java/org/kiwix/kiwixmobile/database/KiwixDatabaseTest.java
#	app/src/androidTestKiwix/java/org/kiwix/kiwixmobile/tests/DownloadTest.java
#	app/src/androidTestKiwix/java/org/kiwix/kiwixmobile/tests/NetworkTest.java
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/org/kiwix/kiwixmobile/KiwixApplication.java
#	app/src/main/java/org/kiwix/kiwixmobile/base/BaseFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/local/dao/BookDao.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/local/dao/NetworkLanguageDao.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/local/entity/BookDataSource.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/remote/KiwixService.java
#	app/src/main/java/org/kiwix/kiwixmobile/database/KiwixDatabase.java
#	app/src/main/java/org/kiwix/kiwixmobile/di/components/ApplicationComponent.java
#	app/src/main/java/org/kiwix/kiwixmobile/di/modules/ApplicationModule.java
#	app/src/main/java/org/kiwix/kiwixmobile/di/modules/NetworkModule.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/ChunkUtils.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadService.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/model/DownloadModel.kt
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/model/DownloadRequest.kt
#	app/src/main/java/org/kiwix/kiwixmobile/error/ErrorActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/library/LibraryAdapter.java
#	app/src/main/java/org/kiwix/kiwixmobile/library/entity/LibraryNetworkEntity.java
#	app/src/main/java/org/kiwix/kiwixmobile/main/MainActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/settings/KiwixSettingsActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/utils/DialogShower.kt
#	app/src/main/java/org/kiwix/kiwixmobile/utils/LanguageUtils.java
#	app/src/main/java/org/kiwix/kiwixmobile/utils/SharedPreferenceUtil.java
#	app/src/main/java/org/kiwix/kiwixmobile/utils/files/FileSearch.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/SectionsPagerAdapter.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/ZimManageActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/ZimManagePresenter.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/fileselect_view/ZimFileSelectFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/library_view/LibraryFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/library_view/LibraryPresenter.java
#	app/src/main/res/layout/activity_library.xml
#	app/src/main/res/layout/download_item.xml
#	app/src/main/res/layout/download_management.xml
#	app/src/main/res/layout/language_selection.xml
#	app/src/main/res/layout/library_item.xml
#	app/src/main/res/layout/zim_list.xml
#	app/src/main/res/layout/zim_manager.xml
#	app/src/main/res/values/dimens.xml
#	app/src/main/res/values/strings.xml
#	build.gradle
#	gradle/wrapper/gradle-wrapper.properties
2019-06-05 11:45:16 +01:00
soloturn
a43e631de0 switching from apply plugin to pluins {}
following this migration guide:
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
2019-06-01 17:37:09 +01:00
soloturn
a0977ce446 replace ' with " in build.gradle
prepare migration to build.gradle.kts, following:
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
2019-06-01 17:37:09 +01:00
soloturn
959670468f remove androidstudio warnings from app/build.gradle 2019-06-01 17:37:09 +01:00
soloturn
4e572fb8d6 update android tools to 3.4.1 2019-06-01 17:37:09 +01:00
soloturn
1b866d6903 proguard, D8: Type 'sun.misc.Unsafe' was not found 2019-06-01 17:37:09 +01:00
soloturn
2b7d12ce14 update gradlew distribution url to gradle-5.4.1 2019-06-01 17:37:09 +01:00
macgills
fac411fe6f
Merge pull request #1182 from kiwix/macgills/#1174-introduce-unit-testing
Macgills/#1174 introduce unit testing
2019-05-30 09:05:35 +01:00
macgills
2239acb050
Merge pull request #1179 from kiwix/macgills/2.5-changelog-update
Update changelog
2019-05-28 15:52:30 +01:00
Sean Mac Gillicuddy
263bb7231d #1174 update dependencies in readme and remove old testImplementations 2019-05-28 15:48:45 +01:00
Sean Mac Gillicuddy
92a0fb36cb #1174 Introduce Unit Testing - finish testing of ZimManageViewModel, extracting necessary pieces to allow testability 2019-05-28 15:22:49 +01:00
Sean Mac Gillicuddy
9e3bbe58ba #1174 Introduce Unit Testing - example of unit testing of a viewmodel 2019-05-27 17:02:04 +01:00
Sean Mac Gillicuddy
f0faa0b6b6 Update changelog 2019-05-27 12:58:38 +01:00
Kelson
ed5c724b3f
Fix Google Play badge 2019-05-23 15:26:08 +02:00
macgills
fcac33cf2d
Merge pull request #1170 from kiwix/macgills/2.5-downloader
Macgills/2.5 downloader
2019-05-23 13:04:27 +01:00
Sean Mac Gillicuddy
aa01598e27 Fix padding of abbpar for ZimManageActivity. Stop creating unused tables, drop unused table 2019-05-20 13:19:25 +01:00
chris1b
ad693a9e5b improve network status check: re-create clean feature branch #934
delete feature/improve_network_status_check and recreate from current
upstream/master as feature/improve_network_status_check__recreated
2019-05-18 18:06:24 +02:00
waahm7
da6ed6d375 Fix zoom level color bug 2019-05-18 16:27:07 +02:00
Raj Bohra
9d0a3f6f5e fix read aloud toolbar issue 2019-05-18 15:05:14 +02:00
Sean Mac Gillicuddy
75c47055c1 Create migration for DB, up DB version. Delete Unused methods and mark old dbs deprecated 2019-05-17 13:34:46 +01:00
Sean Mac Gillicuddy
fd31d39158 revert to original dao/schemas prior to writing migration 2019-05-17 11:23:17 +01:00
Sean Mac Gillicuddy
a892668acb Add new objectbox databases and replace usages of old dbs. Use Kapt for annotationProcesing. Raise MinSDK. Add timeouts to network requests. 2019-05-17 10:54:07 +01:00
Sean Mac Gillicuddy
9a3d44b77f Fix bug when a null book is found on storage 2019-05-15 14:46:39 +01:00
Sean Mac Gillicuddy
ed6a632af5 Redo upgrade of leakcanary, leakcanary 2.0 has androidx dependencies and cannot be included. Remove multidex again 2019-05-15 13:59:09 +01:00
Sean Mac Gillicuddy
4370ee61e9 Revert "Remove multidex as not needed without guava/apache, upgrade leakcanary to fix crash"
This reverts commit 6e33ae22012218baef08dad7bc860138e536627d.
2019-05-15 13:47:21 +01:00
Sean Mac Gillicuddy
6e33ae2201 Remove multidex as not needed without guava/apache, upgrade leakcanary to fix crash 2019-05-15 13:41:21 +01:00
Sean Mac Gillicuddy
5b01c30a51 Migrate from to new Model for BookDatabaseEntity 2019-05-15 13:21:11 +01:00
Sean Mac Gillicuddy
0503d7272b poll for external storage permission before checking file system 2019-05-15 10:15:40 +01:00
Sean Mac Gillicuddy
2d19903708 Show downloads tab when notification is clicked on 2019-05-15 10:08:45 +01:00
Sean Mac Gillicuddy
73690fbd23 Add fat32 checker that checks on storage change and on deletion/file removal. Fix library stream breaking on error 2019-05-14 14:19:46 +01:00
Sean Mac Gillicuddy
e5773391c9 Move check on adding a download pre db insertion. Handle downloads cancelled outside application. Use transaction to mediate refresh rate of observables 2019-05-13 15:01:55 +01:00
Sean Mac Gillicuddy
e86b3ef11e Bump version name/number 2019-05-13 09:44:53 +01:00
Sean Mac Gillicuddy
287d816304 Downloads now fully support states from a Query. Language handling improved. Guava & apache commons removed 2019-05-10 16:20:46 +01:00
Sean Mac Gillicuddy
f318da929c Delete duplicate dialog, format and clean up PagerAdapter, languageViewHolder, BooksAdapter, LibraryFragment 2019-05-09 16:28:20 +01:00
Sean Mac Gillicuddy
d819352d60 Convert ZimManageActivity to Kotlin and reactive streams 2019-05-09 14:58:20 +01:00
Sean Mac Gillicuddy
41a753a1e6 LibraryFragment converted to Kotlin and observing reactive streams 2019-05-07 13:03:21 +01:00
Sean Mac Gillicuddy
61697b502c ZimFileSelectFragment rewritten in kotlin and observing reactive streams of data 2019-05-01 14:04:39 +01:00
Sean Mac Gillicuddy
464ddf742b Migrate DownloadFragment to kotlin and integrate with new Downloader 2019-04-30 12:21:06 +01:00
macgills
c83e6f2fd0
For 2.5: Proposal: Use Kotlin as the primary development language for… (#1167)
* For 2.5: Proposal: Use Kotlin as the primary development language for Kiwix #648

* Update mockito

* apply 2 space indent
2019-04-30 09:37:55 +01:00
Shubham gupta Ggps
184f63a854 Updated gradle build tools too 3.3.2 2019-03-31 16:58:56 +01:00
Shubham gupta Ggps
0db3f86318 Update butterknife to 10.1.0 2019-03-31 16:58:56 +01:00
Adeel Zafar
e87ce5a2f1 Fixed Specific Dates With Keywords
Use LocalDate to get current date and yesterday's date.
Then compare these dates with history's dates.
Use strings values "Today" and "Yesterday" wherever required.
Used Java 8's classes LocalDate which works for API 26 and onwards.
Add JakeWharton's ABPThreeTen For BackwardCompatibility before API 26
Hence, I had to increase the minSdk to 15 as it doesn't works with 14
Added 'Today' and 'Yesterday' instead of specific dates in History
2019-03-31 16:21:02 +02:00
mhutti1
ecec1f4169 Upgrade gradlew to 5.2 2019-03-30 22:30:52 +00:00
Sonu Sourav
82a85cc8dc Multiple History date format 2019-03-30 21:01:02 +00:00
Sonu Sourav
6c07ca4649 Added material design to closeAllTabs FAB (#1045) 2019-03-30 20:35:53 +00:00
Sonu Sourav
3c8c9d459f Fixes onDestroyActionMode issue 2019-03-30 20:14:00 +00:00
Sonu Sourav
853368d284 Fixes changing title name 2019-03-26 22:34:02 +00:00
Sonu Sourav
18206a6e45 Changed actionModeOverlay to True 2019-03-26 22:01:30 +00:00
Sonu Sourav
898f42d032 Fixes search icon disappearance 2019-03-26 21:45:05 +00:00
Kelson
254ed92afd
Kiwix logo on the right for a better readability 2019-03-23 19:09:17 +01:00