2166 Commits

Author SHA1 Message Date
Aditya-Sood
f90ba10b75 Add 'FileItem' class to represent files when being transferred
Fields: File name and transfer status (to be sent, sending, sent)
2019-06-26 00:17:39 +05:30
Aditya-Sood
be5c377917 Increment: After handshake, both devices display list of files being transferred
Next step - Use this list to display progress of transfer
2019-06-25 23:29:02 +05:30
Aditya-Sood
8ba431d00a Refactor: Updated LocalFileTransfer to open WiFi settings page
Instead of the general 'Wireless' settings page, incase the wifi hasn't been turned on for file transfer
2019-06-24 23:29:54 +05:30
Aditya-Sood
fa5cdf8f5c Refactor: Add black close icon & correct tint of white close icon
White icon tint was corrected in the commit before the previous one
2019-06-24 17:52:16 +05:30
Aditya-Sood
86f45a087b Refactor: LocalFileActivity layout file 2019-06-24 17:46:38 +05:30
Aditya-Sood
32b0043e5f Increment: Add navigation icon and functionality to action bar of LocalFileTransferActivity 2019-06-23 21:58:33 +05:30
Aditya-Sood
d3704e8f9f Increment: Transferred files now saved in the user-preference 'Kiwix' folder
Location obtained from the SharedPreferenceUtil
2019-06-23 20:44:09 +05:30
Aditya-Sood
2066db6bd9 Increment: Improve flow of LocalFileTransfer activity
- File receiver device can not initiate connection anymore
- Activity closes on both devices once transfer is complete
2019-06-23 19:26:14 +05:30
Aditya-Sood
459a087728 Increment: LocalFileTransferActivity now supports sending multiple files
All selected files (not just the first one) are trasferred to the receiving device
2019-06-23 16:39:31 +05:30
Aditya-Sood
72d1694150 Upgrade: Share file transfer details during handshake
- During handshake, sender device informs the receiver of:
	1) Total no. of files
	2) Name of files to be sent
- The file name is now being used instead of "temp.zim" to save the received file in the 'KiwixWifi' directory
2019-06-23 15:39:07 +05:30
Aditya-Sood
596a7fda00 Increment: Shift file transfer fucntionality to AsynTask
Instead of using a service, so that the progress can be visually displayed
2019-06-22 18:29:13 +05:30
Aditya-Sood
e357d47d49 Increment: LocalFileTransferActivity now has core functionality
The activity can now be used to send one selected ZIM file to a nearby device
(Cleanup and refactoring yet to be done)
2019-06-22 01:00:57 +05:30
Aditya-Sood
25e0ef4dd7 Initial commit: LocalFileTransferActivity shows up as option to transfer ZIM files 2019-06-21 19:51:01 +05:30
Aditya-Sood
38f236b9f1 Remove non-essential file (abstract.txt) 2019-06-07 13:41:04 +05:30
Aditya-Sood
5f8ba8f038 GSoC project abstract 2019-06-07 13:41:04 +05:30
Aditya-Sood
1cd964c8e7 Remove non-essential file (abstract.txt) 2019-06-07 13:41:04 +05:30
Aditya-Sood
9f0a6b617d GSoC project abstract 2019-06-07 13:41:04 +05:30
soloturn
a43e631de0 switching from apply plugin to pluins {}
following this migration guide:
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
2019-06-01 17:37:09 +01:00
soloturn
a0977ce446 replace ' with " in build.gradle
prepare migration to build.gradle.kts, following:
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
2019-06-01 17:37:09 +01:00
soloturn
959670468f remove androidstudio warnings from app/build.gradle 2019-06-01 17:37:09 +01:00
soloturn
4e572fb8d6 update android tools to 3.4.1 2019-06-01 17:37:09 +01:00
soloturn
1b866d6903 proguard, D8: Type 'sun.misc.Unsafe' was not found 2019-06-01 17:37:09 +01:00
soloturn
2b7d12ce14 update gradlew distribution url to gradle-5.4.1 2019-06-01 17:37:09 +01:00
Kelson
ed5c724b3f
Fix Google Play badge 2019-05-23 15:26:08 +02:00
chris1b
ad693a9e5b improve network status check: re-create clean feature branch #934
delete feature/improve_network_status_check and recreate from current
upstream/master as feature/improve_network_status_check__recreated
2019-05-18 18:06:24 +02:00
waahm7
da6ed6d375 Fix zoom level color bug 2019-05-18 16:27:07 +02:00
Raj Bohra
9d0a3f6f5e fix read aloud toolbar issue 2019-05-18 15:05:14 +02:00
Shubham gupta Ggps
184f63a854 Updated gradle build tools too 3.3.2 2019-03-31 16:58:56 +01:00
Shubham gupta Ggps
0db3f86318 Update butterknife to 10.1.0 2019-03-31 16:58:56 +01:00
Adeel Zafar
e87ce5a2f1 Fixed Specific Dates With Keywords
Use LocalDate to get current date and yesterday's date.
Then compare these dates with history's dates.
Use strings values "Today" and "Yesterday" wherever required.
Used Java 8's classes LocalDate which works for API 26 and onwards.
Add JakeWharton's ABPThreeTen For BackwardCompatibility before API 26
Hence, I had to increase the minSdk to 15 as it doesn't works with 14
Added 'Today' and 'Yesterday' instead of specific dates in History
2019-03-31 16:21:02 +02:00
mhutti1
ecec1f4169 Upgrade gradlew to 5.2 2019-03-30 22:30:52 +00:00
Sonu Sourav
82a85cc8dc Multiple History date format 2019-03-30 21:01:02 +00:00
Sonu Sourav
6c07ca4649 Added material design to closeAllTabs FAB (#1045) 2019-03-30 20:35:53 +00:00
Sonu Sourav
3c8c9d459f Fixes onDestroyActionMode issue 2019-03-30 20:14:00 +00:00
Sonu Sourav
853368d284 Fixes changing title name 2019-03-26 22:34:02 +00:00
Sonu Sourav
18206a6e45 Changed actionModeOverlay to True 2019-03-26 22:01:30 +00:00
Sonu Sourav
898f42d032 Fixes search icon disappearance 2019-03-26 21:45:05 +00:00
Kelson
254ed92afd
Kiwix logo on the right for a better readability 2019-03-23 19:09:17 +01:00
Sonu Sourav
16ecfbb676 Hide Tab Switcher onBackPressed 2019-03-19 00:28:33 +00:00
Sonu Sourav
06894bc63a Updated text colors definition (#1048) 2019-03-17 00:06:04 +00:00
Shridhar
c952779e80 feat: Close tab switcher on clicking again 2019-03-14 00:27:07 +00:00
Sonu Sourav
6c9794f70f Close Table Drawer on back press 2019-03-11 00:02:52 +00:00
prajurock
ecc7bc1ccf Text begin cut by the right edge on Home screen #968 2019-03-10 21:19:54 +00:00
Adeel Zafar
5ce4cc4f6e Fixes Access A Deleted File After Closing All Tabs 2019-03-10 20:48:07 +00:00
Sonu Sourav
c34934c8b9 NullPointerException checks in MainActivity 2019-03-10 20:12:16 +00:00
Vab
04b6d07b2b Only Snackbar pops up on denying the permissions #979
Updated
2019-03-03 23:26:03 +00:00
Harshika
9b41cda69d fix: NullPointerException on Fresh Application launch
Add a null check
2019-03-03 19:23:29 +00:00
soloturn
6ef2f3fd45 update dagger to 2.21 2019-02-26 18:25:50 +00:00
soloturn
34ce417f0e disable jetifying com.square, google
disable jetify now for:
* com.square.*
* google: error_prone_annotations, guava
2019-02-26 18:25:50 +00:00
soloturn
3096562cd1 upgrade mockito, disable jetifying byte-buddy
byte-buddy is a mockito dependency. it introduced java modules, and
jetifier cannot deal with it.  disable jetifying at the moment, as
suggested after considering:
https://stackoverflow.com/questions/52816022/failed-to-resolve-variable-project-groupid
https://issuetracker.google.com/issues/119135578#comment5
https://github.com/raphw/byte-buddy/issues/541
2019-02-26 18:25:50 +00:00