Commit graph

3100 commits

Author SHA1 Message Date
translatewiki.net
aab692a325 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
1a2998229d Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
RozaliyaRusskikh
df26bf8a36 Unused dependencies are removed (#3141)
Part of #3128
2019-10-17 01:54:46 +10:00
translatewiki.net
bebcb2871a Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
e8551bb91d Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
9124876a70 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
c7d7dea40f Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
a3fe51114f Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
443517f02a Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
Vanshika Arora
3d6509c88f removed swipe to delete (#2589) 2019-10-17 01:54:46 +10:00
Ufald
33cc08ba1f 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-10-17 01:54:46 +10:00
translatewiki.net
b48c72f3c6 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
e213d33477 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
d7f6866b85 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
af2a87b473 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
Josephine Lim
bb9e1578f1 Versioning for v2.11.0 2019-10-17 01:54:46 +10:00
Ashish Kumar
5892229a63 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-10-17 01:54:46 +10:00
Vivek Maskara
d897cfe28b Fix build (#3172) 2019-10-13 13:30:00 +05:30
Vivek Maskara
4fd9374e8b Fix 2FA login (#3170) 2019-10-12 16:10:34 +05:30
Ashish Kumar
533ba60fae Fixed default locale and upload locales in descrptions (#3166) 2019-10-10 00:57:20 +10:00
Ashish Kumar
55edc34dee clear image cache on logout (#3168) 2019-10-07 14:35:04 +05:30
Ashish Kumar
db6ffddc13 Donot init quiz checker in onResume (#3167) 2019-10-07 14:25:47 +05:30
Vivek Maskara
c55d363947 [Dependency fluent]: Remove unused dependency fluent (#3164) 2019-10-05 19:46:03 +05:30
Ashish Kumar
dab46bfcbd fixed compile time error (#3165) 2019-10-05 17:26:53 +05:30
Ilgaz Er
ccd7b3d3d2 As per #3026, removed the obsolete classes in package mwapi (#3150) 2019-10-05 17:13:49 +05:30
Vivek Maskara
13d847ea77 Basic logging with redacted sensitive headers (#3159) 2019-10-05 21:36:35 +10:00
Vivek Maskara
2e0281eaee [Dependency: Quadtree] Remove unused code from cache controller (#3163) 2019-10-05 21:35:58 +10:00
Ashish Kumar
f13a4d4da7 Added progress updater in UploadService to show upload progress in no… (#3156)
* added progress updater in UploadService to show upload progress in notification

* formatting changes
2019-10-01 00:56:36 +10:00
Ashish Kumar
41789980c7 * Login the login token way, handle LoginResult minutely, add account based on LoginResult (#3151) 2019-09-15 18:28:17 +05:30
Ilgaz Er
90d4e49496
Migrated isUserBlockedFromCommons to retrofit (#3085)
* Switched wikimedia-android-data-client for new features

* Added UserCLient and UserInterface

* Migrated isUserBlockedFromCommons to retrofit

* Added tests and removed dead code

* Implemented ban checking functionality in UploadActivity

* Removed unused class AuthenticatedActivity

* Fixed tests

* Fixed NullPointerException when a user accessed image details without logging in.
2019-09-12 14:10:36 +03:00
Ilgaz Er
c6794f3eb9
Backend overhaul fetch media by filename (#3081)
* Added class MwParseResponse and MwParseResult for receiving parse output

* Migrated fetchMediaByFilename to retrofit

* Removed unused code

* Added tests
2019-09-04 17:12:55 +03:00
Vivek Maskara
728ead7c38
Update library for data client (#3131) 2019-08-15 01:34:28 +05:30
Ilgaz Er
bb273eb22d Migrated logEvents to retrofit (#3087)
* Switched wikimedia-android-data-client for new features

* Added UserCLient and UserInterface

* Migrated ContributionsSyncAdapter to UserClient
Fixed sync related bugs

* Removed unused code

* Removed unused code

* Updated wikimedia-android-data-client to new version
2019-08-11 19:16:11 +05:30
Ilgaz Er
386d08794e Deleted unused classes related to modification (#3084)
Removed ModificationsSyncAdapter
2019-07-23 19:14:07 +05:30
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
Vivek Maskara
d24ca9d4fe
Localisation updates from https://translatewiki.net. (#3072) 2019-07-15 16:39:50 +05:30
Ashish Kumar
0628b1b8f5 bug fix sync service (#3069) 2019-07-14 13:20:13 +05:30
Vivek Maskara
cd57552d76
Fix auth issues in the app (#3064) 2019-07-12 01:49:28 +05:30
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
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