Commit graph

65 commits

Author SHA1 Message Date
neslihanturan
32d36944fc
Revert "Wmhack2018 (#1536)" (#1539)
This reverts commit 01cb9ccd70.
2018-05-19 23:02:29 +03:00
Elliott Eggleston
01cb9ccd70 Wmhack2018 (#1536)
* Add new activity to manifest

* Create review activity layout base

* Add a new menu item to drawer for peer review

* Add a top menu with randomizer icon to review activity

* Add strings for review button

* Add activity to ActivityBuilderModule for injection

* Add a new drawer item to start review acitivty

* Create base of the Review Activity

* Add fragment pager

* Add new fragment for injection

* Create a fragment pager layout

* Wikimedia hackathon 2018 (#1533)

* First draft of fn to get random recent image

* Use log entries for requests to beta, try to connect refresh button

FIXME: runs http request on main thread, breaks

* Tweak button connection

* Add ReviewController class

* Fix fragments

* Wmhack2018 (#1534)

* tiny fixes

* Load pictures into activities

* Re-use same class for all review fragments (#1537)

And try to add pager indicator

* [WIP] category check

* [WIP] add on-click actions to ReviewActivity

* [WIP] add SendThankTask

* Make it beautiful

* Use standalone category extraction code in MediaDataExtractor

* Add categories to category review page
2018-05-19 23:00:06 +03:00
Vivek Maskara
9845a6265d Integrate API for displaying featured images (#1456)
* Integrate API for displaying featured images

* Add pagination and refactor code so that it can be reused for category images

* Add license info to the images

* Fix author view

* Remove unused values

* Fix minor issues with featured images

* Fix null license url issue

* Remove some log lines

* Fix back navigation issue

* fix tests

* fix test inits

* Gracefully handling various error situations

* Added java docs
2018-05-07 11:09:23 +03:00
Vivek Maskara
463673f942
Merge branch 'master' into featuredImages 2018-03-24 12:46:38 +05:30
knightshade
4861c4dfa3 Sets the proper width to Navigation drawer in portrait and landscape mode.
Fixes #1275
2018-03-11 10:52:09 +05:30
Ujjwal Agrawal
eeaa9a90ba
Merge branch 'master' into feat5 2018-02-27 12:17:29 +05:30
Ujjwal Agrawal
fc8b522ac4 Rate Us method added to Utils.java and called on AboutActivity.java 2018-02-27 12:04:04 +05:30
Ayushi
81064dee10 Show only the email clients in Feedback Feature (#1203)
Instead of showing only the email clients, The Feedback feature was showing multiple unsupported clients (WhatsApp, Bluetooth etc)

* Changes made to let the user choose from the available email related clients only.
2018-02-26 04:18:07 +05:30
Ujjwal Agrawal
4432f2ca1a Rate Us feature added 2018-02-24 17:36:54 +05:30
maskara
28a6a3b71d Integrate notifications API 2018-01-22 03:46:54 +05:30
maskara
d78c7befbd Revert "Revert "Merge pull request #1024 from neslihanturan/displayNotificationsUI""
This reverts commit d253db5444.
2018-01-21 14:54:25 +05:30
misaochan
d253db5444 Revert "Merge pull request #1024 from neslihanturan/displayNotificationsUI"
This reverts commit 031e53c988, reversing
changes made to 0aa20effe0.

revert UI notifications
2018-01-16 18:52:25 +10:00
maskara
eb3e448452 Refactoring based on comments 2018-01-13 23:59:45 +05:30
maskara
e1afa6081e Refactor usage of dagger application with fixed dagger application 2018-01-13 16:16:47 +05:30
neslihanturan
48c7a0372e Prepare base for new activity 2018-01-09 18:16:17 +03:00
neslihanturan
3af6eaf852 Add notification item to navigation bar 2017-12-20 19:10:25 +03:00
Paul Hawke
02b5b9b680 Merge branch 'master' into dependency-injection 2017-11-24 22:30:08 -06:00
Ram Gudivada
3c9b325e58 Changed activity creation logic
- for home activity it will reuse existing activity from back stack and
  also clears all current activities
- for nearby, about and settings, it will use the existing activity from
  back stack
2017-11-20 21:37:10 -08:00
Ram Gudivada
03517de9a3 Removed unnecessary finish() call for about option in menu. 2017-11-11 01:21:33 -08:00
Ram Gudivada
5548cec02e Removed finish() method for tutorial/feedback and logout menu options. 2017-11-11 01:19:51 -08:00
Ram Gudivada
2c1f20f1fd Issue-944: Fix for same activity getting instantiated multiple times
This is happening because the finish() method on current activity is not
called before switching to the new activity
2017-11-11 00:43:37 -08:00
neslihanturan
75496388ce
Merge pull request #929 from JohnKal/master
fix for issue #719
2017-10-30 14:48:16 +03:00
JohnKal
aab792f75b Add period to Javadoc comment. 2017-10-28 16:45:05 +03:00
JohnKal
dd8f9a4873 fixed issues with code quality. 2017-10-28 16:05:33 +03:00
JohnKal
99f4f376bd fix for issue #719 2017-10-27 21:24:47 +03:00
Sergey Kozelko
43af519a16 Fix Codacy issues 2017-10-18 21:57:57 +03:00
Paul Hawke
e33febf506 Merge branch 'master' into dependency-injection 2017-09-23 14:24:34 -05:00
Paul Hawke
2d91e81121 Merge branch 'master' into dependency-injection 2017-09-13 20:29:50 -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
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
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
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
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
0005b82421 Revert "Adding username to Drawer" 2017-08-10 13:56:51 +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
8ca35c7653 Merge pull request #833 from mebr1416/master
Day mode by default #825
2017-08-05 12:55:01 +03:00
mebr1416
0c303298b2 Resolve for "Day mode by default #825" 2017-08-04 18:40:22 +03:00
Bruce Nishimura
a014900e37 Removed username from preferences, now uses current account.
Improved text positioning/styling slightly.
2017-08-02 00:38:34 -04:00
Bruce Nishimura
2764bc4dd8 Using general preferences instead, splitting long lines. 2017-07-31 20:47:55 -04:00
Bruce Nishimura
fba9bf0327 Clean up extra imports 2017-07-31 17:12:25 -04:00
Bruce Nishimura
d3ce751f59 Added username to picture of the day icon. 2017-07-31 17:08:47 -04:00
Michiyo Wellington-Oguri
c02408c2a5 don't start new activity if already in that activity 2017-07-30 17:15:41 -07:00
Josephine Lim
a5a624f939 Merge pull request #808 from neslihanturan/oneTimePopUp
One time pop up
2017-07-27 16:49:22 +10:00
Neslihan
07102c04e9 Add developer plans to nav drawer 2017-07-26 14:29:56 +03:00