Commit graph

1530 commits

Author SHA1 Message Date
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
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
97bbd51e13 Removed the popup and nav-drawer item relating to developer plans. 2017-08-24 22:19:43 -05:00
Yusuke Matsubara
0c680b06ca Merge pull request #851 from akaita/rx_authentication
Rx for Auth tasks
2017-08-24 23:15:59 +09:00
translatewiki.net
4d82857b10 Localisation updates from https://translatewiki.net. 2017-08-24 09:23:12 +02:00
translatewiki.net
f3195c0ac3 Localisation updates from https://translatewiki.net. 2017-08-21 07:34:39 +02:00
amylin0147
9048842c72 Make the title field multiline 2017-08-20 12:39:35 +09:00
Mikel
5cb1f7281b Fix wrong condition 2017-08-18 20:06:18 +01:00
Mikel
591b10f4c9 Add error message to exception 2017-08-18 20:04:59 +01:00
Mikel
f2e8891db9 Simplify AddAccount task 2017-08-18 17:35:24 +01:00
Mikel
6b80bec3c9 Simplify GetAuthCookie task 2017-08-18 17:34:55 +01:00
translatewiki.net
9722888da6 Localisation updates from https://translatewiki.net. 2017-08-17 15:29:09 +02:00
translatewiki.net
8980966fa1 Localisation updates from https://translatewiki.net. 2017-08-14 08:12:40 +02:00
Josephine Lim
5796d14e9e Merge pull request #839 from YDrall/backstack_issue
remove signup activity from activity's backstack.
2017-08-14 01:28:54 +10:00
ydrall
68462eac2b make SignupActivity to terminate on task completion 2017-08-11 15:02:15 +05:30
neslihanturan
0005b82421 Revert "Adding username to Drawer" 2017-08-10 13:56:51 +03:00
translatewiki.net
dd5a4460a3 Localisation updates from https://translatewiki.net. 2017-08-10 10:22:33 +02:00
translatewiki.net
c9a2b9097d Localisation updates from https://translatewiki.net. 2017-08-10 07:39:22 +02:00
neslihanturan
401de30630 Merge pull request #834 from akaita/667_fix_categories
667 fix categories
2017-08-09 11:31:23 +03:00
neslihanturan
9ea805f9f5 Merge pull request #826 from Nethermane/master
Adding username to Drawer
2017-08-09 10:43:45 +03:00
Bruce Nishimura
1622f67a4b Made layout actually look good. Hopefully fixed codeacities complaints. 2017-08-08 18:58:45 -04:00
neslihanturan
e3455b630e Merge pull request #796 from akaita/media_detail_enhance
Enhance behaviour of Media detail enhance
2017-08-08 15:29:33 +03:00
Mikel
bef42de613 Remove unused imports 2017-08-08 13:08:56 +01:00
Mikel
304e998a0b Line break to add readability 2017-08-07 20:53:00 +01:00
Mikel
7754c7c7c4 Fix vectors for drawableStart in API 17 2017-08-07 20:44:35 +01:00
Mikel
3793516d57 Fix empty-filter search. Fix repeated suggestions issue. Show "no results found" when appropriate 2017-08-07 16:37:12 +01:00
Yusuke Matsubara
2777bacd27 Merge pull request #828 from jorgecasariego/master
Enable Stetho just on debug mode #813
2017-08-07 22:31:36 +09:00
Yusuke Matsubara
260fa26bdd Rename values-skr-arab to values-skr 2017-08-07 20:29:45 +09:00
translatewiki.net
64c3d402ca Localisation updates from https://translatewiki.net. 2017-08-07 07:19:49 +02:00