Commit graph

305 commits

Author SHA1 Message Date
neslihanturan
35f05be8df
fix memory leaks (they happened due to hiding keyboard) and lint null pointer warnings in the same code (#1471) 2018-04-30 14:42:19 +03:00
neslihanturan
3c2cc26d3b
Fix conflicts from #1366 fixing lint issues (#1470)
* lint issue #171 - added Locale.getDefault()

* lint issue #171 - added Locale.getDefault()

* lint issue #171 - added %d

* lint issue #171 - Changed version

* lint issue #171 - added singleLine="true"

* lint issue #171 - changed commit to apply

* lint issue #171 - added Locale.getDefault()

* lint issue #171 - added Locale.getDefault()

* Codacy issues #778 - nested if loop

* Codacy issues #778 - nested if loop

* Revert "lint issue #171 - added %d" since we dont edit translated string files

This reverts commit e4917cddcf.
2018-04-30 14:05:47 +03:00
Mansi Agarwal
f80311d9f6 fixed crash while uploadiing certain images (#1388) 2018-04-30 13:49:03 +03:00
Tanvi Dadu
9c91d7a799 Zoom (#1300)
*  Basic Zoom feature added along with button to control it

*  Pinch Zoom added

*  Merge Conflicts Resolved

*  Icons Changed

*  Compressed the high resolution images

* Fixed null pointer exception

* Fixed null pointer exception

*  Fixed exception

*  Fixed error

*  Fixed Resource availability issue
2018-04-26 03:18:58 +05:30
Vivek Maskara
b108dff460
Merge branch 'master' into featuredImages 2018-04-19 23:44:33 +05:30
Anubhav Gupta
d3071718b4 Changes made (#1447) 2018-04-17 15:52:53 +03:00
neslihanturan
7b5c5ce497 Fix nearby leaks D 2018-03-29 23:15:21 +03:00
Vivek Maskara
463673f942
Merge branch 'master' into featuredImages 2018-03-24 12:46:38 +05:30
Vivek Maskara
50d9cff8c6
Merge branch 'master' into directNearbyUploadsNew 2018-03-21 17:54:03 +05:30
misaochan
eaed36555c Remove TODO 2018-03-18 20:45:51 +10:00
misaochan
d6e848b32e Remove comment from UploadController.java 2018-03-18 19:17:02 +10:00
misaochan
efa7820fe4 Comment out UploadController.java line to test with Prod categories 2018-03-18 18:35:50 +10:00
neslihanturan
c869581c2a
Merge pull request #1209 from hismaeel/1130(j)
issue #1130 -(j). bad Token Exception from showDialog() in ExistingFi…
2018-03-16 12:16:07 +02:00
misaochan
5e828d4541 Save categories in PlaceRenderer and SingleUploadFragment 2018-03-16 20:01:52 +10:00
yashshah7197
87b794ce1f feat: Add checks for title and description in intent extras.
In case other apps want to send a title and description along with the
image, we check if those have been passed as intent extras and set the
EditText values accordingly.

Fixes: #1273
See also: #892
2018-03-12 18:06:04 +05:30
neslihanturan
41494bea5b Fix conflicts 2018-03-06 20:32:28 +03:00
neslihanturan
5b88111289 Fix conflicts 2018-03-06 19:47:18 +03:00
Vivek Maskara
4c3513b442
Merge pull request #1211 from tshradheya/1195-give-toast-message
Give toast when trying to upload image without giving a Title #1195
2018-03-03 19:23:10 +05:30
maskara
123c4adbfd Minor changes to make things work 2018-03-03 00:30:44 +05:30
misaochan
b2859ba874 Hopefully last cleanup 2018-03-03 00:00:36 +05:30
misaochan
676fa0e0d0 Remove unused imports 2018-03-02 23:59:47 +05:30
misaochan
ce6c95aa29 Fix whitespace 2018-03-02 23:59:22 +05:30
misaochan
821eaceb27 Further code cleanup 2018-03-02 23:59:22 +05:30
misaochan
9fb82da313 Remove unnecessary getters in ShareActivity 2018-03-02 23:59:07 +05:30
misaochan
59cc07922d Retrieve title/desc via Dagger injection in SingleUploadFragment 2018-03-02 23:59:07 +05:30
misaochan
f8343592f3 Add comments 2018-03-02 23:54:04 +05:30
misaochan
2e59a8e0b6 Add check in SingleUploadFragment for isNearbyUploadf 2018-03-02 23:54:04 +05:30
misaochan
0a6ed18c83 Pass nearby Title and Desc to SingleUploadFragment 2018-03-02 23:53:26 +05:30
misaochan
73327192f9 Tidy up and create framework for autofilling EditText 2018-03-02 23:53:07 +05:30
misaochan
fba7628f3c Change to getSharedPreferences to pass prefs between activities 2018-03-02 23:53:07 +05:30
misaochan
13a73fdcac Create boolean for isDirectUpload and pass shared prefs to ShareActivity.java 2018-03-02 23:53:07 +05:30
Suchit Kar
67d1df27fb Extract alert dialog creation to a function 2018-02-28 01:57:53 +05:30
Suchit Kar
de9bb89ff2 Merge branch 'master' of https://github.com/commons-app/apps-android-commons into rtl-upload 2018-02-27 19:08:30 +05:30
Shradheya Thakre
6a05231878 Logic to show toast on click 2018-02-26 14:13:31 +08:00
Hassan
14686138df
Merge branch 'master' into 1130(j) 2018-02-25 22:04:29 -06:00
hismaeel
ba49d0601a issue #1130 -(j). bad Token Exception from showDialog() in ExistingFileAsync 2018-02-25 21:55:04 -05:00
Meghna Gupta
9aceaca95d Hide Keypad when EditText out of focus (#1168)
* Hide Keypad when EditText out of focus
2018-02-24 00:00:45 +05:30
Suchit Kar
c3faf25d12 Remove unused import in SingleUploadFragment 2018-02-21 15:34:08 +05:30
Ujjwal Agrawal
d12c9b0b21 added ISSUE_TEMPLATE.md for new issue creation 2018-02-21 14:10:57 +05:30
Vishan Seru
387813e1e7 Made changes to ensure that when attempting to upload multiple images, the GPS data is extracted and attached correctly. 2018-02-21 14:10:56 +05:30
Vishan Seru
e50adf858a Detecting pictures that are too dark (#926)
* Made the following changes:
->Added OpenCV library to the project
->Added functionality to detect if an image being uploaded is too dark
->Added functionality to detect if an image being uploaded is blurred

* Made corrections and changes based on gradle checkstyle requirements

* Updated gitignore to remove binary files related to OpenCV from project

* Image blurriness detection was undone. Images are checked only for being too dark now

* Removed OpenCV documentation folder containing a lot of html files

* Removed unnecessary buildScript usage in build.gradle file for opencv library and also added abi splits

* Removed OpenCV library usages and references from project

* Removed OpenCV library folder from project
2018-02-21 14:10:53 +05:30
harisankerPradeep
82730d9b0c Fixes multiple dialog boxes 2018-02-21 14:10:48 +05:30
harisankerPradeep
ff88067101 attempt to fix travis CI build fail 2018-02-21 14:10:46 +05:30
harisankerPradeep
2c0590a537 After completing findOtherImage() 2018-02-21 14:10:43 +05:30
Manuel Lorenzo
8ef1fb7dd0 Fixing some lint issues for #171 2018-02-21 14:10:42 +05:30
Vishan Seru
f284a00de2 Made changes to ensure that when attempting to upload multiple images, the GPS data is extracted and attached correctly. 2018-02-21 14:10:40 +05:30
Suchit Kar
88f0e65bcc Fix crash while setting Title and Description in RTL languages 2018-02-20 18:35:45 +05:30
Vishan Seru
054fa93460 Detecting pictures that are too dark (#926)
* Made the following changes:
->Added OpenCV library to the project
->Added functionality to detect if an image being uploaded is too dark
->Added functionality to detect if an image being uploaded is blurred

* Made corrections and changes based on gradle checkstyle requirements

* Updated gitignore to remove binary files related to OpenCV from project

* Image blurriness detection was undone. Images are checked only for being too dark now

* Removed OpenCV documentation folder containing a lot of html files

* Removed unnecessary buildScript usage in build.gradle file for opencv library and also added abi splits

* Removed OpenCV library usages and references from project

* Removed OpenCV library folder from project
2018-02-18 15:01:42 +05:30
Vishan Seru
4fc3040d52 Synced branch with master 2018-02-18 00:32:25 +05:30
neslihanturan
8dfe9d6bff
Merge pull request #1122 from noloman/bugfix/171
Fixing some lint issues for #171
2018-02-17 14:25:35 +03:00