Commit graph

2911 commits

Author SHA1 Message Date
Paul Hawke
d4fd6f8b77 Merge branch 'master' into lint-cleanup 2017-09-13 19:16:55 -05:00
neslihanturan
ffc7c80678 Merge pull request #857 from psh/beta-cluster
Product flavors for production and the beta-cluster Wikimedia servers
2017-09-13 10:57:31 +03:00
Neslihan
4d9e63227c Fix codacy issue 2017-09-12 23:14:58 +03:00
Neslihan
c52c0b4a7f Fix coding style 2017-09-12 22:47:57 +03:00
Neslihan
1c50e8539b Request write permission for older android versions, too. 2017-09-12 22:47:31 +03:00
translatewiki.net
c8b0d2cee4 Localisation updates from https://translatewiki.net. 2017-09-11 07:14:33 +02:00
Paul Hawke
a208c9f273 Further reduced coupling between classes and the need to @Inject the account utils class, fixed imports. 2017-09-10 10:37:58 -05:00
Paul Hawke
9c0cbe7ad5 Further reduce code calling back to the CommonsApplication by pulling out a SessionManager to manage our current account. 2017-09-09 14:08:40 -05:00
Paul Hawke
e7d0c647c2 Merge branch 'master' into dependency-injection 2017-09-09 12:39:41 -05:00
translatewiki.net
3a15f9a1d6 Localisation updates from https://translatewiki.net. 2017-09-07 07:15:24 +02:00
Josephine Lim
9454df7ec9 Merge pull request #864 from psh/round-nearby-icons
Removed grey box background on nearby icons
2017-09-06 15:50:10 +10:00
Josephine Lim
62750de0c1 Merge pull request #756 from veyndan/nearby-list-redesign
Redesign Nearby Places list items
2017-09-06 15:49:46 +10:00
Paul Hawke
b9dbdfb337 Fixed remaining icons missed in the first pass, removing the grey background. 2017-09-05 22:01:36 -05:00
pszklarska
0e2d2c1fcf Fixing Codacy issues 2017-09-05 19:14:58 +02:00
pszklarska
c61414d76e Fixing Codacy issues 2017-09-05 19:08:17 +02:00
pszklarska
0446335bd8 Fixing test not working 2017-09-05 18:29:37 +02:00
pszklarska
8edd90ef50 Fixing Codacy issues 2017-09-05 18:27:16 +02:00
pszklarska
c9ed77f696 Changing method names 2017-09-05 18:13:36 +02:00
pszklarska
228a497125 Code cleanup in build.gradle 2017-09-05 18:03:59 +02:00
pszklarska
ad664f3529 Changing debounce time for search filter 2017-09-05 18:03:08 +02:00
pszklarska
5094cbc58a Implementing String similarity algorithm for searching category functionality 2017-09-05 18:02:44 +02:00
Vishan Seru
11f9511495 When location permission request is denied in NearbyActivity, instead of the NoPermissionsFragment, now an AlertDialog is shown providing options to either retry the permission request or cancel and quit the activity. 2017-09-05 20:53:55 +05:30
Paul Hawke
ccce12ea01 Removed grey box background on nearby icons 2017-09-04 15:01:19 -05:00
translatewiki.net
d4a89afafd Localisation updates from https://translatewiki.net. 2017-09-04 08:58:05 +02:00
Paul Hawke
15107e622b Codacy suggestions for improvement. 2017-09-03 22:20:52 -05:00
Paul Hawke
8cbf56fa7b Java 5 / Java 8 language suggestions plus general cleanup. 2017-09-03 17:27:20 -05:00
Paul Hawke
13e84a82b8 Removed unused imports. 2017-09-03 17:05:37 -05:00
Paul Hawke
d59a526f7f Lint error: use of restricted API 2017-09-03 17:00:16 -05:00
Paul Hawke
f74de55b60 Lint warning: Lambda can be replaced with method reference. 2017-09-03 16:52:52 -05:00
Paul Hawke
a615e0784e Cleanup the logout positive button lambda. 2017-09-03 16:45:19 -05:00
Yusuke Matsubara
7c956e803c Merge pull request #856 from Bluesir9/issue_848_logout_contributions_redirect_issue
Added callback when removing accounts on logout
2017-09-03 20:34:31 +09:00
Vishan Seru
35fdb4350a Fixed small bug when incrementing counter in AccountManagerCallback 2017-08-28 12:44:19 +05:30
Vishan Seru
b094d502d6 Took care of some issues pointed out by codacy in relation to the coding guidelines followed specifically to the changes made in this branch 2017-08-28 12:27:03 +05:30
translatewiki.net
ae0e051227 Localisation updates from https://translatewiki.net. 2017-08-28 07:37:25 +02:00
Paul Hawke
1f1a2822e8 Moved 2 other tests over to use robolectric. 2017-08-26 21:05:41 -05:00
Paul Hawke
58013ef10c Moved the test to use robolectric and updated it to be flavor aware. 2017-08-26 18:00:02 -05:00
Paul Hawke
ca4b99a1cc Product flavors to allow switching between the production and the beta-cluster Wikimedia servers. 2017-08-26 15:42:44 -05:00
Paul Hawke
d0a85dbd82 Moved single-use code out of Utils over to where it's actually used. 2017-08-26 08:57:16 -05:00
Paul Hawke
388f588301 Correctly configured injection for fragments and services. 2017-08-26 08:57:16 -05:00
Paul Hawke
cfe17cafa6 Moved other singletons over to being managed by Dagger 2017-08-26 08:57:15 -05:00
Paul Hawke
647cc166ef @Inject the MediaWikiApi where needed to reduce coupling between classes. 2017-08-26 08:56:15 -05:00
Paul Hawke
ed1ae98d8e Finished removing coupling between classes around the getInstance() method. 2017-08-26 08:56:15 -05:00
Paul Hawke
dbcbeed822 Android injection for support classes. 2017-08-26 08:56:15 -05:00
Paul Hawke
7880a08c30 Ensure that activities and content providers are integrated into DI. 2017-08-26 08:56:15 -05:00
Paul Hawke
8fe2816ca9 First baby steps into the world of dependency injection using Dagger. 2017-08-26 08:56:14 -05:00
Paul Hawke
04f676c320 Added dagger2 to the build 2017-08-26 08:54:00 -05:00
neslihanturan
b1c13efcd6 Merge pull request #855 from psh/remove-developer-plan-popup
Removed the popup and nav-drawer item relating to developer plans.
2017-08-26 15:35:59 +03:00
Vishan Seru
16487556dc Added callback when removing accounts on logout to ensure that post logout screen transition happens only after complete logout procedure is complete. 2017-08-25 11:42:17 +05:30
Paul Hawke
b6c4f72250 Merge pull request #854 from whym/build-tools
Use build tools version 26.0.1
2017-08-24 22:31:18 -05:00
Paul Hawke
97bbd51e13 Removed the popup and nav-drawer item relating to developer plans. 2017-08-24 22:19:43 -05:00