Commit graph

1297 commits

Author SHA1 Message Date
Ashish Kumar
bb7ab62b34 Fix #2915 Refractor feature Review (#2916)
* BugFix #2915
* Refractor ReviewActivity and ReviewImageFragment and the related layout files, to properly use the scrollview
* Use ButterKnife for ViewBindings in ReviewImageFragment
* updated resource id names to follow underscore notation in xml
* Use menu item instead of ImageView over toolbar in ReviewActivity
* use tools:replace instead of android:text for dummy texts

* merge nested if's [Codacy review]

* updated string review_category_yes_button_text, use textAllCaps in yes and no button in ReviewFragment

* updated other strings to use non bold letters
2019-04-24 15:52:12 +03:00
Vivek Maskara
37e9eae314 Fetch and use thumbnail across the app (#2906) 2019-04-24 03:03:09 +10:00
Amir E. Aharoni
17d69cde02 Remove an unnecessary space after a line break (#2914) 2019-04-23 16:28:13 +05:30
translatewiki.net
987bf25921 Localisation updates from https://translatewiki.net. 2019-04-22 22:05:39 +02:00
translatewiki.net
99ae8f27bc Localisation updates from https://translatewiki.net. 2019-04-18 16:57:09 +02:00
Nahid Fatma
8ef99caa81 Use previous Title/Description option added (#2713)
* Use previous Title/Description option added

* Update UploadActivity.java

* add previous title/description option modified

* declaration of Descripton object moved within the loop

* spinner position gets adjusted according to the description's language

* prev Title/Desc option for multiple upload added

* Tooltip for previous title/description button added

* UI and other resolved issues
2019-04-18 23:32:10 +10:00
Madhur Gupta
84637c5fed Adjusted the gravity of SKIP THIS IMAGE Fixed #2848 (#2849) 2019-04-16 12:40:54 +03:00
Adam Jones
5d299b1511 Simplify welcome layouts (#2741)
* Simplify welcome layouts

* Add landscape layouts

* Reformat welcome layouts

* Rename string resources
2019-04-16 12:35:42 +03:00
translatewiki.net
fb0d025f33 Localisation updates from https://translatewiki.net. 2019-04-15 17:33:30 +02:00
Marcin Kwaśniak
4f76f1b642 Avoid jargon and slang, change for default, de and pl (#2874) (#2876)
* Avoid jargon and slang, change for default, de and pl (#2874)

* Revert "Avoid jargon and slang, change for default, de and pl (#2874)"

This reverts commit 174efe0309.

* check_category_success_title text changed to: Category check requested

* check_category_failure_title new text
2019-04-13 19:34:39 +10:00
translatewiki.net
a1ac7a0407 Localisation updates from https://translatewiki.net. 2019-04-11 17:43:18 +02:00
Madhur Gupta
a838962f49 Added Quick Launch Icon to the Home Screen Widget #1296 (#2862) 2019-04-11 18:32:11 +10:00
translatewiki.net
6bde4f97cf Localisation updates from https://translatewiki.net. 2019-04-08 16:40:59 +02:00
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
Adam Jones
835b7979ff Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
Silky Priya
49ec2921c5 Fix pageindicator style issues(#2811) 2019-04-02 12:45:52 +03:00
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
Silky Priya
874e761691 Add information icons to explan peer review activity (#2783) 2019-03-29 23:06:20 +00:00
Madhur Gupta
e3f3c915ea Fixed crash in LoginActivity on tablets (#2787) 2019-03-29 20:15:09 +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
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
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
Vanshika Arora
239f74942f Fix #2692: Missing description in upload warning (#2697) 2019-03-23 15:21:27 +00:00
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
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
Madhur Gupta
d72bd446fe Added information dialog to Statistics #2599 (#2683) 2019-03-20 14:12:20 +03:00
Dmitry Brant
09a93d1d3b Fix #2609: Fix padding of FloatingActionButtons across all APIs (#2675) 2019-03-19 19:42:56 +00:00
Zhao Gang
f4807a5e4b Remove BitmapUtils (fixed #2638) (#2665)
Use a TextView on top of badge image to show user's level.
2019-03-19 18:16:13 +03:00
Adam Jones
fd6c4821aa Standardize includes of toolbar (#2646) 2019-03-19 17:54:22 +03:00
Adam Jones
bc9d83a47c Create drawer_view.xml (#2645) 2019-03-19 17:49:45 +03:00
Adam Jones
cfb06f3103 Remove CustomEditText (#2640) 2019-03-19 17:42:01 +03:00
Vanshika Arora
3417d713d2 Fixes #97: Added metadata reader for reading exif data (#2581)
* initial commit

* initial commit

* reading 3 exif directories

* minor changes

* fixed unit tests

* reviwied requested changes

* minor changes

* minor changes
2019-03-19 19:08:42 +05:30
Adam Jones
1040c2d5b1 #2643: Remove unused resource files (#2641)
* Remove unused resource files

* Remove unused layout files
2019-03-18 22:47:29 +05:30
translatewiki.net
341f9614a7 Localisation updates from https://translatewiki.net. 2019-03-18 08:45:15 +01:00
Shubham Pinjwani
31c688860d Fix #1850: Show media talk page in media details (#2560) 2019-03-17 17:11:34 +00:00
Adam Jones
3b7b6f91a2
Fix #2203: Require number of uploads not to have decimal (#2615) 2019-03-17 16:54:55 +00:00
Shridhar Goel
0b25730a18 Fix #2194: Updated Nearby ⓘ icon to include 'Search this area' feature (#2198) 2019-03-17 16:23:11 +00:00