aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java
AgeCommit message (Collapse)AuthorFilesLines
2020-05-28Use SSHJ for SSH public key authentication (#801)Fabian Henneke1-145/+0
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-8/+11
- 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-6/+7
2020-04-10Modernize legacy RecyclerView adapters (#694)Fabian Henneke1-1/+1
* 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-01-30Update license headers (#625)Harsh 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-02Add Spotless to regulate codestyle (#550)Harsh Shandilya1-13/+14
* Add Spotless to regulate codestyle * treewide: Run spotless * Add spotlessCheck to CI test Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-09-15ReformatHarsh Shandilya1-1/+0
[skip travis] Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30treewide: Remove more useless log printsHarsh Shandilya1-1/+0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30treewide: ReformatHarsh Shandilya1-4/+6
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31GitAsyncTask: Acquire WeakReference of activity to prevent context leaksHarsh Shandilya1-7/+14
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-15Allow the user to push local master to a new branch in case of conflict (#508)Mohamed Zenadi1-0/+11
* 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
2019-01-02Bump minSdk to 21 (#466)Harsh Shandilya1-3/+1
* 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>
2017-08-11introduce onSuccess/onErrorzeapo1-1/+3
2017-08-10detect error during pushzeapo1-0/+26
fix #280
2017-06-24revert auto-sync and background git activityMohamed Zenadi1-32/+10
too buggy, no time to work on it correclty
2017-06-15fix files not being committedMohamed1-1/+2
2017-06-15fix colorMohamed1-3/+4
2017-06-13re-enable locking for clone operationMohamed1-10/+29
2017-06-05Do not lock the interface for any operation in the gitactivityzeapo1-18/+8
2017-06-05add autoSync on startupzeapo1-9/+21
2017-05-08little refactor and version bumpv1.2.0.58zeapo1-0/+2
2017-03-27fix git rm and syncMohamed Zenadi1-5/+17
fixes #276 fixes #283
2016-12-31add the cause of jgit error to the messageMohamed Zenadi1-1/+1
2016-12-11Handle jgit errors (#243)Mohamed Zenadi1-27/+3
* 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ˆ
2015-08-25Use support AlertDialog everywhereMatthew Wong1-1/+1
2015-05-12fixes some crashes where the dialog is no longer availablev1.2.0.16Mohamed Zenadi1-1/+6
2015-04-19Add a Sync command that calls Pull then PushMohamed Zenadi1-4/+4
Fixes #78
2014-12-16fix the the git fields and a small refactorv1.2.0.10zeapo1-0/+96