Aditya-Sood
b1774304ad
Merge branch 'develop' into feature/LocalFileTransfer
2019-08-13 18:09:28 +05:30
Aditya-Sood
d2c3e447c5
Refactor FileListAdapter
...
Use ButterKnife for list items
2019-08-12 21:20:02 +05:30
Aditya-Sood
20e1eebf37
Refactor isLocationServiceEnabled()
...
- Change method implementation
- Inject LocationManager into LFTA
2019-08-12 20:44:14 +05:30
Aditya-Sood
1baafc9db4
Refactor KiwixWifiP2pBroadcastReceiver
...
Forward only what's required to WDM
2019-08-12 18:39:15 +05:30
Aditya-Sood
d78f07be6a
Refactor WDM
...
Remove extra null checks for wifi-p2p manager
2019-08-12 18:22:09 +05:30
Aditya-Sood
4b260e15ed
Refactor FileItem
...
- No longer Parcelable
- Add private constructor for the two public constructors
2019-08-12 17:34:24 +05:30
Aditya-Sood
72ccd4f7e3
Refactor WDM
...
Inject dependencies AlertDialogShower & SharedPreferenceUtil directly into WDM
2019-08-12 16:30:01 +05:30
Seán Mac Gillicuddy
974c2d9f04
Merge pull request #1353 from kiwix/abdulwd/issue1352
...
Fix #1352 Download button is fixed to right even for RTL scripts
2019-08-12 11:48:42 +01:00
Abdul Wadood
cc4daa37e2
Add comment for using app:layout_constraintRight_toRightOf
2019-08-12 12:04:32 +02:00
Aditya-Sood
da141c8622
Increment: Inject WDM into LFTA
2019-08-12 15:21:54 +05:30
Abdul Wadood
3ed840334c
Fix #1352 Download button is fixed to right even for RTL scripts
2019-08-12 11:15:11 +02:00
Aditya-Sood
5167e22466
Refactor isLocationServicesEnabled()
...
Revert to original implementation of the method
2019-08-12 13:07:25 +05:30
Aditya-Sood
f071ad60b7
Refactor WDM.Callbacks interface
2019-08-12 00:18:03 +05:30
Aditya-Sood
c1288e6766
Refactor isLocationServicesEnabled()
2019-08-12 00:10:47 +05:30
Aditya-Sood
32bfe70643
Refactor: BroadcastReceiver handled by WDM
2019-08-12 00:04:52 +05:30
Isaac Hutt
5d69f20478
Merge pull request #1349 from kiwix/feature/mhutti1/menu-reorder
...
#1344 Reorder menu to make search visible again
2019-08-11 18:47:26 +02:00
Aditya-Sood
d6cc0b8faa
Major refactor: Incorporate file uris in FileItem
2019-08-11 21:23:12 +05:30
mhutti1
983817d96a
#1344 Reorder menu to make search visible again
2019-08-11 17:39:49 +02:00
Isaac Hutt
3efa55c969
Merge pull request #1336 from kiwix/#960-update-popup-icon
...
#960 updated external link warning popup icon to match others
2019-08-11 17:14:34 +02:00
Aditya-Sood
4e7a2e03c2
Minor refactors
2019-08-11 18:22:58 +05:30
Isaac Hutt
bb57ea4def
Merge pull request #1346 from kiwix/siddharth2010/ReloadZimList
...
Update Zim File queue on Home Screen on onResume
2019-08-11 14:11:26 +02:00
Aditya-Sood
3b1e073f05
Refactor SenderDeviceAsyncTask
2019-08-11 15:35:09 +05:30
Aditya-Sood
37c8a468de
Restyle use of WDM.Callbacks interface
2019-08-11 15:25:41 +05:30
Isaac Hutt
fd0b08cca1
Merge pull request #1345 from kiwix/abdulwd/issue1342
...
Add only distinct zims to local database
2019-08-11 11:50:24 +02:00
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
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
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
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
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