summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/activity_git_clone.xml
AgeCommit message (Collapse)AuthorFilesLines
2020-06-14Misc UI fixups (#851)Harsh Shandilya1-4/+1
2020-05-28Configure IME options and focus direction (#805)Harsh Shandilya1-3/+14
2020-05-23Make connection mode a <= 1 toggle group to prevent UI overflow (#778)Fabian Henneke1-18/+12
2020-05-13treewide: fix copyright template and apply to all files (#773)Harsh Shandilya1-0/+5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-27/+28
- 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-05-10Miscellaneous UI tweaking (#771)Harsh Shandilya1-27/+11
* Remove dangling UI element and relayout authentication modes * Drop unnecessary actionBarPopupTheme declaration * Improve ssh keygen UI * Commonize button styling * Tweak save button in server config * Tweak generate button in ssh keygen * Commonize OutlinedButton style Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-08Introduce no-auth mode for connections (#768)Harsh Shandilya1-27/+16
Fixes #758 Fixes #526
2020-04-17Refactor Git related activities (#685)Harsh Shandilya1-162/+200
* 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-03-29Significantly improve app theming (#679)Harsh Shandilya1-10/+0
* Update CHANGELOG * Use outlined box style in folder creation dialog * Add user-facing choice for app theme Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2019-12-15Fix missing margin in server config view (#594)Harsh Shandilya1-0/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-01Redesign UI and introduce dark theme (#519)Harsh Shandilya1-191/+167
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-31treewide: Resolve layout warningsHarsh Shandilya1-20/+2
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2017-08-02Fix more lint (#325)Felix Bechstein1-5/+11
* fix/ignore lint errors, run lint on travis * fix/ignore some lint warnings
2017-07-25Fix lint warnings (#319)Felix Bechstein1-8/+10
* 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
2015-03-14version bump and some style updateMohamed Zenadi1-2/+3
2015-01-04git tasks refactoring (clone working)zeapo1-1/+1
2014-12-16fix the the git fields and a small refactorv1.2.0.10zeapo1-5/+9
2014-12-04Add the possibility to edit git server informationzeapo1-0/+6
Also uses jgit 3.6
2014-10-19Improved layout of clone and made it similar to the rest of the applicationzeapo1-2/+9
2014-10-02support non-physical keyboard for cloneknuthy1-165/+169
2014-10-02improved support of explicitly given portv1.1-b8knuthy1-7/+7
2014-10-01Improved clone screen and added preliminary support for custom ports, fix #14knuthy1-7/+30
2014-10-01improves the clone screenknuthy1-25/+26
2014-09-30a first draft, not complete yetknuthy1-28/+157
2014-08-23pull and push working with ssh-key nowzeapo1-1/+1
2014-08-23added ssh-key based authentication for clonezeapo1-3/+5
2014-08-08more refactoring and ability to pull from serverZeapo1-1/+1
2014-07-26Moved the cloning to settings, needs a nicer iconZeapo1-1/+1
2014-07-26Authentication works correctly for clone, some cleaning is still requiredZeapo1-9/+13
2014-07-24initial commitZeapo1-0/+40