siddharth2010
066700bd46
need to fix bug in last test case
2018-06-14 23:46:08 +01:00
siddharth2010
67388ddd56
Test all base cases in FileUtils.getAllZimParts
2018-06-14 23:46:08 +01:00
siddharth2010
9fb27f52ad
fix powermock bug
2018-06-14 23:46:08 +01:00
siddharth2010
60b9d173d9
Need to fix bug in powermock code
2018-06-14 23:46:08 +01:00
siddharth2010
689e98563b
convert the FileUtils instrumentation test into a unit test
2018-06-14 23:46:08 +01:00
siddharth2010
1af0d11f86
Add TODOs for FileUtilsTest
2018-06-14 23:46:08 +01:00
siddharth2010
d0a034a65e
Add tests for FileUtilsTest
2018-06-14 23:46:08 +01:00
siddharth2010
e2558af84a
remove unused imports and check indentation
2018-06-14 23:46:08 +01:00
siddharth2010
0184e5adfe
complete testing ChunkUtils
2018-06-14 23:46:08 +01:00
siddharth2010
443fb855d4
Add PowerMock to the project
2018-06-14 23:46:08 +01:00
siddharth2010
4a453dfe40
Add tests for downloader/ChunkUtils
2018-06-14 23:46:08 +01:00
Sakchham Sharma
0549624c44
changed chunk download logic.
2018-06-06 23:53:24 +01:00
Abdul Wadood
f44b949b86
Add app shortcuts
2018-06-05 23:04:01 +01:00
Joe Reeve
0346422cc7
Modified help page drawer behaviour ( #719 )
...
* Fixed drawer tests in other languages
* Restructured getResourceString
2018-06-04 19:22:23 +01:00
siddharth2010
4ff6bc60f1
Fix Codestyle: Add spaces after commas
2018-06-04 19:19:12 +01:00
siddharth2010
5759207fbe
delete StyleUtilsTest
...
StyleUtilsTest does not have any internal logic to be tested and so unit tests for it are not needed
2018-06-04 19:19:12 +01:00
siddharth2010
8bbb8bf7a4
Add TODOs for StyleUtilsTest
2018-06-04 19:19:12 +01:00
siddharth2010
dea45194e9
Add BookUtilsTest
2018-06-04 19:19:12 +01:00
siddharth2010
a2ee79da52
add test for utils/DimenUtils
2018-06-04 19:19:12 +01:00
siddharth2010
995d69297d
add test for utils/NetworkUtils
2018-06-04 19:19:12 +01:00
siddharth2010
97958665bd
add test for zim_manager/library_view/LibraryUtils
2018-06-04 19:19:12 +01:00
mhutti1
60c159ad91
Fix opening ZIM files from file system searching
2018-05-31 11:23:08 +01:00
mhutti1
f37cf860c2
Fix provider domain when updating from 2.2
2018-05-30 23:26:37 +01:00
Abdul Wadood
05ca65f525
Add BaseContract
2018-05-30 23:24:11 +01:00
Abdul Wadood
0691ac5e5b
Move SplashActivity to splash package
2018-05-30 23:24:11 +01:00
Abdul Wadood
2bd4b8988a
Rename KiwixErrorActivity to ErrorActivity and move it to error package
2018-05-30 23:24:11 +01:00
Abdul Wadood
974ec85da9
Move ZimContentProvider to data package
2018-05-30 23:24:11 +01:00
Abdul Wadood
0a45040747
Remove views package.
...
Move classes to their respective package.
2018-05-30 23:24:11 +01:00
Abdul Wadood
d052b0bfd6
Rename bookmarks_view package to bookmark
2018-05-30 23:24:11 +01:00
Abdul Wadood
18f06d8f27
Make local and remote data sources
2018-05-30 23:24:11 +01:00
Abdul Wadood
9845985099
Rename KiwixMobileActivity to MainActivity and move it to main package
2018-05-30 23:24:11 +01:00
mhutti1
4c6bff34cb
Use page title as toc header if h1 is not used
2018-05-21 12:42:19 +01:00
mhutti1
f7ab93153c
Reset locale to selected on each activity creation
2018-05-20 21:21:40 +01:00
mhutti1
5d375bf4a4
Add dummy webview creation before setting locale
2018-05-20 21:21:40 +01:00
mhutti1
308a7e5f67
Update error activity create to use application context
2018-05-20 18:55:59 +01:00
mhutti1
3bead53f13
Remove download notificaiton channel sound
2018-05-20 15:32:05 +01:00
mhutti1
ac59840bcd
Remove stack exchange zim files from remote library
2018-05-20 14:55:50 +01:00
Brijesh Shah
51d241bfc4
Fix: App directly minimizes on back pressed in Find in page ( #673 )
2018-04-28 00:06:57 +01:00
Arpan Konar
0585c4f68f
Fixed stopped download restart on restarting app and line continuations spacing ( #450 )
2018-04-21 02:02:15 +01:00
Abdul Wadood
d7fae9b66b
Add dependency injection in KiwixErrorActivity
2018-04-21 01:46:45 +01:00
Julian Harty
00c10762a3
A minor fix that was uncovered by running our automated tests on devices
...
without an internet connection (but WiFi had networks available).
I mimiced the behaviour of the lines earlier in the method. It might be
worth revising the code soon as it's not entirely accurate these days.
https://github.com/kiwix/kiwix-android/issues/722
2018-04-21 01:43:09 +01:00
Hemant Joshi
0b3887e4bd
Unregister Receiver ( #652 )
...
* Fixed: Unregister Receiver
* Fix: Added unregisterReceiver in LibraryFragment
2018-04-21 01:40:25 +01:00
Rohan Bhatia
2365c389f6
Added ongoing downloads notification channel ( #713 )
2018-04-19 02:43:15 +01:00
mhutti1
936e03167c
Update error page with dagger
2018-04-19 02:28:25 +01:00
Abdul Wadood
cc6a8ff1a7
Fix memory leak in KiwixWebView
2018-04-19 02:28:25 +01:00
Abdul Wadood
c86ebae157
Fix memory leak in KiwixDatabase
2018-04-19 02:28:25 +01:00
mhutti1
9780075817
Disable multizim search for 2.4
2018-04-19 01:55:13 +01:00
Joe Reeve
938c06dfbd
Added a global crash handler with report functionality ( #351 )
...
* Initial Integration
* Moved to email rather than crashlytics
* Minor modifications
* Updated crash handler target email address
* Removed hard-coded crash from testing
* Fixed app/build.graddle issues
* Fixed build and dependency issues
* Removed testing error
* chore: Use api level 14 compatible style themes for button
* fix: Fix FileUriExposedException using FileProvider
* Fixed build
* Fixed formatting
* Fixed AndroidManifest formatting
2018-04-19 01:20:04 +01:00
Brijesh Shah
a9ae13ab75
Improve: Update Gradle version ( #689 )
2018-04-17 00:31:22 +01:00
Julian Harty
fb5949f07d
Added support to use http to download content on Android 4.x
...
This is to workaround these devices having older security certificates.
See https://github.com/kiwix/kiwix-android/issues/510 for details.
Notes:
- We could remove the logging once we're happy with the fix.
- We could use something like replaceFirst(...) instead of the way I've
implemented the string editing.
https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#replaceFirst(java.lang.String,%20java.lang.String)
2018-04-17 00:22:52 +01:00