Commit graph

4653 commits

Author SHA1 Message Date
Madhur Gupta
2164fb00f3 Added Appetize badge (#2866)
* Added Appetize badge

* Update README.md
2019-05-08 11:21:33 +03:00
Madhur Gupta
867cc9921f Fixed Width of Navigation Drawer for Tablets (#2856) 2019-05-08 11:08:06 +03:00
translatewiki.net
c4b7164784 Localisation updates from https://translatewiki.net. 2019-05-06 16:37:10 +02:00
Ashish Kumar
73f272fded Merge 2.10 with master (#2938)
* Fix duplicate param information (#2515)

* Bug fix issue #2476 (#2526)

* Added wikidataEntityID in all db versions, handled db.execSql via method runQuery

* Versioning and changelog for v2.10.2 (#2531)

* Update changelog.md

* Versioning for v2.10.2

* Update changelog.md

* Bugfix/issue 2580 (#2584)

* Corrected string placedholders in certain string files

* Corrected string placedholders in certain string files[Bug fix #2580]

* Bug Fix #2585 (#2647)

* Bug Fix #2585
* Added null checks on view in SearchImageFragment when updating views from external sources
* Disposed the disposables in SearchActivity and SearchImageFragment when no longer in active lifecycle

* use FragmentUtils to verify fragment active state

* Bug Fix issue #2648 (#2678)

* Bug Fix issue #2648
* Handled external storage permission before file download

* * Removed redudant check for permission in MediaDetailPagerFragment (Dexter already does that)
* Removed duplicate code in PermissionUtil$checkPermissionsAndPerformAction, used the existing function with conditional extra parameters

* string name typo correction

* BugFix issue #2652 (#2706)

* Addded null check on bookmark before operating on it

* BugFix issue #2711 (#2712)

* Added null checks in OkHttpJsonApiClient$searchImages MwQueryResponse

* BugFix #2718 (#2719)

* Handled null auth cookies

* Fix #2791: NPE when nominating for deletion and leaving screen (#2792)

* Bug Fix issue #2789 (#2790)

* Handled Illegal State Exception for non existent appropriate view parents in ViewUtils$showShortSnackbar

* BugFix #2720 (#2831)

BugFix deprecated licenes #2720

* * synced 2.10 with master * resolved merge conflicts

* merge 2.10 with master
2019-05-06 19:22:10 +05:30
translatewiki.net
a4104bc368 Localisation updates from https://translatewiki.net. 2019-05-02 17:57:44 +02:00
Ashish Kumar
c8a58bfc2e
Revert "Fixes #2337 - Show captions of image in media details (conflicts fixed) (#2933)" (#2934)
This reverts commit 3c9b7ba7a8.
2019-05-01 16:10:43 +05:30
neslihanturan
3c9b7ba7a8 Fixes #2337 - Show captions of image in media details (conflicts fixed) (#2933)
* Api call

* added captions

* final commit

* some minor changes

* sigular

* test for captions

* mock fetchCaptionbyFileName

* corrected method name

* * used ? instead of !! (unsafe call on nullable)
* updated unit test for fetchCaptionByFilename()
2019-05-01 15:08:38 +05:30
translatewiki.net
047059c490 Localisation updates from https://translatewiki.net. 2019-04-29 17:26:12 +02:00
Vivek Maskara
c004e47c0b Fix loading of images in contributions list (#2932) 2019-04-28 13:34:07 +05:30
Cesar Villalobos
ee3f4d4d30 Fix wrong language codes displaying to user (#2880) (#2930)
* Updated language codes displayed for Hebrew, Indonesian and Yiddish (#2880)

* Function 'fixLanguageCode' encapsulated with unit tests (#2880)

* Renaming class "StringUtils" as "LangCodeUtils" and small String formatting improvement in "SpinnerLanguagesAdapter"
2019-04-27 07:55:12 +03:00
neslihanturan
d22884f86a Move credential alert from skipLoginPressed to onCreate (#2928) 2019-04-26 15:23:32 +05:30
neslihanturan
c97764a01d Save media on orientation change so that same image will be reviewed (#2929) 2019-04-26 15:19:14 +05:30
Adam Jones
b17c9a75a7 Use WIKIMEDIA_API_HOST for CategoryApi (#2821) 2019-04-26 12:02:17 +03:00
Shubham Pinjwani
40e8182c9b removed Search This Area button if network connection is lost (#2774)
* removed Search This Area button if no connection is lost
2019-04-26 11:08:43 +03:00
Madhur Gupta
13ea61c7a7 Fixed Navigation UI Problem in Split Screen mode # 2788 (#2807) 2019-04-26 10:53:38 +03:00
translatewiki.net
c127bcfea4 Localisation updates from https://translatewiki.net. 2019-04-25 20:12:55 +02:00
Vivek Maskara
98d28c60a2 Bump data client library version (#2926)
* Bump data client library version

* Fix tests

* Add javadocs
2019-04-25 10:54:51 +05:30
Vivek Maskara
5419733299 Center crop images (#2924) 2019-04-24 22:12:20 +03:00
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
Vivek Maskara
af9d991a15 Fix fetching of bookmarks (#2905)
* Fix fetching of bookmarks

* With more robust tests
2019-04-21 17:06:31 +05:30
Vivek Maskara
a003e9706f Do not use erroneous thumb url util function (#2901)
* Do not use erroneous thumb url util function

* Remove unused code

* Fix image loading for peer review

* Clear disposable
2019-04-20 15:03:52 +05:30
Madhur Gupta
70b19754fb Completed TODO init views using bind view #2804 (#2808)
* Completed TODO init views using bind view #2804

* Added TODO
2019-04-20 14:14:49 +05:30
Vivek Maskara
accb880256 Fix image not loading issue in peer review (#2902)
* Fix image loading issue in peer review

* With more test cases
2019-04-20 10:42:09 +03:00
Kaartic Sivaraam
482cad6663 Use F-droid badge from Wikimedia Commons (#2896)
Fixes #2895.

The F-droid seems to be too slow recently due to unusual load
as a consequence of which the F-droid badge is not getting
loaded.

So, switch to using the F-droid badge from Wikimedia Commons for now.
2019-04-19 17:53:43 +01:00
translatewiki.net
99ae8f27bc Localisation updates from https://translatewiki.net. 2019-04-18 16:57:09 +02:00
Vivek Maskara
84f0068bb7 Have OkHttp Logs at verbose level (#2893) 2019-04-18 23:52:25 +10: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
Silky Priya
8983ba915c Show settings when not logged in (#2867)
* Show settings when not logged in

* Disable useExternalStorage

* Update comment

* Disable three more settings
2019-04-11 19:01:20 +03: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
Ashish Kumar
ce69c283cd Bug Fix #2845 (#2846)
* Show username instead of revision.content in image caption
2019-04-08 10:34:29 +03: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
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