Aditya-Sood
0f97a2e8e5
Refactor logic for using WDM.sendToDevice()
2019-08-11 15:05:48 +05:30
Aditya-Sood
227b5228f8
Restyle WDM & remove unused variable/method
2019-08-11 14:58:49 +05:30
Aditya-Sood
d326deb4f3
Refactor cancelAsyncTasks()
2019-08-11 14:46:03 +05:30
Siddharth Sharma
421cfc2594
Rename LoadBooks method and add instance in onResume
2019-08-11 11:08:26 +02:00
Abdul Wadood
fc3187d627
#1342 Add only distinct zims to local database
2019-08-11 11:07:20 +02:00
Kelson
9af192f213
Merge pull request #1341 from kiwix/hotfix/macgills/#1294-landing-pages-broken-for-develop
...
#1294 Landing page is not displayed on Wikimedia zims develop fix
2019-08-10 17:37:56 +03:00
Justin Biggs
d2bbb3fe67
update warning icon using ternary operator
2019-08-10 06:27:13 -05:00
Sean Mac Gillicuddy
774d11377e
#1212 code cleanup and extending ZMAT to go to languageActivity
2019-08-09 15:49:58 +01:00
Sean Mac Gillicuddy
b3e5a46ae7
#1212 re-enable leakcanary
2019-08-09 13:01:33 +01:00
Sean Mac Gillicuddy
fdc3fd4541
Merge branch 'develop' into feature/macgills/#1212-automated-test-architecture
...
# Conflicts:
# .idea/encodings.xml
2019-08-09 12:54:44 +01:00
Sean Mac Gillicuddy
0f23100b63
#1212 commit files to allow merge with dev
2019-08-09 12:53:30 +01:00
Sean Mac Gillicuddy
b2d4c3502e
Revert " #1294 bump version"
...
This reverts commit 2f4be9c97b33aa0d7ad800670149cc7b5968d1a9.
2019-08-09 12:28:09 +01:00
Sean Mac Gillicuddy
2f4be9c97b
#1294 bump version
2019-08-09 12:26:32 +01:00
Sean Mac Gillicuddy
70f26a75dd
#1294 Landing page is not displayed on Wikimedia zims develop fix
2019-08-09 12:19:46 +01:00
Sean Mac Gillicuddy
e3130738e7
#1212 remove unused resources
2019-08-08 16:21:00 +01:00
Sean Mac Gillicuddy
18c48fdf57
#1212 disable prompt to turn on wifi, reneable full test
2019-08-08 15:48:31 +01:00
Sean Mac Gillicuddy
37850690ff
#1212 ignore Languagetest & stabilise helpTest
2019-08-08 15:26:48 +01:00
Sean Mac Gillicuddy
aa7cf5eff4
#1212 put waits around clicking on book
2019-08-08 15:02:44 +01:00
Sean Mac Gillicuddy
2e6742f2ef
#1212 resolve compilation errors
2019-08-08 14:24:45 +01:00
Sean Mac Gillicuddy
d816380d43
#1212 fix test packaging and update multidex proguard rules
2019-08-08 14:10:18 +01:00
Aditya-Sood
cb944bb88f
Refactor isLocationServicesEnabled()
2019-08-08 11:39:35 +05:30
Aditya-Sood
ba00ece2ca
Refactor KiwixWifiP2pBroadcastReceiver
2019-08-08 10:11:24 +05:30
Aditya-Sood
f3505a646b
Restyle KiwixDialog.kt
2019-08-08 10:08:57 +05:30
Justin Biggs
a6fba67635
#960 updated external link warning popup icon to match others
2019-08-07 21:47:33 -05:00
Sean Mac Gillicuddy
6069676ddb
#1212 correct manifest package name
2019-08-07 16:12:20 +01:00
Sean Mac Gillicuddy
55b48b261c
#1212 remove largeTest annotation, rename test method o be prefixed "test"
2019-08-07 15:04:01 +01:00
Sean Mac Gillicuddy
0f34cea41f
#1212 info logging exceeded max log size on travis
2019-08-07 14:46:50 +01:00
Sean Mac Gillicuddy
3a05be1713
#1212 get more info from gradle
2019-08-07 14:29:57 +01:00
Kelson
ca1fff31cf
Remove individual Jabber contact
2019-08-07 15:21:02 +02:00
Kelson
6fe60fe9c6
Add Codefactor badge
2019-08-07 14:56:05 +02:00
Sean Mac Gillicuddy
43305738e5
#1259 update to latest library
2019-08-07 13:19:42 +01:00
Seán Mac Gillicuddy
7e509494b7
Merge pull request #1316 from kiwix/rate-app-counter
...
changed rate-us dialog launch to 10 from original 5 per issue #1235
2019-08-07 09:33:51 +01:00
Aditya-Sood
ce8e3d3136
Fix hack for slower devices
...
- Use Thread.sleep() in SenderDeviceAsyncTask to delay connection to receiver
2019-08-05 18:38:46 +05:30
Aditya-Sood
2d20ac07eb
Refactor WifiDirectManager
...
- Use displayToast() instead of showToast() within WDM (per DRY principle)
- Add onFileTransferAsyncTaskComplete() method for async-tasks to inform WDM post their completion
- Add `wereAllFilesTransferred` status variable
2019-08-04 17:59:18 +05:30
Aditya-Sood
39afa4b830
Minor code cleanup
2019-08-04 17:43:12 +05:30
Aditya-Sood
e6fa97abba
Increment: Add onFileTransferComplete() callback
...
- Async-tasks are now free of a LocalFileTransferActivity instance
2019-08-04 16:15:09 +05:30
Aditya-Sood
2471385963
Increment: Add displayToast() method
...
For async-tasks, to reduce the need for a LocalFileTransferActivity instance in them
2019-08-04 16:03:09 +05:30
Aditya-Sood
451472ff82
Minor refactor
...
- Changed method names & a signature
- Made public variables private
2019-08-04 15:28:44 +05:30
Aditya-Sood
bfd24a42d5
Refactor LocalFileTransferActivity & async-tasks
...
- All communication with LocalFileTransferActivity is now through WifiDirectManager.Callbacks only
- Modified async tasks to use instance of calling WifiDirectManager
2019-08-04 15:05:58 +05:30
Aditya-Sood
d11af7ba65
Major Refactor!
...
- Shift all async-tasks and file transfer code to WDM from LocalFileTransferActivity
- LocalFileTransferActivity only deals with setting up the UI now
2019-08-03 21:01:14 +05:30
Aditya-Sood
19b316644e
Refactor WifiDirectManager
...
- Consolidate the wifi direct transfer cleanup code in WDM
- Cleanup now performed by WDM, initiated by the destroyWifiDirectManager() call in onDestroy()
2019-08-02 11:47:14 +05:30
Aditya-Sood
314ff811fd
Refactor check...Permission() methods
2019-08-02 09:48:00 +05:30
Aditya-Sood
30b18553cb
Refactor onRequestPermissionsResult()
2019-08-02 09:01:36 +05:30
Aditya-Sood
7164fd621c
Improve ReceiverDeviceAsyncTask
...
Instead of cancelling the entire transfer upon a single transfer error, continue accepting the remaining files
2019-08-01 20:09:23 +05:30
Aditya-Sood
ab8e9da971
Improve SenderDeviceAsyncTask
...
- Use single instance of the async task to transfer all files
2019-08-01 18:36:48 +05:30
Aditya-Sood
c590ebabe9
Refactor: Remove overridden onBackPressed()
...
- onDestroy() already handles cancelling async tasks
2019-08-01 11:21:04 +05:30
Aditya-Sood
0a9126d940
Refactor: Fix CodeFactor issue (add default clause)
2019-08-01 10:43:33 +05:30
Aditya-Sood
a00481bb5b
Refactor: Change class name to KiwixWifiP2pBroadcastReceiver
2019-08-01 10:12:25 +05:30
Sean Mac Gillicuddy
a1fb3d0973
#1212 move the only tests that were getting picked up
2019-07-31 16:27:01 +01:00
Sean Mac Gillicuddy
ce8759ff49
#1212 mark all tests with test runner annotation
2019-07-31 15:53:40 +01:00