Commit graph

4664 commits

Author SHA1 Message Date
translatewiki.net
07c335e054 Localisation updates from https://translatewiki.net. 2019-04-04 19:57:33 +02:00
Ashish Kumar
08a555c095 Merge 2.10 with master & Fixed merge conflicts (#2844) 2019-04-04 03:09:54 +10:00
Madhur Gupta
02ad3b2dc8 Fixed Padding for FAB in nearby #2779 (#2780)
* Fixed Padding for FAB in nearby #2779

* Fixed Padding for Location FAB in nearby

* Fixed Extra Padding
2019-04-02 14:34:22 +03:00
Madhur Gupta
0289ae17c5 Fixed #2825 where user was able to add one lang twice (#2834)
* Fixed #2825 where user was able to add one lang twice

* Added Comments
2019-04-02 14:17:01 +03:00
Adam Jones
835b7979ff Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
Shubham Pinjwani
d6ab47866f fixed #2781 : Multiple instances of Peer Review (#2784) 2019-04-02 13:18:41 +03:00
Silky Priya
49ec2921c5 Fix pageindicator style issues(#2811) 2019-04-02 12:45:52 +03:00
Vanshika Arora
4578600c1e [WIP] Adding Espresso test for orientation change (#2814)
* first commit

* initial commit

* added UI test for more activities

* added more tests

* improved code quality

* reverted code
2019-04-02 09:04:05 +05:30
Vivek Maskara
dcbf076965
Update master with backend overhaul branch (#2829)
* Beginnings of integration with Wikipedia client library. (#2642)

* Remove remaining unnecessary API version check.

* Roll up sleeves.

* Add and integrate the beginnings of app adapter.

* Remove vestigial event logging logic.

Event logging is no longer used in this app.

* Beginnings: remove StringUtils and associated redundancies.

* Remove redundant capitalize() method.

* Remove redundant urlEncode() method.

* Remove redundant (and incomplete) language lists.

* Remove redundant usages of SimpleDateFormat.

* Remove redundant json type adapter.

* Remove redundant MW error model classes.

* Rip out redundant MW model classes.

* Pass SessionManager into AppAdapter instead of injecting.

* Wire up more of the AppAdapter.

* Remove redundant Gson initialization and type adapters.

* Rip out PageTitle.

This was being used in some slightly incorrect/unexpected ways.

* Don't need static WikiSite.

* Bump data client library version

* Bump library version and fix build

* Fix tests

* Fix build

* Fix media of the day

* With fixes in recently modified APIs
2019-04-02 08:35:22 +05:30
translatewiki.net
76e5a30fb5 Localisation updates from https://translatewiki.net. 2019-04-01 20:24:14 +02:00
Adam Jones
23c23cc9fc Use JSON version 2 API for MwQueryResponse responses (#2816) 2019-04-01 23:33:30 +05:30
Madhur Gupta
01696ccc0e Fixed Night Mode Problem in Spinner #2809 (#2826)
* Fixed Night Mode Problem in Spinner #2809

* Reverted irrelevant changes
2019-04-01 13:41:19 +03:00
Adam Jones
69b0f40358 Fix #2793: Campaigns work on Beta (#2798)
* Fix #2793: Campaigns work on Beta

* Update campaign endpoint urls
2019-03-30 22:29:15 +10:00
Silky Priya
874e761691 Add information icons to explan peer review activity (#2783) 2019-03-29 23:06:20 +00:00
Madhur Gupta
3876e1c52f Removed duplicate File: from deletion notification (#2799) 2019-03-29 21:01:30 +00:00
Madhur Gupta
e3f3c915ea Fixed crash in LoginActivity on tablets (#2787) 2019-03-29 20:15:09 +00:00
Adam Jones
5a36392423 Remove broken UI test (doubleNavigateToExploreThenReturnHome) (#2797)
* Remove unnecessary wait in LoginActivityTest

* Remove very flaky doubleNavigateToExploreThenReturnHome test

Can be added back once upstream issues are fixed (see #2688)
2019-03-29 14:50:01 +05:30
Adam Jones
488bdd9800 Use utils.handleWebUrl for view on commons web intent (#2796) 2019-03-29 14:49:23 +05:30
Adam Jones
7820ed9d6f Fix LoginActivityTest (#2795) 2019-03-29 11:27:08 +05:30
Madhur Gupta
031f334c0f Added Click To View Photo on Home Screen Widget (#2768) 2019-03-28 21:37:59 +00:00
Vivek Maskara
0bf63f50b3 Replace remaining AsyncTask with RxAndroid (#2681) 2019-03-28 21:10:47 +00:00
translatewiki.net
a62aaadf90 Localisation updates from https://translatewiki.net. 2019-03-28 19:31:43 +01:00
Vivek Maskara
2021baa080 Consistent handling of web and geo urls (#2750)
* Consistent handling of web and geo urls

* Remove Google map intent
2019-03-28 18:23:36 +05:30
Madhur Gupta
7c77530c2e Refactor LoginActivity #2690 (#2775)
* Refactor LoginActivity #2690

* Fixed Error cannot find symbol
2019-03-28 15:19:49 +03:00
Adam Jones
4071d66d45 Remove duplicate information icon resources (#2734) 2019-03-28 13:28:17 +05:30
Madhur Gupta
995de60ca2 Fix #2771: Location of Checkbox in Permission Request Dialog (#2772) 2019-03-27 22:39:21 +00:00
Madhur Gupta
e14a9c17b2 Added Title to the Pic of the Day App Widget (#2758) 2019-03-27 14:04:58 +03:00
Ashish Kumar
f7f88d52b6 Bugfix/customproxy (#2738)
* BugFix #2737
* Added a CustomProxy class which overrides the invocation handler to return approproate values for different datatypes

(cherry picked from commit f68d2e880074277b75a60b730dd63254239a8971)

* Added JavaDocs for CustomProxy
2019-03-26 21:04:01 +05:30
Vivek Maskara
c45b945526 Use JSON APIs for explore (#2731)
* Use JSON APIs for explore

* With tests

* Use JSON APIs for explore

* With tests

* BugFix #2731 (#4)

* Increased sdk version to 23

* with more robust tests

* Fix crashes and other reported issues

* Add javadocs

* Use common method for search and categories

* Add javadocs
2019-03-26 18:02:58 +05:30
Vanshika Arora
c1a941eaae Modified scroll behaviour of review activity (#2732) 2019-03-25 23:39:44 +00:00
translatewiki.net
fc3d24254c Localisation updates from https://translatewiki.net. 2019-03-25 18:57:07 +01:00
Job Getabu
c7d48e6e29 wording fix for issue#2441 (#2745) 2019-03-25 18:54:55 +09:00
MarcoAurelio
a04920596e strings: fix typos on internet_downloaded (#2736) 2019-03-25 16:50:40 +09:00
Vanshika Arora
cbab7dd303 Resolves Reloading of image on moving to next question in peer review (#2709) 2019-03-23 22:06:12 +00:00
Vivek Maskara
f7e6b20cab Make all UI tests pass and add more tests (#2700) 2019-03-23 21:38:06 +00:00
Vanshika Arora
239f74942f Fix #2692: Missing description in upload warning (#2697) 2019-03-23 15:21:27 +00:00
Vanshika Arora
8a9bfbeefe Removed beta condition from WelcomeActivity tests (#2726) 2019-03-23 15:05:13 +00:00
Vanshika Arora
22629a7d8a Fix #2679: Main activity crashing on navigating back from gallery selector (#2680) 2019-03-23 14:42:18 +00:00
Vivek Maskara
8a1a92d44d Remove unused code in ApacheHttpClientMediaWikiApi (#2722) 2019-03-23 14:22:00 +00:00
Vanshika Arora
052d09e08a initial commit (#2721) 2019-03-23 18:57:31 +05:30
Dmitry Brant
f7302d4301 Fix a couple more Rx/context inconsistencies. (#2715)
* Stop storing Context!

* Properly contain and dispose of observables.

* Add a few more containments of Rx observables.
2019-03-23 08:52:36 +05:30
Vivek Maskara
7cb1f56165 Use JSON APIs for peer review (#2714) 2019-03-23 01:27:34 +05:30
Vanshika Arora
ce3349385f Refactor asynctasks to Rxjava implementation (#2707) 2019-03-23 00:46:11 +05:30
Dmitry Brant
671e305225 Fix searching in Explore screen. (#2708)
* Fix searching in Explore screen.

* Fix spurious checkstyle issue.
2019-03-22 22:05:04 +05:30
Vanshika Arora
c17a1f90ad Fix #2677: Adjusted position of level number in achievements activity (#2695) 2019-03-21 19:22:58 +00:00
Vanshika Arora
711a1db548 Fix #2655: Remove unused strings (#2684) 2019-03-21 18:47:25 +00:00
Vivek Maskara
43f314d1df Remove commented code (#2701) 2019-03-21 19:26:12 +03:00
Dmitry Brant
013e1a5430 Fix crash(es) upon upload failure. (#2699)
* Fix crash(es) upon upload failure.

* Further improve Rx structure.
2019-03-21 19:09:36 +03:00
Silky Priya
a32ba452ec Include previous Wikimedia hackathon (2018) task, peer review, to codebase (#2602)
* 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

* Add some category stuff back in to review (#1538)

* Use standalone category extraction code in MediaDataExtractor

* Add categories to category review page

* Change category question text sizes

* Call randomizer whenever the activity is ready

* Add progressbar

* [WIP] add DeleteTask.askReasonAndExecute

* Fix refresh button string

* Typo: "nominate *for* deletion"

* Add formatting to categories and put them in the same textView

* Pass context and adapters as parameters to controller

* Add actions to controller

* Make everyting work

* Add another fragment to thank

* Fix npe

* Add missing execute method

* Some codes

* Add a funy text

* More random recent image selection (#1542)

time-based randomness is biased - if someone uploaded 100 images in
hour, one week ago, and I select a random point in time, their last
image is way more likely to come up than anything else.

With this, there is still bias towards choosing one of the last N
in any burst of uploads (where N is the number of recent changes
fetched) but it's a bit better than before.

* Create Revision class

* Add meaningluf strings

* Error handling for review image/category fetch (#1543)

* Add information layout for username and filename

* Use Single to get firstRevision

* try to add username and filename

* Ensure caption is shown on every review fragment

* Fix build

* Fixes missing import

* Change button text,show current category, add skip image button

* Modify texts, fix night mode issues

* Positive Wording

* fix landscape issue

* Add checkbox popup,rewording

* Spelling Correction

* Fix merge

* Remove commented out code, use lambda

* Simplify toolbar include
2019-03-21 15:05:23 +03:00
translatewiki.net
a1a65d0832 Localisation updates from https://translatewiki.net. 2019-03-21 10:56:28 +01:00