Skip to content

Commit 1ee2d46

Browse files
committed
Merge branch 'master' into dependabot/gradle/okhttp3-22a53b8266
# Conflicts: # FlowCrypt/build.gradle.kts
2 parents c5e4fa8 + 8a8e653 commit 1ee2d46

9 files changed

Lines changed: 25 additions & 34 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# These owners will be the default owners for everything in the repo.
22
# Unless a later match takes precedence,
33
# these owners will be requested for review when someone opens a pull request.
4-
* @DenBond7 @ioanmo226
4+
* @DenBond7 @ioanatflowcrypt
55

66
# The following files will no have codeowners to allow dependabot auto-merge
77
# based on https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features

.semaphore/semaphore.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ agent:
55
type: e2-standard-2
66
os_image: ubuntu2404
77
execution_time_limit:
8-
minutes: 60
8+
minutes: 75
99

1010
fail_fast:
1111
stop:
@@ -194,4 +194,4 @@ after_pipeline:
194194
jobs:
195195
- name: Publish Results
196196
commands:
197-
- test-results gen-pipeline-report
197+
- test-results gen-pipeline-report

FlowCrypt/build.gradle.kts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -416,22 +416,22 @@ dependencies {
416416
uiTestsImplementation("androidx.fragment:fragment-testing:1.8.7")
417417
uiTestsImplementation("androidx.test:core-ktx:1.6.1")
418418

419-
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
420-
androidTestImplementation("androidx.test.espresso:espresso-contrib:3.6.1")
421-
androidTestImplementation("androidx.test.espresso:espresso-intents:3.6.1")
422-
androidTestImplementation("androidx.test.espresso:espresso-web:3.6.1")
423-
androidTestImplementation("androidx.test.ext:junit:1.2.1")
424-
androidTestImplementation("androidx.test:runner:1.6.2")
419+
androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
420+
androidTestImplementation("androidx.test.espresso:espresso-contrib:3.7.0")
421+
androidTestImplementation("androidx.test.espresso:espresso-intents:3.7.0")
422+
androidTestImplementation("androidx.test.espresso:espresso-web:3.7.0")
423+
androidTestImplementation("androidx.test.ext:junit:1.3.0")
424+
androidTestImplementation("androidx.test:runner:1.7.0")
425425
androidTestImplementation("androidx.test:rules:1.6.1")
426-
androidTestImplementation("androidx.test.ext:junit-ktx:1.2.1")
426+
androidTestImplementation("androidx.test.ext:junit-ktx:1.3.0")
427427
androidTestImplementation("androidx.test.uiautomator:uiautomator:2.3.0")
428428
androidTestImplementation("androidx.room:room-testing:2.7.2")
429429
androidTestImplementation("androidx.arch.core:core-testing:2.2.0")
430430
androidTestImplementation("androidx.work:work-testing:2.10.3")
431431
androidTestImplementation("com.squareup.okhttp3:mockwebserver:5.1.0")
432432
androidTestImplementation("com.squareup.okhttp3:okhttp-tls:5.1.0")
433433
androidTestImplementation("com.athaydes.rawhttp:rawhttp-core:2.6.0")
434-
androidTestUtil("androidx.test:orchestrator:1.5.1")
434+
androidTestUtil("androidx.test:orchestrator:1.6.1")
435435

436436
testImplementation("com.squareup.okhttp3:mockwebserver:5.1.0")
437437
testImplementation("com.flextrade.jfixture:jfixture:2.7.2")
@@ -453,7 +453,7 @@ dependencies {
453453
implementation("androidx.recyclerview:recyclerview:1.4.0")
454454
implementation("androidx.recyclerview:recyclerview-selection:1.2.0")
455455
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
456-
implementation("androidx.test.espresso:espresso-idling-resource:3.6.1")
456+
implementation("androidx.test.espresso:espresso-idling-resource:3.7.0")
457457
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
458458
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.2")
459459
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.9.2")
@@ -489,7 +489,7 @@ dependencies {
489489
implementation("com.squareup.retrofit2:retrofit:3.0.0")
490490
implementation("com.squareup.retrofit2:converter-gson:3.0.0")
491491
implementation("com.squareup.retrofit2:converter-scalars:3.0.0")
492-
implementation("com.squareup.okio:okio:3.13.0")
492+
implementation("com.squareup.okio:okio:3.16.0")
493493
implementation("com.squareup.okhttp3:logging-interceptor:5.1.0")
494494

495495
implementation("com.github.bumptech.glide:glide:4.16.0")
@@ -498,19 +498,19 @@ dependencies {
498498
implementation("com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20240325.1")
499499
implementation("com.sandinh:zbase32-commons-codec_2.12:1.0.0")
500500
implementation("org.bitbucket.b_c:jose4j:0.9.6")
501-
implementation("org.jsoup:jsoup:1.20.1")
501+
implementation("org.jsoup:jsoup:1.21.1")
502502
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")
503503
implementation("org.pgpainless:pgpainless-core:1.7.6")
504-
implementation("org.eclipse.angus:angus-mail:2.0.3")
505-
implementation("org.eclipse.angus:gimap:2.0.3")
504+
implementation("org.eclipse.angus:angus-mail:2.0.4")
505+
implementation("org.eclipse.angus:gimap:2.0.4")
506506
implementation("commons-io:commons-io:2.19.0")
507507
implementation("net.openid:appauth:0.11.1")
508508
implementation("ch.acra:acra-http:5.12.0")
509509
implementation("io.github.everythingme:overscroll-decor-android:1.1.1")
510510

511511
constraints {
512512
//due to https://github.com/FlowCrypt/flowcrypt-security/issues/199
513-
implementation("commons-codec:commons-codec:1.18.0") {
513+
implementation("commons-codec:commons-codec:1.19.0") {
514514
because("version 1.11 has VULNERABILITY DESCRIPTION CWE-200")
515515
}
516516
}

FlowCrypt/src/androidTest/java/com/flowcrypt/email/base/BaseTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ import jakarta.mail.Session
6161
import jakarta.mail.internet.MimeMessage
6262
import kotlinx.coroutines.runBlocking
6363
import org.hamcrest.MatcherAssert.assertThat
64-
import org.hamcrest.Matchers
6564
import org.hamcrest.Matchers.allOf
66-
import org.hamcrest.Matchers.hasItem
6765
import org.hamcrest.Matchers.hasToString
6866
import org.hamcrest.Matchers.`is`
6967
import org.hamcrest.Matchers.not
@@ -356,7 +354,7 @@ abstract class BaseTest : BaseActivityTestImplementation {
356354
intending(
357355
allOf(
358356
hasAction(Intent.ACTION_GET_CONTENT),
359-
hasCategories(hasItem(Matchers.equalTo(Intent.CATEGORY_OPENABLE))),
357+
hasCategories(setOf(Intent.CATEGORY_OPENABLE)),
360358
hasType(type)
361359
)
362360
).respondWith(Instrumentation.ActivityResult(Activity.RESULT_OK, resultData))

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/PublicKeyDetailsFlowTest.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import androidx.test.espresso.action.ViewActions.click
1616
import androidx.test.espresso.assertion.ViewAssertions.matches
1717
import androidx.test.espresso.intent.Intents.intending
1818
import androidx.test.espresso.intent.matcher.IntentMatchers
19+
import androidx.test.espresso.intent.matcher.IntentMatchers.hasCategories
1920
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
2021
import androidx.test.espresso.matcher.ViewMatchers.withId
2122
import androidx.test.espresso.matcher.ViewMatchers.withText
@@ -42,8 +43,6 @@ import com.flowcrypt.email.util.DateTimeUtil
4243
import com.flowcrypt.email.util.GeneralUtil
4344
import com.flowcrypt.email.util.PrivateKeysManager
4445
import com.flowcrypt.email.util.TestGeneralUtil
45-
import org.hamcrest.CoreMatchers
46-
import org.hamcrest.Matchers
4746
import org.hamcrest.Matchers.allOf
4847
import org.junit.AfterClass
4948
import org.junit.Rule
@@ -157,7 +156,7 @@ class PublicKeyDetailsFlowTest : BaseTest() {
157156
intending(
158157
allOf(
159158
IntentMatchers.hasAction(Intent.ACTION_CREATE_DOCUMENT),
160-
IntentMatchers.hasCategories(CoreMatchers.hasItem(Matchers.equalTo(Intent.CATEGORY_OPENABLE))),
159+
hasCategories(setOf(Intent.CATEGORY_OPENABLE)),
161160
IntentMatchers.hasType(Constants.MIME_TYPE_PGP_KEY)
162161
)
163162
)

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/PublicKeyDetailsHideArmorMetaFlowTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ import jakarta.mail.internet.InternetAddress
4949
import jakarta.mail.internet.MimeMessage
5050
import kotlinx.coroutines.runBlocking
5151
import org.bouncycastle.bcpg.ArmoredInputStream
52-
import org.hamcrest.CoreMatchers.hasItem
5352
import org.hamcrest.Matchers.allOf
54-
import org.hamcrest.Matchers.equalTo
5553
import org.junit.Assert.assertArrayEquals
5654
import org.junit.Rule
5755
import org.junit.Test
@@ -134,7 +132,7 @@ class PublicKeyDetailsHideArmorMetaFlowTest : BaseTest() {
134132
intending(
135133
allOf(
136134
hasAction(Intent.ACTION_CREATE_DOCUMENT),
137-
hasCategories(hasItem(equalTo(Intent.CATEGORY_OPENABLE))),
135+
hasCategories(setOf(Intent.CATEGORY_OPENABLE)),
138136
hasType(Constants.MIME_TYPE_PGP_KEY)
139137
)
140138
)

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/base/BaseBackupKeysFragmentTest.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* © 2016-present FlowCrypt a.s. Limitations apply. Contact human@flowcrypt.com
3-
* Contributors: DenBond7
3+
* Contributors: denbond7
44
*/
55

66
package com.flowcrypt.email.ui.base
@@ -17,8 +17,6 @@ import com.flowcrypt.email.Constants
1717
import com.flowcrypt.email.base.BaseTest
1818
import com.flowcrypt.email.junit.annotations.FlowCryptTestSettings
1919
import org.hamcrest.Matchers.allOf
20-
import org.hamcrest.Matchers.equalTo
21-
import org.hamcrest.Matchers.hasItem
2220
import java.io.File
2321

2422
/**
@@ -32,7 +30,7 @@ abstract class BaseBackupKeysFragmentTest : BaseTest(), AddAccountToDatabaseRule
3230
intending(
3331
allOf(
3432
hasAction(Intent.ACTION_CREATE_DOCUMENT),
35-
hasCategories(hasItem(equalTo(Intent.CATEGORY_OPENABLE))),
33+
hasCategories(setOf(Intent.CATEGORY_OPENABLE)),
3634
hasType(Constants.MIME_TYPE_PGP_KEY)
3735
)
3836
).respondWith(Instrumentation.ActivityResult(Activity.RESULT_OK, resultData))

FlowCrypt/src/androidTest/java/com/flowcrypt/email/ui/fragment/isolation/incontainer/PrivateKeyDetailsFragmentInIsolationTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ import com.flowcrypt.email.util.DateTimeUtil
4242
import com.flowcrypt.email.util.GeneralUtil
4343
import com.flowcrypt.email.util.PrivateKeysManager
4444
import org.hamcrest.Matchers.allOf
45-
import org.hamcrest.Matchers.equalTo
46-
import org.hamcrest.Matchers.hasItem
4745
import org.junit.Before
4846
import org.junit.Rule
4947
import org.junit.Test
@@ -178,7 +176,7 @@ class PrivateKeyDetailsFragmentInIsolationTest : BaseTest() {
178176
intending(
179177
allOf(
180178
hasAction(Intent.ACTION_CREATE_DOCUMENT),
181-
hasCategories(hasItem(equalTo(Intent.CATEGORY_OPENABLE))),
179+
hasCategories(setOf(Intent.CATEGORY_OPENABLE)),
182180
hasType(Constants.MIME_TYPE_PGP_KEY)
183181
)
184182
).respondWith(Instrumentation.ActivityResult(Activity.RESULT_OK, resultData))

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212
id("com.starter.easylauncher") version "6.4.1" apply false
1313
id("org.jetbrains.kotlin.plugin.parcelize") version "2.2.10" apply false
1414
id("com.google.devtools.ksp") version "2.2.10-2.0.2" apply false
15-
id("org.ajoberstar.grgit") version "5.3.0" apply false
15+
id("org.ajoberstar.grgit") version "5.3.2" apply false
1616
}
1717

1818
subprojects {

0 commit comments

Comments
 (0)