Commit graph

6376 commits

Author SHA1 Message Date
Kaartic Sivaraam
1808699e89
Make new feedback to be added as a new section to the end of the page (#5753)
* feedback: add the feedback as a new section at end of the page

Addresses feedback on #5542. For auto-archiving of section
to work properly on our feedback page, the new sections need to
be created at the end of the page rather than at the top.

So, adjust the feedback addition logic to make it such that the
feedback is appended to the bottom of the page.

* Replace lambda with a method reference

* feedback: replace edit summary with something more relevant

The summary of the feedback page was unhelpful. Make it more helpful by
using a more helpful summary that at least mentions the version of the
app for which the feedback is posted.

* test: try to fix test case related to feedback change
2024-06-18 21:40:30 +02:00
translatewiki.net
0e39d93721
Localisation updates from https://translatewiki.net. 2024-06-17 14:02:06 +02:00
Adam English
c2ac0f659a
Add code on line 340. Replace the 'Add location' button with 'Edit location' button when user clicks yes in similar image dialog (#5756)
Co-authored-by: starrain <zxyadelaide@gmail.com>
2024-06-15 22:17:28 +02:00
translatewiki.net
68df749ad2
Localisation updates from https://translatewiki.net. 2024-06-13 14:02:35 +02:00
translatewiki.net
5cdfb85a9c
Localisation updates from https://translatewiki.net. 2024-06-11 11:28:25 +02:00
Evangelos Talos
48bd3c07b8
Add ProgressBar to MediaDetailPagerFragment for Image Loading Indicator (#5736)
* Add progress bar to fragment_media_detail_pager.xml

* Add progress bar to MediaDetailPagerFragment.java

* Add javadoc & comments

* Fix tests

---------

Co-authored-by: Giannis Karyotakis <110292528+karyotakisg@users.noreply.github.com>
2024-06-10 20:06:06 +09:00
Jason-Whitmore
3dc7180784
LocationPickerActivity.java: Fix location picker bug with incorrect map centering (#5716)
This commit moves the center of the map to the image's location, if the image has
location EXIF data. If the image does not have location EXIF data, the map will
center on the device's current GPS location.
2024-06-09 21:24:40 +02:00
Kaartic Sivaraam
bb4cfe421a
feedback: add info about where the feedback gets posted (#5748)
* feedback: add info about where the feedback gets posted

Fixes #5747

* feedback: avoid underscore in the link's alternative text

* wording

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
2024-06-09 21:08:38 +02:00
Evangelos Talos
22dd69cabb
Improved Map Marker Visibility Based on App Theme (#5744)
* Update map markers

* Modify code to use different map marker for themes

* Update map markers for bookmarked

* Add 2 tests

---------

Co-authored-by: Giannis Karyotakis <110292528+karyotakisg@users.noreply.github.com>
2024-06-09 21:07:02 +02:00
Zack Chi
bde09072fb
Update Java version from Java 8 to Java 11 (#5732)
Co-authored-by: Zack Chi <zach.chi.email@gmail.com>
Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
2024-06-09 20:56:38 +02:00
pacha0
8fdfb8e6dc
Fixes bug #5721 (Crash when adding and then removing media details) (#5750)
I replaced uploadMediaDetail.get(position) with a direct reference to uploadMediaDetail in 3 locations to avoid out of bounds errors.

The usage of RecyclerView in this code is still a bit buggy, and maybe a RecyclerView is not necessary here since the number of items is limited. The fix also revealed problems in the logic of adding the "addButton" only to the last item, which couldn't be reproduced before because the app crashed first. I can submit a new bug for that if this fix goes live.

I did not feel very comfortable with the code so I restricted my commit to fixing the first reported crash, which was resolved in my tests.
2024-06-06 15:10:26 +02:00
translatewiki.net
06e25a074c Localisation updates from https://translatewiki.net. 2024-06-03 14:03:12 +02:00
Giannis Karyotakis
fe7a2f2a8c
Fix voice input bug (#5739)
* Fix voice input bug

* Add javadocs

---------

Co-authored-by: vtalos <v.talos23@gmail.com>
2024-06-02 23:06:43 +05:30
translatewiki.net
18e03ed038 Localisation updates from https://translatewiki.net. 2024-05-30 14:02:21 +02:00
pacha0
ff21e73928
Updated skip_login_title string to sound more natural (#5746) 2024-05-30 09:49:03 +09:00
translatewiki.net
cd045a2a2a Localisation updates from https://translatewiki.net. 2024-05-27 14:01:46 +02:00
translatewiki.net
9a2a56c1cf Localisation updates from https://translatewiki.net. 2024-05-23 14:03:04 +02:00
translatewiki.net
041c293808 Localisation updates from https://translatewiki.net. 2024-05-20 14:01:58 +02:00
translatewiki.net
4545059035 Localisation updates from https://translatewiki.net. 2024-05-16 14:03:00 +02:00
translatewiki.net
7e84a447d4 Localisation updates from https://translatewiki.net. 2024-05-09 14:02:10 +02:00
translatewiki.net
c67cf4b07e Localisation updates from https://translatewiki.net. 2024-05-06 14:02:07 +02:00
Kanahia
6b93c34f9e
Changed Unknown to Wikidata Description (#5697)
* Delete app/src/main/res/values-yue-hant directory

* Changed Unknown to description
2024-05-03 07:23:19 +09:00
translatewiki.net
d6ac307f63 Localisation updates from https://translatewiki.net. 2024-05-02 14:02:38 +02:00
Evangelos Talos
c178c5de41
Enhancing Multi-Upload Functionality for Consistent Depiction Categorization (#5700)
* Add AlertDialog for categories and modularize receiveSharedItems

* Improve nearby-place search function for a multi-upload

Enhance the depiction consistency of a multi-upload by ensuring that it corresponds to a single place

* Add javadoc

* Update strings.xml

* Renamed setImageTobeUploaded to setImageToBeUploaded

* Make uploadIsOnPlace private & add a setter

* Rename uploadIsOnPlace to uploadIsOfAPlace

* Use singular when there is only one picture

* Add a 'Do not show again' checkbox on the dialog

* Update strings.xml

---------

Co-authored-by: Giannis Karyotakis <110292528+karyotakisg@users.noreply.github.com>
Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
2024-05-02 20:12:32 +09:00
translatewiki.net
6aa9303d0f Localisation updates from https://translatewiki.net. 2024-04-29 14:02:13 +02:00
Kaartic Sivaraam
af028cbddc Version v5.0.1 (fix release variant of v5.0.0)
The same as v5.0.0 except this fixes the release variants of the
app for v5.0.0.
2024-04-28 16:58:49 +05:30
Kaartic Sivaraam
da0b2c28e3 app: adjust R8 rules to ensure our model classes are not obfuscated
With refactoring of the dataclient module, the model classes now live
within the app's source code itself. So, the existing R8 rules became
obsolete and resulted in the prodRelease version of the app not
working.

So, adjust the R8 rules so that R8 doesn't obsfuscate the model classes
that now live within the app.
2024-04-28 16:21:14 +05:30
Kaartic Sivaraam
4cc5224556 CHANGELOG: add link to the v5.0.0 GitHub release 2024-04-28 15:07:13 +05:30
Kaartic Sivaraam
c692766c41 CHANGELOG: fix diff link to appropriately use the v5.0.0 tag 2024-04-28 15:05:54 +05:30
Kaartic Sivaraam
12ac709aba Rebrand v4.3.0 as v5.0.0
We have a huge quantum of changes since v4.2.1. So, it makes sense
to bump the major release. So, rebrand v4.3.0 as v5.0.0.
2024-04-28 14:46:47 +05:30
Kaartic Sivaraam
9f904a9515 Version v4.3.0 2024-04-27 22:35:06 +05:30
rohit-satya
e7504b8344
rename method setImageTobeUploaded to setImageToBeUploaded (#5706) 2024-04-27 13:35:26 +05:30
translatewiki.net
2e0c57b3ce Localisation updates from https://translatewiki.net. 2024-04-25 14:02:33 +02:00
RedAuburn
e23d03b2db
remove yue-hant again (#5702) 2024-04-23 22:29:51 +09:00
translatewiki.net
feabb6bc20 Localisation updates from https://translatewiki.net. 2024-04-22 14:02:19 +02:00
Kaartic Sivaraam
4eb8a82191 Remove the value-yue-hant file
The file is not properly recognized by Android and we've actually
codemapped it to yue. The translatewiki configuration has been
done in the incorrect file. So, it is still being created.

The following Gerrit change would correct it for updates after that
change is merged.

  1022508

For the time being remove it for the sake of release.
2024-04-21 19:49:59 +05:30
translatewiki.net
4bd48aa432 Localisation updates from https://translatewiki.net. 2024-04-18 14:02:49 +02:00
Shashwat Kedia
04f9ef4819
Fixes Location related flow of the app #5256 , #5461, #5490 (#5494)
* Resolved merged conflicts

* Resolved merge conflicts and updated workflow

* Updated Location Flow and merged conflicts

* Update flow and merge conflicts

* Fixed LocationPicker's location flow

* Removed redundant code from  LocationPermissionsHelper

* Fixed Explore fragment crashing and incorrect behaviour

* Updated LocationPicker Flow

* Fixed Nearby not working as intended

* Final update to location flow of all maps

* Added the reqested changes and fixed bugs

* Resolved requested change in in-app camera location flow

* Fixed In-app camera location flow

* Resolved conflicts in ContributionsListFragment

* Updated java doc as requested

* Resolved nearby card dialog not being shown

* Optimised LocationPermissionsHelper javadoc

* Made requested changes for preference check

* Added javadoc and requested comment for later reference

* Implemented requested code changes

* Fixed failing test due to changes made during PR

* Added string resource for ExploreMapFragment

* Changed string resource for rationale dialog

* Added standard location flow information in LocationPermissionsHelper

* Added javadoc for doNotAskForLocationPermission

* Removed unused import

* Updated javadoc

* Removed values-yue-hant

* Fix some merge conflict errors

* Fix minor errors due to mergre conflicts

* Fix some refactor errors

* Fixed minor bug due to merging conflicts

* Delete app/src/main/res/values-yue-hant directory

* Final changes to NearbyParentFragment

* Fixes #5686 map coordinates set to image coords

* Removed some redundant code from recenterMap

* Removed one test whose method no longer exists

* Removed unused method from contract of nearby

* Removed redundant method from NearbyParentFragment

* nearby: add a FIXME about the possibly redudant code

---------

Co-authored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
2024-04-17 09:18:34 +05:30
RedAuburn
1f2e31d45b
Add Adaptive Icon (#5687)
* Add Adaptive Icon

allows for better theming on android O and above.

* remove values-yue-hant
2024-04-16 16:51:54 +09:00
translatewiki.net
de95c46627 Localisation updates from https://translatewiki.net. 2024-04-15 14:02:26 +02:00
translatewiki.net
8ce7485153 Localisation updates from https://translatewiki.net. 2024-04-11 14:02:37 +02:00
Shashank Kumar
2d29fbe885
Fix Failing Tests in DescriptionEditActivityUnitTest (#5685)
* initial commit

* Fix No Precise Message After Clicking Review Buttons

* Fix For ThanksClient

* Fix For Depictions

* Fix For Categories

* Fix For Description & Coordinates

* Fix For Description & Coordinates

* Fix For Description & Coordinates

* Fix For Mark as Read notifications

* resolve conflicts

* fix merge conflicts

* fix tests

* fix tests

* fix tests

* fix tests
2024-04-11 15:47:36 +09:00
Brooke Vibber
a595500921
Add a .mailmap file to update bvibber's name/email (#5684) 2024-04-09 07:14:11 +09:00
translatewiki.net
200894665b Localisation updates from https://translatewiki.net. 2024-04-08 14:02:11 +02:00
translatewiki.net
9aa1875bc4 Localisation updates from https://translatewiki.net. 2024-04-04 14:03:12 +02:00
Nicolas Raoul
aa39e509c3
Updated contributors gallery 2024-04-02 22:51:47 +09:00
translatewiki.net
6cbeec2119 Localisation updates from https://translatewiki.net. 2024-04-01 14:02:56 +02:00
Neel Doshi
54312fc2ac
Feat : Added a feature for users to add feadback on github (#5578)
* Feat : Added a place for users to add feadback on github

* Code Cleanup : Added Github Issue URL as Const

* Homogenized

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
2024-04-01 17:36:21 +09:00
Shashank Kumar
3d1efecb55
Fix - No Precise Error Message After Error Due to Password Change (#5643)
* initial commit

* Fix No Precise Message After Clicking Review Buttons

* Fix For ThanksClient

* Fix For Depictions

* Fix For Categories

* Fix For Description & Coordinates

* Fix For Description & Coordinates

* Fix For Description & Coordinates

* Fix For Mark as Read notifications

* resolve conflicts

* fix merge conflicts
2024-04-01 17:23:00 +09:00
Rohit Verma
e56de2c343
Allow only 1 picture to be selected by System Picker through Nearby (#5680)
* SettingsFragment: add a method for creating locale

* SettingsFragmentUnitTests: fix failing tests for createLocale

* NearbyParentFragment: set WLM check to false
2024-04-01 11:54:30 +09:00