aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/git/BreakOutOfDetached.kt
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05Remove GitAsyncTask and replace with non-blocking coroutines (#865)Harsh Shandilya1-90/+0
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-07-29Add ability to change default branch (#977)Harsh Shandilya1-4/+9
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-08global: set an import order rule and reformat with it (#924)Harsh Shandilya1-1/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-03Migrate to ActivityResultContracts (#910)Harsh Shandilya1-2/+2
* Move git directory selection to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * global: replace all android.app.Activity references Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * res: resolve ObsoleteSdkInt lint warning Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * layout: silence some overdraw warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordFragment: address deprecation Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordStore: start addressing deprecation warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * autofill: silence deprecation warnings for legacy implementation I don't want to ever touch these files Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Reset scrollTarget after use Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Refresh password list after each swipe Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Convert if to when Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Migrate UserPreference to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Also validate result in git directory selection Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * AutofillSaveActivity: Switch to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * AutofillDecryptActivity: Switch to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * AutofillFilterActivity: Switch to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Improve deletion flow - Silently delete empty directory - Always refresh password list upon completion Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Uniform naming for activity result handlers Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-06-28Consolidate password list refresh (#887)Fabian Henneke1-1/+1
2020-05-28Use SSHJ for SSH public key authentication (#801)Fabian Henneke1-2/+2
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-27/+27
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
2020-04-14Fix repository corruption by AutofillSaveActivity (#699)Fabian Henneke1-1/+1
2020-01-30Update license headers (#625)Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06treewide: Reformat with latest ktlintHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02treewide: Fix typo in license headerHarsh Shandilya1-1/+1
While we're here, also clarify we're strictly GPL-3.0 and not automatically opting into future revisions of the license. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02treewide: Add copyrightsHarsh Shandilya1-0/+4
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-01Redesign UI and introduce dark theme (#519)Harsh Shandilya1-4/+4
Caveats: - The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead. - The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it.
2019-05-15Allow the user to push local master to a new branch in case of conflict (#508)Mohamed Zenadi1-0/+80
* detect that we're in a detached head and show the message * add a new way to clean local repo in case of failed rebase