Commit graph

1197 commits

Author SHA1 Message Date
Harsh Shandilya
0d5d5af674
Use full canonical path for classes in manifest (#1823)
* app: switch to full class names in manifest

* CONTRIBUTING: document configuration cache failures
2022-04-06 12:35:59 +00:00
Harsh Shandilya
2320201f89
Migrate namespaces to Gradle (#1805)
* ui-compose: update Gradle configuration

* gradle: fix namespace for a couple astray Compose dependencies

* all: switch to Gradle namespace property

Mirrors a similar change from AndroidX dcfa035a96
2022-03-27 12:37:18 +00:00
Harsh Shandilya
6fc1fafe99
Misc PGP v2 fixes (#1784)
* Don't throw in PGPKeyImportActivity when no file is selected

* PGPSettings: mark import option as dependent on V2 backend pref
2022-03-13 13:07:29 +00:00
Harsh Shandilya
861ca58a58
Configure Sentry with more information (#1782)
* 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-13 12:11:01 +00:00
c-steindl
20725219bd
Fix typo in german translation (#1781) 2022-03-12 11:50:23 +00:00
Harsh Shandilya
186b8352b5
Fix TOTP field flashing on each update (#1779)
* Fix TOTP field flashing on each update

* Add missing changelog entry
2022-03-11 10:54:51 +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
47ec6059bd
app: turn off StrictMode (#1761) 2022-03-02 21:38:00 +05:30
Harsh Shandilya
778834d5e4
Upgrade ktfmt to 0.33 (#1753)
* build: upgrade ktfmt to 0.33

* all: reformat with ktfmt 0.33
2022-02-26 01:58:20 +05:30
Harsh Shandilya
d8b5880215
Fix Autofill ANR when entry has no TOTP (#1746) 2022-02-24 07:50:17 +00:00
Harsh Shandilya
3d0006d610
Introduce Sentry for error reporting (#1737) 2022-02-20 19:01:19 +05:30
renovate[bot]
cca04dd40a
chore(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.2.2 (#1718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-09 10:32:04 +00:00
Harsh Shandilya
cf111f1978
Refactor PasswordEntry TOTP calculation into a cold flow (#1702) 2022-02-01 19:21:01 +05:30
Harsh Shandilya
2d607c78e7
Unwind PasswordRepository's confusing control flow (#1686)
* Cleanup PasswordRepository

* Tear out nonsensical logic for getRepository
2022-01-27 09:22:15 +05:30
Harsh Shandilya
d89d500319
Move Compose code to ui-compose module (#1687) 2022-01-26 17:11:04 +00:00
Harsh Shandilya
6c7a066ea6
Add the ability to run garbage collection on the internal Git repository (#1683) 2022-01-25 13:12:23 +05:30
Harsh Shandilya
dba86c2a53
app: make Autofill intents mutable (#1682)
Fixes: b8ce4f314538 ("app: add `PendingIntent.FLAG_IMMUTABLE` flag where required")
2022-01-24 03:37:49 +00:00
Harsh Shandilya
98010c7ff9
LaunchActivity: ensure V2 backend setting is respected (#1677) 2022-01-23 17:55:31 +00:00
github-actions[bot]
81c2721883
strings: sync with crowdin (#1673)
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-22 02:22:21 +00:00
Harsh Shandilya
78a90aacb3
Add support for properly dealing with incorrect passwords (#1672) 2022-01-21 00:27:04 +05:30
Harsh Shandilya
5509558eed
Parameterize key and key identifier types for KeyManager (#1669) 2022-01-18 17:40:16 +05:30
Aditya Wasan
abc62c2b6b
Refactor randomized password generator into a separate module (#1663) 2022-01-13 16:43:53 +00:00
renovate[bot]
14ef69d277
chore(deps): update dependency 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-12 12:42:27 +00:00
Harsh Shandilya
b1832c5595
Remove unused class (#1657) 2022-01-10 11:51:41 +00:00
Harsh Shandilya
cfceb38ee7
Fix a bunch of Lint warnings and errors (#1655)
* 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-09 19:01:03 +00:00
Harsh Shandilya
35155e5584
Make PGPainless backend feature flag runtime configurable (#1654)
* Make feature flags runtime configurable

* Add a settings entry for PGPainless feature flag

* Add changelog entry
2022-01-09 17:50:22 +05:30
Harsh Shandilya
1738879fb3
Integrate PGPainless backend into the UI properly (#1647) 2022-01-09 17:04:16 +05:30
Harsh Shandilya
799f1393e4
Make CryptoHandler use Key as the abstraction layer (#1651) 2022-01-09 16:19:52 +05:30
github-actions[bot]
d6e89f0425
strings: sync with crowdin (#1636)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-01-01 06:04:24 +00:00
Harsh Shandilya
a723ded00f
Revert "autofill-parser: remove Bromite from supported browsers (#1423)" (#1632)
This reverts commit 3f20678d79.
2021-12-31 04:03:50 +00:00
Harsh Shandilya
4c9413709d
Refactor BiometricAuthenticator and add proper support for retries (#1627) 2021-12-29 10:35:19 +00:00
Harsh Shandilya
17860407f9
app: migrate XkPasswd users to Diceware 2021-12-21 13:01:42 +05:30
Harsh Shandilya
a0a8200393
app: integrate diceware UI 2021-12-21 13:01:42 +05:30
Harsh Shandilya
fd46f1f0ba
app: add diceware generator dialog 2021-12-21 13:01:41 +05:30
Harsh Shandilya
0e8f899434
app: add diceware injection module 2021-12-21 13:01:41 +05:30
Harsh Shandilya
a700e2a766
app: remove XkPasswd generator 2021-12-21 13:01:41 +05:30
dependabot[bot]
b59c4f068c
build(deps): bump kotlinx-coroutines-test from 1.6.0-RC to 1.6.0-RC2 (#1586) 2021-12-10 17:54:45 +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
933558caf8
Prevent Git files from turning up in search and listing (#1582)
* Prevent Git files from turning up in search and listing

* Update changelog
2021-12-09 02:41:44 +00:00
Aditya Wasan
17f640bf46
Allow importing TOTP from images (#1580)
* feat(aps): allow importing TOTP code from an image containing a QR code

Signed-off-by: Aditya <adityawasan55@gmail.com>

* Reorder OTP import options and implement it for V2

* Replace try-catch with runCatching

* Use the correct TextWatcher extension at the right place

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-12-07 16:29:03 +00:00
Aditya Wasan
38bfcfdcae
Fix missing final item in extra content pairs (#1578) 2021-12-07 20:08:16 +05:30
Harsh Shandilya
1ade4eaf64
Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565) 2021-12-02 19:09:54 +00:00
Harsh Shandilya
d129d5e580
Ensure logger is installed when requested (#1549) 2021-11-23 20:31:55 +05:30
Harsh Shandilya
51956be665
Update dependencies (#1540) 2021-11-13 17:50:15 +05:30
Harsh Shandilya
bbadf4a68d
Upgrade dependencies (#1537)
* app: use MaterialAlertDialogBuilder for preference dialogs

* build: upgrade all dependencies
2021-11-08 10:54:01 +05:30
Harsh Shandilya
67e70e5936
Cleanup extra content handling (#1536)
* BasicBottomSheet: remove unnecessary custom background

Fixes: 88c9a0d487 ("app: refactor M3 themes and styles")

* FieldItemAdapter: fix typo ClipBoard -> Clipboard

* FieldItemAdapter: fix RV binding idempotency

* app: refactor FieldItemAdapter population logic

* DecryptActivityV2: wire in missing 'show password' toggle
2021-11-07 20:50:25 +05:30
Harsh Shandilya
223960d8d3
Fix password saving for V2 backend (#1534) 2021-11-04 23:28:40 +05:30
Harsh Shandilya
52f4ce06f5
Allow unauthenticated HTTPS Git access (#1533) 2021-11-03 20:32:53 +05:30
Aditya Wasan
2cf3ddf2aa
Revert "app: add dynamic colors support to Compose"
This reverts commit 2a9d2177a5.
2021-11-03 18:09:38 +05:30
Harsh Shandilya
2a9d2177a5
app: add dynamic colors support to Compose 2021-11-03 16:02:58 +05:30