Commit graph

57 commits

Author SHA1 Message Date
Paul Hawke
2d91e81121 Merge branch 'master' into dependency-injection 2017-09-13 20:29:50 -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
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
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
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
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
8fe2816ca9 First baby steps into the world of dependency injection using Dagger. 2017-08-26 08:56:14 -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
neslihanturan
401de30630 Merge pull request #834 from akaita/667_fix_categories
667 fix categories
2017-08-09 11:31:23 +03:00
Mikel
22cd1ac72a Fix import 2017-08-06 20:09:45 +01:00
Jorge Casariego
b76fb516b6 Enable Stetho just on debug mode #813 2017-08-01 15:02:51 -04:00
Josephine Lim
a5a624f939 Merge pull request #808 from neslihanturan/oneTimePopUp
One time pop up
2017-07-27 16:49:22 +10:00
Neslihan
452dcaec72 Display pop up once, on 4th app start 2017-07-26 14:06:49 +03:00
Neslihan
19784f0e82 Add shared preferences 2017-07-23 18:10:42 +03:00
Paul Hawke
4796557fb7 Made a pass through the code to introduce lambdas / method references in the places the Android Studio suggested. 2017-07-22 18:04:40 -05:00
Paul Hawke
599e7bb453 Consolidated media wiki api calls in a single place 2017-07-04 14:24:08 -05:00
Deskana
767878f194 Remove unused imports
This patch removes imports across the codebase that are unused to improve
code maintainability and cleanliness.
2017-05-26 11:02:56 +01:00
Dmitry Brant
38e7cad345 Final touch-ups to improved image loading. 2017-05-19 17:19:10 +02:00
Dmitry Brant
7a4062a377 Merge remote-tracking branch 'upstream/master' 2017-05-19 16:27:08 +02:00
Dmitry Brant
9469bf29e4 Remove dependency on old image-loading library, and remote a lot of code. 2017-05-19 16:24:04 +02:00
Dmitry Brant
85b15cd1c1 Further improve image loading, and remove unused code. 2017-05-19 15:57:25 +02:00
Josephine Lim
6232e35816 Merge pull request #627 from dbrant/master
Clean up image loading code, and switch to using Fresco.
2017-05-19 15:20:33 +02:00
Dmitry Brant
a3f3ee7fdb Merge remote-tracking branch 'upstream/master' 2017-05-19 15:14:29 +02:00
Dmitry Brant
bb49fb9801 Clean up image loading code, and switch to using Fresco. 2017-05-19 15:08:29 +02:00
Dinu Kumarasiri
7d6c836e31 Leak Canary Integration 2017-05-19 15:06:15 +02:00
addshore
4bda30116a Update logic from PR 611 that was just merged 2017-05-16 15:20:53 +02:00
addshore
1785e9b179 Fix some codacy issues 2017-05-16 15:19:43 +02:00
addshore
c712b561d4 Get rid of other singletons 2017-05-16 15:19:43 +02:00
addshore
bdfbdc7579 Cleanup CommonsApplication Singelton 2017-05-16 15:19:15 +02:00
Neslihan
be2b944276 Fix codacy 2017-05-16 16:12:16 +03:00
Neslihan
aec4300a2e Logout thing 2017-05-16 16:01:29 +03:00
Neslihan
cce8c27a66 Add logout action 2017-05-16 15:52:05 +03:00
Josephine Lim
37c3004b57 Merge pull request #594 from maskaravivek/stetho
Making debugging easier with stetho
2017-05-15 17:04:39 +02:00
maskara
c49720c777 Making debugging easier with stetho 2017-05-15 16:51:44 +02:00
addshore
367228d758 Switch the main activity to be the LoginActivity 2017-05-15 16:34:54 +02:00
addshore
eb58a847b1 Create AccountUtil class 2017-05-14 15:19:57 +02:00
addshore
d38dde0ec4 Use clientlogin API module
This is the first step to allowing 2 factor authentication #328.
This uses the new API module clientlogin instead of the login module.

We still report the same set of errors in a 'nice' way with real
error messages, how ever there are lots more that can probably be
handled, for example #507.
2017-05-12 14:36:58 +02:00
veyndan
d33935c70f Use Timber for logging 2017-04-17 16:41:56 +01:00
Yusuke Matsubara
411bfb3df8 Disable ACRA on debug builds 2017-04-13 19:03:16 +09:00
veyndan
0e3bd3c74a Use generated version name from BuildConfig 2017-03-24 03:13:44 +00:00
Adam Jones
ea43e1a796 Fix Codacy Issues + remove unused patch 2017-03-23 17:51:13 +00:00
maskara
22cbd41f49 Fixes #417: Open mobile view of Commons 2017-03-10 10:23:44 +05:30
veyndan
d866ab3e07 Replace explicit type with diamond operator 2017-03-01 15:44:32 +00:00