aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
AgeCommit message (Collapse)Author
2021-11-03app: add Material3 themesHarsh Shandilya
2021-10-28Upgrade dependencies (#1526)Harsh Shandilya
* gradle: upgrade all dependencies * github: replace gradle-cache-action with official gradle-build-action * github: update wrapper-validation-action
2021-10-23Switch new PGP backend to use PGPainless (#1522)Harsh Shandilya
* crypto-pgpainless: init * crypto-pgpainless: add an opinionated CryptoHandler impl * app: migrate to crypto-pgpainless * crypto-pgp: remove * github: remove now unused instrumentation tests job * crypto-common: fixup package names * wip(crypto-pgpainless): add `PGPKeyPair` and `PGPKeyManager` Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> (cherry picked from commit 02d07e9e797a8600cc8c534a731dfffcc44cfdde) * crypto-pgpainless: use hex-encoded key IDs * crypto-pgpainless: replace legacy Gopenpgp-generated key file * crypto-pgpainless: fix CryptoConstants source set * crypto-pgpainless: fix tests * crypto-pgpainless: reinstate PGPKeyManager tests Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-03Replace Timber with logcat (#1509)(´⌣`ʃƪ)
* 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 Shandilya
* 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-09-03Bump dependencies for Kotlin 1.5.30 (#1497)Harsh Shandilya
2021-08-27Fix auto-focus issue on Dialogs with TextInputFields (#1492)Yash Garg
2021-08-24Update AndroidX deps (#1491)Harsh Shandilya
2021-08-08Make password generator parameter changes reactive (#1480)Harsh Shandilya
* Make XkPassword generator reactive * Handle empty strings * Make password generator reactive * Sync changelog for 1.13.5 release * Add to changelog
2021-07-19Cleanup and fix CI tests (#1464)Harsh Shandilya
2021-07-17Refactor TOTP implementation and expand SteamGuard hacks (#1460)Harsh Shandilya
* 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 Shandilya
2021-05-31Fix 'View generated SSH key' option showing when not applicable (#1426)Harsh Shandilya
* RepositorySettings: only show preference when available Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * RepositorySettings: update 'View generated SSH key' preference after generating Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30app: replace getEncryptedProxyPrefs with injectionHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30app: replace some uses of getEncryptedGitPrefsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30BasePgpActivity: inject settings through HiltHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30app: use unsafeLazy everywhereHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30extensions: add unsafeLazyHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23app: use `PasswordEntry#extraContentString` for editingHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22app: cleanup PasswordRepositoryHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22Tweak documentation and drop unused importHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22docs: Document qualifiersAditya Wasan
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22app: lazily initialize hiltEntryPoint to make sure that activity is ↵Aditya Wasan
available before we use appContext Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22spotless: fix formattingAditya Wasan
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22app: refactor GitSettings and ProxyUtils and inject them using hiltAditya Wasan
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22di: add context and preferences moduleAditya Wasan
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22chore(format): format code using spotlessSphericalKat
Signed-off-by: SphericalKat <amolele@gmail.com>
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-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-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-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-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-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>