3678 Commits

Author SHA1 Message Date
Aditya-Sood
1076a15097 Add check for urls without an extension
Eg: Instead of a url like .../Main_Page.html, just .../Main_Page
2019-08-14 19:40:51 +05:30
mhutti1
4973109bd5 #735 Fix ZIM redirects 2019-08-14 14:28:52 +02:00
Seán Mac Gillicuddy
0701c1aa7b
Merge pull request #1366 from kiwix/feature/macgills/#1359-delete-bookmark
#1359 Unable to remove Bookmark from bottom bar
2019-08-14 13:21:16 +01:00
Isaac Hutt
c3f7e6f0ad
Merge pull request #1365 from kiwix/julianharty/fix-issue-1364
Fix for a bug that affects custom apps missing their contents.
2019-08-14 14:14:22 +02:00
Seán Mac Gillicuddy
15ddc39b61
Merge pull request #1367 from kiwix/macgills/feature/#1319-lint-synthetic-accessor
#1319 update project inspection settings
2019-08-14 12:59:23 +01:00
Isaac Hutt
cb2e89a89f
Add details on building with kiwix-lib 2019-08-14 13:59:12 +02:00
Aditya-Sood
35a0bffb47 Remove extra code-style and inspection profile 2019-08-14 17:19:43 +05:30
julianharty
37d3f43c29 Applied changes suggested in https://github.com/kiwix/kiwix-android/pull/1365
Additional testing notes available in #1364
2019-08-14 12:41:20 +01:00
Sean Mac Gillicuddy
037ead23f8 #1319 update project inspection settings 2019-08-14 11:46:17 +01:00
Isaac Hutt
b35c1db449
Merge pull request #1348 from kiwix/feature/mhutti1/#1259-subfix
#1259 Allow a local kiwix-lib aar to be used
2019-08-14 12:38:06 +02:00
Sean Mac Gillicuddy
338c607ce6 #1359 Unable to remove Bookmark from bottom bar 2019-08-14 11:31:27 +01:00
Aditya-Sood
a1c5c6a1ed Minor restyle 2019-08-14 00:38:05 +05:30
Aditya-Sood
1f154259bb Code cleanup
Removed extra methods + refactor
2019-08-14 00:21:12 +05:30
Adeel Zafar
d1bfa65790 Merge branch 'develop' into iadeelzafar/wifi-hotspot 2019-08-13 23:38:28 +05:00
Adeel Zafar
19a309329a Remove ZimHostAdapter
We're using BooksOnDiskAdapter
2019-08-13 23:21:54 +05:00
Adeel Zafar
9c175bdbaa Get file path of selected books 2019-08-13 22:37:42 +05:00
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
Adeel Zafar
d1b5536173 Resolve merge conflicts 2019-08-13 21:48:38 +05:00
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
julianharty
cf7e392c85 Fix for a bug that affects custom apps missing their contents.
See https://github.com/kiwix/kiwix-android/issues/1364 for details.
2019-08-13 16:45:03 +01:00
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
Seán Mac Gillicuddy
00c4440de9
Merge pull request #1363 from kiwix/macgills/feature/#1319-lint-synthetic-accessor
#1319 Lint Issue: SyntheticAccessor
2019-08-13 15:31:59 +01:00
Sean Mac Gillicuddy
8675e4b54d #1319 Lint Issue: SyntheticAccessor 2019-08-13 14:54:33 +01:00
Sean Mac Gillicuddy
b455c20165 Merge remote-tracking branch 'origin/develop' into feature/macgills/#1212-automated-test-architecture
# Conflicts:
#	app/src/main/java/org/kiwix/kiwixmobile/utils/files/FileUtils.kt
2019-08-13 14:35:24 +01:00
Adeel Zafar
a8f30c28af Allow MultiSelection in ZimHostActivity 2019-08-13 18:33:24 +05:00
Seán Mac Gillicuddy
9905ab0d3a
Merge pull request #1362 from kiwix/feature/macgills/#1361-custom-app-contents
#1361 Custom app cannot find contents bug
2019-08-13 14:32:02 +01:00
Aditya-Sood
b1774304ad Merge branch 'develop' into feature/LocalFileTransfer 2019-08-13 18:09:28 +05:30
Adeel Zafar
bc3c6c958a Allow MultiSelection in ZimHostActivity 2019-08-13 17:35:22 +05:00
Sean Mac Gillicuddy
9349e29502 #1361 Custom app cannot find contents bug 2019-08-13 13:17:57 +01:00
Sean Mac Gillicuddy
4fee17d5ea #1212 share test model functions between unit/instrumentation tests 2019-08-13 13:13:50 +01:00
Sean Mac Gillicuddy
cec8e7e7a0 #1212 correct usage of MockServer 2019-08-13 12:31:27 +01:00
Adeel Zafar
635bc4ee8d Fix#1357 Dismiss foreground notification automatically 2019-08-13 15:44:25 +05:00
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
Sean Mac Gillicuddy
0669f20666 #1212 clean up KiwixMockServer 2019-08-12 14:20:59 +01:00
Adeel Zafar
6f45144482 Refactor onServerFailed() Toast message 2019-08-12 18:20:35 +05:00
Aditya-Sood
1baafc9db4 Refactor KiwixWifiP2pBroadcastReceiver
Forward only what's required to WDM
2019-08-12 18:39:15 +05:30
Adeel Zafar
eb109078c2 Revert refactor setText() in ZimHostActivity 2019-08-12 18:09:06 +05:00
Aditya-Sood
d78f07be6a Refactor WDM
Remove extra null checks for wifi-p2p manager
2019-08-12 18:22:09 +05:30
Adeel Zafar
ebeff0abeb Refactor AppBarLayout in activity_zim_host 2019-08-12 17:40:30 +05:00
Adeel Zafar
2604fc9dbd Rename oreoEnabled to isHotspotEnabled 2019-08-12 17:38:11 +05:00
Adeel Zafar
a8b013735e Refactor AndroidManifest 2019-08-12 17:36:51 +05:00
Adeel Zafar
eca5f2a035 Refactor setText() in ZimHostActivity 2019-08-12 17:35:03 +05:00
Adeel Zafar
a3dbdda23a Add stopHotspotAndDismissNotification() 2019-08-12 17:30:44 +05:00
Adeel Zafar
c2cb7feae3 Remove Hungarian notation 2019-08-12 17:26:10 +05:00
Adeel Zafar
4486c06b3c Add ZimHostContract, ZimHostPresenter and ZimHostModule 2019-08-12 17:07:37 +05:00