Commit graph

44 commits

Author SHA1 Message Date
Fabian Henneke
3840f43fa0
Refactor Git operations and auth (#1066)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-03 14:18:14 +05:30
Fabian Henneke
cbb96397d1
Add Keystore backend for SSH public key authentication (#1070) 2020-09-01 13:42:27 +05:30
Harsh Shandilya
c848788f05
Merge remote-tracking branch 'origin/release' into develop
* origin/release:
  build: bump version
  build: drop -free suffix
  Remember HTTPS password throughout a sync operation (#1062)

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-27 19:25:06 +05:30
Harsh Shandilya
7b4792d147
build: bump version
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-27 17:58:17 +05:30
Harsh Shandilya
cc97f64ff2
build: drop -free suffix
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-27 17:57:18 +05:30
Harsh Shandilya
cbe780f31c
Merge branch 'release' into backmerge-release
* release:
  build: bump version
  Add changelog entry for HTTPS authentication
  Return HTTPS URI username from CredentialsProvider (#1049)
  Prevent racing double commits on password creation (#1047)
  Prepare release 1.11.2
2020-08-24 13:35:05 +05:30
Harsh Shandilya
4a4e48dc34
build: bump version
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-24 12:46:03 +05:30
Harsh Shandilya
92f80b2e3d
Merge branch 'release' into develop
* release:
  build: bump version
  Update CHANGELOG
  Revert "Reland symlink support (#1020)"

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-21 01:33:24 +05:30
Harsh Shandilya
d9c3aff6d3
build: bump version
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-21 01:11:13 +05:30
Harsh Shandilya
7a7e58f6dd
Revert "Reland symlink support (#1020)"
This does not work below API 27.

Fixes #1032

This reverts commit 087ab547c1.
2020-08-21 01:11:06 +05:30
Harsh Shandilya
bd0d97d242
build: prepare next development version
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-18 21:31:06 +05:30
Harsh Shandilya
80b3a15592
build: bump version
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-18 21:17:03 +05:30
Fabian Henneke
087ab547c1
Reland symlink support (#1020)
* Add symlink support to JGit (#1016)

* Add symlink support to JGit

* Fix a typo

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>

* Prevent crash when following a broken symlink

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-14 13:27:16 +05:30
Harsh Shandilya
57f1c65fdf
Restore workaround for preventing empty commits (#1019)
* Revert "Add symlink support to JGit (#1016)"

This reverts commit 5032696cec.

* Restore workaround for empty commits and document commands

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Update app/src/main/java/com/zeapo/pwdstore/git/GitCommandExecutor.kt
2020-08-13 22:16:47 +02:00
Fabian Henneke
5032696cec
Add symlink support to JGit (#1016)
* Add symlink support to JGit

* Fix a typo

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-13 15:51:09 +05:30
Harsh Shandilya
5715b59ed4
Replicate key selection flow for directory creation (#999)
* Replicate key selection flow

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Review fixes

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Set --user 0 in adb options to prevent automatically installing to work profile

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Fix committing regression

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* Update changelog

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-10 19:19:01 +05:30
Harsh Shandilya
12a83e5c36
Merge branch 'release' into develop
* release:
  build: bump version
  Downgrade coroutines to 1.3.6 to fix VerifyErrors

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-31 13:37:25 +05:30
Harsh Shandilya
cea9f4b942
Merge branch 'release' into develop
* release:
  build: bump version
  Prepare release 1.10.2
  Fix two SMS Autofill crashes (#985)
  Fix TOTP import button check semantics (#982)
  Properly handle files without passwords (#969)
  Expand OTP and PasswordEntry tests (#968)

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-30 14:51:57 +05:30
Harsh Shandilya
974bcc6b54
build: update APK cruft exclusion list
Generates a fairly decent size difference from the current release build

$ diskus app/build/outputs/apk/free/release/app-free-release.apk
4.31 MB (4,308,992 bytes)

$ diskus ~/APS-free_v1.10.1.apk
4.44 MB (4,444,160 bytes)

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26 16:45:23 +05:30
Harsh Shandilya
f256d5f244
Merge remote-tracking branch 'origin/release' into develop
* origin/release:
  build: prepare next development version
  build: bump version
  Prepare release 1.10.1
  Add CHANGELOG entries for 1.10.1 (#961)
  Wire in fallback key selection flow (#958)
  Fix OpenPgpApi extra type confusion (#960)
  Fix a crash when parsing long key IDs (#959)

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-23 23:05:18 +05:30
Harsh Shandilya
356a8cd8c6
Migrate to Gradle Kotlin DSL (#936) 2020-07-23 14:39:36 +05:30
Harsh Shandilya
b2d352e3ea
Revert back to Groovy DSL
The Kotlin DSL's API is extremely terrible and makes the simplest tasks annoying. It also introduces a very noticeable build overhead that I'd rather not have.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06 19:41:15 +05:30
Harsh Shandilya
2fcec8685b
Update dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-24 12:25:01 +05:30
Harsh Shandilya
9a1a54a6fc
Initial biometric authentication support (#541)
* [WIP] Initial biometric authentication support

* Redirect decryption app shortcut to go through LaunchActivity

* UserPreference: Clear existing shortcuts when toggling password auth

Clears out any auth-bypassed entries that exist

* Fix hilarious copypasta derp

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 11:00:45 +05:30
Harsh Shandilya
073346c157
Redesign UI and introduce dark theme (#519)
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-10-01 22:14:28 +05:30
zeapo
7062156b1a version bump 2019-09-09 21:22:06 +02:00
Harsh Shandilya
0516e3153f
Uprev dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-09-08 22:03:24 +05:30
Harsh Shandilya
9882680826
Bump recyclerview from 1.1.0-beta01 to 1.1.0-beta02
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-11 11:06:24 +05:30
Harsh Shandilya
682e8a5715
Add explicit documentfile dependency
We were previously depending on it transitively coming into
the dependency graph but AndroidX artifacts are increasingly
getting rid of transitive deps so let's start being explicit about
our dependencies.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-03 13:32:48 +05:30
Harsh Shandilya
cc4b3ebd64
Bump commons-codec from 1.12 to 1.13
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-03 13:28:54 +05:30
Harsh Shandilya
867f352691
Bump material from 1.1.0-alpha08 to 1.1.0-alpha09
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-03 13:28:54 +05:30
Harsh Shandilya
499c4ef460
Configure compiler options
Enable Kotlin 1.3.41's new type inference
Warn about deprecated methods in Java

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:09:29 +05:30
Harsh Shandilya
5fe2c74cc7
Target Android Q
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:07:36 +05:30
Harsh Shandilya
0889cbe7d2
Dependency upgrades
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-16 18:33:13 +05:30
Harsh Shandilya
4207bfe2de
Uprev all dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-04 12:47:24 +05:30
Harsh Shandilya
30b6d2346a
Fix instrumentation tests
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 12:57:18 +05:30
Harsh Shandilya
75a595f07f
Dependency updates
Mockito 2.28.2
AndroidX Test 1.2.0
AndroidX Espresso 3.2.0
AGP 3.4.1

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 12:27:48 +05:30
Harsh Shandilya
127a8b8c8a
Update mockito and fix dependency updates task
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-01 17:03:58 +05:30
Hussein Al Abry
e54010906f Use storage access framework (#469)
* use storage access framework

* UserPreference: Add back warning about using SDCard root directory

* UserPreference: Fix IDE warnings

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-25 09:11:32 +05:30
vexofp
f272e4dde2 Authentication using OpenKeystore SSH API (#486)
* 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-04-06 00:14:38 +02:00
Harsh Shandilya
cb47792ae6
Dependency updates
Mockito core 2.25.0
AGP 3.3.2

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-15 18:33:51 +05:30
Harsh Shandilya
6d909abde8
Switch to kotlin jdk8 stdlib
We're targetting Java version 1.8 so reflect that change
here too.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-03 12:51:09 +05:30
Harsh Shandilya
ffe489c293 Dependency updates (#489)
* Configure dependencyUpdates task

Configured to emit JSON reports in build directory and to
only use stable releases.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Update dependencies

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 19:08:57 +01:00
Harsh Shandilya
3c06063153 Rewrite Gradle configuration with Kotlin DSL (#488)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 18:05:51 +01:00