Commit graph

3273 commits

Author SHA1 Message Date
translatewiki.net
74df6ac15b Localisation updates from https://translatewiki.net. 2019-08-12 12:09:10 +02:00
Ashish Kumar
5865d59d22 Revert "Merge branch 'backend-overhaul' into master" (#3125)
* Revert "Merge branch 'backend-overhaul' into master"

This reverts commit 0090f24257, reversing
changes made to 9bccbfe443.

* fixed test handleSubmitTest
2019-08-12 14:32:25 +05:30
translatewiki.net
cbdfb05530 Localisation updates from https://translatewiki.net. 2019-08-08 20:03:03 +02:00
Vanshika Arora
ec8bbb2782 removed swipe to delete (#2589) 2019-08-05 14:25:33 +03:00
Ufald
67d9afe77e Center map on location clicked in nearby list and notification card(#2060) (#2366)
* center map on location clicked in nearby (#2060)

* improved animation

* Center map on location clicked in nearby list

* removed unnecessary methods

* center map on location clicked in nearby notification card

* some minor changes

* travis build error

* resolved errors

* Tidy up PR
2019-08-05 14:00:42 +03:00
translatewiki.net
579d44ce80 Localisation updates from https://translatewiki.net. 2019-08-05 11:59:55 +02:00
translatewiki.net
009fe6f012 Localisation updates from https://translatewiki.net. 2019-08-01 18:17:20 +02:00
Vivek Maskara
0090f24257
Merge branch 'backend-overhaul' into master 2019-07-31 02:17:44 +05:30
translatewiki.net
9bccbfe443 Localisation updates from https://translatewiki.net. 2019-07-29 14:20:50 +02:00
Josephine Lim
016022547c Merge branch '2.11-release' 2019-07-29 21:45:27 +10:00
Josephine Lim
e7dd272f85 Versioning for v2.11.0 2019-07-29 20:44:46 +10:00
Ashish Kumar
9b769df0e8 Closes #3094 (#3095)
* BugFix in SpinnerDescriptionsAdapter and SpinnerLanguagesAdapter (use the langguage code provided by the spinner, donot set the language to the one returned by the locale)
2019-07-29 02:03:49 +10:00
translatewiki.net
2c7d210430 Localisation updates from https://translatewiki.net. 2019-07-25 10:07:43 +02:00
Ilgaz Er
386d08794e Deleted unused classes related to modification (#3084)
Removed ModificationsSyncAdapter
2019-07-23 19:14:07 +05:30
translatewiki.net
0574b753ba Localisation updates from https://translatewiki.net. 2019-07-22 13:52:54 +02:00
Josephine Lim
1a60fec5da Merge remote-tracking branch 'origin/2.11-release' 2019-07-22 00:12:21 +10:00
Ashish Kumar
8cd9bd5524 Fix category search bug (#3080)
* Closes #3027
* Concat category search with search with image title list and default categories

* Fixed unit test CategoriesPresenterTest.searchForCategoriesTest

* bug fix [search for categories even when the edit text is empty (perform title based search)]

* Category items should show the selected item on top
2019-07-21 23:50:35 +10:00
translatewiki.net
1560b77652 Localisation updates from https://translatewiki.net. 2019-07-18 16:19:33 +02:00
neslihanturan
6ab2f03c82 Update mapbox map 2019-07-17 14:31:23 +03:00
neslihanturan
54e3be9037 Merge remote-tracking branch 'upstream/master' into refactorNearbyClassesMVP 2019-07-16 18:15:26 +03:00
Vitaly V. Pinchuk
32715d9cce Set defaults to ON for all EXIF tags (#3068) 2019-07-16 19:46:23 +10:00
Vivek Maskara
75f3098c35
Fix build (#3075) 2019-07-16 03:00:28 +05:30
Ilgaz Er
8b36ee52d1 Migrated OkHttpJsonApiClient#getMedia and getPictureOfTheDay to MediaClient (#3056)
* With media client APIs migrated to retrofit (#2998)

* With media client APIs migrated to retrofit

* Add test cases and java docs

* Fix test

* Fix build

* Fix build and other minor issues

* Fix tests

* Categories related client API's migrated to retrofit (#3053)

* Commit 1

* searchCategories migrated to retrofit

* SearchCategoriesFragment migrated to new API

* Removed unused code

* Created tests

* implemented searching by prefix
fixed SearchCategoryFragment behaviour where the same categories would be added to the list instead of new ones.

* added tests

* Migrated searchTitles to searchCategories, function behaviour seems identical

* With media client APIs migrated to retrofit (#2998)

* With media client APIs migrated to retrofit

* Add test cases and java docs

* Fix test

* Fix build

* Fix build and other minor issues

* Fix tests

* Categories related client API's migrated to retrofit (#3053)

* Commit 1

* searchCategories migrated to retrofit

* SearchCategoriesFragment migrated to new API

* Removed unused code

* Created tests

* implemented searching by prefix
fixed SearchCategoryFragment behaviour where the same categories would be added to the list instead of new ones.

* added tests

* Migrated searchTitles to searchCategories, function behaviour seems identical

* OkHttpJsonApi#getMediaList migrated to retrofit (#3054)

* Migrated OkHttpJsonApi#getMediaList partially to MediaClient#getCategoryImages

* Migrated rest of OkHttpJsonApi#getMediaList functionality to MediaClient#getCategoryImages

* Removed unused code and tests

* Fixed small bug

* Added tests

* Removed unused CategoryImageController

* getSubCategoryList and getParentCategoryList migrated to retrofit (#3055)

* Migrated getSubCategoryList to retrofit

* Migrated getParentCategoryList to retrofit

* Removed obsolete functions

* Added tests

* Fixed small bugs

* Migrated OkHttpJsonApiClient#getMedia and getPictureOfTheDay to MediaClient

* Removed obsolete functions and added tests

* Fixed merge errors

* With media client APIs migrated to retrofit (#2998)

* With media client APIs migrated to retrofit

* Add test cases and java docs

* Fix test

* Fix build

* Fix build and other minor issues

* Fix tests

* Categories related client API's migrated to retrofit (#3053)

* Commit 1

* searchCategories migrated to retrofit

* SearchCategoriesFragment migrated to new API

* Removed unused code

* Created tests

* implemented searching by prefix
fixed SearchCategoryFragment behaviour where the same categories would be added to the list instead of new ones.

* added tests

* Migrated searchTitles to searchCategories, function behaviour seems identical

* OkHttpJsonApi#getMediaList migrated to retrofit (#3054)

* Migrated OkHttpJsonApi#getMediaList partially to MediaClient#getCategoryImages

* Migrated rest of OkHttpJsonApi#getMediaList functionality to MediaClient#getCategoryImages

* Removed unused code and tests

* Fixed small bug

* Added tests

* Removed unused CategoryImageController

* getSubCategoryList and getParentCategoryList migrated to retrofit (#3055)

* Migrated getSubCategoryList to retrofit

* Migrated getParentCategoryList to retrofit

* Removed obsolete functions

* Added tests

* Fixed small bugs

* Consume login client from data client library (#2894)

Fix actions for review client

Use data client library for notifications

With delete helper migrated to data client

With wikidata edits

With notifications and modifications migrated to data client

With upload migrated to retrofit

Delete unused code

Reuse thank interface from the library
2019-07-16 02:08:18 +05:30
translatewiki.net
94f3b6ea39 Localisation updates from https://translatewiki.net. 2019-07-15 19:58:46 +02:00
neslihanturan
0b51c93b07 Make sure you removed everything related with mapbox implementation 2019-07-15 14:14:28 +03:00
Vivek Maskara
d24ca9d4fe
Localisation updates from https://translatewiki.net. (#3072) 2019-07-15 16:39:50 +05:30
neslihanturan
8c4b8c06f7 Remove import of already removed class 2019-07-15 14:02:58 +03:00
neslihanturan
341d6b7cb9 Remove unused/old NearbyFragment and NearbyMapFragment 2019-07-15 13:45:15 +03:00
neslihanturan
c0075ca6cb Remove nearby/NearbyMapFragment 2019-07-15 13:42:43 +03:00
neslihanturan
e1806c24a1 Remove Style import from **fragments/NearbyParentFragment 2019-07-15 13:30:20 +03:00
neslihanturan
6d9c74fcd0 Remove Style import from fragment/NearbyMapFragment 2019-07-15 13:28:57 +03:00
neslihanturan
2c98db85f9 Upgrade mapbox sdk versions 2019-07-15 13:27:28 +03:00
Ashish Kumar
0628b1b8f5 bug fix sync service (#3069) 2019-07-14 13:20:13 +05:30
neslihanturan
1a9c20c0f5 Merge remote-tracking branch 'upstream/master' into refactorNearbyClassesMVP 2019-07-12 21:19:54 +03:00
Vivek Maskara
cd57552d76
Fix auth issues in the app (#3064) 2019-07-12 01:49:28 +05:30
translatewiki.net
bb570a5afc Localisation updates from https://translatewiki.net. 2019-07-11 17:18:56 +02:00
Vivek Maskara
5d64cacb30 Merge branch 'master' into backend-overhaul 2019-07-11 15:42:02 +05:30
Vivek Maskara
98c7b9d961 Enable verbose logging and log response body (#3063) 2019-07-11 18:55:49 +10:00
Vivek Maskara
853c8a6379 Consume login client from data client library (#2894)
Fix actions for review client

Use data client library for notifications

With delete helper migrated to data client

With wikidata edits

With notifications and modifications migrated to data client

With upload migrated to retrofit

Delete unused code

Reuse thank interface from the library
2019-07-10 23:11:18 +05:30
Vivek Maskara
d427a77c2a Consume login client from data client library (#2894)
Fix actions for review client

Use data client library for notifications

With delete helper migrated to data client

With wikidata edits

With notifications and modifications migrated to data client

With upload migrated to retrofit

Delete unused code

Reuse thank interface from the library
2019-07-10 23:11:18 +05:30
Ilgaz Er
623c2f5467 getSubCategoryList and getParentCategoryList migrated to retrofit (#3055)
* Migrated getSubCategoryList to retrofit

* Migrated getParentCategoryList to retrofit

* Removed obsolete functions

* Added tests

* Fixed small bugs
2019-07-10 23:11:18 +05:30
Ilgaz Er
97122296dd OkHttpJsonApi#getMediaList migrated to retrofit (#3054)
* Migrated OkHttpJsonApi#getMediaList partially to MediaClient#getCategoryImages

* Migrated rest of OkHttpJsonApi#getMediaList functionality to MediaClient#getCategoryImages

* Removed unused code and tests

* Fixed small bug

* Added tests

* Removed unused CategoryImageController
2019-07-10 23:11:18 +05:30
Ilgaz Er
d5198be3e3 Categories related client API's migrated to retrofit (#3053)
* Commit 1

* searchCategories migrated to retrofit

* SearchCategoriesFragment migrated to new API

* Removed unused code

* Created tests

* implemented searching by prefix
fixed SearchCategoryFragment behaviour where the same categories would be added to the list instead of new ones.

* added tests

* Migrated searchTitles to searchCategories, function behaviour seems identical
2019-07-10 23:11:18 +05:30
Vivek Maskara
78141cb609 With media client APIs migrated to retrofit (#2998)
* With media client APIs migrated to retrofit

* Add test cases and java docs

* Fix test

* Fix build

* Fix build and other minor issues

* Fix tests
2019-07-10 23:11:18 +05:30
neslihanturan
b511112547 Remove unused Near 2019-07-10 13:08:19 +03:00
neslihanturan
52e9ef9245 Merge remote-tracking branch 'upstream/master' into refactorNearbyClassesMVP 2019-07-10 12:45:23 +03:00
neslihanturan
3890ea578b use SupportMapFragment instead 2019-07-10 12:42:36 +03:00
Ashish Kumar
828b5a3cd1 Closes #3061 (#3062)
* Added null check for contribution with position in ContributionsListFragment
2019-07-10 19:10:34 +10:00
translatewiki.net
f605c5c13a Localisation updates from https://translatewiki.net. 2019-07-08 20:02:32 +02:00
Ashish Kumar
fe540eb135 Bugfix/getuploadcount (#3049)
* Closes #3048
* response.body().string() was called more than once and because response body can be huge so OkHttp doesnot store it in memory, it reads it as a stream from network when we need it, which cannot be done without a new request.

* null check in response.body()

* Fixed possible NumberFormatException, made review suggested changes

* added getUploadCount test case
2019-07-08 01:45:11 +05:30