Skip to content
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

[pull] main from wikimedia:main #342

Open
wants to merge 709 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
709 commits
Select commit Hold shift + click to select a range
5cadbec
Bump com.google.firebase:firebase-messaging-ktx from 24.0.1 to 24.0.2…
dependabot[bot] Oct 2, 2024
a5f43be
Bump com.android.tools.build:gradle from 8.6.1 to 8.7.0
dependabot[bot] Oct 2, 2024
fb94703
Remove unused sharable readinglist survey strings (#5002)
cooltey Oct 2, 2024
f2a1a15
Update wrapper version.
dbrant Oct 2, 2024
2b3de36
Merge branch 'dependabot/gradle/com.android.tools.build-gradle-8.7.0'…
dbrant Oct 2, 2024
ac973c0
Merge branch 'main' into dependabot/gradle/com.android.tools.build-gr…
dbrant Oct 2, 2024
9bc1a22
Localisation updates from https://translatewiki.net.
translatewiki Oct 3, 2024
784fbe8
Merge pull request #5006 from wikimedia/twn
Williamrai Oct 3, 2024
27b8003
- adds WilliamRai as code owner (#5009)
Williamrai Oct 4, 2024
3a50ea2
Bump org.maplibre.gl:android-sdk from 11.5.0 to 11.5.1 (#5007)
dependabot[bot] Oct 7, 2024
7f50194
Localisation updates from https://translatewiki.net. (#5010)
translatewiki Oct 7, 2024
1b0a7d5
Use general, not explicit view class.
dbrant Oct 7, 2024
5e4e04b
Merge branch 'dependabot/gradle/com.android.tools.build-gradle-8.7.0'…
dbrant Oct 7, 2024
b8b2142
Undo test.
dbrant Oct 7, 2024
d289064
Bump versionCode. (#5012)
dbrant Oct 7, 2024
c8fc6bc
Navigation Strings for contribution dashboard (#5011)
Williamrai Oct 7, 2024
030d70d
Fix crash when leaving NewsFragment. (#5015)
dbrant Oct 8, 2024
1f32595
Adds Missing strings for tab rename (#5016)
Williamrai Oct 8, 2024
71b533e
Add Places app shortcut to the app (#5008)
cooltey Oct 8, 2024
57da474
Add is_temp field to legacy analytics, and bump schema versions. (#4956)
dbrant Oct 8, 2024
9ce7dec
Migrate top-level gradle files to KTS, and update syntax. (#5018)
dbrant Oct 8, 2024
9fac4e6
Bump versionCode. (#5020)
dbrant Oct 8, 2024
5acd3d1
- remove "." from tools:text on view_reference_pager_item.xml file to…
Williamrai Oct 9, 2024
fcc77c6
Merge branch 'main' into dependabot/gradle/com.android.tools.build-gr…
Williamrai Oct 9, 2024
047b8c5
Merge pull request #4999 from wikimedia/dependabot/gradle/com.android…
Williamrai Oct 9, 2024
463b849
Switch to updated (and maintained) PhotoView library. (#5022)
dbrant Oct 9, 2024
1fb6936
Send user_is_temp parameter in EditAttemptStep. (#5024)
dbrant Oct 9, 2024
c1e461b
Bump com.github.skydoves:balloon from 1.6.7 to 1.6.8 (#5023)
dependabot[bot] Oct 9, 2024
e875a73
Localisation updates from https://translatewiki.net. (#5025)
translatewiki Oct 10, 2024
9bef3e5
Use CoroutineWorker in ReadingListSyncAdapter (#5003)
cooltey Oct 10, 2024
4504286
Follow-up to Csrf worker updates. (#5026)
dbrant Oct 10, 2024
51da43a
Remove dependency on WikimediaEditorTasks extension. (#5017)
dbrant Oct 10, 2024
705bd51
Ignore UnsafeOptInUsageError warning (#5029)
cooltey Oct 10, 2024
d1cd379
Bump the kotlin-ksp group with 5 updates (#5027)
dependabot[bot] Oct 11, 2024
7cd55f2
Remove RxJava from the app (#5030)
cooltey Oct 11, 2024
1961fcc
Add strings for the Contributions dashboard (#5014)
cooltey Oct 11, 2024
e311c48
Add optional `formattedId` dynamic parameter to campaign URLs. (#5031)
dbrant Oct 11, 2024
e23fa88
Bump com.google.devtools.ksp in the kotlin-ksp group (#5032)
dependabot[bot] Oct 11, 2024
3ac8a76
Localisation updates from https://translatewiki.net.
translatewiki Oct 14, 2024
8a4665b
Fix string.
dbrant Oct 15, 2024
262b6da
Merge pull request #5034 from wikimedia/twn
Williamrai Oct 15, 2024
55f6631
Temporary accounts. (#4914)
dbrant Oct 15, 2024
52d9272
Bump gradle from 8.7.0 to 8.7.1 (#5036)
dependabot[bot] Oct 15, 2024
03ee3c0
Bump androidx.test:orchestrator from 1.5.0 to 1.5.1 (#5038)
dependabot[bot] Oct 16, 2024
d6b3ce3
API underpinnings for integrating with Growth Impact module. (#5037)
dbrant Oct 16, 2024
868310a
Bump kotlinCoroutinesVersion from 1.8.1 to 1.9.0 (#4957)
dependabot[bot] Oct 16, 2024
542765b
Localisation updates from https://translatewiki.net.
translatewiki Oct 17, 2024
77c922a
- fixes string
Williamrai Oct 17, 2024
86d00dd
Merge pull request #5041 from wikimedia/twn
Williamrai Oct 17, 2024
3201f1f
Bump org.maplibre.gl:android-plugin-annotation-v9 from 3.0.1 to 3.0.2…
dependabot[bot] Oct 18, 2024
735a213
Load DescriptionEditViewModel in activity (#5033)
Isira-Seneviratne Oct 18, 2024
175db9f
Revert "Fix: a possible crash about lateinit WikipediaApp instance ha…
dbrant Oct 18, 2024
f9fd94c
Localisation updates from https://translatewiki.net. (#5049)
translatewiki Oct 21, 2024
9fb51b2
Bump versionCode. (#5051)
cooltey Oct 21, 2024
e706015
Send a LoggedOutEvent to the FlowEventBus for refreshing screen purpo…
cooltey Oct 22, 2024
08a6615
Bump com.github.skydoves:balloon from 1.6.8 to 1.6.9 (#5050)
dependabot[bot] Oct 22, 2024
ddf3c07
Use SavedStateHandle in view models (#4875)
Isira-Seneviratne Oct 22, 2024
60ba90f
Bump com.google.firebase:firebase-messaging-ktx from 24.0.2 to 24.0.3…
dependabot[bot] Oct 22, 2024
a5c49fa
Bump org.maplibre.gl:android-sdk from 11.5.1 to 11.5.2 (#5057)
dependabot[bot] Oct 23, 2024
6f3c669
Localisation updates from https://translatewiki.net. (#5059)
translatewiki Oct 24, 2024
5d36cc4
Add strings for Contributions Dashboard (#5058)
cooltey Oct 24, 2024
db6e552
Bump com.google.devtools.ksp in the kotlin-ksp group (#5061)
dependabot[bot] Oct 24, 2024
89412c1
Fix display of multiline usernames in TalkTopics. (#5060)
dbrant Oct 24, 2024
0e36a2e
Localisation updates from https://translatewiki.net. (#5064)
translatewiki Oct 28, 2024
fe25811
Apply explicit dark mode to pages loaded via Mobile Web. (#5065)
dbrant Oct 28, 2024
1ff125b
Update strings for Contributions Dashboard
cooltey Oct 28, 2024
7f6793f
Merge pull request #5068 from wikimedia/update-cd-strings2
Williamrai Oct 29, 2024
a0f6ff5
Bump androidx.constraintlayout:constraintlayout from 2.1.4 to 2.2.0
dependabot[bot] Oct 30, 2024
5696279
Localisation updates from https://translatewiki.net.
translatewiki Oct 31, 2024
bb984e2
Merge pull request #5078 from wikimedia/twn
Williamrai Oct 31, 2024
ecb1110
Merge branch 'main' into dependabot/gradle/androidx.constraintlayout-…
Williamrai Nov 1, 2024
b3ecf8e
Merge pull request #5071 from wikimedia/dependabot/gradle/androidx.co…
Williamrai Nov 1, 2024
05e10ad
Add strings for Contributions Dashboard (#5076)
cooltey Nov 1, 2024
5de350c
Bump gradle from 8.7.1 to 8.7.2 (#5081)
dependabot[bot] Nov 1, 2024
d994c9c
Bump org.maplibre.gl:android-sdk from 11.5.2 to 11.6.0 (#5080)
dependabot[bot] Nov 1, 2024
a5c0313
Bump androidx.fragment:fragment-ktx from 1.8.4 to 1.8.5 (#5073)
dependabot[bot] Nov 1, 2024
b785dc7
Localisation updates from https://translatewiki.net. (#5084)
translatewiki Nov 4, 2024
60d9cbe
Consistent capitalization for "Explore feed" (#5083)
amire80 Nov 4, 2024
3e5840c
Consistent capitalization of "App icon" in English messages (#5082)
amire80 Nov 4, 2024
0bada3a
Bump com.github.skydoves:balloon from 1.6.9 to 1.6.10 (#5085)
dependabot[bot] Nov 4, 2024
099a773
Upgrade to SDK 35. (#5074)
dbrant Nov 4, 2024
6f2e9e6
Mailto links bug (#5079)
Williamrai Nov 4, 2024
7853ec1
Localisation updates from https://translatewiki.net. (#5087)
translatewiki Nov 5, 2024
738f97c
Bump androidx.core:core-ktx from 1.13.1 to 1.15.0 (#5072)
dependabot[bot] Nov 5, 2024
d147b90
Bump androidx.work:work-runtime-ktx from 2.9.1 to 2.10.0 (#5070)
dependabot[bot] Nov 5, 2024
430148f
Prevent possible crash when showing results for other languages (#4958)
cooltey Nov 5, 2024
40f7841
Bump com.github.skydoves:balloon from 1.6.10 to 1.6.11 (#5088)
dependabot[bot] Nov 5, 2024
8412b68
Display SVG files in correct language in Gallery. (#5090)
dbrant Nov 5, 2024
aec3864
Minor: remove redundant suppress in ImageInfo (#5091)
cooltey Nov 6, 2024
300aa92
Fix: scroll to the selected language tab when back from the language …
cooltey Nov 6, 2024
834e635
Rename string items for SurveyDialog (#5093)
cooltey Nov 6, 2024
3d5fcd4
Fix incorrectly formatted percent in string, causing crash (!). (#5096)
dbrant Nov 6, 2024
35916f0
Bump versionCode. (#5097)
cooltey Nov 6, 2024
7cbceaf
Add test for incorrectly encoded percent symbol. (#5098)
dbrant Nov 6, 2024
39ad8e0
Localisation updates from https://translatewiki.net.
translatewiki Nov 7, 2024
46a4e9d
Merge pull request #5100 from wikimedia/twn
Williamrai Nov 7, 2024
53454d9
Apply theme-based background color to the swipeRefereshLayout progres…
cooltey Nov 7, 2024
a0e1233
Bump com.android.tools:desugar_jdk_libs from 2.1.2 to 2.1.3 (#5102)
dependabot[bot] Nov 7, 2024
51c082d
Bump org.maplibre.gl:android-sdk from 11.6.0 to 11.6.1 (#5101)
dependabot[bot] Nov 7, 2024
8ce8044
Fix automatic re-logging-in of user in background. (#5103)
dbrant Nov 7, 2024
1e21e94
Clean up Recommended Content experiment code from the app (#5092)
cooltey Nov 8, 2024
0bbfb0e
Add string for the Contributions Dashboard
cooltey Nov 8, 2024
4b3d7f1
Merge pull request #5106 from wikimedia/cd-strings-lastdonated
Williamrai Nov 8, 2024
a69b269
Bump com.google.devtools.ksp in the kotlin-ksp group (#5105)
dependabot[bot] Nov 8, 2024
ee4d3cb
Localisation updates from https://translatewiki.net. (#5108)
translatewiki Nov 12, 2024
0c4b00e
Use article language for summary when adding/changing a description. …
dbrant Nov 12, 2024
1bde887
Strings for Rabbit Holes. (#5111)
dbrant Nov 12, 2024
216f396
A bit more cleanup from Recommended Content. (#5110)
dbrant Nov 12, 2024
f16f4c2
Refine common model for error responses. (#5113)
dbrant Nov 12, 2024
f806a44
Use ShapeableImageView for rounding corners. (#5109)
dbrant Nov 12, 2024
ad8c208
Fix: update percent-symbol-encoding test to catch more cases. (#5117)
cooltey Nov 13, 2024
d067766
Localisation updates from https://translatewiki.net. (#5120)
translatewiki Nov 14, 2024
c46dc78
Refining Espresso test (#5086)
Williamrai Nov 14, 2024
5351d5e
Bump androidx.paging:paging-runtime-ktx from 3.3.2 to 3.3.4
dependabot[bot] Nov 14, 2024
ace469a
[Feature branch] The Contributions Dashboard (#5013)
cooltey Nov 14, 2024
f6005ef
Bump versionCode. (#5123)
dbrant Nov 14, 2024
b9174ce
Merge branch 'main' into dependabot/gradle/androidx.paging-paging-run…
Williamrai Nov 14, 2024
dc5ff70
Merge pull request #5122 from wikimedia/dependabot/gradle/androidx.pa…
Williamrai Nov 14, 2024
60179f2
- fixes the missing string resource on Contribution screen (#5124)
Williamrai Nov 14, 2024
6b4ee19
Convert FixedDrawerLayout to Kotlin (#5125)
cooltey Nov 15, 2024
4d4fd58
Convert test classes to Kotlin (#5126)
cooltey Nov 15, 2024
f6c7e0b
Bump org.robolectric:robolectric from 4.13 to 4.14 (#5128)
dependabot[bot] Nov 15, 2024
4e07e13
Bump com.google.firebase:firebase-messaging-ktx from 24.0.3 to 24.1.0…
dependabot[bot] Nov 15, 2024
3518d09
Create a custom SwipeRefreshLayout for the style consistency (#5129)
cooltey Nov 15, 2024
370e1d8
Localisation updates from https://translatewiki.net. (#5132)
translatewiki Nov 18, 2024
d522aa8
Use Flow and set maxWidth for username and diff view in edit histroy …
cooltey Nov 18, 2024
60b188b
Roll back targeting of SDK 35 to 34. (#5133)
dbrant Nov 18, 2024
07ec41f
Bump versionCode. (#5137)
dbrant Nov 18, 2024
9c2157a
Fix: instrumentation for Contributions Dashboard (#5138)
cooltey Nov 18, 2024
c6699c0
Bump com.google.devtools.ksp in the kotlin-ksp group (#5134)
dependabot[bot] Nov 19, 2024
e553019
- fixes the app icon missing from the app info screen (#5140)
Williamrai Nov 20, 2024
78f45bc
Bump versionCode. (#5141)
dbrant Nov 20, 2024
598d2d4
Localisation updates from https://translatewiki.net. (#5144)
translatewiki Nov 21, 2024
1b7ef01
- moves to single package
Williamrai Nov 21, 2024
8a50cd4
- onboarding fix: dismiss the notification dialog which can appear so…
Williamrai Nov 21, 2024
ff695ab
- removes test
Williamrai Nov 21, 2024
3e37bdb
- updates survey form (#5147)
Williamrai Nov 21, 2024
8a3629a
Bump org.robolectric:robolectric from 4.14 to 4.14.1 (#5146)
dependabot[bot] Nov 21, 2024
1ab71c1
- updates BaseTest
Williamrai Nov 21, 2024
b789647
Add <small> tag to support <sub> and <sup> HTML tags in TextView (#5143)
cooltey Nov 22, 2024
3bd22e6
Rabbit Holes (feature branch) (#5114)
dbrant Nov 22, 2024
75ba0dc
- adds a logger which shows where the error occurred, this will help …
Williamrai Nov 22, 2024
4d6f1c6
Merge branch 'main' into espresso-test-main
Williamrai Nov 25, 2024
2fa83e5
- updates BaseTest constructor
Williamrai Nov 25, 2024
6a50196
- adds function for enabling and disabling dark mode
Williamrai Nov 25, 2024
7efdaab
- adds common functions
Williamrai Nov 25, 2024
ef23f29
- adds settings test for explore feed
Williamrai Nov 25, 2024
7a014c5
- adds test for toggling preview from settings screen
Williamrai Nov 26, 2024
be97293
- adds test for collapsing tables from settings screen
Williamrai Nov 26, 2024
af08fa8
- adds font size, font change test
Williamrai Nov 26, 2024
dc4f15e
- adds app theme test
Williamrai Nov 27, 2024
c4c9710
Bump org.jsoup:jsoup from 1.18.1 to 1.18.2
dependabot[bot] Nov 27, 2024
6d5f806
- adds ReadingListRobot
Williamrai Nov 27, 2024
9766e9b
Merge pull request #5152 from wikimedia/dependabot/gradle/org.jsoup-j…
Williamrai Nov 27, 2024
c214131
Localisation updates from https://translatewiki.net. (#5153)
translatewiki Dec 2, 2024
5b4dab9
Bump the kotlin-ksp group across 1 directory with 6 updates (#5154)
dependabot[bot] Dec 2, 2024
9edf367
Tiny tweak to Rabbit Holes analytics event.
dbrant Dec 2, 2024
dcc65bf
Merge branch 'main' into rabbitHoleEventTweak1
dbrant Dec 2, 2024
14c663e
- adds show image automation test
Williamrai Dec 2, 2024
dbfe781
Merge pull request #5155 from wikimedia/rabbitHoleEventTweak1
Williamrai Dec 2, 2024
c97e4ed
Bump versionCode. (#5156)
dbrant Dec 2, 2024
20460f9
- adds about settings test
Williamrai Dec 2, 2024
df931cb
Bump org.jsoup:jsoup from 1.18.2 to 1.18.3
dependabot[bot] Dec 3, 2024
b728a15
Merge pull request #5158 from wikimedia/dependabot/gradle/org.jsoup-j…
Williamrai Dec 3, 2024
0915575
Bump gradle from 8.7.2 to 8.7.3 (#5157)
dependabot[bot] Dec 3, 2024
b714ff4
Espresso Suggested Edit Test (#5148)
Williamrai Dec 3, 2024
39e2e25
- adds color matchers for checking textColor, backgroundColor, tint f…
Williamrai Dec 3, 2024
a14aaae
Merge remote-tracking branch 'origin/espresso-test-main' into espress…
Williamrai Dec 3, 2024
efe8aa1
Add infrastructure for asserting arbitrary Javascript functions.
dbrant Dec 3, 2024
251da9e
Merge branch 'main' into jsAssert
dbrant Dec 3, 2024
60f2044
Whoops.
dbrant Dec 3, 2024
a07d95d
Merge branch 'main' into espresso-test-main
Williamrai Dec 3, 2024
ccbdcdb
Merge branch 'espresso-test-main' into jsAssert
Williamrai Dec 3, 2024
1f542e5
- merges espresso-test-main
Williamrai Dec 3, 2024
338f42e
Merge pull request #5159 from wikimedia/jsAssert
Williamrai Dec 3, 2024
a8fed9e
Merge branch 'espresso-test-main' into espresso-test-settings
Williamrai Dec 4, 2024
4c7592f
Add fitsSystemWindows=true to activities and remove it from fragments…
cooltey Dec 4, 2024
718f6b8
- test fixes
Williamrai Dec 4, 2024
d3dc1d8
- removes color matchers and replaces it with color assertion for che…
Williamrai Dec 4, 2024
a6a295a
Merge branch 'espresso-test-main' into espresso-test-settings
Williamrai Dec 4, 2024
dd7ef0f
Hygiene: code clean up for the diff package (#5162)
cooltey Dec 5, 2024
4a309de
Use slightly different verbiage for Reading List survey dialog. (#5163)
dbrant Dec 5, 2024
cbdfe9e
Localisation updates from https://translatewiki.net. (#5164)
translatewiki Dec 5, 2024
adac158
- adds color assertion
Williamrai Dec 5, 2024
2c8d1df
Merge branch 'main' into espresso-test-main
Williamrai Dec 5, 2024
ea7061a
Bump versionCode. (#5165)
dbrant Dec 5, 2024
e75af7b
Espresso test explore feed (#5130)
Williamrai Dec 5, 2024
c28a151
Merge branch 'main' into espresso-test-main
Williamrai Dec 6, 2024
1e44816
- adds function and class that would be useful for other tests
Williamrai Dec 6, 2024
9cce61c
- ci fixes
Williamrai Dec 6, 2024
398bf8b
Merge branch 'espresso-test-main' into espresso-test-settings
Williamrai Dec 6, 2024
505d7e6
- fix test
Williamrai Dec 6, 2024
ec483de
- ci fix
Williamrai Dec 6, 2024
4f96745
Add langCode to the footer for the language variant fix in mobile-htm…
cooltey Dec 6, 2024
b650b62
- updates enable and disable dark mode function to better handle syst…
Williamrai Dec 6, 2024
a01b94b
Merge branch 'espresso-test-main' into espresso-test-settings
Williamrai Dec 6, 2024
4ad9840
Merge pull request #5150 from wikimedia/espresso-test-settings
Williamrai Dec 6, 2024
d076654
Merge branch 'main' into espresso-test-main
Williamrai Dec 6, 2024
71c999c
Fix potential crash when filtering reading list pages. (#5168)
dbrant Dec 6, 2024
b43e373
Fix another potential crash when deleting items from reading list. (#…
dbrant Dec 6, 2024
ee0ceaa
- test fix
Williamrai Dec 6, 2024
e63e3b8
Localisation updates from https://translatewiki.net. (#5171)
translatewiki Dec 9, 2024
5a58d4c
Fix another potential crash when filtering edit history.
dbrant Dec 9, 2024
f3b2f1c
- adds support for passing intent value to BaseTest
Williamrai Dec 9, 2024
47f553a
Bump versionCode.
Williamrai Dec 9, 2024
4c3783c
Merge pull request #5173 from wikimedia/bumpVersionCode
Williamrai Dec 10, 2024
d738b94
Yep!
dbrant Dec 10, 2024
2f86ed2
Merge branch 'main' into editHistoryCrash1
dbrant Dec 10, 2024
05c777f
Periodic update of languages and static data.
dbrant Dec 11, 2024
6b46d2a
Merge pull request #5174 from wikimedia/languages
cooltey Dec 11, 2024
4a21e66
Merge branch 'main' into editHistoryCrash1
cooltey Dec 11, 2024
771f7cd
Merge pull request #5172 from wikimedia/editHistoryCrash1
cooltey Dec 11, 2024
1a1093f
Upgrade to SDK 35 (#5169)
cooltey Dec 11, 2024
f72355c
Follow-up: more proper handling of Dialog insets.
dbrant Dec 11, 2024
1a3716b
Merge pull request #5175 from wikimedia/insetsFollowup1
cooltey Dec 11, 2024
02d70d8
Localisation updates from https://translatewiki.net. (#5176)
translatewiki Dec 12, 2024
39fb7de
Bump androidx.paging:paging-runtime-ktx from 3.3.4 to 3.3.5
dependabot[bot] Dec 12, 2024
716aab4
- adds helper function for login user
Williamrai Dec 12, 2024
5492e80
Merge branch 'main' into espresso-test-main
Williamrai Dec 12, 2024
ae41e2b
Merge pull request #5177 from wikimedia/dependabot/gradle/androidx.pa…
Williamrai Dec 12, 2024
424cf49
- code fixes
Williamrai Dec 13, 2024
3fd07ce
Merge branch 'main' into espresso-test-main
Williamrai Dec 13, 2024
62d3333
Include `is_anon` field in EditAttemptStep events.
dbrant Dec 13, 2024
eb17aab
Not.
dbrant Dec 13, 2024
76d6dbf
Merge pull request #5180 from wikimedia/editAttemptStepAnon
Williamrai Dec 13, 2024
146d492
Localisation updates from https://translatewiki.net.
translatewiki Dec 16, 2024
13d3084
Merge pull request #5181 from wikimedia/twn
Williamrai Dec 16, 2024
9302795
Merge branch 'main' into espresso-test-main
Williamrai Dec 16, 2024
87fb053
Bump org.maplibre.gl:android-sdk from 11.6.1 to 11.7.0 (#5178)
dependabot[bot] Dec 16, 2024
bffdf57
Fix submitting image captions in correct language.
dbrant Dec 16, 2024
2f85e84
Merge pull request #5182 from wikimedia/imageCaptionLang
Williamrai Dec 16, 2024
13808df
Bump versionCode.
Williamrai Dec 16, 2024
53beda9
Merge pull request #5183 from wikimedia/bumpVersionCode
Williamrai Dec 16, 2024
1478f3f
Merge branch 'main' into espresso-test-main
Williamrai Dec 16, 2024
ed908e1
Localisation updates from https://translatewiki.net. (#5185)
translatewiki Dec 19, 2024
bc02d85
Bump org.maplibre.gl:android-sdk from 11.7.0 to 11.7.1 (#5184)
dependabot[bot] Dec 19, 2024
40c63a8
- adds search intent test back
Williamrai Dec 19, 2024
7acd466
Merge branch 'main' into espresso-test-main
Williamrai Dec 19, 2024
92a409d
Merge pull request #5145 from wikimedia/espresso-test-main
Williamrai Dec 19, 2024
144fc1f
Bump kotlinCoroutinesVersion from 1.9.0 to 1.10.1
dependabot[bot] Dec 20, 2024
dee931c
- adds a login state on LoginRobot
Williamrai Dec 20, 2024
d7ab80c
Merge pull request #5189 from wikimedia/fixes-espresso-main
Williamrai Dec 20, 2024
e7eb594
Merge branch 'main' into dependabot/gradle/kotlinCoroutinesVersion-1.…
Williamrai Dec 20, 2024
cbea757
Merge pull request #5187 from wikimedia/dependabot/gradle/kotlinCorou…
Williamrai Dec 20, 2024
ce43274
Bump com.android.tools:desugar_jdk_libs from 2.1.3 to 2.1.4
dependabot[bot] Dec 20, 2024
9acaba1
Localisation updates from https://translatewiki.net.
translatewiki Dec 23, 2024
1d5ad60
- fixes string format
Williamrai Dec 23, 2024
2e5b29d
Merge pull request #5190 from wikimedia/twn
Williamrai Dec 23, 2024
9475bae
Merge branch 'main' into dependabot/gradle/com.android.tools-desugar_…
Williamrai Dec 23, 2024
4a1a85c
Merge pull request #5188 from wikimedia/dependabot/gradle/com.android…
Williamrai Dec 23, 2024
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
Validating CODEOWNERS rules …
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
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...
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
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.14.0
name: Create new tag and release and upload artifacts
with:
name: latest
Expand Down
4 changes: 2 additions & 2 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,7 +31,7 @@ jobs:
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
# override default build-tools version (29.0.3) -- optional
# override default build-tools version (33.0.0) -- optional
BUILD_TOOLS_VERSION: "34.0.0"
- uses: actions/upload-artifact@v4
name: Upload APK artifact
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]>
198 changes: 95 additions & 103 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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 +36,8 @@ android {
defaultConfig {
applicationId 'org.wikipedia'
minSdk 21
targetSdk 34
versionCode 50479
targetSdk 35
versionCode 50515
testApplicationId 'org.wikipedia.test'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
Expand Down Expand Up @@ -71,11 +71,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 +171,98 @@ 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
}

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>
11 changes: 11 additions & 0 deletions app/src/androidTest/java/org/wikipedia/EspressoLogger.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.wikipedia

import android.util.Log

object EspressoLogger {
private const val TAG = "EspressoError"

fun logError(message: String) {
Log.e(TAG, message)
}
}
24 changes: 24 additions & 0 deletions app/src/androidTest/java/org/wikipedia/FakeData.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package org.wikipedia

import android.location.Location
import android.net.Uri
import org.wikipedia.dataclient.WikiSite
import org.wikipedia.history.HistoryEntry
import org.wikipedia.page.PageTitle

object FakeData {
val site = WikiSite(
uri = Uri.parse("https://en.wikipedia.org")
)
val title = PageTitle(
_displayText = "Hopf_fibration",
_text = "Hopf fibration",
description = "Fiber bundle of the 3-sphere over the 2-sphere, with 1-spheres as fibers",
thumbUrl = "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Hopf_Fibration.png/320px-Hopf_Fibration.png",
wikiSite = site
)
val inNewTab = false
val position = 0
val location: Location? = null
val historyEntry = HistoryEntry(title, HistoryEntry.SOURCE_SEARCH)
}
13 changes: 13 additions & 0 deletions app/src/androidTest/java/org/wikipedia/TestConstants.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.wikipedia

object TestConstants {
const val FEATURED_ARTICLE = "Featured article"
const val TODAY_ON_WIKIPEDIA_MAIN_PAGE = "Today on Wikipedia"
const val TOP_READ_ARTICLES = "Top read"
const val PICTURE_OF_DAY = "Picture of the day"
const val BECAUSE_YOU_READ = "Because you read"
const val NEWS_CARD = "In the news"
const val ON_THIS_DAY_CARD = "On this day"
const val RANDOM_CARD = "Random article"
const val SUGGESTED_EDITS = "Suggested edits"
}
Loading