Commit graph

24 commits

Author SHA1 Message Date
Harsh Shandilya
549ee790d3
all: re-do package structure yet again 2022-07-15 01:13:47 +05:30
Harsh Shandilya
426fc924fb
Upgrade ktfmt (#1942)
* build-logic: upgrade ktfmt

* all: reformat
2022-06-09 13:51:29 +05:30
Harsh Shandilya
c555609f16
Misc cleanups (#1891) 2022-05-02 20:18:16 +00:00
renovate[bot]
07a83a33b8
chore(deps): update dependency app.cash.turbine:turbine to v0.8.0 (#1890)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-02 23:21:58 +05:30
Harsh Shandilya
2f034bc237
Show remaining time in TOTP field (#1766)
* 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-10 20:22:39 +00:00
Harsh Shandilya
b8756a667c
Cleanup IDE reported lints in autofill-parser and format-common (#1765) 2022-03-05 13:47:48 +00:00
Harsh Shandilya
cf111f1978
Refactor PasswordEntry TOTP calculation into a cold flow (#1702) 2022-02-01 19:21:01 +05:30
Ivan Tham
8b5be3f785
Recognize mail as alternative to email (#1629)
* Recognize mail as alternative to email

* Add test

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-12-29 09:57:28 +00:00
Harsh Shandilya
8db0b67ce9
Refactor coroutine testing setup (#1583)
* 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-09 04:37:54 +00:00
Harsh Shandilya
1ade4eaf64
Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565) 2021-12-02 19:09:54 +00:00
Harsh Shandilya
51956be665
Update dependencies (#1540) 2021-11-13 17:50:15 +05:30
Harsh Shandilya
a82f8dda86
Disable explicit API for tests (#1483)
* build: disable explicit API for test tasks

* Remove `internal` modifier from test classes
2021-08-13 18:40:34 +05:30
Harsh Shandilya
6c73cccd37
PasswordEntry: use update method to write new TOTP values (#1472) 2021-07-26 13:45:59 +05:30
Harsh Shandilya
392ad847bf
Cleanup and fix CI tests (#1464) 2021-07-19 16:31:37 +05:30
Harsh Shandilya
921e9f96b9
Refactor TOTP implementation and expand SteamGuard hacks (#1460)
* 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-07-17 03:13:16 +05:30
Harsh Shandilya
1446947811
format-common: remove weirdly worded comment
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 12:36:49 +05:30
Harsh Shandilya
5f83d6f2ff
format-common: don't use hard-coded currentTimeMillis in TOTP logic
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 12:36:25 +05:30
Harsh Shandilya
b2b1e92b45
format-common: make PasswordEntry#extraContentString public API
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23 18:21:02 +05:30
Harsh Shandilya
38bf9d2123
format-common: replace deprecated functions
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 21:23:47 +05:30
Harsh Shandilya
7e2eb2425e
all: reformat with Spotless again
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:20 +05:30
Harsh Shandilya
4880e1db27
Upgrade to Kotlin 1.5 (#1397)
* 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-28 10:27:14 +05:30
Aditya Wasan
7a532302e3
Use correct time to find TOTP secret (#1387) 2021-04-18 10:08:54 +00:00
Harsh Shandilya
77abe7ee2c
format-common: initial API for PasswordEntry
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 04:03:17 +05:30
Harsh Shandilya
931cc052a8
format-common: add baseline module
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 03:01:14 +05:30