Commit graph

2586 commits

Author SHA1 Message Date
translatewiki.net
93b0db9ecd Localisation updates from https://translatewiki.net. 2018-05-14 08:13:34 +02:00
Ashish Kumar
b6e4fb2d68 Bug fix #1504 (#1506)
* Bug fix #1504

* Filtered messages with ConnectException [issue #1504]

* A generalised message for exceptions in Nearby Activity [issue #1504]
2018-05-12 16:49:43 +05:30
Shridhar Goel
7adf79c07d Used a single string for the error message when user enters wrong login credentials. 2018-05-11 19:34:04 +05:30
Shridhar Goel
dcf43e6682 Made changes to the error message when user enters wrong login credentials. 2018-05-11 18:59:09 +05:30
Ashish
5a6f22d369 Merge branch 'master' of https://github.com/commons-app/apps-android-commons into feature/switch_to_butterknife 2018-05-10 14:17:25 +05:30
Ashish
66b275b19d Implemented butterknife in SimilarImageFragment [issue #1491] 2018-05-10 14:16:08 +05:30
translatewiki.net
6ab6a21e40 Localisation updates from https://translatewiki.net. 2018-05-10 10:11:14 +02:00
Ashish
8f76dd0b61 Implemented butterknife in ShareActivity [issue #1491] 2018-05-10 13:32:03 +05:30
Ashish
2d1f166ac7 Implemented butterknife in MultipleUploadListFragment [issue #1491] 2018-05-09 17:57:59 +05:30
misaochan
f4cef8da1b Add TODOs 2018-05-09 02:29:52 +10:00
misaochan
cf583c5a77 Add TODOs and Javadocs 2018-05-08 20:21:10 +10:00
misaochan
b1f777c674 Add TODOs 2018-05-08 19:54:13 +10:00
misaochan
7f58b21fa0 Add Javadocs to ShareActivity.java 2018-05-08 19:52:49 +10:00
misaochan
f8cb469b48 Create new UploadUtils class 2018-05-08 19:33:21 +10:00
Ashish Kumar
d960029775 Feature/switch to butterknife (#1494)
* Implemented butterknife in MediaDetailFragment [issue #1491]

* Implemented butterknife in MediaDetailPagerFragment [[issue #1491]]

* post merge upstream master wip [[issue #1491]]
2018-05-08 09:51:13 +03:00
neslihanturan
2a98bd21ce Add nearby tutorial (#1467)
* Add dependency for MaterialShowcase

* Add actionview class to get a reference to material showcase

* Create a NearbyMaterialShowcaseSequence class

* Apply sequence steps

* Add first three steps of nearby showcase

* Add sequence id constants to make sure they will be displayed only once

* Add last step of sequence to explain plus fab

* Create an object to prevent customize all sequences every time

* Fix typo

* Code cleanup

* Add strings to strings.xml

* Code cleanup

* Revert irrelevant change

* Revert irrelevant change

* Remove showcaseview for recenter button

* Use single showcaseView instead of sequence

* Add single showcase view insted of sequence to be able to edit text style

* Make sure it will be displayed only once

* Cleanup

* Update strings

* Change dismiss text style
2018-05-07 22:05:20 +10:00
Tanvi Dadu
4f6b791c93 Open map of place where picture was taken (#1360)
* Intent to map added

*  Merge conflicts resolved

*  Added the functionality to hide FAB incase of null coordinate

*  Merge Conflict resolved

*  Improve pr quality

* Improve Quality

*  Added nested FAB animations

* Nested FAB implemented

*  Improve Quality

*  Added up arrow

*  Javadocs Added
2018-05-07 12:57:59 +03:00
Man Parvesh Singh Randhawa
bd86dde444 resolves #1464 : MediaDataExtractor is making inefficient (redundant) server calls (#1496) 2018-05-07 12:32:11 +03:00
Vivek Maskara
9845a6265d Integrate API for displaying featured images (#1456)
* Integrate API for displaying featured images

* Add pagination and refactor code so that it can be reused for category images

* Add license info to the images

* Fix author view

* Remove unused values

* Fix minor issues with featured images

* Fix null license url issue

* Remove some log lines

* Fix back navigation issue

* fix tests

* fix test inits

* Gracefully handling various error situations

* Added java docs
2018-05-07 11:09:23 +03:00
translatewiki.net
96eae8c0a6 Localisation updates from https://translatewiki.net. 2018-05-07 07:54:16 +02:00
Ujjwal Agrawal
c7a6c71c92
Merge branch 'master' into skip_login 2018-05-04 19:08:15 +05:30
Ujjwal Agrawal
693c37f2ec Updated share feature (#1474) 2018-05-04 12:56:13 +03:00
translatewiki.net
bcb90db16c Localisation updates from https://translatewiki.net. 2018-05-03 09:21:58 +02:00
Ujjwal Agrawal
d3597b80a6 Added hideKeyboard in ViewUtil (#1488) 2018-05-03 02:47:56 +05:30
Ujjwal Agrawal
04d96856b3 fixed issue in logout 2018-05-02 19:44:20 +05:30
Ujjwal Agrawal
dc4222e3d4 Login added in drawer and drawer made dynamic 2018-05-02 19:09:27 +05:30
Anubhav
dcd767351b Deprecation removed 2018-05-01 17:03:59 +05:30
Ujjwal Agrawal
b33bf387c6 Shared prefernce isloggedin added and menu displayed accordingly 2018-05-01 16:19:43 +05:30
Ujjwal Agrawal
6e9331b892 Skip textview added and onclick implemented 2018-05-01 15:58:40 +05:30
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
Balakrishnan S
6d2c41b91e Help button (#1415)
* Help button added to tutorial

* debug typo removed

* Help changed to more info

* More option moved to bottom

* Alignment changes made
2018-04-30 14:31:27 +03:00
Abhishek Poonia
0223c5ab76 Error messages in LoginActivity persist after orientation change. (#1407) 2018-04-30 14:27:35 +03:00
Aarnav Jindal
5aba7459bd Fix issue #1332 : Contribution Image auto/manual refresh if fetching fails 2018-04-30 14:22:50 +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
Ujjwal Agrawal
b017d1c99a Changed webview to Custom Tabs in Settings Page (#1328)
* Changed Webview to Custoom tabs in Settings Page

* Get COntext changed to getActivity
2018-04-30 12:24:37 +03:00
translatewiki.net
5ebaa7418e Localisation updates from https://translatewiki.net. 2018-04-30 08:19:57 +02:00
translatewiki.net
8a06aa5c14 Localisation updates from https://translatewiki.net. 2018-04-26 07:51:15 +02: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
fed9b1dc00
Merge pull request #1461 from misaochan/remove-author
Remove author Javadocs for FeaturedImagesListFragment.java
2018-04-25 02:28:33 +05:30
misaochan
fab3d32a8c Remove author Javadocs for FeaturedImagesListFragment.java
As mentioned at #1451 . Travis will fail prior to merge of #1460
2018-04-24 01:31:24 +10:00
misaochan
d252275b7c Fix error during merge conflict resolution 2018-04-23 21:56:48 +10:00
misaochan
d6a4188cb1 Merge remote-tracking branch 'refs/remotes/origin/2.7.x-release'
# Conflicts:
#	app/src/main/java/fr/free/nrw/commons/nearby/NearbyActivity.java
2018-04-23 20:14:21 +10:00
translatewiki.net
970704334b Localisation updates from https://translatewiki.net. 2018-04-23 08:51:06 +02:00
Josephine Lim
533297dce7
Versioning and changelog for v2.7.1 (#1457)
* Versioning

* Update changelog.md
2018-04-20 15:28:42 +10:00
Vivek Maskara
b108dff460
Merge branch 'master' into featuredImages 2018-04-19 23:44:33 +05:30
kamilya35231
108ca26967 Fix for #1437 :Button that opens Google Maps shows always only the coordinates of the first chosen mark (#1446) 2018-04-19 23:50:23 +10:00
Vivek Maskara
8b118b309c Fix loading issue after upgrade from older version (#1454) 2018-04-19 12:52:58 +03:00
translatewiki.net
8b765109ca Localisation updates from https://translatewiki.net. 2018-04-19 09:18:13 +02:00
Josephine Lim
3b129a6ea4 Fix security exception (Nearby places not loading after permissions granted) (#1440)
* Update changelog.md

* Versioning for v2.7.0

* Add logging to onPermissionsRequestResult

* Request location updates onStatusChanged

* Copy onResume() actions into onPermissionsRequestResult

* Added getLastKnownLocation method and hooked it up to refreshView

* Remove unnecessary calls, add more logging

* Add check to prevent NPE

* Check that curLatLng exists before getting Mapbox instance

* Moar logging

* Make curLatLang clearer

* Not a good hack - put curLatLang into the bundle separately

* Add TODO

* Rename variables for clarity

* Check for Network Provider as well, tidy up getLKL()

* Add Javadocs

* Remove unnecessary method in onStatusChanged

* Add checkGPS comment

* Remove unnecessary logs

* Add TODO

* Call bundle.clear() before inserting CurLatLng
2018-04-18 14:30:13 +03:00