Commit graph

5107 commits

Author SHA1 Message Date
translatewiki.net
e3034918e7 Localisation updates from https://translatewiki.net. 2020-02-27 17:11:09 +01:00
Madhur Gupta
584fa2c778
Fixes #814 Added App Shortcuts (#3381)
* Fixes #814 Added App Shortcuts

* removed Review app shortcut

* Added Adaptive icons
2020-02-25 15:05:00 -07:00
Aryan Tyagi
fffff62f5c
Fixed a type in NearbyParentFragment.java where significantly was written instead of slightly while adding a log using Timber (#3432) 2020-02-25 13:56:50 +02:00
translatewiki.net
47155d1f55 Localisation updates from https://translatewiki.net. 2020-02-24 15:38:45 +01:00
Madhur Gupta
3d0048a771
Added progress dialog for setting wallpaper (#3427)
* Added progress dialog for setting wallpaper

* Updated dialog strings
2020-02-23 16:51:15 -07:00
Yash Khare
39cb190571
Fix #3416 Add snackbar on clicking add/remove from bookmarks (#3419) 2020-02-21 20:01:28 +10:00
translatewiki.net
d423dbb0be Localisation updates from https://translatewiki.net. 2020-02-20 15:57:46 +01:00
Kshitij Bhardwaj
96f4a5c08f
Fixes #3355 : Do not display pins at all when "Needs Photo" is selected (#3407)
* ic_custom_greyed_out_marker: removing grey marker

* NearbyParentFragment: changing function name and description

* change method name to hideAllMarkers
2020-02-19 20:43:19 +02:00
translatewiki.net
af97e40c13 Localisation updates from https://translatewiki.net. 2020-02-17 14:53:42 +01:00
gouri-panda
fd706cf3fd
fix typo #3417 (#3418) 2020-02-17 17:30:08 +09:00
Aastha Bist
4038519012
code-quality: remove CDATA and <u> tags from string.xml (#3310)
Remove CDATA and <u> tags from string resources. Instead use setUnderlinedText() method added in Utils to create underlined string resources.
2020-02-17 00:34:46 -07:00
Yash Khare
75d489128c
Fixes #3403 Add padding between privacy policy button and bottom of the screen (#3404)
Fixes #3403 Add padding between privacy policy button and bottom of the screen
2020-02-15 01:12:02 +10:00
translatewiki.net
bc602371ec Localisation updates from https://translatewiki.net. 2020-02-13 12:31:30 +01:00
Yash Khare
69e7161c61
Fixes #3197 Replace hardcoded dimensions with dimen resource values (#3402) 2020-02-11 21:26:33 -07:00
Animesh Kumar
9b3f3e9d3c
Fixed minor Login Bug (#3373) 2020-02-11 11:35:57 -07:00
Kaartic Sivaraam
6683ea40ec
Don't show the quiz pop-up twice (#3398)
* Avoid showing the quiz pop-up twice to the user

Due to the current flow of code it's possible that in
some cases the quiz pop-up is shown to the user twice.
This is unnecessary and unintentional.

So, change the logic in such a way that the quiz pop-up
would be never be shown twice to the user.

Fixes: #3281

* Quiz: remove unused parameters from methods

Some methods don't seem to be using the parameters that
they receive. So, just remove the unused parameters.
2020-02-11 11:28:07 -07:00
Yash Khare
b65e4a1841
Fix #3191 Make the username along with the rewards icon clickable in the Navigation Drawer (#3401) 2020-02-11 19:27:54 +02:00
translatewiki.net
eb400515ca Localisation updates from https://translatewiki.net. 2020-02-10 14:50:03 +01:00
Kaartic Sivaraam
e387e9a8d3
Hide Review for logged out users (#3390)
It makes sense to not show the review activity for logged
out users for the same reasons that we don't allow users
to upload images.

We're even considering to limit the review activity to users
with a particular level of achievement[1]. So, it's valid to
not show review activity for logged out users who don't
have achievements levels at all.

[1]: https://github.com/commons-app/apps-android-commons/issues/2852
2020-02-10 04:41:33 +10:00
Madhur Gupta
0049c8ba44 Fixes #3392 Fixed Nearby List Item Icon's Background (#3393) 2020-02-08 17:55:09 +02:00
Mudit Jain
81bb46f067
changing background color of conditions in nearby as uniform (according to chip state) (#3365)
Signed-off-by: Mudit Jain <ciphereck@gmail.com>
2020-02-07 15:39:47 +02:00
Madhur Gupta
3c93d801a1
Fixes #3382 Fixed Notification Message Icon Background (#3383) 2020-02-07 15:32:47 +02:00
translatewiki.net
b13d88837e Localisation updates from https://translatewiki.net. 2020-02-06 14:53:47 +01:00
Ashish Kumar
fdbe53d1e5
Fixes #3371 (#3372)
* Is UserBrowsing should first check if last known location is non-null before checkig if last location and current locations are close
2020-02-05 01:00:57 +10:00
Ashish Kumar
05e98307be
Fixes #3303 (#3322)
* Fixes #3303
* Refactor Nearby to alig lifecycle methods

* Pass updated place list to listfragment

* Added default zoom rate to mapbox

* Removed NearbyListFragmet and added the ui login to handle the same in NearbyParentFragment

* More code refactor
* Make BottomSheetList hideable
* onFragmentHide, hide the bottom sheets

* BigFix, Fragmet visibility, register/un-register camera move based on fragments lifecycke

* More code refactor
* Let the ExecutorUtil have non-ui thread
* Add Location Marker on non-ui thread (the non-ui stuffs)

* BugFixes
* Removed configchanges "orientation" from MainActivity in Manifest (That was messing with the fragment lifecycle)
* Some null checks
* Initialise lastknown location in onMapReady

* UI Fixes
* Adjusted UI to support dark and no-dark themes both (in nearby)
* Do not update map on Location Slightly changed

* Fix failing test case, let TestCommonsApplication extend Application instead of CommonsApplication

* start map view when nearby is visible

* start the map when NearbyFragmet is visible

* More bugfixes
* Added DUMMY view for NearbyPresenter's onDetach State
* Added a wrapper frame layout parent for MapView to preven it from drawing above other views

* More bugfixes (Fixes #3287)
* Gray out the un-selected markers from the nearby filter list

* BugFix, search this area should search the nearby places for the current camera position

* More BugFixes
* Handle null primitives with proxy
* Current location marker flow via permission flow

* onCameraMove should have null-check on NearbyController.latestSearchLocation instead of currentLocation

* Search for places around last focus location

* Handle location updates
* If the user is browsing the map, donot update the map with current location
2020-02-04 11:05:29 +02:00
Kshitij Bhardwaj
a6d2523588
Adds a Test for Method A categories search (#3366)
* CategoriesModelTest: add methodA test for categories search

* CategoriesModelTest: use lateinit wherever possible

* CategoriesModelTest: make method name meaningful
2020-02-03 08:33:40 -07:00
translatewiki.net
8e88b2de8a Localisation updates from https://translatewiki.net. 2020-02-03 15:39:00 +01:00
animeshk08
bfb6dfdeaf
Fix: Issue #3367 Bug: SoftKeyboard showing even after switching from nearby tab to contribution tab (#3368)
Hide keyboard when switched back from NearbyFragment to ContributionsListFragment
2020-02-03 01:54:00 +05:30
translatewiki.net
61bfe84594 Localisation updates from https://translatewiki.net. 2020-01-30 15:48:34 +01:00
Josephine Lim
0068820ac2 Merge branch '2.12-release' 2020-01-30 02:31:59 +10:00
Josephine Lim
5e3760a899
Update changelog.md 2020-01-30 02:18:04 +10:00
Josephine Lim
dc08a5e883 Versioning for v2.12.3 2020-01-30 02:16:55 +10:00
Vivek Maskara
2290545bc9
Suggest and auto fill title and description based on image location (#3323)
* Suggest and auto fill title and description based on image location

* with java docs
2020-01-29 13:24:37 +03:00
Kshitij Bhardwaj
afdeaae075
Fixes: #3179 Make category search non case-sensitive (#3326)
* CategoryClient: fix category search case-sensitivity by converting to lower case as MW api is inherently case-sensitive, the results obtained will be same

* CategoryItem: reverting javadoc changes

* CategoriesModel: make category search case-insensitive

* CategoryItem: fix whitespaces

* Add tests for case-insensitivity

* CategoryClientTest: add more test cases

* CategoryClientTest: fix travis ci test

* CategoriesModelTest: changes mage to CategoriesModel and tested
2020-01-28 20:38:07 -07:00
Kshitij Bhardwaj
0affe71745 Fixes: #3278: Add java docs to methods which have it missing (#3351)
* achievements/: add Javadocs

* actions/: add Javadocs

* WikiAccountAuthenticator: add Javadocs

* ReasonBuilder: add Javadocs

* di: Add javadocs to DI files

* bookmarks: add Javadocs to bookmarks files

* di: Added more Javadocs

* file: add Javadocs for file picker

* actions: add proper decription to the classes
2020-01-28 11:45:15 -07:00
Kshitij Bhardwaj
803bed43d7 Fixes: #3343 TextUtils.isEmpty creates problems when unit testing with Mockito (#3344)
* TextUtils: add mock textUtils for tests

* TextUtils: add more methods to mock for testing

* UploadControllerTest: fix the test resulting travis ci to fail
2020-01-27 22:02:14 -07:00
Somanshu
d235e5a85b Fixes #3327: Trim whitespaces from title on upload (#3348)
Trim WhiteSpaces from Image-Title while upload
2020-01-28 10:15:09 +05:30
translatewiki.net
d86fe5d8c5 Localisation updates from https://translatewiki.net. 2020-01-27 17:36:50 +01:00
Ashish Kumar
721d2feb45 Fixes #3336 Hotfix: Coordinates of picture are not uploaded (#3339)
* Fixes #3336
 * Donot redact locatio by default

* Correction inn default tag save

* Use same key across application for managedExifTags

* Updated key name to avoid class cast in existing build
2020-01-27 15:48:11 +03:00
Ashish Kumar
fa87eb5661 Fixes #3345 (#3350)
* Fixes #3345
* Trust all hosts for beta
* Added a custom NetworkFetcger for Fresco when on beta

* removed unused assets

* make TestCommonsApplication extend Application instead of Commons Application
2020-01-26 22:13:18 -07:00
Ashish Kumar
df426f7c42 Fixes #3320 (#3349)
* Fixes #3320
* Added SSL certificate for commons beta
* Asked OKHTTP client to use SSLContext from beta certificate
* Probable Fix of #3345

* Use ConfigUtils to verify flavor
2020-01-26 12:31:14 -07:00
translatewiki.net
fe56cefdbc Localisation updates from https://translatewiki.net. 2020-01-23 16:07:34 +01:00
Josephine Lim
0fb8f97b50 Merge branch 'master' of https://github.com/commons-app/apps-android-commons 2020-01-22 22:57:10 +10:00
Josephine Lim
095d047370 Merge branch '2.12-release' 2020-01-22 22:57:02 +10:00
Josephine Lim
f7adbf7b4d
Update changelog.md 2020-01-22 22:49:10 +10:00
Josephine Lim
ba8efb5aaa Versioning for v2.12.2 2020-01-22 22:47:51 +10:00
Alicia
f9eb320a5d Issue 3236: Change nearby search text to white (#3331)
* Clear parent from customView if parent is not null

* Apply white search bar theme to nearby search

* Undo changes from bad merge

* Fix up tag formatting
2020-01-22 13:25:47 +03:00
Ashish Kumar
bae3fa8bbf Fixes #3335 (#3337)
Handled sqlitexception for adding existig column in app versions which already have COLUMN location_pic
2020-01-22 03:22:35 +10:00
Malcolm Smith
14ea6c0cba Change tempalte character case from EXIF to Exif (#3330) 2020-01-20 12:42:49 -07:00
Kshitij Bhardwaj
cd4fc2cdf0 CategoryItem: add javadocs to the file (#3332) 2020-01-20 12:39:31 -07:00