Commit graph

5842 commits

Author SHA1 Message Date
translatewiki.net
86aa60e11e Localisation updates from https://translatewiki.net. 2023-02-06 13:02:23 +01:00
Ritika Pahwa
1bc21c2629
4671: Change the deprecated RuntimeEnvironment.application in all the Robolectric unit tests (#5140)
* Robolectric Unit Tests: change deprecated robolectric RuntimeEnvironment.application to ApplicationProvider and optimise imports

* Delete app/CommonsContributions directory

Removed unnecessary directory created in the process
2023-02-06 17:17:16 +09:00
translatewiki.net
87f637f5c6 Localisation updates from https://translatewiki.net. 2023-02-02 13:02:03 +01:00
Arin Modi
191186a474
Fix #5104: popup shown when tapping an already uploaded image in Medi… (#5127)
* Fix #5104: popup shown when tapping an already uploaded image in Media Details

* Small Changes

* JavaDoc Changes

* Javadoc Changes

* Coding Standards Changes
2023-01-30 22:41:41 +09:00
translatewiki.net
3e073583ea Localisation updates from https://translatewiki.net. 2023-01-30 13:01:41 +01:00
translatewiki.net
dd920b6980 Localisation updates from https://translatewiki.net. 2023-01-26 13:02:36 +01:00
translatewiki.net
88b39b5023 Localisation updates from https://translatewiki.net. 2023-01-23 13:01:38 +01:00
translatewiki.net
e0d42b015d Localisation updates from https://translatewiki.net. 2023-01-09 13:04:00 +01:00
translatewiki.net
91953946e9 Localisation updates from https://translatewiki.net. 2023-01-02 13:01:44 +01:00
translatewiki.net
b9c97aecbc Localisation updates from https://translatewiki.net. 2022-12-29 13:02:35 +01:00
translatewiki.net
f75de2adab Localisation updates from https://translatewiki.net. 2022-12-26 13:02:15 +01:00
Ankush Bose
9c6c09621c
5125: Fix LocationPickerActivityUnitTests (#5126)
* 5121: Fix RecentLanguagesAdapterUnitTest
- all tests are passing
- additionally removed 'context' variable from AdvanceQueryFragmentUnitTests.kt as it is not used, and not removed on previous PR #5119

* 5125: Fix LocationPickerActivityUnitTest
- all tests are passing
2022-12-24 18:04:17 +09:00
Ankush Bose
b52d053212
5121: Fix RecentLanguagesAdapterUnitTest (#5124)
- all tests are passing
- additionally removed 'context' variable from AdvanceQueryFragmentUnitTests.kt as it is not used, and not removed on previous PR #5119
2022-12-24 18:04:08 +09:00
translatewiki.net
afa7a63f2b Localisation updates from https://translatewiki.net. 2022-12-22 13:02:01 +01:00
translatewiki.net
1d1471d9ed Localisation updates from https://translatewiki.net. 2022-12-19 13:01:48 +01:00
russianbear222
6dec69147f
[Enhancement] Add option to centre on GPS location for issue #5008 (#5098)
* Add option to centre on GPS location for issue #5008

* Rename and add new comments for issue #5008

* Add new comments for issue #5008

* Update comments for issue #5008
2022-12-17 23:05:45 +09:00
Ankush Bose
7b18c3eeb7
5115: Fix AdvanceQueryFragmentUnitTests (#5119)
* 5115: Fix AdvanceQueryFragmentUnitTests

* 5115: Adding further coverage
- removed redundant button.post() methods.
- increased code coverage
2022-12-17 22:43:34 +09:00
translatewiki.net
77bb789f9e Localisation updates from https://translatewiki.net. 2022-12-15 13:01:49 +01:00
Jeremy Kenny
3dbc744075
review: exclude images not uploaded from the app (#5118)
* the Review feature (in the app's menu) was originally thought as a way to improve our app's overall upload quality, it is not really adapted to the wide variety of pictures uploaded via other upload tools.

* update the Review API call to request only images with the `android app edit` tag.
2022-12-14 19:29:29 +09:00
translatewiki.net
d0871dd2c4 Localisation updates from https://translatewiki.net. 2022-12-12 13:01:46 +01:00
translatewiki.net
32c190750e Localisation updates from https://translatewiki.net. 2022-12-08 13:01:39 +01:00
translatewiki.net
6f6496aac4 Localisation updates from https://translatewiki.net. 2022-12-05 13:01:30 +01:00
translatewiki.net
b95c9386a3 Localisation updates from https://translatewiki.net. 2022-12-01 13:01:45 +01:00
translatewiki.net
ce4b457a7b Localisation updates from https://translatewiki.net. 2022-11-28 13:01:26 +01:00
translatewiki.net
673422d55c Localisation updates from https://translatewiki.net. 2022-11-24 13:01:39 +01:00
Ankush Bose
f7d3414cc3
4664: Moved RecentLanguagesAdapter to ViewBinding (#5112) 2022-11-21 23:00:40 +09:00
Ankush Bose
b90c123333
4664: Moved LanguagesAdapter to ViewBinding (#5111) 2022-11-21 23:00:29 +09:00
translatewiki.net
f512f797dd Localisation updates from https://translatewiki.net. 2022-11-21 13:01:28 +01:00
translatewiki.net
6437b72aba Localisation updates from https://translatewiki.net. 2022-11-17 13:01:35 +01:00
translatewiki.net
06c4f93ec2 Localisation updates from https://translatewiki.net. 2022-11-14 13:01:43 +01:00
translatewiki.net
f507d40ba1 Localisation updates from https://translatewiki.net. 2022-11-07 13:05:55 +01:00
translatewiki.net
1bb1990f3c Localisation updates from https://translatewiki.net. 2022-11-03 13:01:43 +01:00
translatewiki.net
a0936cd94f Localisation updates from https://translatewiki.net. 2022-10-31 13:04:53 +01:00
Jiaweeeeeen
3488644938
Fix issue #4962, remove trailing whitespace in caption field when set to uploadMediaDetails (#5085)
* add methods to check and remove trailing whitespace

* fix filter to check and remove trailing whitespace

* fix filter to check and remove trailing space first

* add test and fix filter() and removeTrailingWhitespace()

* caption trailing whitespace: change solution to remove trailing whitespaces when set to uploadMediaDetails

* update code documentation

* add more tests include instance tab, carriage return and Japanese whitespace

* Caption field: Stop blocking Japanese Space, convert to English Space when set to uploadMediaDetails

* Change method name from convertJapSpaceToEngSpace to convertIdeographicSpaceToLatinSpace

* Change pattern name from JapSpacePattern to ideographicSpacePattern
2022-10-30 18:58:15 +09:00
gengarrrr
09564c3eca
Fix issue #2649, create unit tests for darkness-checking logic using six images (#5096)
* add images and test too dark

* add dark and proper images and check if too dar

* test: add refer

Co-authored-by: Ruofan <u7307578@anu.edu.au>
2022-10-29 19:38:32 +09:00
Daniel Kolibár
aa97629cbf
Rewrote reverseGeoCode() method to use Coordinates2Country library (#5093)
* rewrote reverseGeoCode() method to use Coordinates2Country library; wrote simple TC for receiveImage() method to check if country coordinates are set

* removed unused slf4j import in UploadMediaPresenter class

* updated mock in for setCorrectCountryCodeForReceivedImage() TC to match against exact location arguments

* added javadoc for getCountryNamesAndCodes() method in UploadMediaPresenter; implemented "lazy loading" for countryNamesAndCodes field

* removed unused field added by me from UploadMediaPresenterTest
2022-10-29 19:37:11 +09:00
Ankush Bose
cc24caa83c
4664: Moved AdvanceQueryFragment to ViewBinding (#5091) 2022-10-29 18:33:50 +09:00
Ankush Bose
3fd63b009a
4664: Moved PageableMediaFragment to ViewBinding (#5090) 2022-10-29 18:33:43 +09:00
Ankush Bose
4c24b65d2d
4664: Moved FolderFragment to ViewBinding (#5089) 2022-10-29 18:33:33 +09:00
Ankush Bose
26d2669a74
4664: Moved ImageFragment to ViewBinding (#5067) 2022-10-29 17:50:25 +09:00
Ankush Bose
64d4ffc5f1
4664: Moved CustomSelectorActivity to ViewBinding (#5065) 2022-10-29 17:50:19 +09:00
Ankush Bose
10b025c237
4664: Moved WelcomeActivity to ViewBinding (#5063)
* 4664: Moved WelcomeActivity to ViewBinding

* 4664: Removed non-null test on member variables
2022-10-29 17:50:10 +09:00
Guilherme Lunetta
1a39c9f8b1
rewording 3 strings in the app/src/main/res/values/strings.xml file (#5102) 2022-10-29 07:35:59 +09:00
translatewiki.net
e9fbd47ac0 Localisation updates from https://translatewiki.net. 2022-10-27 13:03:33 +02:00
translatewiki.net
06017a66a7 Localisation updates from https://translatewiki.net. 2022-10-24 13:01:46 +02:00
translatewiki.net
c66f216f4b Localisation updates from https://translatewiki.net. 2022-10-20 13:01:57 +02:00
translatewiki.net
74f5249b88 Localisation updates from https://translatewiki.net. 2022-10-17 13:01:32 +02:00
translatewiki.net
80f7f966f3 Localisation updates from https://translatewiki.net. 2022-10-13 13:01:37 +02:00
translatewiki.net
d3445336fd Localisation updates from https://translatewiki.net. 2022-10-10 13:01:36 +02:00
translatewiki.net
e507351f35 Localisation updates from https://translatewiki.net. 2022-10-06 13:02:03 +02:00