2658 Commits

Author SHA1 Message Date
Aditya-Sood
1f154259bb Code cleanup
Removed extra methods + refactor
2019-08-14 00:21:12 +05:30
Aditya-Sood
c856f1cd74 Refactor: Remove use of LFTA as Activity
Keeping with the I in SOLID, WDM now uses a plain Activity instead of LocalFileTransferActivity specifically
2019-08-13 22:50:47 +05:30
Aditya-Sood
e415bd862e Refactor: Remove extra variable filesSent & methods 2019-08-13 22:39:52 +05:30
Aditya-Sood
e0651dd88c Minor refactor 2019-08-13 22:23:28 +05:30
Aditya-Sood
f00abecbd1 Increment: LFTA restricted to 'Device' tab
The 'Get zim from nearby device' option now only shows in 'Device' tab of library
2019-08-13 22:04:39 +05:30
Aditya-Sood
a17db838ff Reformat LocalFileTransfer sub-package 2019-08-13 21:00:24 +05:30
Aditya-Sood
bdf979d973 Fix gitignore issue
Wasn't ignoring some .idea files
2019-08-13 20:46:34 +05:30
Aditya-Sood
bec4b8e3c5 Fix lint errors
- Removed extra comment
- 'SyntheticAccessor' now marked as a warning
2019-08-13 20:29:11 +05:30
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