aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/dev/msfjarvis/aps/util
AgeCommit message (Collapse)AuthorFilesLines
2022-05-27Fix ClipboardService crash (#1928)Harsh Shandilya10-26/+32
* Fix clipboard service crash on API 31 * all: use ints directly for SDK version checks I much prefer it this way
2022-05-24Allow disabling pull-to-sync operation (#1922)Harsh Shandilya1-0/+1
2022-05-05Upgrade to ktfmt 0.37 (#1897)Harsh Shandilya3-5/+6
2022-04-25all: reformat with ktfmt 0.36Harsh Shandilya9-120/+129
2022-04-24app: address InlinedApi lintHarsh Shandilya2-2/+10
2022-04-21Remove support for external storage and raise target SDK to 31 (#1863)Harsh Shandilya2-4/+19
2022-03-13Configure Sentry with more information (#1782)Harsh Shandilya1-0/+5
* build-logic: remove error path in Sentry plugin * gradle: fix UnstableApiUsage warning * build-logic: configure Sentry Gradle Plugin * app: set traces sample-rate to 1.0 * sentry-stub: init * app: populate Sentry user field with feature flags
2022-03-10Show remaining time in TOTP field (#1766)Harsh Shandilya1-1/+1
* 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-02-26Upgrade ktfmt to 0.33 (#1753)Harsh Shandilya1-13/+12
* build: upgrade ktfmt to 0.33 * all: reformat with ktfmt 0.33
2022-02-24Fix Autofill ANR when entry has no TOTP (#1746)Harsh Shandilya1-1/+2
2022-02-09chore(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle ↵renovate[bot]1-9/+9
to v6.2.2 (#1718) Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-01Refactor PasswordEntry TOTP calculation into a cold flow (#1702)Harsh Shandilya1-1/+3
2022-01-27Unwind PasswordRepository's confusing control flow (#1686)Harsh Shandilya2-2/+2
* Cleanup PasswordRepository * Tear out nonsensical logic for getRepository
2022-01-25Add the ability to run garbage collection on the internal Git repository (#1683)Harsh Shandilya2-0/+26
2022-01-24app: make Autofill intents mutable (#1682)Harsh Shandilya2-2/+2
Fixes: b8ce4f314538 ("app: add `PendingIntent.FLAG_IMMUTABLE` flag where required")
2022-01-13Refactor randomized password generator into a separate module (#1663)Aditya Wasan4-397/+0
2022-01-12chore(deps): update dependency ↵renovate[bot]1-1/+1
com.github.android-password-store:sublime-fuzzy to v2 (#1658) * chore(deps): update dependency com.github.android-password-store:sublime-fuzzy to v2 * fix import Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-10Remove unused class (#1657)Harsh Shandilya1-6/+0
2022-01-09Fix a bunch of Lint warnings and errors (#1655)Harsh Shandilya2-2/+12
* autofill-parser: add missing `@RequiresApi` annotations * app: remove unused strings and sync with Crowdin * app: remove unused chip_text_color selector * app: remove unused capitalization_type_values array * app: add `PendingIntent.FLAG_IMMUTABLE` flag where required
2022-01-09Make PGPainless backend feature flag runtime configurable (#1654)Harsh Shandilya5-8/+82
* Make feature flags runtime configurable * Add a settings entry for PGPainless feature flag * Add changelog entry
2022-01-09Integrate PGPainless backend into the UI properly (#1647)Harsh Shandilya2-0/+19
2021-12-29Refactor BiometricAuthenticator and add proper support for retries (#1627)Harsh Shandilya2-6/+42
2021-12-21app: migrate XkPasswd users to DicewareHarsh Shandilya1-0/+11
2021-12-21app: add diceware generator dialogHarsh Shandilya1-0/+3
2021-12-21app: remove XkPasswd generatorHarsh Shandilya3-199/+0
2021-12-09Prevent Git files from turning up in search and listing (#1582)Harsh Shandilya1-3/+5
* Prevent Git files from turning up in search and listing * Update changelog
2021-11-03Allow unauthenticated HTTPS Git access (#1533)Harsh Shandilya1-1/+3
2021-10-28Upgrade dependencies (#1526)Harsh Shandilya1-11/+19
* gradle: upgrade all dependencies * github: replace gradle-cache-action with official gradle-build-action * github: update wrapper-validation-action
2021-10-03Replace Timber with logcat (#1509)(´⌣`ʃƪ)17-76/+100
* Replace Timber with logcat (#1505) * Add extension for asLog which takes a message param Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-09-14Gopenpgp related fixes (#1503)Harsh Shandilya3-7/+7
* app: rename new crypto activities (cherry picked from commit 89be012f995b878affb7e7a592750e130c7f0f2c) * app: allow alt backends to work without OpenKeychain (cherry picked from commit 7bf9f01e5ef7bb24700ce3f242e5aabbabbff09e) * app: rename ENABLE_GOPENPGP to ENABLE_PGP_V2_BACKEND
2021-08-27Fix auto-focus issue on Dialogs with TextInputFields (#1492)Yash Garg2-24/+2
2021-07-19Cleanup and fix CI tests (#1464)Harsh Shandilya1-8/+4
2021-07-17Refactor TOTP implementation and expand SteamGuard hacks (#1460)Harsh Shandilya1-17/+14
* 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-11Add initial implementation of Gopenpgp-backed PGP (#1441)Harsh Shandilya3-2/+22
2021-05-30app: replace getEncryptedProxyPrefs with injectionHarsh Shandilya1-3/+0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30app: replace some uses of getEncryptedGitPrefsHarsh Shandilya1-2/+19
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30app: use unsafeLazy everywhereHarsh Shandilya7-8/+13
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30extensions: add unsafeLazyHarsh Shandilya1-0/+3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22app: lazily initialize hiltEntryPoint to make sure that activity is ↵Aditya Wasan1-3/+4
available before we use appContext Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22spotless: fix formattingAditya Wasan3-11/+16
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22app: refactor GitSettings and ProxyUtils and inject them using hiltAditya Wasan5-54/+73
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22chore(format): format code using spotlessSphericalKat1-1/+0
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17refactor(extension): remove PreferenceManager dependency for getting preferencesSphericalKat1-1/+2
should help when using faked SharedPreferences Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-15Move file reads in RV adapters to a background dispatcherHarsh Shandilya1-2/+5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15all: reformat with Spotless againHarsh Shandilya37-154/+418
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28Upgrade to Kotlin 1.5 (#1397)Harsh Shandilya3-8/+13
* 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-21Refactor app shortcut handling (#1392)Harsh Shandilya1-0/+106
2021-04-18app: switch to format-common's PasswordEntryHarsh Shandilya3-98/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18app: configure Hilt and desugaringHarsh Shandilya1-1/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07Switch to sublime text's fuzzy matching (#1372)Amogh Lele1-25/+3
* refactor(search): use sublime text's fuzzy matching algorithm Signed-off-by: SphericalKat <amolele@gmail.com> * chore(changelog): update Signed-off-by: SphericalKat <amolele@gmail.com> * build: fetch sublime-fuzzy from Maven Central Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * chore(changelog): update Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>