Commit graph

4851 commits

Author SHA1 Message Date
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
Ashish Kumar
60b1eb1957 Feature/refactor contributions (#3046)
* * Refactored ContributionsListFragment to use RecyclerView
* Added ContributionsPresenter
* Extracted out the cursor to presenter
* Probable fix for #3028

* Improved the logic for cache in ContributionViewHolder

* Some more refactoring

* While displaying images in ContributionsList, check if status is not completed && local uri exists, use that uri to show image

* typo correction in LocalDataSource

* Fixed formatting in ContributionsPresenter

* retain adapter position when orientation changes

* retain child position with its id

* Made ContributionViewHolder not implement ViewHolder

* Code formatting, review suggested changes

* initialise the rv layout managers only when needed

* added test cases for ContributionPresenter

* removed not needed semi colon

* added more java docs and code formatting
2019-07-07 10:24:28 +03:00
PavelAplevich
108e28c89a Removed all hardcoded string in DeleteHelper (#3052)
* Removed hardcoded strings in DeleteHelper

* Revert "Removed hardcoded strings in DeleteHelper"

This reverts commit 4bc55fc3af.

* Removed all hardcoded strings in DeleteHelper.

* fixed test problems

* Correction strings in DeleteHelper

* decision problem with color of info icon #2940

* Correction DeleteHelper and string.xml

* minor fix

* fixed problems in DeleteHelper.java and strings.xml

* and another little fix

* Revert "and another little fix"

This reverts commit fe4ea5255f.

* Revert "decision problem with color of info icon #2940"

This reverts commit 5895cc8785.
2019-07-06 23:25:53 +03:00
neslihanturan
f3694e3647 Try to use SupportMapFragment instead, still no success... 2019-07-06 23:05:14 +03:00
translatewiki.net
b71dac33ae Localisation updates from https://translatewiki.net. 2019-07-05 07:01:56 +02:00
neslihanturan
0ec470bfd1 Remove unused logs 2019-07-04 17:21:52 +03:00
neslihanturan
e0464fa84d Merge remote-tracking branch 'upstream/master' into refactorNearbyClassesMVP 2019-07-03 14:17:26 +03:00
neslihanturan
2e7365e902 State: Map ready call is not called but permissions and methods are in correct order 2019-07-02 18:45:19 +03:00
neslihanturan
f6c1d27382 Add required methods to be called after map view is ready 2019-07-02 17:41:46 +03:00
PavelAplevich
6fb3331178 Removed hardcoded strings in DeleteHelper (#3047)
* Removed hardcoded strings in DeleteHelper

* Revert "Removed hardcoded strings in DeleteHelper"

This reverts commit 4bc55fc3af.
2019-07-02 14:20:34 +03:00
neslihanturan
e808b0a19e Merge remote-tracking branch 'upstream/master' into refactorNearbyClassesMVP 2019-07-01 15:51:07 +03:00
translatewiki.net
cc92773d46 Localisation updates from https://translatewiki.net. 2019-07-01 09:22:23 +02:00
neslihanturan
b8b524f859 Make nearby map ready callback came 2019-06-28 18:34:56 +03:00
neslihanturan
3bb801b62c Merge remote-tracking branch 'upstream/master' into refactorNearbyClassesMVP 2019-06-28 11:58:50 +03:00
translatewiki.net
0c3b00244f Localisation updates from https://translatewiki.net. 2019-06-27 18:16:27 +02:00
Vivek Maskara
d7628959a7
Fix bugs in peer review flow (#3039) (#3042)
* Fix bugs in peer review flow

* Fix tests

* Bug fixes

* Fix remaining issues with peer review
2019-06-26 21:31:06 +05:30
Vivek Maskara
31b5179371
Merge branch 'master' into 2.11-release 2019-06-26 21:14:21 +05:30
Vivek Maskara
5dc45a53d3 Fix bugs in peer review flow (#3039)
* Fix bugs in peer review flow

* Fix tests

* Bug fixes

* Fix remaining issues with peer review
2019-06-26 17:40:49 +03:00
sherlockbeard
4ec92c2e7b fixes the string issue (#3041)
* fix strings

* Update activity_achievements.xml
2019-06-26 17:06:41 +03:00
neslihanturan
98be517c69 Merge remote-tracking branch 'upstream/master' into refactorNearbyClassesMVP 2019-06-25 13:17:28 +03:00
translatewiki.net
17eb6f43ed Localisation updates from https://translatewiki.net. 2019-06-24 16:43:08 +02:00
neslihanturan
dd50e83319 Fixes previous PR - FIX #2918 Add option for default language for file descriptions (#3020)
* FIX #2918 Add option for default language for file descriptions

* navigation menu error fixed and improvement of code quality

* error language description default fixed

* adapter language selected fixed

* local language selected per default in description language

* Use a better string and variable name as required in review 1

* Add comments

* Add previously missing setValue methods so that list item will be chosen along with the summary

* Add missing Javadocs

* Fix capitalization

* Lint and formatting issues

* Rename methods so it's clearer they are to do with languages

* Use default kv store instead of shared preferences variable

* Make sure saved language code from settings activity is handled on init
2019-06-24 21:40:12 +10:00
translatewiki.net
2837748540 Localisation updates from https://translatewiki.net. 2019-06-20 21:28:47 +02:00
translatewiki.net
667372512b Localisation updates from https://translatewiki.net. 2019-06-17 19:14:52 +02:00
Adam Jones
8e35787248 Gradle 5 update (#3023)
* Update to Gradle 5

* Update gradle-play-publisher
2019-06-17 16:52:26 +05:30