Commit graph

5842 commits

Author SHA1 Message Date
Kaartic Sivaraam
7568883e02
Avoid ambiguity in a string (#5210)
The phrase "Is this a photo of Place ...?" when placed along with an actual place
name could get confusing. For instance, "Is this a photo of Place More London?"

The casing of "Place" is especially confusing. So, tweak the phrase to avoid
this ambiguity.

Co-authored-by: Kaartic Sivaraam <kaartic.sn@zohocorp.com>
2023-04-18 15:09:18 +09:00
Ritika Pahwa
a116a17e7b
5204: Fix unit test UploadMediaPresenterTest.handleImageResult (#5206)
* UploadMediaPresenterTest: fix failing unit tests

* change else if to if condition to handle all cases

* include errorCodes 68 for duplicate image and 96 for image without exif

* optimise if statements

* remove redundant cases

* modify if statements to cover all cases

* simplify all if statements

* add removed comment again

* remove unused imports
2023-04-18 15:01:20 +09:00
translatewiki.net
2c7f2d05cd Localisation updates from https://translatewiki.net. 2023-04-17 13:01:39 +02:00
Ritika Pahwa
68ddcf0bc6
ReviewImageFragment: fix disappearing author name on changing orientation (#5209) 2023-04-16 23:21:11 +05:30
José Arias Canto
013809f46a
Fixes #5187: Fix App crashes when you click on Author Name (#5199)
* Add conditional on function onAuthorViewClicked for when there's not logged-in user

* Change media.getAuthor() for media.getUser()

* Change hardcoded URL for one given by the BuildConfig object
2023-04-13 19:59:50 +09:00
translatewiki.net
9fb13395f6 Localisation updates from https://translatewiki.net. 2023-04-10 13:02:19 +02:00
Nicolas Raoul
1af3297ae3 Disabled failing unit test as a temporary measure 2023-04-09 19:22:17 +09:00
translatewiki.net
67d2e7f1ab Localisation updates from https://translatewiki.net. 2023-04-06 13:02:51 +02:00
Ritika Pahwa
cf35307d9a
add constants file for map styles used across various fragments (#5200) 2023-04-05 16:05:05 +09:00
Priyank Shankar
07616485ae
Enable support toolbar for ProfileActivity and added a couple of unit… (#5188)
* Enable support toolbar for ProfileActivity and added a couple of unit tests

* Nit fixes

* Nit Fixes

* Minor styling changes in ContributionsFragment
2023-04-03 16:02:16 +09:00
Priyank Shankar
fc672dbd9b
Fixed #5181 Misleading warning title for duplicate file name (#5185)
* Added a string resource and changed the title of alertbox showDuplicatePicturePopup

* Removed duplicate_image_found from strings.xml as it is unused
2023-04-03 15:27:29 +09:00
Arman Navodia
92ecd61b6f
fixing: Duplicate filename notification completely replaces image-found-on-internet warning #5180 (#5192) 2023-04-03 15:08:24 +09:00
Ritika Pahwa
a5a65fc1ee
5191: Fix UI elements not conforming to dark mode (#5193)
* feedback dialog: fix black font in dark mode

* LocationPickerActivity: fix light map in dark mode

* Fix #5182 Switch From Mapbox to MapLibre (#5184)

* Fix #5182 Switch From Mapbox to MapLibre

* Fix #5182 Switch From Mapbox to MapLibre - Resolved requestFeature() issue

* Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on two screens

* Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on additional screens

* Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on notification screen

* Fix #5182 Switch From Mapbox to MapLibre - Test errors

* fix issue #5015 - custom image selector not identifying photo location (#5190)

Co-authored-by: Siva <doodsiva@gmail.com>

* feedback dialog: fix black font in dark mode

* LocationPickerActivity: fix light map in dark mode

* LocationPicker: use predefined style based on device theme

* LocationPickerActivityTest: add additional target exception in catch block

* LocationPickerConstants: remove extra newline introduced

---------

Co-authored-by: Kartikay Kaushik <93285364+kartikaykaushik14@users.noreply.github.com>
Co-authored-by: Siva Subramaniam <112970189+siva-subramaniam-v@users.noreply.github.com>
Co-authored-by: Siva <doodsiva@gmail.com>
2023-04-03 14:27:52 +09:00
Siva Subramaniam
0f1e526326
fix issue #5015 - custom image selector not identifying photo location (#5190)
Co-authored-by: Siva <doodsiva@gmail.com>
2023-03-31 12:21:07 +09:00
Kartikay Kaushik
8f8dcc0d52
Fix #5182 Switch From Mapbox to MapLibre (#5184)
* Fix #5182 Switch From Mapbox to MapLibre

* Fix #5182 Switch From Mapbox to MapLibre - Resolved requestFeature() issue

* Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on two screens

* Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on additional screens

* Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on notification screen

* Fix #5182 Switch From Mapbox to MapLibre - Test errors
2023-03-31 09:31:58 +09:00
translatewiki.net
2989b73dee Localisation updates from https://translatewiki.net. 2023-03-30 13:02:07 +02:00
translatewiki.net
553c55b127 Localisation updates from https://translatewiki.net. 2023-03-27 17:30:06 +02:00
Manuel Cota
d1af26c8a8
Fix: user reset for Thanks screen (#5183)
Removed previous if statement. If the app is rotated, the Thanks message will disappear, but the username gets a reset for each new image reviewed.
2023-03-24 15:58:59 +09:00
translatewiki.net
4e50e6c76e Localisation updates from https://translatewiki.net. 2023-03-23 13:02:35 +01:00
translatewiki.net
f1f39a1946 Localisation updates from https://translatewiki.net. 2023-03-20 13:02:58 +01:00
translatewiki.net
9722628184 Localisation updates from https://translatewiki.net. 2023-03-16 13:02:14 +01:00
Kartikay Kaushik
c7ee38e578
Fix:5158 Upgraded Kotlin Version from 1.5.10 to 1.7.20 (#5164)
* Kotlin Version Upgraded to 1.6.10

* Kotlin Version Upgraded to 1.6.20

* Kotlin Version Upgraded to 1.7.20

* Fix:5175 Upgraded Minimum SDK Version, Compile and Target SDK Version
2023-03-16 18:12:20 +09:00
Kartikay Kaushik
9b0b936c62
Fix:5175 Upgraded Minimum SDK Version, Compile and Target SDK Version (#5177)
* Kotlin Version Upgraded to 1.6.10

* Kotlin Version Upgraded to 1.6.20

* Kotlin Version Upgraded to 1.7.20

* Fix:5175 Upgraded Minimum SDK Version, Compile and Target SDK Version
2023-03-16 18:02:35 +09:00
Chan Jun Da
66e15a17ef
Change UploadModel::createAndAddUploadItem to not duplicate new uploadItems of same UploadableFile (#5179) 2023-03-16 10:19:24 +09:00
Ritika Pahwa
be1946cd7b
5161: Fix repeating images in peer review (#5170)
* fix API call to fetch the latest changes

* add database table to keep a track of reviewed and skipped images

* fix repeating reviewed or skipped images

* add removed newline again

* add necessary comments

* change from timber.e to timber.i in case there is no exception

* reintroduce the parameter rctag in the API URL

* modify API URL to retrieve latest uploads

* remove unused imports and code

* modify ReviewHelperTest and add new unit tests

* modify tests in ReviewHelperTest.kt

* add comments about the value of gcmlimit
2023-03-15 07:15:24 +09:00
translatewiki.net
c920ef0371 Localisation updates from https://translatewiki.net. 2023-03-13 13:01:48 +01:00
Avanish Yadav
3f5b7f4c58
Fix:4797:Add one more choice to the list (#5173) 2023-03-10 14:21:17 +09:00
Eduardo Isai Martínez Méndez
ce1a0b88c3
Fix#5084: Tapping on GitHub icon opens app when installed (#5171) 2023-03-10 11:45:32 +09:00
Arman Navodia
b048e099c0
fixed: When the coordinates have been copied from another picture, explain it in description #4700 (#5166)
Very useful contribution, thanks Arman!
2023-03-10 11:37:18 +09:00
translatewiki.net
caab97b341 Localisation updates from https://translatewiki.net. 2023-03-09 13:02:05 +01:00
Arin Modi
496933654b
Skip used images (#5160)
* Only Review Images That Has No Usage

* Coding Standard Related Changes

* Coding Standard Changes - 1

* small change
2023-03-07 14:46:36 +09:00
Arman Navodia
b917fe3229
Leaderboard: Taping on my avatar should open tip popup explaining how to change it #4774 (#5159)
* fixed Leaderboard: Taping on my avatar should open tip popup explaining how to change it #4774

* fixed Leaderboard: Taping on my avatar should open tip popup explaining how to change it #4774

* Leaderboard: Taping on my avatar should open tip popup explaining how to change it #4774

* fixed Leaderboard: Taping on my avatar should open tip popup explaining how to change it #4775
2023-03-07 14:30:11 +09:00
translatewiki.net
e4e13587d0 Localisation updates from https://translatewiki.net. 2023-03-06 13:02:04 +01:00
Ritika Pahwa
27e11c7f3f
fix longer questions not visible completely in Peer Review (#5162) 2023-03-03 18:30:25 +09:00
translatewiki.net
f8f43ae228 Localisation updates from https://translatewiki.net. 2023-03-02 13:02:28 +01:00
Kartikay Kaushik
e1c04f2013
Disabled telemetry - Bug #5154 (#5155) 2023-02-28 22:17:14 +09:00
translatewiki.net
067aff45ee Localisation updates from https://translatewiki.net. 2023-02-27 13:01:39 +01:00
Arman Navodia
94d462cafb
Fixed: After canceling a sharing, application goes back to the search menu #2296 (#5156)
* fixed:After canceling a sharing, application goes back to the search menu #2296

* fixed:After canceling a sharing, application goes back to the search menu #2296

* fixed:After canceling a sharing, application goes back to the search menu #2296

* fixed SeachActivityUnityTest failure when calling testOnBackPressed and cleaned up unnecessary code
2023-02-27 15:42:20 +09:00
Ritika Pahwa
7d895c4379
5074: Fix cropped numbers in Leaderboard (#5143)
* fix cropped numbers in the Achievements fragment

* add null check in inflateAchievements method to fix NullPointerException in AchievementsFragmentUnitTests
2023-02-26 14:24:55 +09:00
Chan Jun Da
23ee2b60d8
Fix #5151: Use DialogUtil for MediaDetailFragment (#5153)
* Update DialogUtil to return the dialog object

* Update first instance of Builder to DialogAlert

* Update DialogUtil to allow null instead of empty string

* Update MediaDetailFragment to use DialogUtil

* Remove unnecessary semicolons
2023-02-25 15:34:57 +09:00
Chan Jun Da
20100c4960
Fix #5151: Use DialogUtil methods instead of AlertDialog.Builder (#5152)
* Update AboutActivity to use DialogUtil

* Update ProfileActivity to use DialogUtil

* Update AchievementsFragment to use DialogUtil

* Remove wrong message set in ProfileActivity

* Update DialogUtil to accept null instead of empty string
2023-02-24 18:00:58 +09:00
translatewiki.net
968911db32 Localisation updates from https://translatewiki.net. 2023-02-23 13:01:52 +01:00
Arman Navodia
7da7062e3a
fixed 4731: Nearby banner appearing in Media Details (#5150)
* fixed 4731: Nearby banner appearing in Media Details

* fixed 4731: Nearby banner appearing in Media Details
2023-02-21 15:33:59 +09:00
translatewiki.net
4f1265643f Localisation updates from https://translatewiki.net. 2023-02-20 13:02:03 +01:00
Chan Jun Da
f56ee50c60
Fix #5148: Use DialogUtil method in Uploadactivity (#5149)
* Replace showInfoAlert with available DialogUtil method

* Remove test case that is no longer relevant
2023-02-20 15:27:57 +09:00
Chan Jun Da
1a8a068552
Fix #493: Fix erroneous no location reminder (#5145)
* Add showAlertDialog option for UploadPresenter to use

* Move location reminder logic from UploadActivity to UploadPresenter

* Add test cases for dialog alert with handleSubmit

* Change threshold variable name to be more descriptive

* Fix broken reference to renamed constant in tests
2023-02-18 23:18:52 +09:00
translatewiki.net
9bf5cf7441 Localisation updates from https://translatewiki.net. 2023-02-16 13:01:58 +01:00
translatewiki.net
cf7474b548 Localisation updates from https://translatewiki.net. 2023-02-13 13:01:40 +01:00
Chan Jun Da
f85efeba97
Fix #4347: Remove leading and trailing spaces in title (#5141)
* Update method to remove leading whitespace

* Update test cases testing remove whitespace method

* Remove unused whitespace check method

* Add comment about use of strip and trim in dealing with whitespace
2023-02-10 16:31:45 +09:00
translatewiki.net
654a0fce33 Localisation updates from https://translatewiki.net. 2023-02-09 13:02:02 +01:00