Commit graph

3241 commits

Author SHA1 Message Date
Harsh Shandilya
88b6a9ed4c
Update Public Suffix List data (#2455)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2023-04-05 05:10:20 +00:00
renovate[bot]
69696495b9
chore(deps): update peter-evans/create-pull-request action to v5 (#2454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 09:12:18 +05:30
renovate[bot]
08980125be
fix(deps): update dependency io.sentry.android.gradle:io.sentry.android.gradle.gradle.plugin to v3.5.0 (#2453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 16:29:15 +00:00
renovate[bot]
863b74d024
chore(deps): update dependency gradle to v8.1-rc-3 (#2452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 21:48:06 +05:30
renovate[bot]
ab8c4f212e
fix(deps): update dependency com.michael-bull.kotlin-result:kotlin-result to v1.1.17 (#2451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 21:10:02 +05:30
Aditya Wasan
97b3577a46
Refactor SSHKey into a separate module (#2450)
* refactor(ssh): add `ssh` module

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* refactor(ssh): add `SSHKey` data class

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* refactor(ssh): add `SSHKeyType` enum

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* refactor(ssh): add `SSHKeyAlgorithm` class

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* refactor(ssh): add class to generate `RSA` key

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* chore(ssh): add required dependencies

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* refactor(ssh): add `ECDSAKeyGenerator` and remove constants

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* refactor(ssh): add utilities

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* feat(ssh): add `SSHKeyWriter`

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* refactor(ssh): make ssh key generators suspending

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* fix(ssh): fix explicit API violations

* feat: complete `ED25519KeyWriter` implementation

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* factor(ssh/writer): update writer interface

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* feat(ssh/provider): add providers for different key types

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* feat(ssh): add SSHKeyManager for common key functionality

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* feat(ssh): add remaining methods to reach feature parity with old SSH implementation

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* wip(app): start using SSHKeyManager instead of SSHKey class

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* refactor(ssh): update package name

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* chore(ssh): fix detekt warnings

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* chore: fixes across the board

---------

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-02 18:04:33 +00:00
renovate[bot]
577d6ab55a
fix(deps): update dependency io.sentry:sentry-android to v6.17.0 (#2448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-31 16:41:57 +05:30
renovate[bot]
08d6278350
fix(deps): update dependency app.cash.turbine:turbine to v0.12.3 (#2447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 13:16:18 +00:00
renovate[bot]
5ff2453772
fix(deps): update dependency app.cash.turbine:turbine to v0.12.2 (#2445)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 10:12:52 +05:30
Harsh Shandilya
a3a84f81dc
fix(gradle): CC is now stable 2023-03-29 15:11:46 +05:30
Harsh Shandilya
5a3d751136
chore(build): upgrade to Gradle 8.1 RC2 2023-03-29 15:11:31 +05:30
renovate[bot]
1c184a6fb0
fix(deps): update dependency com.android.tools:r8 to v8.0.40 (#2443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 12:21:37 +05:30
renovate[bot]
0e474e127d
chore(deps): update actions/setup-java action to v3.11.0 (#2442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 19:27:47 +00:00
Harsh Shandilya
25ffacd213
chore: suppress invalid suggestion 2023-03-27 17:53:10 +05:30
Harsh Shandilya
8b97a4a3f1
refactor: migrate to androidx.core APIs for Bundle/Intent API changes 2023-03-27 17:53:10 +05:30
Harsh Shandilya
6931f2d7f5
chore(deps): upgrade to androidx.core 1.10.0-rc01 2023-03-27 17:07:01 +05:30
Harsh Shandilya
8258c08f10
Sync localisations from Crowdin (#2440)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2023-03-27 04:57:23 +00:00
Harsh Shandilya
8e14f8ccaf
feat(build): migrate to Crowdin V2 API 2023-03-26 19:00:38 +05:30
Harsh Shandilya
cb0a2fe6ee
Sync localisations from Crowdin (#2439)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2023-03-26 00:26:24 +00:00
Harsh Shandilya
8af09d5bc8
feat: offer to import a PGP key when none are present 2023-03-25 12:36:13 +05:30
Harsh Shandilya
1e74012656
fix: remove NoKeysProvided error
We're making this invariant impossible in the code paths that hit it
2023-03-25 12:26:01 +05:30
Harsh Shandilya
e2900c26de
fix: use DispatcherProvider in CryptoRepository 2023-03-25 12:26:01 +05:30
Harsh Shandilya
f07bfb2f97
chore: rename import button label string resource 2023-03-25 12:26:01 +05:30
Harsh Shandilya
e3eb6b1c9c
fix: ensure repo dir is recreated after deletion 2023-03-25 11:30:19 +05:30
Harsh Shandilya
3761de8783
fix(gradle): turn off R8 full mode 2023-03-25 11:30:19 +05:30
renovate[bot]
a8f19a16dc
chore(deps): update plugin com.gradle.enterprise to v3.12.6 (#2437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 15:49:55 +00:00
renovate[bot]
5627030ae6
fix(deps): update dependency com.google.testparameterinjector:test-parameter-injector to v1.11 (#2438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 21:05:35 +05:30
renovate[bot]
5a3532d11a
fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.1 (#2436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 12:28:04 +00:00
Harsh Shandilya
73de8ba267
fix: extract hard-coded string 2023-03-24 13:30:14 +05:30
Harsh Shandilya
29eaa09427
feat: add user guidance in PGP key manager screen 2023-03-24 13:17:54 +05:30
renovate[bot]
965c80bbe4
chore(deps): update actions/checkout action to v3.5.0 (#2435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 07:23:55 +00:00
Harsh Shandilya
bebb804e01
fix: adjust LeakCanary init flow 2023-03-24 10:19:02 +05:30
renovate[bot]
7e4ebc0348
fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.0 (#2434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:03:19 +05:30
Harsh Shandilya
9351e79511
fix(ci): make shadow jobs actually use provided Gradle version 2023-03-23 13:57:38 +05:30
Harsh Shandilya
dbdde9688f
fix(ci): use correct job title for dependency 2023-03-23 13:40:11 +05:30
renovate[bot]
e791677d70
chore(deps): pin usefulness/agp-version-finder-action action to 9084404 (#2433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 13:37:37 +05:30
Harsh Shandilya
9b3fd4b064
fix(ci): make AGP version handling automatic 2023-03-23 12:56:37 +05:30
renovate[bot]
e9e6b24269
fix(deps): update dependency androidx.compose:compose-bom to v2023.03.00 (#2432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 19:31:58 +00:00
renovate[bot]
820a28d6ff
fix(deps): update dependency androidx.fragment:fragment-ktx to v1.6.0-alpha08 (#2430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 19:22:00 +00:00
renovate[bot]
aee5f51884
fix(deps): update lifecycle to v2.6.1 (#2431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 19:13:13 +00:00
renovate[bot]
71265a2581
fix(deps): update dependency androidx.constraintlayout:constraintlayout to v2.2.0-alpha09 (#2429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 19:04:13 +00:00
renovate[bot]
2311686e32
fix(deps): update androidxactivity to v1.7.0 (#2428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 18:54:55 +00:00
renovate[bot]
0ba50be1b3
chore(deps): update dependency androidx.compose.compiler:compiler to v1.4.4 (#2427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 18:42:16 +00:00
Harsh Shandilya
db7756638a
refactor(build): wire up CC-compatible task dependencies for Crowdin 2023-03-21 13:45:12 +05:30
Harsh Shandilya
e8bd4c9bc0
feat(build): pull out Crowdin tasks to their own classes 2023-03-21 13:45:12 +05:30
Harsh Shandilya
9f554376e7
fix(build): disable SAM conversion for build-logic
No longer required https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Support%20of%20Java%20lambdas
2023-03-21 13:45:12 +05:30
Harsh Shandilya
091d2dae22
feat(build): opt into kotlin-assignment experiment
Newly introduced in 8.1: https://docs.gradle.org/8.1-rc-1/release-notes.html#kotlin-dsl-improvements:~:text=Experimental%20simple%20property%20assignment%20in%20Kotlin%20DSL%20scripts

We'll use this for the upcoming refactor of CrowdinPlugin
2023-03-21 13:44:44 +05:30
Harsh Shandilya
2f524fc2b7
fix(build): remove DSL_SCOPE_VIOLATION suppression
This was a Gradle bug that is now fixed https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Access%20to%20version%20catalog%20for%20plugins%20in%20the%20plugins%20%7B%7D%20block
2023-03-21 13:43:09 +05:30
Harsh Shandilya
a6652134a2
fix(build): remove unneeded afterEvaluate
https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Easier%20customization%20of%20Kotlin%20options
2023-03-21 13:43:09 +05:30
Harsh Shandilya
66158adc13
chore(build): fix deprecation warning
Now visible due to this change: https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Useful%20deprecation%20warnings%20and%20errors%20from%20Kotlin%20script%20compilation
2023-03-21 13:43:09 +05:30