aboutsummaryrefslogtreecommitdiff
path: root/format-common
AgeCommit message (Collapse)Author
2023-05-12feat: remove unnecessary CoroutineTestRuleHarsh Shandilya
2023-04-29fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)renovate[bot]
* fix(deps): update dependency com.facebook:ktfmt to v0.44 * chore: reformat with ktfmt 0.44 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-27feat(lint): update baselinesHarsh Shandilya
2023-04-27refactor(build): introduce a standalone plugin for Kotlin JVM librariesHarsh Shandilya
2023-03-21fix(build): remove `DSL_SCOPE_VIOLATION` suppressionHarsh Shandilya
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-02-27refactor(format-common): migrate to `uri-kmp` and convert to JVM libraryHarsh Shandilya
2023-01-11fix(deps): avoid classpath clashes due to `androidx.annotation`Harsh Shandilya
2022-12-19refactor: merge format-common-impl into format-commonHarsh Shandilya
Also converts the format-common module into an Android library since UriTotpFinder requires the Android SDK.
2022-12-19refactor(format-common): obviate the constant value in PasswordEntryHarsh Shandilya
2022-12-19fix(format-common): fix incorrect TOTP emission delayHarsh Shandilya
Fixes #2167
2022-10-29refactor(format-common): add a getter to `PasswordEntry` for current OTP valueHarsh Shandilya
2022-10-24chore(gradle): add missing suppressions and license headersHarsh Shandilya
2022-10-21Refactor `format-common` module (#2196)Harsh Shandilya
* fix: touch up `PasswordEntryTest` KDoc * feat: add format-common-impl module * refactor: switch app to format-common-impl * refactor: move `format-common` tests to `format-common-impl` * feat: add a test for Steam OTP
2022-10-08Fix detekt warnings in format-common (#2167)Newton Cesar
* fix warning ktlint to format-common folder * update to code review * adjusted spotless
2022-07-15all: re-do package structure yet againHarsh Shandilya
2022-06-09Upgrade ktfmt (#1942)Harsh Shandilya
* build-logic: upgrade ktfmt * all: reformat
2022-06-04Miscellaneous cleanups (#1934)Harsh Shandilya
* build-logic: cleanups * coroutine-utils-testing: cleanups * coroutine-utils: cleanups * crypto-common: cleanups * crypto-pgpainless: cleanups * format-common: cleanups
2022-05-02Misc cleanups (#1891)Harsh Shandilya
2022-05-02chore(deps): update dependency app.cash.turbine:turbine to v0.8.0 (#1890)renovate[bot]
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-03-10Show remaining time in TOTP field (#1766)Harsh Shandilya
* Pass down remaining time for TOTPs to UI layer * format-common: switch TOTP flow to use co-operative cancelation * format-common: add a regression test for OTP duration calculation * Abstract out labels * Switch to launchIn
2022-03-05Cleanup IDE reported lints in autofill-parser and format-common (#1765)Harsh Shandilya
2022-02-01Refactor PasswordEntry TOTP calculation into a cold flow (#1702)Harsh Shandilya
2021-12-29Recognize mail as alternative to email (#1629)Ivan Tham
* Recognize mail as alternative to email * Add test Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-12-26Misc cleanups to build-logic and expand BCV exclusion list (#1622)Harsh Shandilya
* build-logic: remove `kotlin-dsl-precompiled-script-plugins` plugin * build-logic: use generated accessors for extensions * build: exclude non-published library projects from API dump There's no point in tracking binary compatibility for libraries that are only used internally
2021-12-09Refactor coroutine testing setup (#1583)Harsh Shandilya
* coroutine-utils: init * coroutine-utils-testing: init * format-common: switch over to using DispatcherProvider * Convert Binds method to an extension function * Add Dispatcher module
2021-12-03Turn on explicit API for Kotlin JVM projects (#1568)Harsh Shandilya
2021-12-02Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565)Harsh Shandilya
2021-11-16build: apply `kotlin-common` convention plugin where applicableHarsh Shandilya
2021-11-13Update dependencies (#1540)Harsh Shandilya
2021-08-13Disable explicit API for tests (#1483)Harsh Shandilya
* build: disable explicit API for test tasks * Remove `internal` modifier from test classes
2021-07-26PasswordEntry: use `update` method to write new TOTP values (#1472)Harsh Shandilya
2021-07-21Bump plugin dependencies (#1467)Harsh Shandilya
2021-07-19Cleanup and fix CI tests (#1464)Harsh Shandilya
2021-07-17Refactor TOTP implementation and expand SteamGuard hacks (#1460)Harsh Shandilya
* UriTotpFinder: commonize query parameter handling * gitignore: add more IDEA files * TotpFinder: add `findIssuer` * PasswordEntry: don't eagerly fetch TOTP related fields * format-common: expand SteamGuard workaround * CHANGELOG: add SteamGuard workaround
2021-05-30format-common: remove weirdly worded commentHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30format-common: don't use hard-coded currentTimeMillis in TOTP logicHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23format-common: make `PasswordEntry#extraContentString` public APIHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22format-common: replace deprecated functionsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15all: reformat with Spotless againHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-12Upgrade Gradle and `androidx.annotation` (#1407)Harsh Shandilya
2021-04-28Upgrade to Kotlin 1.5 (#1397)Harsh Shandilya
* build: upgrade Kotlin to 1.5.0 and Hilt to 2.35.1 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * all: address kotlin.time.seconds deprecation Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * autofill-parser/openpgp-ktx: require Kotlin 1.5 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * all: address string method deprecations Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: disable NewApi lint Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18Use correct time to find TOTP secret (#1387)Aditya Wasan
2021-04-18format-common: initial API for PasswordEntryHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18format-common: add baseline moduleHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>