summaryrefslogtreecommitdiff
path: root/app/build.gradle
AgeCommit message (Collapse)Author
2020-06-30Bump versionv1.9.2Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-28build: bump versionv1.9.1Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-22build: bump version to 1.9.0v1.9.0Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-12Break down PGP Activity into focused sections (#776)Harsh Shandilya
2020-06-11Dependency updates (#844)Harsh Shandilya
* build: uprev dependencies, add leakcanary plumber to patch leaks at runtime Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: upgrade security-crypto Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: fix copypasta fail Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-10Remove Apache Commons dependencies (#840)Diogenes Molinares
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-31build: Upgrade all dependencies (#803)Harsh Shandilya
* build: upgrade all dependencies We've accumulated a fat backlog here that's gonna need some heavy testing * build: adjust for WhatTheStack upgrade This is now automatically initialized * build: downgrade security-crypto * build: upgrade to Gradle 6.4 * idea: sync from AS 4.1.x * build: bump AGP to 4.0.0 * build: disable Jetifier Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-05-28Remove HOTP/TOTP support (#806)Harsh Shandilya
2020-05-28Use SSHJ for SSH public key authentication (#801)Fabian Henneke
2020-05-27Introduce and switch to FragmentViewBindingDelegate (#797)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-26Introduce better R8 optimizations (#796)Harsh Shandilya
2020-05-24build: prepare next development revisionHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-24build: bump versionv1.8.1Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-23build: prepare next development revisionHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-23build: bump versionv1.8.0Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-12Make APS buildable on F-Droid (#762)Fabian Henneke
* Include lib-publicsuffixlist in tree with proper license attribution * Exclude lib-publicsuffixlist from code style * Move applicationId to app/build.gradle * build: add distributionSha256Sum to Gradle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Initial workflow configuration for PSL update Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Initial check-in of PSL data Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-29build: update to openpgp-ktx 2.0 (#749)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-29build: prepare next releaseHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-29build: bump versionv1.7.2Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-23build: prepare next development versionHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-23build: bump version for patch releasev1.7.1Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21build: prepare next development versionHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21build: bump version to 1.7.0v1.7.0Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21build: inline versionCode and versionName at destinationHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-17Refactor Git related activities (#685)Harsh Shandilya
* Refactor git logic into separate parts * Extract hardcoded strings * Add KDoc to updateHostname, remove unused field * Cleanups * Fix dialog message * Wire in repository clone flow * spotless * Remove unused method * Cleanup GitActivity - Rename to GitOperationActivity. - Ensure identityBuilder is always closed regardless of what fragment uses it. - Remove hardcoded "Operation" strings and replace with REQUEST_ARG_OP. - Apply a transparent theme to GitOperationActivity make the UI less jarring. * Tweak some stupidly worded dialog messages As pointed out in #629, these strings are shoddily worded and do not express any clear intent to the user, leaving them confused and angry. * GitOperationActivity: wrap Context to ensure right theme is used * spotless * undo build.gradle change * Use correct parent theme, remove now useless wrapping * GitServerConfigActivity: fix repository clone flow * temp: disable leakcanary framework leaks on Samsung are pissing me off * Make system bars transparent in git activity * Tweak HTTPS password layout * Unhardcode wrong passphrase string * Store SSH passphrase in EncryptedSharedPreferences Also revamp the dialog to look a bit better * Implement support for remembering HTTPS password Fixes #521 * Try to patch HTTPS remote creation logic * Update security-crypto * Clear saved passphrase/password on auth failure * Revert "Update security-crypto" Broken on R DP2.1 This reverts commit 4b20371dd42c512a3dd3b759859abb6c1ffd2961. * Revert "temp: disable leakcanary" This reverts commit 2db7d41bd67b79c6dc8c5b359a7b27100379f45f. * Update CHANGELOG * Remove spacer * Remove useless override * Wrap git server activity in a ScrollView * GitOperation: always finish calling activity when dialogs are dismissed * Wipe saved password/passphrase when hostname changes * Don't commit prefs updates * Don't call listFiles excessively * Finish activity after saving configuration * Make ConnectionMode and Protocol enum classes * Change SSH key passphrase key, don't wipe on host change * Reimplement BaseGitActivity.updateUrl (was updateHostname) * Use SharedPreferences.edit KTX extension * Disable inapplicable connection modes depending on scheme * BaseGitActivity: annotate onDestroy with CallSuper We'll leak the identityBuilder connection otherwise * Move input hack for AlertDialog into an extension function We re-use this in many places * Fix protocol/mode toggle issue and consistenly name options * Fix a crash when opening GitServerConfigActivity without a repo * Fix OpenKeychain callbacks by moving onActivityResult to BaseGitActivity * Run spotlessApply Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-04-15Match any path component in StrictDomain FilterModeFabian Henneke
2020-04-11Switch refactored entities to ViewBinding (#695)Harsh Shandilya
* build: Enable ViewBinding * autofill: oreo: Switch to ViewBinding * PasswordFragment: switch to ViewBinding * AutofillPublisherChangedActivity: use with(binding) { } syntax Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-10Modernize legacy RecyclerView adapters (#694)Fabian Henneke
* Modernize legacy RecyclerView adapters Introduces new adapters based on the SearchableRepositoryViewModel and using androidx.recyclerview.selection for multiselection support. The following positive effects in behavior are observable to end-users: - Search and navigation actions are executed on IO threads. - RecyclerViews are now animated during searches (but not navigations). - Exact scroll position is restored when navigating back. - The ActionBar title is updated with the current folder name. The following negative effects may warrant attention: - Support for the "always search from root" setting has been removed. - Due to a limitation of the fast scroll dependency, using the scroller may result in unwanted multiselections. If this is not fixed in the library, native fast scroller capabilities could be used, but these are more limited in appearance and to not offer popups. * Fix lint * Fix FastScroller/SelectionTracker incompatibility * Immediately react to settings changes * List directory entries when search term is blank * Use isEmpty() instead of == "" * Replace adapter inheritance with builders and fix selection drags * Remove dividers in password lists * Run spotlessApply * Use a more logical string in action mode * Commonize and constify path bundle key * Make lambda parameter name explicit Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-07Modernize file listing and search in AutofillFilterActivity (#683)Fabian Henneke
* WIP: Modernize file listing and search * Refactor * Implement fuzzy search * Improve ViewModel API and introduce Adapter * Integrate new search into AutofillFilterActivity and dedebounce * Improve no results layout * Reformat * Highlight origin in FileBased directory structure * Extract highlighting logic into DirectoryStructure * Trim whitespace before searching * Remove debug logging * Remove more debug logging * Organize imports * Remove imports * Update app/src/main/java/com/zeapo/pwdstore/SearchableRepositoryViewModel.kt Co-Authored-By: Harsh Shandilya <me@msfjarvis.dev> * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-24Add support for Oreo Autofill (#653)Fabian Henneke
Adds support for the Autofill feature first available in Android Oreo. In compatible apps and browsers, login forms are automatically detected and the user is presented with options to fill or generate credentials. In most apps and certain browsers, the service will also offer to create new Password Store entries from credentials entered into login forms. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-07Upgrade all dependencies (#649)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-05Resolve various memory leaks (#637)Harsh Shandilya
This migrates the clipboard clear logic into a foreground service that allows us to also provide a notification that runs the clear task immediately on click, rather than wait for the timeout. Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-01swipe to refresh using androidx SwipeRefreshLayout (#645)glowinthedark
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-01-30Autofill UX improvements and code cleanup (#626)Harsh Shandilya
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-30Update license headers (#625)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-27Improved debugging tools (#620)Harsh Shandilya
* Add WhatTheStack * Add leakcanary * Codestyle nit * Support snapshot builds for debug tooling Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-26Add fastscroller with alphabetic hints (#616)Harsh Shandilya
* Setup basic fast scroll Work towards #558 * Implement PopupTextProvider Fixes #558 * Update changes * Hide system scrollbars * Port fastscroll to autofill preferences * Spotless Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-26Switch to Timber for logging (#617)Harsh Shandilya
* Switch to Timber for logging Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Update changelog Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Fix rebase error Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-11Update and cleanup dependencies (#607)Harsh Shandilya
* Remove unused cardview dependency * Remove unused test dependencies and update junit * Update spotless Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-31Prepare for new Play Store listing (#602)Harsh Shandilya
* Gradle cleanup * Update package name * Remove release APK from git This should have never been here * Move package name to dependencies.gradle * github: Setup caching for gradle * Update Play Store art * gradle: Use constraints API in place of deprecated force * Update dependencies * Raise minSdk to 23 * Target SDK 28 for now External storage handling changes are atrocious to support in this codebase so we'll be holding out as far as we can. * Revert "Opt into legacy external storage handling (#595)" Not needed on SDK 28 This reverts commit 3f249e4bffffe0ba30e7546735c7fb4576918c69. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16Setup snapshot deployment (#599)Harsh Shandilya
* Setup snapshot deployment * README: Update repository links * README: Update workflow badge link * README: Add link to Snapshot builds * Fix snapshot/pull-request build conflict * Deploy from feature/deploy-snapshots as well * Revert "Deploy from feature/deploy-snapshots as well" Confirmed it works well This reverts commit 06f6bc0e8c19f238643655d09ca20f83dd416283. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-26Rewrite Gradle configuration to simplify further (#581)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-12Switch to openpgp-ktx (#565)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-08Re-add OpenPgpAppPreference (#564)Harsh Shandilya
Re-add OpenPgpAppPreference
2019-11-08Re-add OpenPgpAppPreferenceHarsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06Bump junit from 4.13-beta-3 to 4.13-rc-1dependabot-preview[bot]
Bumps [junit](https://github.com/junit-team/junit4) from 4.13-beta-3 to 4.13-rc-1. - [Release notes](https://github.com/junit-team/junit4/releases) - [Changelog](https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.12.md) - [Commits](https://github.com/junit-team/junit4/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06Revert back to Groovy DSLHarsh Shandilya
The Kotlin DSL's API is extremely terrible and makes the simplest tasks annoying. It also introduces a very noticeable build overhead that I'd rather not have. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02Rewrite Gradle configuration with Kotlin DSL (#488)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-06Enable parallel installation of release and debug builds (#471)Timo Loewe
* Specify applicationIdSuffix for debug build type This allows installing debug and release versions of the app alongside each other. * Get rid of obsolete repository declaration in app/build.gradle
2019-01-02Bump minSdk to 21 (#466)Harsh Shandilya
* Bump minSdk to 21 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * PasswordGenerator: Constify things Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Deprecate PRNG fixes The problem being fixed doesn't exist on SDK 21 and above. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * treewide: Switch to lambdas Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * treewide: Formatting fixes Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * treewide: Remove useless casts and add missing annotations Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>