Commit graph

24 commits

Author SHA1 Message Date
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