Harsh Shandilya
a00bd046b6
chore: rename TOML keys for coroutines deps
2023-06-15 13:58:31 +05:30
Harsh Shandilya
5538306927
chore: refresh lint baseline
2023-06-04 01:52:57 +05:30
Harsh Shandilya
a76da935cd
feat: remove unnecessary CoroutineTestRule
2023-05-12 18:06:47 +05:30
renovate[bot]
d04e1fa368
fix(deps): update dependency com.facebook:ktfmt to v0.44 ( #2490 )
...
* 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-29 01:28:41 +00:00
Harsh Shandilya
53497c0365
feat(lint): update baselines
2023-04-27 01:37:20 +05:30
Harsh Shandilya
ca327555cd
refactor(build): introduce a standalone plugin for Kotlin JVM libraries
2023-04-27 01:34:35 +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
3d47ecd698
refactor(format-common): migrate to uri-kmp
and convert to JVM library
2023-02-27 21:26:21 +05:30
Harsh Shandilya
baa197bd0f
fix(deps): avoid classpath clashes due to androidx.annotation
2023-01-11 17:57:49 +05:30
Harsh Shandilya
8cfe6ec84c
refactor: merge format-common-impl into format-common
...
Also converts the format-common module into an Android library since
UriTotpFinder requires the Android SDK.
2022-12-19 16:47:17 +05:30
Harsh Shandilya
b84f7ccd07
refactor(format-common): obviate the constant value in PasswordEntry
2022-12-19 15:20:00 +05:30
Harsh Shandilya
93d51f0412
fix(format-common): fix incorrect TOTP emission delay
...
Fixes #2167
2022-12-19 15:18:55 +05:30
Harsh Shandilya
505c2fa705
refactor(format-common): add a getter to PasswordEntry
for current OTP value
2022-10-29 05:34:09 +05:30
Harsh Shandilya
edc110dcc1
chore(gradle): add missing suppressions and license headers
2022-10-24 14:46:38 +05:30
Harsh Shandilya
cdf0f30c61
Refactor format-common
module ( #2196 )
...
* 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-21 21:36:27 +05:30
Newton Cesar
6d73b63435
Fix detekt warnings in format-common ( #2167 )
...
* fix warning ktlint to format-common folder
* update to code review
* adjusted spotless
2022-10-08 20:33:29 +05:30
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
fee7510496
Miscellaneous cleanups ( #1934 )
...
* build-logic: cleanups
* coroutine-utils-testing: cleanups
* coroutine-utils: cleanups
* crypto-common: cleanups
* crypto-pgpainless: cleanups
* format-common: cleanups
2022-06-04 09:11:52 +00:00
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
674a7d299b
Misc cleanups to build-logic and expand BCV exclusion list ( #1622 )
...
* 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-26 06:29:57 +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
208eed4269
Turn on explicit API for Kotlin JVM projects ( #1568 )
2021-12-03 09:38:33 +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
0fad4d24b5
build: apply kotlin-common
convention plugin where applicable
2021-11-16 00:22:17 +05:30
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
d2832aad13
Bump plugin dependencies ( #1467 )
2021-07-21 19:39:23 +00:00
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
859dc008bc
Upgrade Gradle and androidx.annotation
( #1407 )
2021-05-12 16:11:32 +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