aboutsummaryrefslogtreecommitdiff
path: root/format-common/src
AgeCommit message (Collapse)Author
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-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-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-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-02Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565)Harsh 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-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-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>