aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/git/GitOperation.java
AgeCommit message (Collapse)AuthorFilesLines
2019-05-31Convert GitOperation API and implementations to KotlinHarsh Shandilya1-256/+0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-06Authentication using OpenKeystore SSH API (#486)vexofp1-7/+34
* Implemented OpenKeystore SSH API as a new authentication option * Fix formatting problems Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Addressed review comments. Removed leftover debugging code. Wrapped excessively long lines. Added missing new parameter to Javadoc. * Merge remote-tracking branch 'upstream/master' into gpg-ssh-key
2019-01-03GitOperation: Dismiss activity on cancel (#468)Harsh Shandilya1-3/+2
Fixes the issue where starting a repository sync and then hitting cancel in the password dialog leaves you with an empty activity which needs to be dismissed to get back to where you were. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-01-02Bump minSdk to 21 (#466)Harsh Shandilya1-73/+47
* 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>
2018-10-12Migrate to AndroidX (#430)Harsh Shandilya1-2/+2
* Update gradle and external dependencies - Switch away from deprecated compile directive - Remove explicit buildToolsVersion, is defined by the gradle plugin now - Fix build in SelectFolderActivity Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Upgrade gradle plugin and wrapper to latest alpha Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Don't use alpha gradle plugin Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Migrate to AndroidX https://developer.android.com/jetpack/androidx/ Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Upgrade AndroidX dependencies to stable release Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * Enable Jetifier Signed-off-by: Harsh Shandilya <harsh@prjkt.io> * SelectFolderFragment: Fix build Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2017-08-11introduce onSuccess/onErrorzeapo1-3/+11
2017-08-10add remember passphrase and clearing it from settingszeapo1-22/+45
2017-08-10detect error during pushzeapo1-4/+1
fix #280
2017-08-02Fix more lint (#325)Felix Bechstein1-5/+5
* fix/ignore lint errors, run lint on travis * fix/ignore some lint warnings
2017-07-25Fix lint warnings (#319)Felix Bechstein1-1/+0
* Fix lint errors/warnings Fix a lot of lint errors and warnings. Most things are automatically applied fixes done with android studio: * externalize strings * remove unused code / classes / layouts / imports * migrate some fields to local variables * Remove dead code from comments Removed code that is commented out long ago. * remove unused resources * colors * strings * drawables * layouts * menus
2017-06-24revert auto-sync and background git activityMohamed Zenadi1-20/+9
too buggy, no time to work on it correclty
2017-06-15fix authentication dialog not showingMohamed1-3/+8
2017-06-13re-enable locking for clone operationMohamed1-1/+6
2017-06-05add autoSync on startupzeapo1-12/+13
2016-12-11Handle jgit errors (#243)Mohamed Zenadi1-30/+47
* initial work on the git error handling * remove throws exception and handle the jsch one correctly * move the commit task into its own operation * get rid of the interface and rely on the abstract class GitOperation * add error message to the pull command * add error message to the push command * add error message to the sync operationˆ
2016-11-12detect wrong ssh-key passphraseMohamed Zenadi1-4/+25
2015-08-25Use support AlertDialog everywhereMatthew Wong1-1/+1
2015-07-22Don't ask for ssh key passphrase if key is not encrypted with one #106Matthew Wong1-18/+25
2015-07-14Change 'No SSH key' dialog to have options for import or generate. Also add ↵Matthew Wong1-7/+23
all the strings...
2015-04-19Add a Sync command that calls Pull then PushMohamed Zenadi1-2/+0
Fixes #78
2015-01-04set credential after they've been intializedzeapo1-3/+1
2015-01-04add support for pull and push operationszeapo1-13/+24
2015-01-04git tasks refactoring (clone working)zeapo1-0/+161