Skip to content

[pull] main from wikimedia:main #342

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 1,232 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1232 commits
Select commit Hold shift + click to select a range
c5f4fbf
Quick followup: simplify ActivityLifecycleHandler changes. (#5301)
dbrant Feb 11, 2025
cc92a52
Merge branch 'main' into notifDialogs
Williamrai Feb 11, 2025
ca4df79
Merge pull request #5302 from wikimedia/notifDialogs
Williamrai Feb 11, 2025
e8a094d
WikiGames: snackbar at end of game. (#5303)
dbrant Feb 11, 2025
75ce6b1
- adds a function to test the size of the recyclerview (#5299)
Williamrai Feb 11, 2025
d2bd29b
Fix: make sure scheduling wikigame notification works correctly (#5305)
cooltey Feb 12, 2025
4d83b73
WikiGames: Update logic to reset unconditionally when new day starts.
dbrant Feb 12, 2025
34b2ce2
WikiGames: Design tweaks. (#5304)
dbrant Feb 12, 2025
c97d9bf
Merge branch 'main' into gameDayLogic
dbrant Feb 12, 2025
09f2cad
Merge pull request #5307 from wikimedia/gameDayLogic
Williamrai Feb 12, 2025
1e709f6
Bump androidx.fragment:fragment-ktx from 1.8.5 to 1.8.6
dependabot[bot] Feb 12, 2025
3c87eec
Merge branch 'main' into compose-animations
cooltey Feb 12, 2025
e717799
Merge pull request #5309 from wikimedia/dependabot/gradle/androidx.fr…
Williamrai Feb 12, 2025
7d29cfd
Bump androidx.compose:compose-bom from 2025.01.01 to 2025.02.00
dependabot[bot] Feb 12, 2025
2c619e9
[WikiGames] Analytics (#5294)
dbrant Feb 12, 2025
ed5566c
Merge branch 'main' into dependabot/gradle/androidx.compose-compose-b…
Williamrai Feb 12, 2025
a20536d
Merge pull request #5308 from wikimedia/dependabot/gradle/androidx.co…
Williamrai Feb 12, 2025
d828209
WikiGames: survey. (#5306)
dbrant Feb 12, 2025
6a92291
Bump androidx.paging:paging-runtime-ktx from 3.3.5 to 3.3.6 (#5310)
dependabot[bot] Feb 12, 2025
f7f02af
Localisation updates from https://translatewiki.net. (#5313)
translatewiki Feb 13, 2025
3be6715
Remove unused strings (#5311)
cooltey Feb 13, 2025
3ffeafa
Hygiene: split off Game bottom-sheet into its own class.
dbrant Feb 13, 2025
461eb30
Actually add itfun openArticleBottomSheet(pageSummary: PageSummary, u…
dbrant Feb 13, 2025
32de2b4
Merge pull request #5314 from wikimedia/gameBottomSheetClass
Williamrai Feb 13, 2025
8892e69
Wikigame: code optimization for the explore feed card (#5312)
cooltey Feb 13, 2025
7a90474
Use correct WikiSite for final screen interactions. (#5316)
dbrant Feb 13, 2025
8aad57f
Bump versionCode.
Williamrai Feb 13, 2025
aa65d59
Merge pull request #5317 from wikimedia/bumpVersionCode
Williamrai Feb 13, 2025
9e72cf6
Bump io.getstream:photoview from 1.0.2 to 1.0.3 (#5315)
dependabot[bot] Feb 13, 2025
eb949c8
Merge branch 'main' into compose-animations
cooltey Feb 13, 2025
09bc792
Switch to use modifier and add a previewContent
cooltey Feb 14, 2025
60f4fad
Package and naming
cooltey Feb 14, 2025
89673c9
Lint
cooltey Feb 14, 2025
ddf9185
Bump gradle from 8.8.0 to 8.8.1 (#5322)
dependabot[bot] Feb 14, 2025
f39e64c
Bump com.google.devtools.ksp in the kotlin-ksp group (#5321)
dependabot[bot] Feb 14, 2025
0247028
WikiGames: Make bottom-sheet into a standard BottomSheetDialogFragmen…
dbrant Feb 14, 2025
6789913
Merge branch 'main' into compose-animations
cooltey Feb 14, 2025
567866a
Add a parameter for repeatCount
cooltey Feb 14, 2025
bc0ac9f
Add easing parameter
cooltey Feb 14, 2025
20efa9b
Localisation updates from https://translatewiki.net.
translatewiki Feb 17, 2025
b101845
Merge pull request #5325 from wikimedia/twn
Williamrai Feb 18, 2025
698bcfc
Merge branch 'main' into compose-animations
Williamrai Feb 18, 2025
693787e
Prevent possible crash when exiting game during loading.
dbrant Feb 18, 2025
e6a9914
Merge pull request #5326 from wikimedia/gameCrash1
Williamrai Feb 18, 2025
276dbbf
Merge branch 'main' into compose-animations
Williamrai Feb 18, 2025
8f0b269
strings for about screen (#5320)
Williamrai Feb 18, 2025
b131fea
Merge branch 'main' into compose-animations
Williamrai Feb 18, 2025
c275c3f
Wikigames: remove unused and duplicated strings
cooltey Feb 18, 2025
26ef663
Remove repeat
cooltey Feb 18, 2025
9dbe812
Merge pull request #5328 from wikimedia/wikigame-strings-unused
Williamrai Feb 18, 2025
29d40b1
Merge branch 'main' into compose-animations
Williamrai Feb 18, 2025
91f3b2b
Fix race condition when sending events after initial install. (#5329)
dbrant Feb 18, 2025
560e1ea
Refine game-related analytics. (#5327)
dbrant Feb 18, 2025
83ce446
Merge branch 'main' into compose-animations
cooltey Feb 18, 2025
0db8c5c
refactors espresso base robot classes (#5323)
Williamrai Feb 19, 2025
9dae195
Merge branch 'main' into compose-animations
cooltey Feb 19, 2025
bd004bf
Add repeatCount back
cooltey Feb 19, 2025
ad5003d
Final, ultimate, definitely for real, design tweaks to the game. (#5331)
dbrant Feb 19, 2025
b9a4115
Merge branch 'main' into compose-animations
Williamrai Feb 19, 2025
66b2721
Show snackbar over BottomSheet only if allowed.
dbrant Feb 19, 2025
6f9b7fb
Merge branch 'main' into snackbarOverBottomSheet
dbrant Feb 19, 2025
96bef7d
Merge pull request #5333 from wikimedia/snackbarOverBottomSheet
Williamrai Feb 19, 2025
5502491
Merge branch 'main' into compose-animations
Williamrai Feb 19, 2025
50be69b
- updating wiki games entry card view from P.Article to P (#5332)
Williamrai Feb 19, 2025
0d01446
Bump versionCode.
Williamrai Feb 19, 2025
4d3f67d
Merge pull request #5334 from wikimedia/bumpVersionCode
Williamrai Feb 19, 2025
d9a487b
Merge branch 'main' into compose-animations
cooltey Feb 19, 2025
9a6d904
Fix: show/hide the edit button properly in the Talk Template
cooltey Feb 20, 2025
0031941
Localisation updates from https://translatewiki.net. (#5337)
translatewiki Feb 20, 2025
d8a9d85
Merge branch 'main' into fix-talk-template-edit
dbrant Feb 20, 2025
01195ba
Show game notification only if current language is supported.
dbrant Feb 20, 2025
3fa34ec
Merge branch 'main' into compose-animations
Williamrai Feb 20, 2025
ae9d2c8
Merge pull request #5338 from wikimedia/gameNotifLang
Williamrai Feb 20, 2025
b2c53de
Merge branch 'main' into compose-animations
Williamrai Feb 20, 2025
e73f28a
Merge branch 'main' into fix-talk-template-edit
Williamrai Feb 20, 2025
675a384
Merge pull request #5247 from wikimedia/compose-animations
Williamrai Feb 20, 2025
0cb6e97
Merge branch 'main' into fix-talk-template-edit
cooltey Feb 20, 2025
f208f9e
Fix potential crash when zooming images with ImageZoomHelper. (#5339)
dbrant Feb 20, 2025
dd38fac
Merge branch 'main' into fix-talk-template-edit
cooltey Feb 20, 2025
44476ce
Bump versionCode.
Williamrai Feb 20, 2025
e94fed1
Merge pull request #5340 from wikimedia/bumpVersionCode
Williamrai Feb 20, 2025
81f4554
Merge branch 'main' into fix-talk-template-edit
cooltey Feb 20, 2025
0efa029
Respect the current language when providing the local results
cooltey Feb 21, 2025
675b930
Merge pull request #5336 from wikimedia/fix-talk-template-edit
Williamrai Feb 21, 2025
45cd9cd
Merge branch 'main' into search-results-lang
Williamrai Feb 21, 2025
c7250ce
Merge pull request #5342 from wikimedia/search-results-lang
Williamrai Feb 21, 2025
71df980
Wikigames: Hide next question button after clicking on it
cooltey Feb 21, 2025
70f6b09
Disable long click when the action mode is on
cooltey Feb 22, 2025
bfba0ad
Localisation updates from https://translatewiki.net.
translatewiki Feb 24, 2025
4678455
- string fix
Williamrai Feb 24, 2025
04b1cb2
Merge pull request #5347 from wikimedia/twn
Williamrai Feb 24, 2025
f8c060a
Merge branch 'main' into minor-updates
Williamrai Feb 24, 2025
aadeb02
Merge branch 'main' into fix-minor-next-q-visibility
Williamrai Feb 24, 2025
2c55d82
Merge pull request #5345 from wikimedia/fix-minor-next-q-visibility
Williamrai Feb 24, 2025
eb2f8c1
Merge branch 'main' into minor-updates
Williamrai Feb 24, 2025
cf1ca6f
Bump com.android.tools:desugar_jdk_libs from 2.1.4 to 2.1.5
dependabot[bot] Feb 25, 2025
59dca6e
Merge pull request #5349 from wikimedia/dependabot/gradle/com.android…
Williamrai Feb 26, 2025
7bc2ccb
Fix wiki game uninitialized currentState (#5348)
Williamrai Feb 26, 2025
1a185a3
Follow up: code format update and remove unused methods
cooltey Feb 26, 2025
ca0ad83
Merge pull request #5351 from wikimedia/minor-follow-up
Williamrai Feb 26, 2025
a87bb35
Dismiss the bottomsheet onPaused to avoid possible crash (#5352)
cooltey Feb 26, 2025
0cdab87
Bump versionCode. (#5353)
cooltey Feb 26, 2025
92b2d33
Merge branch 'main' into minor-updates
cooltey Feb 27, 2025
857310e
Localisation updates from https://translatewiki.net.
translatewiki Feb 27, 2025
eddbf09
Merge pull request #5355 from wikimedia/twn
Williamrai Feb 27, 2025
bd6e0e4
Merge branch 'main' into minor-updates
Williamrai Feb 27, 2025
2eee4a2
Bump androidx.constraintlayout:constraintlayout from 2.2.0 to 2.2.1
dependabot[bot] Feb 27, 2025
e58a6fc
Merge pull request #5357 from wikimedia/dependabot/gradle/androidx.co…
Williamrai Feb 27, 2025
10b051b
adds voyagerfan as a code owner (#5359)
voyagerfan Feb 28, 2025
a4c4832
Bump org.maplibre.gl:android-sdk from 11.8.1 to 11.8.2 (#5363)
dependabot[bot] Feb 28, 2025
2f4219c
Bump com.google.devtools.ksp in the kotlin-ksp group (#5362)
dependabot[bot] Feb 28, 2025
aac1157
Bump androidx.activity:activity-compose from 1.10.0 to 1.10.1 (#5358)
dependabot[bot] Feb 28, 2025
07160bf
Bump gradle from 8.8.1 to 8.8.2 (#5356)
dependabot[bot] Feb 28, 2025
c285a99
Merge branch 'main' into minor-updates
Williamrai Feb 28, 2025
f8331df
Merge pull request #5346 from wikimedia/minor-updates
Williamrai Feb 28, 2025
389e221
Localisation updates from https://translatewiki.net. (#5365)
translatewiki Mar 3, 2025
29c6b87
Fix: sned the proper WikiSite for the snackbar error messages when po…
cooltey Mar 3, 2025
5a3c24c
Fix: talk page title does not display properly when topic is missing …
cooltey Mar 3, 2025
375c2d1
Bump ncipollo/release-action from 1.15.0 to 1.16.0 (#5368)
dependabot[bot] Mar 3, 2025
476238e
Wikigames: add a language check for the wikigames entryd dialog in (#…
cooltey Mar 3, 2025
fe0bb39
Follow-up 2: Keep Game dialog language logic a bit more self-containe…
dbrant Mar 3, 2025
f1d08bc
Follow-up 1: loading state for Game ViewModel. (#5367)
dbrant Mar 3, 2025
12e79b7
Possibly (?) resolve obscure lateinit UninitializedProperty crashes. …
dbrant Mar 3, 2025
ffe1e14
Wikigames: long-press to see the full text of the current card (#5364)
cooltey Mar 3, 2025
e8b80d6
Espresso fixes (#5344)
Williamrai Mar 3, 2025
6c8e823
[espresso] More menu (#5343)
Williamrai Mar 3, 2025
00ae921
Fix: do not show CSS styles file page description (#5371)
cooltey Mar 4, 2025
61d0f3a
Fix: remove HTML tags from Category screen title (#5372)
cooltey Mar 4, 2025
7730f39
Bump versionCode. (#5374)
cooltey Mar 4, 2025
607f2c4
- compose base theme fix (#5376)
Williamrai Mar 4, 2025
47f4ed6
Bump org.jsoup:jsoup from 1.18.3 to 1.19.1 (#5373)
dependabot[bot] Mar 4, 2025
21dcf00
Disable Delete button when only Default reading list selected.
dbrant Mar 5, 2025
7f9766e
Merge pull request #5378 from wikimedia/defaultListLogic
Williamrai Mar 5, 2025
215b405
Localisation updates from https://translatewiki.net. (#5382)
translatewiki Mar 6, 2025
83cbec0
Bump gradle from 8.8.2 to 8.9.0 (#5379)
dependabot[bot] Mar 6, 2025
fc3862a
Update EditAttemptStep event to include wiki parameter. (#5383)
dbrant Mar 6, 2025
69d3a68
Fix: do not show empty definitions in the WiktionaryDialog
cooltey Mar 7, 2025
01f3f0f
Merge pull request #5386 from wikimedia/wiktionary-empty-fix
Williamrai Mar 7, 2025
07b30e6
Compose About Activity conversion (#5246)
Williamrai Mar 7, 2025
37b2612
Save additional donation info locally. (#5389)
dbrant Mar 7, 2025
6dff2f2
Localisation updates from https://translatewiki.net. (#5390)
translatewiki Mar 10, 2025
016f59e
Compose WikiErrorView (#5384)
Williamrai Mar 12, 2025
c0a67da
Periodic update of languages and static data. (#5393)
dbrant Mar 12, 2025
e1ccf8c
Bump androidx.compose:compose-bom from 2025.02.00 to 2025.03.00 (#5394)
dependabot[bot] Mar 12, 2025
4a0cb84
For Compose HtmlText, use our custom html TagHandler. (#5397)
dbrant Mar 12, 2025
b12dd64
Fix previews in some Compose components. (#5395)
dbrant Mar 12, 2025
9c5198a
Add linkInteractionListener to the HtmlText (#5400)
cooltey Mar 12, 2025
bce9d6b
Make Compose Snackbar support Html, too. (#5396)
dbrant Mar 13, 2025
593e27b
Prepare HistoryEntry and PageImage tables for updates. (#5391)
dbrant Mar 13, 2025
04f4645
Localisation updates from https://translatewiki.net. (#5402)
translatewiki Mar 13, 2025
8e99b92
History Screen filter logic update (#5399)
Williamrai Mar 13, 2025
44fda1b
Refactor and simplify Watchlist messages. (#5388)
dbrant Mar 13, 2025
80f97c7
- adds accessibility text (#5403)
Williamrai Mar 14, 2025
b06016f
Localisation updates from https://translatewiki.net. (#5406)
translatewiki Mar 17, 2025
c226c55
Correctly display size of initial revision of an article.
dbrant Mar 17, 2025
16421e3
Merge pull request #5407 from wikimedia/firstRevSize
Williamrai Mar 17, 2025
5fe6561
Fix: remove timeSpentSec variable in the toHistoryEntry method (#5410)
cooltey Mar 17, 2025
2b20404
Locally track rabbit holes for YiR (#5404)
cooltey Mar 17, 2025
1e7b108
Temp accounts: explicitly set expiry to 90 days. (#5408)
dbrant Mar 17, 2025
541c520
Bump versionCode. (#5411)
dbrant Mar 17, 2025
11d6d9f
Bump org.maplibre.gl:android-sdk from 11.8.2 to 11.8.3
dependabot[bot] Mar 18, 2025
e4fb62b
Merge pull request #5412 from wikimedia/dependabot/gradle/org.maplibr…
Williamrai Mar 18, 2025
8bc520e
Compose top bar with search (#5380)
Williamrai Mar 18, 2025
df05d3a
Follow-up: Compose topbar with search
cooltey Mar 18, 2025
a764a84
Merge pull request #5413 from wikimedia/follow-up-search-bar-compose
Williamrai Mar 19, 2025
d8abb38
Show Wikigames entry dialog on Explore feed after the second visit
cooltey Mar 19, 2025
59ed207
Rename
cooltey Mar 19, 2025
5fbc5c0
Merge pull request #5415 from wikimedia/wikigame-entry-3rd
Williamrai Mar 20, 2025
5e0806e
Fix: license links do not match the libraries
cooltey Mar 20, 2025
8d09139
Merge pull request #5417 from wikimedia/fix-license-links
Williamrai Mar 21, 2025
a6328a7
Bump the kotlin-ksp group with 6 updates (#5416)
dependabot[bot] Mar 21, 2025
a4739ac
Reduce ANRs: make all HistoryEntry DAO functions suspend. (#5419)
dbrant Mar 21, 2025
4c3bdbc
Bump com.google.firebase:firebase-messaging-ktx from 24.1.0 to 24.1.1…
dependabot[bot] Mar 21, 2025
6db9ace
Bump org.maplibre.gl:android-sdk from 11.8.3 to 11.8.4 (#5422)
dependabot[bot] Mar 21, 2025
4c11f60
Improve performance of filtering History entries.
dbrant Mar 21, 2025
5e2a84b
Merge branch 'main' into historyListFilter
dbrant Mar 21, 2025
0ff591a
Further refine.
dbrant Mar 21, 2025
e422426
Simplify.
dbrant Mar 21, 2025
ca0d70a
Merge pull request #5425 from wikimedia/historyListFilter
Williamrai Mar 21, 2025
8c77579
Localisation updates from https://translatewiki.net.
translatewiki Mar 24, 2025
ffd4777
Merge pull request #5426 from wikimedia/twn
Williamrai Mar 24, 2025
d245712
Introduce indexes to db tables, greatly improving performance. (#5424)
dbrant Mar 24, 2025
b9ebe67
Correctly set Temp Account expiry day upon receipt of POST response. …
dbrant Mar 24, 2025
c64bd3b
Update migration query to also insert missing PageImage rows. (#5430)
dbrant Mar 25, 2025
2a9b4ee
Bump versionCode. (#5431)
dbrant Mar 25, 2025
c540a4f
Bump gradle from 8.9.0 to 8.9.1 (#5429)
dependabot[bot] Mar 25, 2025
5dce9af
Added download and share options to file page (#5401)
expely Mar 25, 2025
3f1a6ac
Final, ultimate fixes for db migration. (#5432)
dbrant Mar 26, 2025
d8c9b86
Bump versionCode. (#5433)
dbrant Mar 26, 2025
a1dd231
Bump androidx.compose:compose-bom from 2025.03.00 to 2025.03.01 (#5435)
dependabot[bot] Mar 26, 2025
d718dfc
Bump com.google.devtools.ksp in the kotlin-ksp group (#5434)
dependabot[bot] Mar 26, 2025
bcb44f0
Localisation updates from https://translatewiki.net. (#5438)
translatewiki Mar 27, 2025
5323b5e
- adds compose test rule and updates the about activity test function…
Williamrai Mar 27, 2025
8f493af
Bump org.maplibre.gl:android-sdk from 11.8.4 to 11.8.5 (#5439)
dependabot[bot] Mar 28, 2025
916c67b
Make View.setLayoutDirection into an extension function. (#5441)
dbrant Mar 28, 2025
513f5cb
Refactor ReadingListFragment to use ViewModel. (#5214)
terofeev Mar 28, 2025
cc97d41
Update the default visibility of recent search container to "gone" (#…
cooltey Mar 31, 2025
d716e08
Follow-up of ReadingListFramgent to use viewModel (#5443)
cooltey Mar 31, 2025
86689f0
Localisation updates from https://translatewiki.net. (#5445)
translatewiki Mar 31, 2025
26b63a1
Espresso reading list test (#5350)
Williamrai Mar 31, 2025
15d851d
Bump org.jetbrains.kotlinx:kotlinx-serialization-json (#5449)
dependabot[bot] Apr 1, 2025
275f0be
Hygiene: remove unused variables and update code format (#5452)
cooltey Apr 2, 2025
6a95c64
WikiGames: Make image attribution more easily accessible (#5451)
cooltey Apr 2, 2025
11fde58
Localisation updates from https://translatewiki.net. (#5453)
translatewiki Apr 3, 2025
2786e3b
Pass login UI messages through parser. (#5454)
dbrant Apr 3, 2025
36d317b
- adds compose SearchEmptyView with preview (#5460)
Williamrai Apr 4, 2025
4089392
Convert WikiCardView to use Compose (#5456)
cooltey Apr 4, 2025
fb708c2
Enable EmailAuth support. (#5457)
dbrant Apr 4, 2025
c24b746
Localisation updates from https://translatewiki.net. (#5463)
translatewiki Apr 7, 2025
4bf8a47
[Compose] Make the search field to single line (#5462)
cooltey Apr 7, 2025
d4144a3
Bump kotlinCoroutinesVersion from 1.10.1 to 1.10.2 (#5466)
dependabot[bot] Apr 9, 2025
f0769c2
Bump androidx.compose:compose-bom from 2025.03.01 to 2025.04.00 (#5469)
dependabot[bot] Apr 10, 2025
da48d63
Localisation updates from https://translatewiki.net. (#5471)
translatewiki Apr 10, 2025
1adbf7a
Bump org.maplibre.gl:android-sdk from 11.8.5 to 11.8.6 (#5472)
dependabot[bot] Apr 11, 2025
be93cee
Localisation updates from https://translatewiki.net. (#5474)
translatewiki Apr 14, 2025
4c325e6
Bump androidx.core:core-ktx from 1.15.0 to 1.16.0 (#5470)
dependabot[bot] Apr 14, 2025
ce0c7b0
Bump roomVersion from 2.6.1 to 2.7.0 (#5468)
dependabot[bot] Apr 14, 2025
415d5fd
[Compose] Convert WiktionaryDialog to use Compose (#5377)
cooltey Apr 14, 2025
a7e873a
When clearing all History, also clear PageImage table. (#5464)
dbrant Apr 14, 2025
7f05804
Compose language list design (#5375)
Williamrai Apr 14, 2025
bf01319
Introduce Context extensions for getting string resources. (#5442)
dbrant Apr 14, 2025
81ffd04
Bump versionCode. (#5475)
Williamrai Apr 14, 2025
2eff4b6
Remove outdated analytics code (#5459)
Williamrai Apr 16, 2025
38f13f0
Add preview for AddLanguagesListScreen. (#5476)
dbrant Apr 16, 2025
1e9d43b
Expand preview of Wiktionary dialog. (#5477)
dbrant Apr 16, 2025
eab6adf
Localisation updates from https://translatewiki.net. (#5480)
translatewiki Apr 17, 2025
9957214
Compose: simplify WikiErrorView and context handling. (#5478)
dbrant Apr 17, 2025
39ab06b
Localisation updates from https://translatewiki.net. (#5483)
translatewiki Apr 18, 2025
718aa2b
Correctly show/hide wikitext toolbar based on IME state. (#5482)
dbrant Apr 18, 2025
4ef4642
Localisation updates from https://translatewiki.net. (#5485)
translatewiki Apr 21, 2025
7ff90fa
- increases edit requirement for en.wikipedia to 50 to show article …
Williamrai Apr 21, 2025
e967f25
Remove unnecessary user-agent logic.
dbrant Apr 21, 2025
f5a881b
Bump versionCode. (#5486)
Williamrai Apr 21, 2025
d6c5c10
Bump gradle from 8.9.1 to 8.9.2 (#5487)
dependabot[bot] Apr 23, 2025
240955c
Fix/improve logic for checking Watched status of Talk page. (#5488)
dbrant Apr 23, 2025
d81c537
Convert MessageCardView to use Compose (#5458)
cooltey Apr 23, 2025
3d2b441
Bump androidx.compose:compose-bom from 2025.04.00 to 2025.04.01 (#5492)
dependabot[bot] Apr 23, 2025
bb25c56
Bump roomVersion from 2.7.0 to 2.7.1 (#5491)
dependabot[bot] Apr 23, 2025
13880b6
Bump androidx.work:work-runtime-ktx from 2.10.0 to 2.10.1 (#5490)
dependabot[bot] Apr 23, 2025
21f45d4
Compose langslink Screen (#5387)
Williamrai Apr 23, 2025
e66396b
Correctly render BC dates in OnThisDay. (#5495)
dbrant Apr 24, 2025
6fffe68
Hygiene: remove unused code and simplify abstract class (#5493)
cooltey Apr 24, 2025
5874eae
Localisation updates from https://translatewiki.net. (#5494)
translatewiki Apr 24, 2025
3754431
Prevent crash when long-pressing to open from Places Search. (#5500)
dbrant Apr 25, 2025
12c3c9a
Fix potential crash(es) due to coroutine without exception handler. (…
dbrant Apr 25, 2025
b60f417
Refine and consolidate pageview logic. (#5498)
dbrant Apr 25, 2025
02d556a
Localisation updates from https://translatewiki.net. (#5504)
translatewiki Apr 28, 2025
c5273a6
Rename string item and move it to a proper location (#5502)
cooltey Apr 28, 2025
63aa4e9
Show file name if no image description on the featured image (#5503)
cooltey Apr 28, 2025
1d228e9
Bump org.jsoup:jsoup from 1.19.1 to 1.20.1 (#5508)
dependabot[bot] Apr 29, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

# For more information: https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

* @cooltey @dbrant @sharvaniharan
* @cooltey @dbrant @Williamrai @voyagerfan
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
registries: "*"
labels: [ "dependencies" ]
groups:
kotlin-ksp:
patterns:
- "org.jetbrains.kotlin:*"
- "org.jetbrains.kotlin.jvm"
- "com.google.devtools.ksp"
open-pull-requests-limit: 20
registries:
maven-google:
type: "maven-repository"
url: "https://maven.google.com"
replaces-base: true
8 changes: 8 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### What does this do?


### Why is this needed?


**Phabricator:**
https://phabricator.wikimedia.org/T...
10 changes: 5 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: ./gradlew clean checkstyle ktlint assembleAlphaRelease lintAlphaRelease testAlphaRelease
- name: List
run: ls -alR ./app/build/outputs/apk/
- uses: r0adkll/sign-android-release@v1
- uses: kevin-david/zipalign-sign-android-release@v2
name: Sign APK
id: build_signed
with:
Expand All @@ -32,13 +32,13 @@ jobs:
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
# override default build-tools version (29.0.3) -- optional
BUILD_TOOLS_VERSION: "34.0.0"
# override default build-tools (optional)
BUILD_TOOLS_VERSION: "35.0.0"
- name: Create hash
run: git rev-parse HEAD > app/build/outputs/apk/alpha/release/rev-hash.txt
- name: Rename APK to universal
run: mv app/build/outputs/apk/alpha/release/app-alpha-release-signed.apk app/build/outputs/apk/alpha/release/app-alpha-universal-release.apk
- uses: dev-drprasad/delete-tag-and-release@v0.2.1
- uses: dev-drprasad/delete-tag-and-release@v1.1
name: Delete latest alpha tag and release
with:
tag_name: latest
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Sleep for 30 seconds, to allow the tag to be deleted
run: sleep 30s
shell: bash
- uses: ncipollo/release-action@v1.13.0
- uses: ncipollo/release-action@v1.16.0
name: Create new tag and release and upload artifacts
with:
name: latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/android_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: ./gradlew clean assembleAlphaRelease
- name: List
run: ls -alR ./app/build/outputs/apk/
- uses: r0adkll/sign-android-release@v1
- uses: kevin-david/zipalign-sign-android-release@v2
name: Sign APK
id: build_signed
with:
Expand All @@ -31,8 +31,8 @@ jobs:
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
# override default build-tools version (29.0.3) -- optional
BUILD_TOOLS_VERSION: "34.0.0"
# override default build-tools version (optional)
BUILD_TOOLS_VERSION: "35.0.0"
- uses: actions/upload-artifact@v4
name: Upload APK artifact
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/android_phab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
-d transactions[0][type]=comment \
-d transactions[0][value]="${message}" \
-d objectIdentifier=${line}
sleep 10
done
2 changes: 1 addition & 1 deletion .github/workflows/android_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- uses: gradle/actions/wrapper-validation@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ scripts/backup.ab
# miscellaneous
all-apks.sh
device*.png
*.salive
*keystore*

# Log Files
*.log
5 changes: 5 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# See: https://git-scm.com/docs/git-shortlog#_mapping_authors
#
Brooke Vibber <[email protected]>
Brooke Vibber <[email protected]> <[email protected]>
Brooke Vibber <[email protected]> <[email protected]>
216 changes: 113 additions & 103 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
id 'kotlin-android'
id 'kotlin-parcelize'
id 'kotlinx-serialization'
alias(libs.plugins.compose.compiler)
}

// Copy the signing.properties.sample file to ~/.sign/signing.properties and adjust the values.
Expand All @@ -20,7 +21,7 @@ static def computeVersionName(versionCode, label) {
final JavaVersion JAVA_VERSION = JavaVersion.VERSION_17

android {
compileSdk 34
compileSdk 35

compileOptions {
coreLibraryDesugaringEnabled true
Expand All @@ -36,8 +37,8 @@ android {
defaultConfig {
applicationId 'org.wikipedia'
minSdk 21
targetSdk 34
versionCode 50479
targetSdk 35
versionCode 50529
testApplicationId 'org.wikipedia.test'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
Expand All @@ -63,6 +64,7 @@ android {
buildFeatures {
viewBinding true
buildConfig true
compose true
}

androidResources {
Expand All @@ -71,11 +73,10 @@ android {

sourceSets {

prod { java.srcDirs += 'src/extra/java' }
beta { java.srcDirs += 'src/extra/java' }
alpha { java.srcDirs += 'src/extra/java' }
dev { java.srcDirs += 'src/extra/java' }
custom { java.srcDirs += 'src/extra/java' }
[ prod, beta, alpha, dev, custom ].forEach {
it.java.srcDirs += 'src/extra/java'
it.res.srcDirs += 'src/extra/res'
}

androidTest {
assets.srcDirs += files("$projectDir/schemas".toString())
Expand Down Expand Up @@ -172,105 +173,114 @@ dependencies {
// use http://gradleplease.appspot.com/ or http://search.maven.org/.
// Debug with ./gradlew -q app:dependencies --configuration compile

String okHttpVersion = '4.12.0'
String retrofitVersion = '2.9.0'
String glideVersion = '4.16.0'
String mockitoVersion = '5.2.0'
String leakCanaryVersion = '2.13'
String kotlinCoroutinesVersion = '1.7.3'
String firebaseMessagingVersion = '23.4.1'
String mlKitVersion = '17.0.5'
String roomVersion = "2.6.1"
String espressoVersion = '3.5.1'
String serialization_version = '1.6.2'
String metricsVersion = '2.4'

coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version"

implementation "com.google.android.material:material:1.11.0"
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.browser:browser:1.7.0"
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation "androidx.fragment:fragment-ktx:1.6.2"
implementation "androidx.paging:paging-runtime-ktx:3.2.1"
implementation "androidx.palette:palette-ktx:1.0.0"
implementation "androidx.preference:preference-ktx:1.2.1"
implementation "androidx.recyclerview:recyclerview:1.3.2"
implementation "androidx.viewpager2:viewpager2:1.0.0"
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation 'com.android.installreferrer:installreferrer:2.2'
implementation 'androidx.drawerlayout:drawerlayout:1.2.0'
implementation 'androidx.work:work-runtime-ktx:2.9.0'
implementation "org.wikimedia.metrics:metrics-platform:$metricsVersion"

implementation ('com.github.michael-rapp:chrome-like-tab-switcher:0.4.6') {
exclude group: 'org.jetbrains'
}

implementation "com.github.bumptech.glide:glide:$glideVersion"
implementation "com.github.bumptech.glide:okhttp3-integration:$glideVersion"
ksp "com.github.bumptech.glide:ksp:$glideVersion"

implementation "com.squareup.okhttp3:okhttp-tls:$okHttpVersion"
implementation "com.squareup.okhttp3:logging-interceptor:$okHttpVersion"
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
implementation "com.squareup.retrofit2:adapter-rxjava3:$retrofitVersion"
implementation "io.reactivex.rxjava3:rxjava:3.1.8"
implementation "io.reactivex.rxjava3:rxandroid:3.0.2"
implementation 'org.apache.commons:commons-lang3:3.14.0'
implementation 'org.jsoup:jsoup:1.17.2'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'com.github.skydoves:balloon:1.6.4'
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:1.0.0"

implementation 'org.maplibre.gl:android-sdk:10.2.0'
implementation 'org.maplibre.gl:android-plugin-annotation-v9:2.0.2'

implementation("androidx.room:room-runtime:$roomVersion")
annotationProcessor "androidx.room:room-compiler:$roomVersion"
ksp "androidx.room:room-compiler:$roomVersion"
implementation("androidx.room:room-ktx:$roomVersion")
implementation "androidx.room:room-rxjava3:$roomVersion"
coreLibraryDesugaring libs.desugar.jdk.libs

implementation libs.kotlin.stdlib.jdk8
implementation libs.kotlinx.coroutines.core
implementation libs.kotlinx.coroutines.android
implementation libs.kotlinx.serialization.json

implementation libs.material
implementation libs.appcompat
implementation libs.core.ktx
implementation libs.browser
implementation libs.constraintlayout
implementation libs.fragment.ktx
implementation libs.paging.runtime.ktx
implementation libs.palette.ktx
implementation libs.preference.ktx
implementation libs.recyclerview
implementation libs.viewpager2
implementation libs.flexbox
implementation libs.drawerlayout
implementation libs.swiperefreshlayout
implementation libs.work.runtime.ktx
implementation libs.metrics.platform

implementation libs.glide
implementation libs.okhttp3.integration
ksp libs.glide.ksp

implementation libs.okhttp.tls
implementation libs.okhttp3.logging.interceptor
implementation libs.retrofit
implementation libs.commons.lang3
implementation libs.jsoup
implementation libs.photoview
implementation libs.balloon
implementation libs.retrofit2.kotlinx.serialization.converter

implementation libs.android.sdk
implementation libs.android.plugin.annotation.v9

implementation libs.androidx.room.runtime
annotationProcessor libs.androidx.room.compiler
ksp libs.androidx.room.compiler
implementation libs.androidx.room.ktx

// For language detection during editing
prodImplementation "com.google.mlkit:language-id:$mlKitVersion"
betaImplementation "com.google.mlkit:language-id:$mlKitVersion"
alphaImplementation "com.google.mlkit:language-id:$mlKitVersion"
devImplementation "com.google.mlkit:language-id:$mlKitVersion"
customImplementation "com.google.mlkit:language-id:$mlKitVersion"
prodImplementation libs.com.google.mlkit.language.id
betaImplementation libs.com.google.mlkit.language.id
alphaImplementation libs.com.google.mlkit.language.id
devImplementation libs.com.google.mlkit.language.id
customImplementation libs.com.google.mlkit.language.id

// For receiving push notifications for logged-in users.
prodImplementation "com.google.firebase:firebase-messaging-ktx:$firebaseMessagingVersion"
betaImplementation "com.google.firebase:firebase-messaging-ktx:$firebaseMessagingVersion"
alphaImplementation "com.google.firebase:firebase-messaging-ktx:$firebaseMessagingVersion"
devImplementation "com.google.firebase:firebase-messaging-ktx:$firebaseMessagingVersion"
customImplementation "com.google.firebase:firebase-messaging-ktx:$firebaseMessagingVersion"

debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
implementation "com.squareup.leakcanary:plumber-android:$leakCanaryVersion"

testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-inline:$mockitoVersion"
testImplementation 'org.robolectric:robolectric:4.11.1'
testImplementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
testImplementation "com.squareup.okhttp3:mockwebserver:$okHttpVersion"
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation "androidx.room:room-testing:$roomVersion"

androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.3.0'
androidTestImplementation "androidx.room:room-testing:$roomVersion"
androidTestUtil 'androidx.test:orchestrator:1.4.2'
prodImplementation libs.com.google.firebase.firebase.messaging.ktx3
betaImplementation libs.com.google.firebase.firebase.messaging.ktx3
alphaImplementation libs.com.google.firebase.firebase.messaging.ktx3
devImplementation libs.com.google.firebase.firebase.messaging.ktx3
customImplementation libs.com.google.firebase.firebase.messaging.ktx3

// For integrating with Google Pay for donations
prodImplementation libs.com.google.android.gms.play.services.wallet2
betaImplementation libs.com.google.android.gms.play.services.wallet2
alphaImplementation libs.com.google.android.gms.play.services.wallet2
devImplementation libs.com.google.android.gms.play.services.wallet2
customImplementation libs.com.google.android.gms.play.services.wallet2

// For InstallReferrer Library
prodImplementation libs.installreferrer
betaImplementation libs.installreferrer
alphaImplementation libs.installreferrer
devImplementation libs.installreferrer
customImplementation libs.installreferrer

debugImplementation libs.leakcanary.android
implementation libs.plumber.android

testImplementation libs.junit
testImplementation libs.mockito.inline
testImplementation libs.robolectric
testImplementation libs.okhttp3.okhttp
testImplementation libs.mockwebserver
testImplementation libs.hamcrest
testImplementation libs.room.testing

androidTestImplementation libs.espresso.core
androidTestImplementation libs.espresso.contrib
androidTestImplementation libs.androidx.espresso.intents
androidTestImplementation libs.espresso.web
androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.uiautomator
androidTestImplementation libs.room.testing
androidTestUtil libs.androidx.orchestrator

// Compose Library
def composeBom = platform(libs.composeBom)
implementation(composeBom)
implementation(libs.compose.material3)
implementation(libs.compose.ui)
implementation(libs.compose.ui.tooling.preview)
debugImplementation(libs.compose.ui.tooling)
implementation(libs.compose.activity)
implementation(libs.compose.view.model)

// Compose Test Library
androidTestImplementation(libs.compose.test)
androidTestImplementation(composeBom)
debugImplementation(libs.compose.debug.test)
debugImplementation(composeBom)
}

private setSigningConfigKey(config, Properties props) {
Expand Down
1 change: 1 addition & 0 deletions app/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
<issue id="MissingQuantity" severity="warning" />
<issue id="ImpliedQuantity" severity="warning" />
<issue id="AppLinkUrlError" severity="warning" />
<issue id="UnsafeOptInUsageError" severity="ignore" />
</lint>
Loading