Commit graph

6201 commits

Author SHA1 Message Date
Kanahia
4ea3698729 Fixed unit tests 2024-08-05 10:41:51 +05:30
Kanahia
f1deb7bada Merge remote-tracking branch 'origin/issue5583' into issue5583 2024-08-04 08:27:19 +05:30
Kanahia
71c3e81fa3 added javadoc/kdoc and fixed minor bug 2024-08-04 08:27:00 +05:30
Kanahia
4a2570ce64
Merge branch 'main' into issue5583 2024-08-04 08:20:19 +05:30
Kanahia
2d63f351ed
Made Split to Nearby Query into a fast query for coordinates + a details query for each pin (#5731)
* Splitted the query

* Made changes to the query

* Improvised query

* Improvised query by dividing in the batches

* Fixed failing tests

* Improved batches

* Improved sorting

* Fixes issue caused by search this area button

* Fixed failing tests

* Fixed unnecessary reloads on onResume

* Fixed few pins not loading on changing apps

* Improved zoom level and fixed the pins not loading from the center

* Removed toggle chips and changed pin's color

* Fixed wikidata url

* Fixed unit tests

* Implemented retry with delay of 5000ms

* Fixed exception issue and pins issue

* Added change color icon to pin

* Improved pin clicking

* Removed search this area button

* Implemented caching of places

* Fixed unit test

* Factorized methods

* Changed primary key from location to entity id

* Fixed tests

* Fixed conflicts

* Fixed unit test

* Fixed unit test

* Fixed the bug

* Fixed issue with pin loading on the first launch

* Updated javadocs

* Temporary commit - only for testing

* Replaced Temporary commit

* Temporary commit - Added jcenter

* Made minor changes

* Fixed unit tests

* Fixed unit tests

* Fixed minor bug
2024-08-04 09:35:09 +09:00
translatewiki.net
ba6c8fe8d0
Localisation updates from https://translatewiki.net. 2024-08-01 14:01:42 +02:00
Kanahia
9a3acdc3a0 minor adjustments 2024-07-31 17:49:29 +05:30
Kanahia
e96cc8b5ca Added image duplicity check on restart of failed image 2024-07-31 17:45:43 +05:30
translatewiki.net
dbfe3b50f9
Localisation updates from https://translatewiki.net. 2024-07-29 14:02:27 +02:00
Kanahia
ae00a9d19f Made changes to visibility implementation 2024-07-26 18:04:46 +05:30
translatewiki.net
59da70aca1
Localisation updates from https://translatewiki.net. 2024-07-25 14:01:45 +02:00
Kanahia
aeb49cd7de Improved pausing 2024-07-23 20:33:50 +05:30
Kanahia
7d56b31d6e Fixed upload icon 2024-07-23 13:22:10 +05:30
Kanahia
4eaad5ab54 Fixed sorting bug 2024-07-22 20:01:28 +05:30
translatewiki.net
d2d8eb9153
Localisation updates from https://translatewiki.net. 2024-07-22 14:01:59 +02:00
Kanahia
368d3bbff0 Implemented flag for workers 2024-07-22 16:23:22 +05:30
Kanahia
7255c994a6 Implemented flag for workers 2024-07-22 15:54:42 +05:30
Kanahia
5b57c25110 Improved current implementation 2024-07-21 21:18:51 +05:30
Kanahia
b8723ad5af Fixed sorting, list size issue 2024-07-21 20:07:27 +05:30
Kanahia
283e2c0a63 Improved deletion and removed cancelledUploads Hashset 2024-07-21 17:28:23 +05:30
Kanahia
9f77fbbc8c Improved icons 2024-07-21 12:59:24 +05:30
Kaartic Sivaraam
7d9f8d27bc
menu: rename menu as "User profile" (#5771)
As suggested by @whym on #5754, the name "User page" is ambiguous with
the on-wiki user page. We actually show the leaderboard when the menu
is clicked on. So, rename the menu as "User profile" instead.

Ref: https://github.com/commons-app/apps-android-commons/issues/5754#issuecomment-2196796213
2024-07-20 23:19:16 +10:00
Matija Nalis
7f6b45aeb6
Update allowed recent years to include 2020s (#5761)
* document regex due to #47

* also count 2020s as "recent years"

* clarify that not all years are ignored

* clarify "year" is current year

* original logic fix
from https://github.com/commons-app/apps-android-commons/pull/5761#pullrequestreview-2144120347

* better variale name for ".*0s.*"
as that regex will match e.g. `1920s` and `80s` too, so the original `is20xxsYear` would be confusing name for it

* consolidate duplicated code to spammyCategory

* clarify regexes via variables

* spammyCategory should always be skipped

* return is simple now, so we can get rid of extra val oldDecade

* fix curYearInString

* some clarification comments

* refactor: rename containsYear to isSpammyCategory

This is done as the name containsYear is ambiguous.
It not just checks for year to identify spammy categories.

* refactor: rename containsYear to isSpammyCategory (take 2)

 A continuation of fe74c77ab (refactor: rename containsYear
 to isSpammyCategory, 2024-07-17)

---------

Co-authored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
2024-07-20 23:16:20 +10:00
Kanahia
170d0b156e Fixed progress bar issue 2024-07-20 12:49:15 +05:30
Kanahia
a01263a6e8 Changed progress in progress activity 2024-07-20 11:01:55 +05:30
Kanahia
64ad6ca94b Fixed refresh icon visibility in light mode 2024-07-19 20:17:13 +05:30
Kanahia
4005a5192b Added error log 2024-07-19 14:51:19 +05:30
Kanahia
72500b2dc2 Fixed constantly failing uploads 2024-07-18 20:27:20 +05:30
Kanahia
efa7ae7736 Fixed constantly failing uploads 2024-07-18 20:25:04 +05:30
Kanahia
ea693b3ddc Fixed constantly failing uploads 2024-07-18 20:07:22 +05:30
Amir E. Aharoni
34addbe33a
Remove unnecessary double quotes from a message (#5777) 2024-07-18 11:47:03 +09:00
Kaartic Sivaraam
5be76044b1
wikidata-feedback: avoid sentence lego (#5775)
Fixes #5763
2024-07-17 16:22:41 +09:00
Kanahia
926ef27e5e Fixed irrelevant network call 2024-07-16 14:11:25 +05:30
Kanahia
91affcf63e Fixed irrelevant network call 2024-07-16 14:10:18 +05:30
Kanahia
33897bbdc0 Improved recycler view 2024-07-16 11:21:52 +05:30
translatewiki.net
73e9ed8e26
Localisation updates from https://translatewiki.net. 2024-07-15 14:02:06 +02:00
translatewiki.net
4d8a7dc138
Localisation updates from https://translatewiki.net. 2024-07-11 14:02:14 +02:00
Kanahia
ca1bf88127 Fixed null ptr issue on changing modes 2024-07-11 17:16:18 +05:30
Kanahia
0051dcc9c0 Fixed issue with upload icon 2024-07-11 17:06:34 +05:30
Kanahia
81de2ed626 Fixed conflicts 2024-07-10 12:21:03 +05:30
Kanahia
45681f7a41
Merge branch 'main' into issue5583 2024-07-10 12:08:39 +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
de0dc45ce9
Merge branch 'main' into issue5583 2024-07-07 15:45:59 +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
Kanahia
5c71ca672e Moved Auto Retry to MainActivity 2024-07-03 11:08:01 +05:30
Kanahia
9cbf9885a7 Bug fixes 2024-07-02 23:54:20 +05:30
Kanahia
0b757741fd Fixed issue with progress bar 2024-07-02 10:48:37 +05:30