summaryrefslogtreecommitdiff
path: root/app/src
AgeCommit message (Collapse)Author
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>
2020-12-21Sync localisations with Crowdin (#1256)Harsh Shandilya
Fixes #1254 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-20Refactor GitCommandExecutor (#1255)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-17Transform broken repo error message to be more helpful (#1251)Harsh Shandilya
2020-12-10Better guidance for users to deal with host key changes (#1242)Harsh Shandilya
* Provide actionable guidance for host key mismatches Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Update changelog Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Hide host key clear button after use Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-10Try to fix missing `.gpg-id` files as well (#1246)Harsh Shandilya
2020-12-07Mark Chrome Canary as non-flaky and allowing save (#1237)Fabian Meumertzheim
* Mark Chrome Canary as non-flaky and allowing save * autofill-parser: update API dump Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * autofill-parser: bump snapshot version Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-05Refactor package structure (#1233)Harsh Shandilya
* idea: default test runner to Gradle * Kick off package structure revamp * Reparent all classes under dev.msfjarvis.aps Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-03Set 10 second timeout on JGit transport commands (#1230)openpgp-ktx-v2.2.0autofill-parser-v1.0.0Harsh Shandilya
* GitOperation: set a 10 second connection timeout Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Update changelog Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-02Use countdown chronometer on API 24 and above (#1228)Aditya Wasan
* Use countdown chronometer on API 24 and above Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Do not use SharedPreferences inside ClipboardService ClipboardService run in it's own process and SharedPreferences do not support multiple processes. Due to this changes in notificaion clear time are not reflected to the ClipboardService. This commit fixes that by passing time explicitly from the main app process. Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2020-12-01GitCommandExecutor: make committer match author (#1226)Harsh Shandilya
* GitCommandExecutor: make committer match author Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Add changelog entry Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-30build: upgrade dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-22Automatically dismiss decryption screen after 60 seconds (#1216)Harsh Shandilya
* Automatically dismiss decryption screen after 60 seconds Fixes #1215 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Update changelog Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-21App shortcut fixes (#1213)Harsh Shandilya
2020-11-15Fix Autofill dataset icon tint (#1207)Fabian Henneke
ImageViews in RemoteViews require tint to be specified with the android: prefix, the lint thinks otherwise.
2020-11-06Fix extra content for multiple username fields (#1192)Harsh Shandilya
Fixes #1190 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-05Resolve Autofill breakage below API 30 (#1187)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-03Fix Autofill regression caused by empty dataset (#1184)Fabian Henneke
2020-11-03Make autofill-parser API explicit and refactor (#1182)Fabian Henneke
2020-11-02Improve Autofill UI and enable inline presentations (#1181)Fabian Henneke
* Improve Autofill UI and enable inline presentations Improves the Autofill UI in the following ways: * Add support for Android 11 inline presentations of Autofill datasets. * Instead of showing the identifier (app name or web origin) of the current app on top of every Autofill dataset, it is now shown 1) as a header dataset on Android 9 and 10 as well as 2) at the top of the search activity on all supported versions of Android. Rationale: The identifier is only used in trust decisions when choosing an existing entry to fill and should feature prominently in that view, not elsewhere. * Show the actual identifier part of a matched entry's path, which may differ from the identifier of the matched app/website. * Slightly tweak the labels of Search/Generate Autofill actions to indicate that a) this is about entries and b) the user may skip the generation of a password and supply a custom one as well. * Suppress lint error * Address review comments * Add a fixme about properly handling fill-in datasets * CHANGELOG: add entry for inline presentation Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove unused parameter Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-01build: compile against SDK 30 and resolve deprecationsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-31Finish activity when Autofill Generate is cancelled (#1179)Fabian Henneke
2020-10-23Minimal support for MIME secret encoding (#1170)Joris Minjat
Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-10-23Workaround AndroidX lifecycle requirements in OpenKeychain auth (#1168)Harsh Shandilya
* Workaround AndroidX lifecycle requirements in OpenKeychain auth Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: add OpenKeychain fix Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-10-23Rollback automatic synchronization feature (#1165)Harsh Shandilya
* Revert "Add option to automatically sync repository on app launch (#1137)" Fixes #1163 This reverts commit 92f1aab25da12411aa256c3b763e0cb6182e9320. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: add entry for auto sync rollback Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-22Remove accessibility autofill support (#1162)Harsh Shandilya
* autofill: remove Accessibility backend Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: update Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-21GitServerConfigActivity: add quick-fix for HTTPS URLs with custom portsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-21GitServerConfigActivity: set auth mode visibility on launch as wellHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-19Convert PasswordRepository to an objectHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-19PasswordRepository: split out PasswordSortOrderHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-19PasswordStore: Remove unnecessary class-level variablesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-18Rollback string changes from #1157Harsh Shandilya
These should never have been made Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>