Commit graph

2979 commits

Author SHA1 Message Date
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
Yusuke Matsubara
0c680b06ca Merge pull request #851 from akaita/rx_authentication
Rx for Auth tasks
2017-08-24 23:15:59 +09:00
Yusuke Matsubara
1800c54455 Use build tools version 26.0.1 2017-08-24 22:08:22 +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
Josephine Lim
944f6b9feb Merge pull request #852 from whym/travis
.travls.yml: use official cache settings for gradle
2017-08-20 23:57:15 +10:00
amylin0147
9048842c72 Make the title field multiline 2017-08-20 12:39:35 +09:00
Yusuke Matsubara
d6e54d028d .travls.yml: use official cache settings for gradle
https://docs.travis-ci.com/user/languages/java/#Projects-Using-Gradle
2017-08-20 11:32:43 +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
Josephine Lim
44ee850809 Merge pull request #850 from akaita/upgrade_gradle
Upgrade gradle
2017-08-19 01:34:07 +10:00
Mikel
b3d019d8de Upgrade gradle version to latest stable 2017-08-18 13:58:14 +01:00
Mikel
44844e9f75 Merge pull request #6 from commons-app/master
Update to latest upstream
2017-08-18 13:32:36 +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
43d3f0592d Merge pull request #841 from commons-app/revert-826-master
Revert "Adding username to Drawer"
2017-08-10 14:14:43 +03:00
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
Mikel
0f98bca968 Merge pull request #5 from commons-app/master
Update to latest upstream
2017-08-09 21:46:47 +01: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
Nicolas Raoul
1cccdf4552 Merge pull request #837 from janpio/patch-2
remove documentation from README
2017-08-08 20:01:29 +09:00
Jan Piotrowski
1e1ff4931b remove documentation from README
and move it to added to the wiki:

https://github.com/commons-app/apps-android-commons/wiki/Develop-with-Android-Studio-or-IntelliJ
https://github.com/commons-app/apps-android-commons/wiki/Build-Manually
https://github.com/commons-app/apps-android-commons/wiki/Code-Structure
https://github.com/commons-app/apps-android-commons/wiki/On-Device-Storage
https://github.com/commons-app/apps-android-commons/wiki/Volunteers-welcome%21
https://github.com/commons-app/apps-android-commons/wiki/Translating-the-App

closes #811
2017-08-08 12:36:58 +02: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