Commit graph

6168 commits

Author SHA1 Message Date
Kanahia
6fed9f4ed7 Fixed issue with pin loading on the first launch 2024-07-28 14:23:45 +05:30
Kanahia
2251c62355 Fixed the bug 2024-07-10 17:23:48 +05:30
Kanahia
5caa0bca91 Fixed unit test 2024-07-10 12:04:54 +05:30
Kanahia
97019c9272 Fixed unit test 2024-07-08 21:42:05 +05:30
Kanahia
c2e14b7099 Fixed conflicts 2024-07-08 21:36:48 +05:30
Kanahia
c314327483
Merge branch 'main' into main 2024-07-08 21:21:29 +05:30
Kanahia
0478a9b2ea Fixed tests 2024-07-08 21:18:07 +05:30
Amir E. Aharoni
5bcbaa1beb
Improve the messages about being in a different place (#5764)
Remove parentheses and comma splice,
and replace them with more straightforward grammar.
2024-07-08 23:16:26 +09:00
translatewiki.net
018a924c53
Localisation updates from https://translatewiki.net. 2024-07-08 14:02:00 +02:00
Kanahia
3779cfb6a5
Added Wikitalk Page (#5740)
* Added wikitalk page and improved bottomsheet for landscape mode

* Improved wikitalk page

* Fixed italics

* Fixed little bug

* Improved the wiki talk page

* .

* changed commons url to wikidata url

* changed commons url to wikidata url + 1

* fixed bookmark issue

* Added kdoc and javadoc

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
2024-07-08 15:13:57 +09:00
Kanahia
a28117397d Changed primary key from location to entity id 2024-07-08 06:56:09 +05:30
Kanahia
438aa3b41b Factorized methods 2024-07-07 07:47:28 +05:30
Kaartic Sivaraam
36905711d0 Version v5.0.2 2024-07-07 01:05:55 +05:30
translatewiki.net
05ffd123e4
Localisation updates from https://translatewiki.net. 2024-07-04 14:01:57 +02:00
translatewiki.net
923acd802c
Localisation updates from https://translatewiki.net. 2024-07-01 14:01:39 +02:00
Kanahia
cfb1575c41 Fixed unit test 2024-06-30 13:35:49 +05:30
Kanahia
411ef31c5e Implemented caching of places 2024-06-30 13:24:05 +05:30
Kanahia
a11003a2fb Removed search this area button 2024-06-29 05:55:56 +05:30
translatewiki.net
f8e1030164
Localisation updates from https://translatewiki.net. 2024-06-27 14:01:37 +02:00
translatewiki.net
63ec5c8433
Localisation updates from https://translatewiki.net. 2024-06-20 14:01:59 +02:00
Kaartic Sivaraam
69cd9c94d1
Make sure to clear cookies on logout (#5727)
* Ensure to clear the cookies when logging out

It turns out that we failed to clear the cookies from the cookie JAR
when logging the user out. As a consequence, the cookie were retained
and it was possible to edit depictions as the previous user even without
logging in to the app (using the retained cookies).

Make sure we properly clear the cookies when we log the user out.

As an aside, the fact that the edit button shouldn't have been shown
is a different issue being tracked in #5726

* session: reuse removeAccount method for log out

The removeAccount method takes care of invoking the non-deprecated
API in applicable API levels. The logout method did not do such a
thing. Avoid redundancy, and reuse the removeAccount method for
logging out.
2024-06-18 22:31:34 +02:00
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
Kanahia
ef8f73adcc Improved pin clicking 2024-06-13 10:28:32 +05:30
Kanahia
e71c3f8e4c Merge branch 'commons-app-main' 2024-06-13 08:39:19 +05:30
Kanahia
f25caa15c6 merged pr 2024-06-13 08:38:28 +05:30
Kanahia
2fa7eac46d Added change color icon to pin 2024-06-13 08:22:28 +05:30
Kanahia
27c8443fa2 Fixed exception issue and pins issue 2024-06-12 14:39:42 +05:30
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
Kanahia
bc7ed146d9 Implemented retry with delay of 5000ms 2024-06-06 11:52:50 +05:30
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
Kanahia
a94e8b4b1a Fixed unit tests 2024-06-02 09:58:42 +05:30
Kanahia
53ea9c94d4 Fixed wikidata url 2024-06-02 09:44:40 +05:30
Kanahia
c56a16e38e Removed toggle chips and changed pin's color 2024-06-02 09:42:03 +05:30
translatewiki.net
18e03ed038 Localisation updates from https://translatewiki.net. 2024-05-30 14:02:21 +02:00
Kanahia
ac3a2d6f49 Improved zoom level and fixed the pins not loading from the center 2024-05-30 09:37:56 +05:30
pacha0
ff21e73928
Updated skip_login_title string to sound more natural (#5746) 2024-05-30 09:49:03 +09:00
Kanahia
79b25734ad Fixed few pins not loading on changing apps 2024-05-29 13:13:34 +05:30
Kanahia
13a390a860 Fixed unnecessary reloads on onResume 2024-05-29 12:25:15 +05:30
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