summaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2020-05-24build: bump versionv1.8.1Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-24BaseGitActivity: always enforce absolute URLs (#788)Harsh Shandilya1-3/+1
2020-05-23Fix tests for #778Harsh Shandilya1-3/+2
And this is why you rebase your PRs before merging :^) Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-23build: prepare next development revisionHarsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-23build: bump versionv1.8.0Harsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-23Make connection mode a <= 1 toggle group to prevent UI overflow (#778)Fabian Henneke2-33/+31
2020-05-23Update Public Suffix List data (#785)github-actions[bot]1-0/+0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-17Add tests for GitServerConfigActivity (#783)Harsh Shandilya1-0/+127
* Add tests for GitServerConfigActivity * github: disable animations before running UI tests Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-14treewide: correct misspellings (#781)Harsh Shandilya5-23/+23
app/src/main/java/com/zeapo/pwdstore/git/CloneOperation.kt:71:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/git/PullOperation.kt:45:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/git/SyncOperation.kt:60:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/git/ResetToRemoteOperation.kt:52:31: corrected "occured" to "occurred" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:10:22: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:15:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:16:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:17:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:20:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:23:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:24:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:27:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:30:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:36:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:38:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:39:31: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:41:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:42:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:45:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:47:35: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:111:54: corrected "Dipthong" to "Diphthong" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:113:30: corrected "DIPTHONG" to "DIPHTHONG" app/src/main/java/com/zeapo/pwdstore/pwgen/Phonemes.kt:207:56: corrected "DIPTHONG" to "DIPHTHONG" Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-14Add specific error messages to GitServerConfigActivityFabian Henneke3-27/+44
2020-05-14Use absolute paths for custom ports, relative for default portFabian Henneke1-3/+8
2020-05-14Improve Git/HTTPS URL generationFabian Henneke1-16/+22
2020-05-14treewide: Reformat XML resources again (#774)Fabian Henneke47-94/+47
2020-05-13treewide: fix copyright template and apply to all files (#773)Harsh Shandilya89-0/+445
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-12Make APS buildable on F-Droid (#762)Fabian Henneke6-2/+476
* 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-05-11Add setting for fallback username (#772)Harsh Shandilya6-17/+32
* PasswordEntry: remove useless annotations Turns out VisibleForTesting only applies for documentation purposes. Boo >:( Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntry: silence locale warning Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Add setting for fallback username Fixes #763 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya122-1161/+1244
- 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 Shandilya9-100/+38
* 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-09Use NoBackgroundTheme for utility activities (#770)Fabian Henneke1-2/+4
2020-05-08Introduce no-auth mode for connections (#768)Harsh Shandilya12-86/+114
Fixes #758 Fixes #526
2020-05-06PasswordEntry: add user to the potential candidates for username (#766)Harsh Shandilya1-0/+1
2020-05-06PasswordEntry: add more potential fields for username (#764)Harsh Shandilya2-2/+20
2020-05-03Better handle non-git repositories (#756)Harsh Shandilya15-56/+68
2020-05-01Confirm password move if it will replace an existing one (#757)Harsh Shandilya1-27/+34
* Confirm password move if it will replace an existing one Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: update Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-29Use official FastScroll fix and refactor PasswordFragment (#753)Fabian Henneke3-353/+7
2020-04-29build: update to openpgp-ktx 2.0 (#749)Harsh Shandilya2-201/+186
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-29build: prepare next releaseHarsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-29build: bump versionv1.7.2Harsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-28Fix Autofill icons in dark mode (#748)Fabian Henneke3-1/+2
2020-04-25Add toggle for debug logging (#745)Harsh Shandilya4-2/+11
2020-04-25Improve UX around settings items (#744)Harsh Shandilya20-253/+230
Fixes #461
2020-04-25Fix search if external root dir starts with a dot (#743)Maxime Catrice1-1/+2
Fixes #740 Co-Authored-By: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-04-24auth: redo implementation with a cleaner and simpler API surface (#741)Harsh Shandilya7-108/+90
2020-04-24Better detect uninitialized repositories and offer to clone (#738)Harsh Shandilya4-5/+17
* PasswordRepository: more comprehensive check for valid repository * PasswordFragment: Give 'repo uninitialized' Snackbar some purpose in life * GitOperationActivity: finish immediately when an unhandled request code is used * PasswordFragment: Make uninitialized repo Snackbar indefinite * spotless Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-23build: prepare next development versionHarsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-23build: bump version for patch releasev1.7.1Harsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-22Improve permission handling logic (#732)Harsh Shandilya4-33/+45
* Improve permission handling logic Ensure we always ask for storage permissions when required * Refactor storage permission checks and invert return value * PasswordStore: improve permission grant flow * strings: slightly reword permission grant request message Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-22Fix crash when using type independent sort (#734)Fabian Henneke1-1/+3
2020-04-22Mark Autofill onboarding dialog as seen on dismiss (#731)Fabian Henneke1-3/+8
2020-04-21Never obscure OK button in Autofill onboarding UI (#729)Fabian Henneke1-2/+1
2020-04-21build: prepare next development versionHarsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21build: bump version to 1.7.0v1.7.0Harsh Shandilya1-2/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21build: inline versionCode and versionName at destinationHarsh Shandilya1-1/+3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21PasswordStore: onboard users to Oreo autofillHarsh Shandilya3-0/+44
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21Application: only install logging tree in debug features buildHarsh Shandilya1-1/+1
We should be at a stability level now that does not require logging in prod Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21treewide: switch to logging via timberktHarsh Shandilya11-56/+70
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21treewide: use getSystemService extension everywhereHarsh Shandilya4-7/+11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21treewide: use edit extension and cleanup some deprecationHarsh Shandilya12-138/+139
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21Remove unused importHarsh Shandilya1-1/+0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21BaseGitActivity: don't remove saved password unnecessarilyHarsh Shandilya1-1/+1
if previousUrl is empty it means that this the first time the method is being called, and url has not been built yet. We let things slide for the first pass so that the actual logic only kicks in when it needs to. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>