summaryrefslogtreecommitdiff
path: root/app/src
AgeCommit message (Collapse)Author
2021-05-17refactor(extension): remove PreferenceManager dependency for getting preferencesSphericalKat
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 Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15all: reformat with Spotless againHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-11Show current copy timeout in settings (#1404)Aditya Wasan
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-02app: update GpgIdentifier testsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02strings: sync with crowdinHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-30Refactor openpgp-ktx to leverage coroutines (#1398)Harsh Shandilya
* openpgp-ktx: leverage coroutines for async IPC * Unwind nested dispatchers * Fix name shadowing warning Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28Upgrade to Kotlin 1.5 (#1397)Harsh Shandilya
* 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-25Do not ASCII armor files when encrypting (#1396)Harsh Shandilya
2021-04-21Support creating pinned shortcuts directly (#1393)Harsh Shandilya
* CHANGELOG: update for pinning support * PasswordFragment: support pinning * PasswordStore: use `PasswordItem#createAuthEnabledIntent` * PasswordItem: add `createAuthEnabledIntent` API * DecryptActivity: remove last changed time Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21Refactor app shortcut handling (#1392)Harsh Shandilya
2021-04-21Enable StrictMode in debug logging builds (#1391)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-19Migrate some tests to Robolectric (#1389)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18Remove hand-rolled CoroutineScope and fix inverted conditions (#1386)Harsh Shandilya
2021-04-18app: switch to format-common's PasswordEntryHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18app: configure Hilt and desugaringHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-10Sync localisations from Crowdin (#1379)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-08Declare and check for camera features (#1375)Harsh Shandilya
* app: set feature requirements * Don't offer QR import option if no camera is present Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07Refactor biometric preference handling (#1374)Harsh Shandilya
Fixes #1371 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07Switch to sublime text's fuzzy matching (#1372)Amogh Lele
* 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>
2021-04-03Actively discourage use of git protocol (#1368)Harsh Shandilya
2021-03-30Minor adjustment of german translation. (#1362)schiermi
"Shop" sounds strange, especially in Autofill.
2021-03-26DecryptActivity: use correct TOTP period (#1359)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-21Do not cancel keygen biometric prompt on failure (#1357)Fabian Meumertzheim
Biometric authentication may very well fail a few times due to e.g. using the wrong finger, but that should not cancel the key generation flow. The BiometricAuthenticator UI gracefully handles the error case for us with an informative message. Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-21Inform users that GPG key selection is mandatory (#1355)Harsh Shandilya
* Inform users that GPG key selection is mandatory Fixes #1342 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * changelog: sync for 1.13.4 release Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * changelog: add GPG key selection improvements Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20Fix launcher shortcut icon renderingHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20app: remove lingering resource directoryHarsh Shandilya
The mapping was fixed on Crowdin but this wasn't deleted manually resulting in build failures Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20strings: sync with crowdinHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20app: fix nonFree resourcesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: format XML files to 2 space indentHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: reformat with ktfmtHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: update copyrightsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-13Append trailing newline to `.gpg-id` during creation (#1344)Harsh Shandilya
2021-02-19Parse extra content into key value pairs (#1321)Aditya Wasan
* ui: add skeleton recyclerview to parse extra content Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * ui: add recyclerview and update PasswordEntry to create map of key-value pairs Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * password-entry: When key-value pair is not correctly formed, display it as Extra Content Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Fix formatting Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * bug: update otp code on main thread Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Add complete string if key-value pair cannot be formed Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * test: add a few tests for key-value parsing logic Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * prefs: remove SHOW_EXTRA_CONTENT from shared preferences Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Update CHANGELOG.md * Cleanup and refactor Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntryTest: silence nullability warning Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntry: simplify constructor Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntry: annotate test-enablement visibility Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Reintroduce the catch-all field Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * update parsing logic Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * add one more test case Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Add missing newlines Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove unnecessary scrollview Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * rv: do not return if hasExtraContent is false Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Don't anchor RV to bottom Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-18Implement manual TOTP import and cleanup password generators (#1320)Harsh Shandilya
2021-02-15Add tests for GPG identifier parsing (#1319)Harsh Shandilya
2021-02-10Update to SSHJ 0.31.0 (#1314)Harsh Shandilya
Co-authored-by: Fabian Henneke <fabian@hen.ne.ke>
2021-02-07Redo authentication modes UI with Chips (#1297)Harsh Shandilya
2021-02-03Rework clear clipboard feature (#1295)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-31Fix app shortcuts not updating (#1292)Harsh Shandilya
2021-01-27Disallow overwriting passwords when editing (#1286)Harsh Shandilya
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-01-23strings: sync with crowdin (#1284)github-actions[bot]
2021-01-22Codestyle churn (#1283)Harsh Shandilya
* editorconfig: delete Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * idea: adjust codestyle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * all: reformat with simplified import ordering rules Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-12Allow configuring pull behaviour (#1276)Harsh Shandilya
2021-01-12Rework settings to use ModernAndroidPreferences (#1236)Harsh Shandilya
Co-authored-by: Fabian Henneke <fabian@hen.ne.ke>
2021-01-08app: cleanup how we handle menu item presses (#1275)Harsh Shandilya
Fixes #1274 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-08Fix auth modes not displaying properly (#1271)Aditya Wasan
* res: fix auth modes not displaying properly Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * res: wrap onboarding flow screens inside ScrollView Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-01-03Show less obvious Autofill actions first (#1268)Fabian Meumertzheim
Show Generate and Fill SMS OTP Autofill actions before the more uninteresting (and expected) Search action.
2021-01-01Revert "Refactor GitCommandExecutor (#1255)" (#1267)Harsh Shandilya
This breaks propagation of errors to the UI layer This reverts commit c34d08b094e80e2fd683e988f5e7ac98ad254e81.
2020-12-30Automate Crowdin localisation sync (#1265)Harsh Shandilya
* build: add a Gradle plugin for Crowdin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: add skipCleanup extension property Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: also handle nonFree source set Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build/crowdin: fixup directory names for nonFree variant Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * app: sync translations from Crowdin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: add Crowdin sync workflow Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>