Commit graph

4887 commits

Author SHA1 Message Date
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
translatewiki.net
c682ba83d7 Localisation updates from https://translatewiki.net. 2020-01-20 11:30:54 +01:00
Josephine Lim
ef9e2986b2 Versioning and changelog for v2.12.1 2020-01-20 00:21:24 +10:00
Josephine Lim
53d3c37180
Update changelog.md 2020-01-20 00:03:05 +10:00
Josephine Lim
9c6e33901f Versioning for v2.12.1 2020-01-20 00:01:07 +10:00
translatewiki.net
59cb157754 Localisation updates from https://translatewiki.net. 2020-01-16 15:28:57 +01:00
translatewiki.net
8824076c1a Localisation updates from https://translatewiki.net. 2020-01-13 16:07:10 +01:00
Amir E. Aharoni
d26b4368a7 Remove unnecessary space before colon (#3317) 2020-01-10 23:27:49 +03:00
Amir E. Aharoni
b55e68378b More natural language instead of a slash (#3318) 2020-01-10 23:26:41 +03:00
translatewiki.net
56c4018326 Localisation updates from https://translatewiki.net. 2020-01-09 20:06:26 +01:00
translatewiki.net
173dcd2c6a Localisation updates from https://translatewiki.net. 2020-01-06 17:40:33 +01:00
translatewiki.net
85366aaf83 Localisation updates from https://translatewiki.net. 2020-01-02 14:31:31 +01:00
translatewiki.net
e56adc6b41 Localisation updates from https://translatewiki.net. 2019-12-31 07:24:24 +01:00
translatewiki.net
b591fdd8a2 Localisation updates from https://translatewiki.net. 2019-12-26 12:32:07 +01:00
Ashish Kumar
349e51f4a9 Fixes #3307 (#3308)
* Fixed positional argument format for string in "image_uploaded_by"
2019-12-24 18:55:26 +10:00
Ashish Kumar
824d6ac05e Bugfix/null revision in review (#3309)
* Fixes #3305
 * Handle null firstRevision

* initialise explanation
2019-12-24 14:02:56 +05:30
translatewiki.net
846e04f677 Localisation updates from https://translatewiki.net. 2019-12-23 15:46:00 +01:00
translatewiki.net
8fc8113cad Localisation updates from https://translatewiki.net. 2019-12-19 15:05:28 +01:00
Vivek Maskara
a8ee5bd201 Fix UI tests (#3297) 2019-12-17 14:24:41 +03:00
translatewiki.net
458b497a6c Localisation updates from https://translatewiki.net. 2019-12-16 15:52:39 +01:00
ANKIT
ecf6bd930c color accent changed tto blue in dark theme (#3234) 2019-12-16 13:56:20 +05:30