Skip to content

Merge Conflict resolution draft #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 233 commits into
base: issue-1-launguage-order-backend-queries
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
cdc4f89
Database bug fix (#5902)
rohit9625 Oct 27, 2024
522f1fe
Partial fixes for errors and warnings reported by ./gradlew lint (#5885)
baijun6 Oct 27, 2024
6adedd9
fix test (#5893)
parneet-guraya Oct 26, 2024
d21c63f
`CommonsApplication` migrate to kotlin & some lint fixes (#5879)
parneet-guraya Oct 26, 2024
610919e
Partial fixes for errors and warnings reported by ./gradlew lint (#5885)
baijun6 Oct 27, 2024
197855a
Localisation updates from https://translatewiki.net.
translatewiki Oct 28, 2024
4a46488
Localisation updates from https://translatewiki.net.
translatewiki Oct 28, 2024
7c82650
Localisation updates from https://translatewiki.net.
translatewiki Oct 31, 2024
f011abe
Improve string formatting in OkHttpJsonApiClient.java (#5916)
sikehish Nov 1, 2024
72a80f0
Localisation updates from https://translatewiki.net.
translatewiki Oct 31, 2024
707997b
Version v5.1.0
sivaraam Nov 3, 2024
9ca285b
Link to the elaborate changelog in GitHub release
sivaraam Nov 3, 2024
091ddb5
revert back to MainScope for database and ui updates (#5914)
rohit9625 Nov 4, 2024
c469282
Localisation updates from https://translatewiki.net.
translatewiki Nov 4, 2024
e388f45
Localisation updates from https://translatewiki.net.
translatewiki Nov 5, 2024
3bd7b53
Localisation updates from https://translatewiki.net.
translatewiki Nov 7, 2024
a70d585
Hide edit options for logged-out users in Explore screen (#5920)
Saifuddin53 Nov 7, 2024
17a8845
Localisation updates from https://translatewiki.net.
translatewiki Nov 11, 2024
634bc3e
custom-selector: adds a button to delete the current folder in custom…
why-lab Nov 13, 2024
183e84c
Improve Unique File Name Search (#5877)
AlexG-2003 Nov 14, 2024
248c7b0
Localisation updates from https://translatewiki.net.
translatewiki Nov 14, 2024
5c8c403
Migrated util module files from java to kotlin (#5935)
Saifuddin53 Nov 17, 2024
c439143
Localisation updates from https://translatewiki.net.
translatewiki Nov 18, 2024
0fdb004
Migrated util module from Java to Kotlin (#5938)
Saifuddin53 Nov 18, 2024
cb4ffd8
Migrated widget module from Java to Kotlin (#5940)
Saifuddin53 Nov 20, 2024
ed18a37
Migrated ui and theme modules from Java to Kotlin (#5942)
Saifuddin53 Nov 20, 2024
5f1d284
Localisation updates from https://translatewiki.net.
translatewiki Nov 21, 2024
cf88f9b
Migrated settings modules from Java to Kotlin (#5944)
Saifuddin53 Nov 21, 2024
088dd24
Changed to data classes, and added immutability (#5905)
u7479759 Nov 21, 2024
fe347c2
Migrated recentlanguages and repository module from Java to Kotlin (#…
Saifuddin53 Nov 22, 2024
e070c5d
Fix unit tests (#5947)
rohit9625 Nov 22, 2024
bafae82
Migration of review module from Java to Kotlin (#5950)
Saifuddin53 Nov 23, 2024
00cfd83
Migrated quiz module from Java to Kotlin (#5952)
Saifuddin53 Nov 24, 2024
874773b
Localisation updates from https://translatewiki.net.
translatewiki Nov 25, 2024
381f9ec
Migrated notification module from Java to Kotlin (#5955)
Saifuddin53 Nov 26, 2024
2380230
Migrated navtab module from Java to Kotlin (#5965)
Saifuddin53 Nov 27, 2024
0c969c3
Convert auth package to kotlin (#5966)
psh Nov 28, 2024
794dbb8
Fix modification on bottom sheet's data when coming from Nearby Banne…
rohit9625 Nov 28, 2024
a6152f9
Localisation updates from https://translatewiki.net.
translatewiki Nov 28, 2024
1afff73
Migrate campaigns package to kotlin (#5969)
psh Nov 29, 2024
d6c4cab
Migrated logging module from Java to Kotlin (#5972)
Saifuddin53 Nov 29, 2024
dac3657
Migrate kvstore to kotlin (#5973)
psh Nov 29, 2024
1e5521b
Convert dependency inject ("di") package to kotlin (#5976)
psh Nov 30, 2024
fb1ef32
Migrated Bookmark from `Java` to `Kotlin` (#5960)
neeldoshii Nov 30, 2024
771f370
Migration of locationpicker module from Java to Kotlin (#5981)
Saifuddin53 Dec 2, 2024
8265cc6
Migrate location and language module from Java to Kotlin (#5988)
Saifuddin53 Dec 3, 2024
33548fa
Convert profile package to kotlin (#5979)
psh Dec 3, 2024
9dd504e
Localisation updates from https://translatewiki.net.
translatewiki Dec 5, 2024
3777f18
Convert mwapi/wikidata to kotlin (part 1) (#5991)
psh Dec 5, 2024
f8d519e
Migrated filepicker from Java to Kotlin (#5997)
Saifuddin53 Dec 6, 2024
ae52267
Convert wikidata/mwapi to kotlin (part 2) (#5999)
psh Dec 6, 2024
a8387f0
Bug Fixs & Enhancement of Achievement Screen (#5666)
neeldoshii Dec 6, 2024
64354fb
chore : Lint fix (#5995)
neeldoshii Dec 6, 2024
015c5d5
Convert wikidata/mwapi to kotlin (part 3) (#6004)
psh Dec 7, 2024
64fd10d
Migrate Feedback module from `Java` to `Kt` (#5985)
neeldoshii Dec 7, 2024
cc74707
delete empty files (#6009)
parneet-guraya Dec 8, 2024
04a07ed
Localisation updates from https://translatewiki.net.
translatewiki Dec 9, 2024
85d9aef
Feature: Show where file is being used on Commons & Other wikis (#6006)
parneet-guraya Dec 9, 2024
56ada36
Migrated exifInterface to androidx exif.interface (#6013)
neeldoshii Dec 9, 2024
7331197
Convert wikidata/mwapi to kotlin (part 4) (#6010)
psh Dec 10, 2024
3030a6f
Migrated helper modules to kotlin (#6007)
Saifuddin53 Dec 10, 2024
c175a4e
Migrated category module from Java to Kotlin (#6016)
Saifuddin53 Dec 11, 2024
9a876fa
make dialog modal (#6015)
parneet-guraya Dec 11, 2024
3bfa361
Always show upload icon (#6022)
parneet-guraya Dec 11, 2024
f51b607
Localisation updates from https://translatewiki.net.
translatewiki Dec 12, 2024
b2810bc
Resolve crash when submitting feedback without internet access (#6018)
angrezichatterbox Dec 13, 2024
8a55b5e
FolderDeletionHelper: Fix unintentional deletion (#6027)
savsch Dec 13, 2024
cb00760
Issue #5996 - Fix Android Studio warnings in LocationPickerActivity.k…
savsch Dec 13, 2024
2c8c441
Convert upload to kotlin (part 1) (#6024)
psh Dec 13, 2024
c1acdbe
remove method (#6028)
parneet-guraya Dec 14, 2024
235e8cd
Fix edit button shown when image has no location (#6029)
savsch Dec 14, 2024
f2d1f7d
[Enhancement] Fix #5042 Add copy link button (#5080)
Justweng Dec 14, 2024
a933b92
Fix caption lost on accepting 'Is this a pic of' (#6030)
savsch Dec 14, 2024
e8970ab
FilePicker: Fix error when multiple images are returned from Document…
savsch Dec 15, 2024
0153cbe
Localisation updates from https://translatewiki.net.
translatewiki Dec 16, 2024
5500b03
Feature: Bookmark Categories (#6035)
parneet-guraya Dec 17, 2024
a4b7479
Localisation updates from https://translatewiki.net.
translatewiki Dec 19, 2024
4c9637c
Add pull down to refresh in Contributions screen (#6041)
parneet-guraya Dec 20, 2024
70b4f78
fix multi-line paste (#6050)
parneet-guraya Dec 20, 2024
c891c2b
Nearby: Fix race condition and lag when loading pin details, faster o…
savsch Dec 20, 2024
4b152fc
Fix #6054: Rename SAVEPROGRESSDAILOG to SAVEPROGRESSDIALOG (#6058)
MohitKambli Dec 21, 2024
4dd1605
Nearby: Fix disappearing of pins loaded from cache (#6052) (#6057)
savsch Dec 21, 2024
6a32454
Nearby: Fix map moving by itself (#6061)
savsch Dec 21, 2024
d0bde4a
Replaces Log to Timber (#6062)
neeldoshii Dec 22, 2024
f1e8e48
Removed deneme8 Timber tag (#6065)
neeldoshii Dec 22, 2024
b55c61d
Fixed the migrations warning under Kotlin header #13282 (#6060)
sonalyadav1 Dec 22, 2024
7479767
Fix: Allow back button functionality to dismiss language selection di…
sonalyadav1 Dec 23, 2024
c963cd9
Localisation updates from https://translatewiki.net.
translatewiki Dec 23, 2024
369e79b
Nearby: No longer keeps loading until timeout when map is zoomed out …
savsch Dec 24, 2024
a9058d1
Convert upload to kotlin (part 2) (#6069)
psh Dec 24, 2024
e7864ac
Refactor usage of Html.fromHtml to handle deprecation (#6074)
sonalyadav1 Dec 24, 2024
86cdf96
make prop nullable (#6073)
parneet-guraya Dec 24, 2024
0d71da1
Localisation updates from https://translatewiki.net.
translatewiki Dec 26, 2024
75ca96a
Nearby: show cached pins even when internet is unavailable (fixes #60…
savsch Dec 26, 2024
4244373
Refactor focus change listener to improve readability and avoid crash…
sonalyadav1 Dec 26, 2024
22238f5
fix parsing (#6075)
parneet-guraya Dec 26, 2024
b714b45
Migrated exifInterface to androidx exif.interface (#6013)
neeldoshii Dec 9, 2024
91e41c4
Always show upload icon (#6022)
parneet-guraya Dec 11, 2024
dec56a3
rm file (#6079)
parneet-guraya Dec 28, 2024
a644496
add cancel button (#6078)
parneet-guraya Dec 28, 2024
5bc5828
Nearby: Avoid reloading entire map upon cache clear (#6089)
savsch Dec 29, 2024
46cefa4
Fix/feedback to map navigation (#6087)
angrezichatterbox Dec 29, 2024
d275159
Nearby: Markers now show place via pin base (#6090)
savsch Dec 29, 2024
faa58a1
Fixed bug #5876 (#6086)
Sujal-Gupta-SG Dec 29, 2024
9bbb1a9
Version 5.1.1
sivaraam Dec 29, 2024
391408e
CHANGELOG: fix some typos
sivaraam Dec 29, 2024
bf89f11
Localisation updates from https://translatewiki.net.
translatewiki Dec 30, 2024
411184f
Nearby: Fixed recenter and legend FABs inconsistencies (#6092)
savsch Jan 2, 2025
ea20a64
Localisation updates from https://translatewiki.net.
translatewiki Jan 2, 2025
038ae9a
fix null pointer exception (#6093)
parneet-guraya Jan 3, 2025
25e467b
Refactor Nearby Location Tests to Improve Assertion Logic (#6103)
Akshaykomar890 Jan 5, 2025
1d8d1d6
Remove the extra byte buffer copying while creating file chunks (#6091)
psh Jan 5, 2025
cebe1c2
chore : lint fix (#6099)
neeldoshii Jan 5, 2025
940c074
Localisation updates from https://translatewiki.net.
translatewiki Jan 6, 2025
ecb19d6
Rename Constants to Follow Kotlin Naming Conventions (#6107)
Akshaykomar890 Jan 6, 2025
b2159ed
feat: Long-pressing a row in "Uploads" copies the caption to clipboar…
yuvraj-coder1 Jan 6, 2025
fdbe504
fix: logo getting cropped in landscape mode of login page (#6106)
QuantumPineapple68 Jan 7, 2025
87a453c
Migrated concurrency module from Java to Kotiln (#6110)
Saifuddin53 Jan 8, 2025
3e7565c
Refactor variable names to adhere to naming conventions (#6111)
Akshaykomar890 Jan 9, 2025
18f599b
Localisation updates from https://translatewiki.net.
translatewiki Jan 9, 2025
39b513d
feat : Account Vanishing (#6098)
neeldoshii Jan 9, 2025
78666cc
Refactor Dialog View Initialization with Null-Safe Calls (#6114)
Akshaykomar890 Jan 10, 2025
6d64357
Localisation updates from https://translatewiki.net.
translatewiki Jan 13, 2025
0e73551
Convert upload to kotlin (part 3) (#6104)
psh Jan 13, 2025
d4a9bac
Fixes Issue #5832: Navigation Banner Appears in Media Details Screen …
Jason-Whitmore Jan 13, 2025
efc9ae8
Merge remote-tracking branch 'origin/v5.1.0'
sivaraam Jan 15, 2025
a796a8a
category: fix category search in explore
sivaraam Jan 15, 2025
be0b1db
Version v5.1.2
sivaraam Jan 15, 2025
76078cf
Merge remote-tracking branch 'origin/v5.1.0'
sivaraam Jan 15, 2025
62136b5
Fix NPE with UploadMediaDetails.captionText (#6128)
savsch Jan 15, 2025
70291a0
Migrated Java profile package to kotlin (#6119)
Sujal-Gupta-SG Jan 16, 2025
16ac08f
change status bar color to grey in dark mode (#6120)
andy-ife Jan 16, 2025
1f33926
Share login state with SingleWebViewActivity (#6136)
savsch Jan 16, 2025
1e64acd
If depicted Wikidata item has no associated Commons category property…
savsch Jan 16, 2025
2d6583f
Localisation updates from https://translatewiki.net.
translatewiki Jan 16, 2025
9f1fe87
Fix crash when opening in-app Camera for the very first time (#6139)
rohit9625 Jan 17, 2025
35a2fe8
Use variant-dependent variable to make URLs for vanishing (#6117)
whym Jan 17, 2025
ef032b0
Disable vanishing option when logged out (#6135)
savsch Jan 17, 2025
23e1f01
fix/handle-shared-files-and-error-handling (#6141)
Sujal-Gupta-SG Jan 17, 2025
1c6ebaf
feat: show the proper message in the custom picker when all images ar…
yuvraj-coder1 Jan 18, 2025
d4ababc
Refactor: Rename Constants to Follow CamelCase Naming Convention (#6126)
Akshaykomar890 Jan 18, 2025
3570377
Localisation updates from https://translatewiki.net.
translatewiki Jan 20, 2025
77bad33
Localisation updates from https://translatewiki.net.
translatewiki Jan 23, 2025
bb974f8
Android CI: Update upload-artifact version (#6157)
savsch Jan 24, 2025
aedcd7f
Review: Load thumbnail instead of original image (#6153)
savsch Jan 24, 2025
7400872
Localisation updates from https://translatewiki.net.
translatewiki Jan 27, 2025
41170d8
fix: logout user after account deletion by navigating to login screen…
yuvraj-coder1 Jan 27, 2025
e01ecb2
maps intent: preserve zoom and show red pin (#6160)
savsch Jan 28, 2025
36f844a
Show placeholder and display depiction section when no depictions are…
Sujal-Gupta-SG Jan 29, 2025
5d4474e
Migrated AboutActivity from Java to Kotlin (#6158)
Akshaykomar890 Jan 30, 2025
9dc9a3b
Localisation updates from https://translatewiki.net.
translatewiki Jan 30, 2025
7b29153
Feat: Make it smoother to switch between nearby and explore maps (#6164)
andy-ife Jan 30, 2025
e653857
Localisation updates from https://translatewiki.net.
translatewiki Jan 31, 2025
7566ddf
enhance spammy category filter (#6167)
parneet-guraya Feb 1, 2025
0293b86
Localisation updates from https://translatewiki.net.
translatewiki Feb 3, 2025
30a7f70
GitHub workflow to build betaDebug (#6174)
mnalis Feb 4, 2025
43dca1d
[Bug fix] Check if duplicate exist using both original and modified f…
parneet-guraya Feb 4, 2025
1e77b14
Add multiline input for caption and description (#6173)
mnalis Feb 5, 2025
12cadd0
Migrated contributions folder Files from java to kotlin (#6176)
Sujal-Gupta-SG Feb 7, 2025
e9e2697
Fix: Fix crash when adding location after removing a picture (#6175)
sonalyadav1 Feb 7, 2025
a529ba8
Localisation updates from https://translatewiki.net.
translatewiki Feb 10, 2025
6345fef
Migrated nearby parent fragment file to kotlin (#6177)
Sujal-Gupta-SG Feb 12, 2025
3494354
Localisation updates from https://translatewiki.net.
translatewiki Feb 13, 2025
7a685b1
Localisation updates from https://translatewiki.net.
translatewiki Feb 17, 2025
40241b4
Fix #6188 (Nearby upload not being linked from Wikidata), though it i…
Sujal-Gupta-SG Feb 17, 2025
98b25ac
Fixes Issue 5933: Nearby: Display of all nearby pins makes the app sl…
Jason-Whitmore Feb 19, 2025
8d0da86
Automatically Link APKs in PR Discussion After Building (#6195)
Sujal-Gupta-SG Feb 19, 2025
44f69fc
Localisation updates from https://translatewiki.net.
translatewiki Feb 20, 2025
8dd1091
Separate Workflow for Commenting on PR with APK Links (#6199)
Sujal-Gupta-SG Feb 22, 2025
d32ab15
Optimize Image Handling and Open Wikidata Media within app (#6187)
Sujal-Gupta-SG Feb 22, 2025
a8e38f4
Updated Icon & Added Animation for Nearby (#6201)
Sujal-Gupta-SG Feb 23, 2025
50eb13a
delete file (#6205)
parneet-guraya Feb 23, 2025
71d3d12
limit to the best issues for newcomers
nicolas-raoul Feb 24, 2025
fda87b7
Fixed Build Status Badge (#6203)
Sujal-Gupta-SG Feb 24, 2025
b292748
Update android-ci-comment.yml (#6200)
Sujal-Gupta-SG Feb 24, 2025
1c4797d
Localisation updates from https://translatewiki.net.
translatewiki Feb 24, 2025
1c7dce9
Migrated bookmarks locations to Kotlin and adapt room database (#6148)
Saifuddin53 Feb 24, 2025
aa84ded
Removed Explore, Peer review, because we are at risk of being removed…
nicolas-raoul Feb 26, 2025
88eedc3
Revert previous commit, wrong branch
nicolas-raoul Feb 26, 2025
b2f6555
bump to action's v4 (#6225)
parneet-guraya Feb 27, 2025
fa24b93
Localisation updates from https://translatewiki.net.
translatewiki Feb 27, 2025
218476a
fix: rename isDarkTheme property to prevent recursion (#6231)
rohit9625 Mar 1, 2025
6b56075
Localisation updates from https://translatewiki.net.
translatewiki Mar 3, 2025
139a296
Comment in PR with generated builds. (#6226)
parneet-guraya Mar 3, 2025
d233de6
Localisation updates from https://translatewiki.net.
translatewiki Mar 6, 2025
939d01b
Bumped to 5.1.3 to reflect feature parity but the real 5.1.3 release …
nicolas-raoul Mar 6, 2025
681881f
fix: crash when opening leader board tab (#6220)
rohit9625 Mar 6, 2025
d11439f
add cancel button listener (#6216)
parneet-guraya Mar 7, 2025
32d485c
fix: null context issue by removing context getter override (#6218)
rohit9625 Mar 8, 2025
972bf78
Fix empty username (#6209)
parneet-guraya Mar 8, 2025
3032270
Migrated media/zoomControllers package to kotlin (#6204)
Saifuddin53 Mar 8, 2025
c46c1d2
Localisation updates from https://translatewiki.net.
translatewiki Mar 10, 2025
ba89894
Localisation updates from https://translatewiki.net.
translatewiki Mar 13, 2025
e1466c8
Fix NullPointerException in UploadCategoriesFragment (#6246)
sonalyadav1 Mar 14, 2025
67ac92f
Fix NullPointerException in onBackPressed() (#6249)
sonalyadav1 Mar 16, 2025
fa0bdf5
Localisation updates from https://translatewiki.net.
translatewiki Mar 17, 2025
954a7ae
Bump up version code and name (#6250)
RitikaPahwa4444 Mar 18, 2025
828f69f
Update Privacy Policy Link to GitHub.io (#6255)
sonalyadav1 Mar 19, 2025
f1f4e8b
Localisation updates from https://translatewiki.net.
translatewiki Mar 20, 2025
2e05a58
Bump up version code to 1049
RitikaPahwa4444 Mar 22, 2025
5a5e660
Localisation updates from https://translatewiki.net.
translatewiki Mar 24, 2025
669f304
Localisation updates from https://translatewiki.net.
translatewiki Mar 27, 2025
4496664
Add v5.2.0 to CHANGELOG.md
RitikaPahwa4444 Mar 29, 2025
6e090c8
ExploreMapFragment.java: fix marker labels in Explore map fragment to…
Jason-Whitmore Mar 31, 2025
fdfd778
Localisation updates from https://translatewiki.net.
translatewiki Mar 31, 2025
731ff62
Localisation updates from https://translatewiki.net.
translatewiki Apr 3, 2025
51da9e4
FooterAdapter.kt: changed enum access of FooterItem, from FooterItem.…
Prinuel Apr 3, 2025
7bf9276
fix: resolve IndexOutOfBounds error when removing images from top car…
rohit9625 Apr 5, 2025
56fa8ce
Localisation updates from https://translatewiki.net.
translatewiki Apr 7, 2025
2eed441
Enable EmailAuth support. (#6277)
dbrant Apr 8, 2025
262efe4
ExploreMapFragment.java: fix removeMarker() to remove the correct mar…
Jason-Whitmore Apr 10, 2025
e3dd00b
Localisation updates from https://translatewiki.net.
translatewiki Apr 10, 2025
2c41176
Mark ❌ for closed locations (P3999) in Nearby (#6273)
sonalyadav1 Apr 11, 2025
6aeb3c0
ui: make recenter FAB theme-aware using Material attributes (#6281)
samimshoaib01 Apr 12, 2025
4bacac1
BookmarkLocationsFragment.kt:fix android studio warnings for this fi…
Prinuel Apr 13, 2025
5b5aeea
Bump up version code to 1050
RitikaPahwa4444 Apr 13, 2025
69b3544
Exclude past locations (P585) from Nearby query (#6284)
khushbuk0711 Apr 14, 2025
efdc9c5
Localisation updates from https://translatewiki.net.
translatewiki Apr 14, 2025
9289dcc
UI enhancement Issue(#6285) (#6287)
khushbuk0711 Apr 14, 2025
1a13cb3
Add v5.3.0 to CHANGELOG.md
RitikaPahwa4444 Apr 14, 2025
78d29bc
FIX : Custom picker detect images that is already in commons (#6288)
sonalyadav1 Apr 15, 2025
ed42d85
Localisation updates from https://translatewiki.net.
translatewiki Apr 17, 2025
7479d96
Code Enhancement (Explore Map) (#6293)
khushbuk0711 Apr 21, 2025
3076297
Localisation updates from https://translatewiki.net.
translatewiki Apr 21, 2025
329a682
Improve credit line in image list (#6295)
whym Apr 23, 2025
8fded5e
Change back some variable names that were accidentally changed (#6297)
whym Apr 24, 2025
d0f6c16
Localisation updates from https://translatewiki.net.
translatewiki Apr 24, 2025
60aca9a
Localisation updates from https://translatewiki.net.
translatewiki Apr 28, 2025
0024e72
Localisation updates from https://translatewiki.net.
translatewiki May 1, 2025
4d21702
Nearby List: Only show place cards with loaded names (#6301)
andy-ife May 4, 2025
865824a
Localisation updates from https://translatewiki.net.
translatewiki May 5, 2025
f06ae4e
Localisation updates from https://translatewiki.net.
translatewiki May 8, 2025
3f2077a
tests: move to androidTest source-set (#6302)
rohit9625 May 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 16 additions & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Cache packages
id: cache-packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -37,7 +37,7 @@ jobs:

- name: AVD cache
if: github.event_name != 'pull_request'
uses: actions/cache@v3
uses: actions/cache@v4
id: avd-cache
with:
path: |
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
run: bash ./gradlew assembleBetaDebug --stacktrace

- name: Upload betaDebug APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: betaDebugAPK
path: app/build/outputs/apk/beta/debug/app-*.apk
Expand All @@ -98,7 +98,17 @@ jobs:
run: bash ./gradlew assembleProdDebug --stacktrace

- name: Upload prodDebug APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: prodDebugAPK
path: app/build/outputs/apk/prod/debug/app-*.apk

- name: Create and PR number artifact
run: |
echo "{\"pr_number\": ${{ github.event.pull_request.number || 'null' }}}" > pr_number.json

- name: Upload PR number artifact
uses: actions/upload-artifact@v4
with:
name: pr_number
path: ./pr_number.json
41 changes: 41 additions & 0 deletions .github/workflows/build-beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build beta only

on: [workflow_dispatch]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Access test login credentials
run: |
echo "TEST_USER_NAME=${{ secrets.TEST_USER_NAME }}" >> local.properties
echo "TEST_USER_PASSWORD=${{ secrets.TEST_USER_PASSWORD }}" >> local.properties

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Set env
run: echo "COMMIT_SHA=$(git log -n 1 --format='%h')" >> $GITHUB_ENV

- name: Generate betaDebug APK
run: ./gradlew assembleBetaDebug --stacktrace

- name: Rename betaDebug APK
run: mv app/build/outputs/apk/beta/debug/app-*.apk app/build/outputs/apk/beta/debug/apps-android-commons-betaDebug-$COMMIT_SHA.apk

- name: Upload betaDebug APK
uses: actions/upload-artifact@v4
with:
name: apps-android-commons-betaDebugAPK-${{ env.COMMIT_SHA }}
path: app/build/outputs/apk/beta/debug/*.apk
retention-days: 30
96 changes: 96 additions & 0 deletions .github/workflows/comment_artifacts_on_PR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Comment Artifacts on PR

on:
workflow_run:
workflows: [ "Android CI" ]
types: [ completed ]

permissions:
pull-requests: write
contents: read

concurrency:
group: comment-${{ github.event.workflow_run.id }}
cancel-in-progress: true

jobs:
comment:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' }}
steps:
- name: Download and process artifacts
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
const runId = context.payload.workflow_run.id;

const allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: runId,
});

const prNumberArtifact = allArtifacts.data.artifacts.find(artifact => artifact.name === "pr_number");
if (!prNumberArtifact) {
console.log("pr_number artifact not found.");
return;
}

const download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: prNumberArtifact.id,
archive_format: 'zip',
});

fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/pr_number.zip`, Buffer.from(download.data));
const { execSync } = require('child_process');
execSync('unzip -q pr_number.zip -d ./pr_number/');
fs.unlinkSync('pr_number.zip');

const prData = JSON.parse(fs.readFileSync('./pr_number/pr_number.json', 'utf8'));
const prNumber = prData.pr_number;

if (!prNumber || prNumber === 'null') {
console.log("No valid PR number found in pr_number.json. Skipping.");
return;
}

const artifactsToLink = allArtifacts.data.artifacts.filter(artifact => artifact.name !== "pr_number");
if (artifactsToLink.length === 0) {
console.log("No artifacts to link found.");
return;
}

const comments = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: Number(prNumber),
});

const oldComments = comments.data.filter(comment =>
comment.body.startsWith("✅ Generated APK variants!")
);
for (const comment of oldComments) {
await github.rest.issues.deleteComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: comment.id,
});
console.log(`Deleted old comment ID: ${comment.id}`);
};

const commentBody = `✅ Generated APK variants!\n` +
artifactsToLink.map(artifact => {
const artifactUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${runId}/artifacts/${artifact.id}`;
return `- 🤖 [Download ${artifact.name}](${artifactUrl})`;
}).join('\n');

await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: Number(prNumber),
body: commentBody
});
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ captures/*

# Test and other output
app/jacoco.exec
app/CommonsContributions
app/CommonsContributions
app/.*
125 changes: 125 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,130 @@
# Wikimedia Commons for Android

## v5.3.0

### What's changed
* Enable EmailAuth support
* Explore map images no longer show "Unknown"
* Fix crash when removing last two images of multiupload
* Mark ❌ for closed locations (P3999) in Nearby
* Fix two pin labels staying visible at the same time in Explore map
* Refactoring and minor UI improvements

## v5.2.0

v5.2.0 boasts several new functionalities like:

* A new refresh button lets you quickly reload the Nearby map
* Bookmarks now support categories
* Improved feedback and consistency in the user interface
* Bug fixes and performance improvements

### What's changed
* Implement "Refresh" button to clear the cache and reload the Nearby map.
* `CommonsApplication` migrate to kotlin & some lint fixes.
* Revert back to MainScope for database and UI updates and make database operations thread safe.
* Hide edit options for logged-out users in Explore screen.
* Introduced a button to delete the current folder in custom selector.
* Improve Unique File Name Search.
* Migration of several modules from Java to Kotlin.
* Fix modification on bottom sheet's data when coming from Nearby Banner and clicked on other pins.
* Bug fixes and enhancement of Achievements screen.
* Show where file is being used on Commons and other wikis.
* Migrate android.media.ExifInterface to androidx.exifinterface.media.ExifInterface as android.media.ExifInterface had security flaws on older devices.
* Make dialogs modal and always show the upload icon.
* Fix unintentional deletion of subfolders and non-images by custom selector.
* Bookmark categories.
* Add pull down to refresh in the Contributions screen.
* Fix race condition and lag when loading pin details, faster overlay management.
* Show cached pins in Nearby even when internet is unavailable

Full changelog with the list of contributors: [`v5.1.2...v5.2.0`](https://github.com/commons-app/apps-android-commons/compare/v5.1.2...v5.2.0).


## v5.1.2

### What's changed

* Fix the broken category search in the explore screen

## v5.1.1

### What's changed

* Use Android's new EXIF interface to mitigate security issues in old
EXIF interface.
* Make the icon that helps view the upload queue always visible as it ensures
that the queue accessible at all times.

## v5.1.0

### What's Changed

* Enhanced **upload queue management** in the Commons app for smoother, sequential
processing, clearer progress tracking, prevention of stuck or duplicate
uploads. As part of this improvement, the "Limited Connection mode" has been
removed.
* Added an option in "Nearby" feature enabling users to **provide feedback on
Wikidata items**. Users can report if an item doesn’t exist, is at a different
location, or has other issues, with submissions tagged for easy tracking and
updates.
* Improved the "Nearby" feature by splitting the query into two parts for faster
loading and **better performance, especially in areas with dense amount of
places**. This update also resolves issues with pins overlapping place names.
* Upgraded AGP and **target/compile SDK to 34** and make necessary adjustments to
the app such as adding **"Partial Access" support**. Also includes some minor
refactoring, and replacement of deprecated circular progress bars.
* Fixed an **UI issue where the 'Subcategories' and 'Parent Categories' tabs
appeared blank** in the Category Details screen. Resolved by optimizing view
binding handling in the parent fragments.
* Fixed an issue where editing depictions removed all other structured data from
images. Now, **only depictions are updated, preserving other associated data**.
* Fixed **map centering** in the image upload flow to **use GPS EXIF tag location**
from pictures and ensured "Show in map app" accurately reflects this location.
* Fixed navigation **after uploading via Nearby by directing users to the Uploads
activity** instead of returning to Nearby, preventing confusion about needing to
upload again.

### Bug fixes and various changes

* Improved the "Nearby" feature to fetch labels based on the user's preferred
language instead of defaulting to English.
* Added a legend to the "Nearby" feature indicating pin statuses: red for items
without pictures, green for those with pictures, and grey for items being
checked. A floating action button now allows users to toggle the legend's
visibility.
* Fixed an issue where the "Nominate for deletion" option is shown to logged out
users, preventing app errors and crashes.
* Updated the regex pattern that filters categories with an year in it to also
filter the 2020s.
* Fix an issue where past depictions were not shown as suggestions, despite
being saved correctly.
* Fixed an issue in custom image picker where exiting the media preview showed
only the first image and cleared selections. Now, previously selected images
are restored correctly after exiting the preview. This was contributed.
* Fixed an issue in custom image picker where scrolling behavior did not
maintain position after exiting fullscreen preview, ensuring users remain at
the same point in their image roll unless actioned images are filtered. This
was contributed.
* Fixed Nearby map not showing new pins on map move by removing the 2000m scroll
threshold and adding an 800ms debounce for smoother pin updates when the map
is moved. Queued searches are now canceled on fragment destruction.
* Revised author information retrieval to emphasize the custom author name from
the metadata instead of the default registered username.
* Enhanced notification classification to properly identify "email" type
notifications and prompting users to check their e-mail inbox when such
notifications are clicked.
* Resolved a bug in the language chooser that incorrectly greyed-out previously
selected languages, ensuring only the current language is non-selectable during
image upload.
* Resolved pin color update issue in "Nearby" feature where the pin colour
failed to be updated after a successful image upload.

What's listed here is only a subset of all the changes. Check the full-list of
the changes in [this link](https://github.com/commons-app/apps-android-commons/compare/v5.0.2...v5.1.0).
Alternatively, checkout [this release on GitHub releases page](https://github.com/commons-app/apps-android-commons/releases/tag/v5.1.0)
for an exhaustive list of changes and the various contributors who contributed the same.

## v5.0.2

- Enhanced multi-upload functionality with user prompts to clarify that all images would share the
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Wikimedia Commons Android app
![GitHub issue custom search](https://img.shields.io/github/issues-search?label=%22good%20first%20issue%22%20issues&query=repo%3Acommons-app%2Fapps-android-commons%20is%3Aissue%20is%3Aopen%20label%3A%22good%20first%20issue%22)
[![Build status](https://github.com/commons-app/apps-android-commons/actions/workflows/android.yml/badge.svg?branch=master)](https://github.com/commons-app/apps-android-commons/actions?query=branch%3Amaster)
[![Build status](https://github.com/commons-app/apps-android-commons/actions/workflows/android.yml/badge.svg?branch=main)](https://github.com/commons-app/apps-android-commons/actions?query=branch%3Amain)
[![Preview the app](https://img.shields.io/badge/Preview-Appetize.io-orange.svg)](https://appetize.io/app/8ywtpe9f8tb8h6bey11c92vkcw)
[![codecov](https://codecov.io/gh/commons-app/apps-android-commons/branch/master/graph/badge.svg)](https://codecov.io/gh/commons-app/apps-android-commons)

Expand Down Expand Up @@ -45,7 +45,7 @@ This software is open source, licensed under the [Apache License 2.0][10].

[1]: https://play.google.com/store/apps/details?id=fr.free.nrw.commons
[2]: https://commons-app.github.io/
[3]: https://github.com/commons-app/apps-android-commons/issues
[3]: https://github.com/commons-app/apps-android-commons/issues?q=is%3Aopen+is%3Aissue+no%3Aassignee+-label%3Adebated+label%3Abug+-label%3A%22low+priority%22+-label%3Aupstream

[4]: https://github.com/commons-app/commons-app-documentation/blob/master/android/README.md#-android-documentation
[5]: https://github.com/commons-app/commons-app-documentation/blob/master/android/README.md#-user-documentation
Expand Down
Loading