Commit graph

809 commits

Author SHA1 Message Date
Harsh Shandilya
382ab97b7c Update and cleanup dependencies (#607)
* Remove unused cardview dependency

* Remove unused test dependencies and update junit

* Update spotless

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-11 17:50:00 +05:30
kpengboy
e6ba1fcf1c Update/correct some zh-CN strings (#606)
Namely those for git_commit_{edit,add}_text
2020-01-05 15:56:32 +05:30
Harsh Shandilya
039685a6db Update proguard configuration (#605)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-01 18:52:38 +05:30
Harsh Shandilya
d5a744bd37 Prepare for new Play Store listing (#602)
* Gradle cleanup

* Update package name

* Remove release APK from git

This should have never been here

* Move package name to dependencies.gradle

* github: Setup caching for gradle

* Update Play Store art

* gradle: Use constraints API in place of deprecated force

* Update dependencies

* Raise minSdk to 23

* Target SDK 28 for now

External storage handling changes are atrocious to support in this codebase so we'll be holding out as far as we can.

* Revert "Opt into legacy external storage handling (#595)"

Not needed on SDK 28

This reverts commit 3f249e4bff.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-31 20:57:38 +05:30
Harsh Shandilya
bfbbdecc07 Fix release builds (#601)
* proguard: Don't obfuscate stacktraces

* Deploy snapshots from this branch

* PasswordRepository: Handle uninitialized settings

* Keep classes that are used in parcels

* Revert "Deploy snapshots from this branch"

This reverts commit 66918ca2b90dbf7629bd56606eb3d3f578d96105.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16 12:46:06 +05:30
Harsh Shandilya
e61551bf37
Setup snapshot deployment (#599)
* Setup snapshot deployment

* README: Update repository links

* README: Update workflow badge link

* README: Add link to Snapshot builds

* Fix snapshot/pull-request build conflict

* Deploy from feature/deploy-snapshots as well

* Revert "Deploy from feature/deploy-snapshots as well"

Confirmed it works well

This reverts commit 06f6bc0e8c19f238643655d09ca20f83dd416283.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16 03:19:18 +05:30
Harsh Shandilya
3a7c541360 Fix missing margin in server config view (#594)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-15 21:59:53 +05:30
Harsh Shandilya
3f249e4bff Opt into legacy external storage handling (#595)
The app is too messy to migrate properly to SAF so let's just take the easier route for now.

Fixes #593

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-15 21:53:36 +05:30
Harsh Shandilya
0a01911d87
Update to openpgp-ktx 1.0.0 (#585)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-29 15:55:16 +05:30
Harsh Shandilya
fdbbb467b2
LaunchActivity: Optionally delay finish call to allow transition… (#583)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-29 14:47:23 +05:30
Harsh Shandilya
df0c886152 Rewrite Gradle configuration to simplify further (#581)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-26 23:48:18 +05:30
Harsh Shandilya
1d081b9054 Tweak password row layout some more (#567)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-16 12:08:31 +05:30
Harsh Shandilya
de9a201587 Also count subdirectories in child count (#573)
* Also count sub-directories in child count

* Respect hidden folders setting in child count

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-15 12:05:53 +05:30
Aditya Wasan
9892799824 Prevent an activity loop when no OpenPGP Provider is selected (#572)
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2019-11-13 12:31:02 +05:30
Harsh Shandilya
1f158c5ca6
Add option to show hidden folders (#571)
* Add option to show hidden folders

Fixes #446

* Simplify filtering

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13 11:34:57 +05:30
Harsh Shandilya
4c751a175f
Fix snackbars drawing behind input methods
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-13 02:21:34 +05:30
Aditya Wasan
9acad2abf6 Convert java files to kotlin (#570)
* Break SshKeyGen into multiple files

* Use tinted material button

* Convert PasswordStore to kotlin

* Remove SshKeyGen

* Remove explicit imports and other tweaks

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2019-11-13 00:55:56 +05:30
Harsh Shandilya
5749c97d7c
PasswordGeneratorDialogFragment: Rewrite in Kotlin (#569)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-12 21:55:59 +05:30
Harsh Shandilya
4c7f46aa8a
Switch to openpgp-ktx (#565)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-12 02:14:28 +05:30
Harsh Shandilya
eb9754ba79
Switch clear icon to outlined variant
Also missed in #566

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-11 21:03:38 +05:30
Harsh Shandilya
12054836e5
Switch share icon to outlined variant
Missed it in #566

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-11 21:00:59 +05:30
Harsh Shandilya
b9e39671a4
Redo in-app iconography (#566)
* Switch out folder icon

* Switch out password icon

* Switch out 'save and copy' icon

* Switch out save icon

* Switch out move icon

* Switch out delete icon

* Switch out edit icon

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-10 12:39:51 +05:30
Harsh Shandilya
e4eaae37eb
Re-add OpenPgpAppPreference (#564)
Re-add OpenPgpAppPreference
2019-11-08 12:54:50 +05:30
Harsh Shandilya
67160f50d1
Re-add OpenPgpAppPreference
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-08 12:30:14 +05:30
dependabot-preview[bot]
6ab66f9f0e Bump junit from 4.13-beta-3 to 4.13-rc-1
Bumps [junit](https://github.com/junit-team/junit4) from 4.13-beta-3 to 4.13-rc-1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 19:38:39 +00:00
Harsh Shandilya
b9e2d6d498
Manifest cleanup
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-07 01:04:42 +05:30
Harsh Shandilya
3b758928ff
Stop relying on parent activties in subsettings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06 19:58:09 +05:30
Harsh Shandilya
be0d89958a
treewide: Reformat with latest ktlint
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06 19:42:39 +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
94e56ce812
Improve light mode list select color
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-05 02:26:50 +05:30
Harsh Shandilya
0d5672dd11
Switch up folder icon
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-05 02:20:34 +05:30
Harsh Shandilya
a47af477b6
Remove useless parent layout
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 23:16:25 +05:30
Harsh Shandilya
13abcdeb80
password_row: Improve alignment
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 23:08:00 +05:30
Harsh Shandilya
91c55d4446
Fix multiselect color on light theme
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 21:40:50 +05:30
Harsh Shandilya
a21353cb06
Add child count to folders
Fixes #559

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 20:13:19 +05:30
Harsh Shandilya
159e8967b6
Redesign onboarding fragment
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 20:13:18 +05:30
Harsh Shandilya
be47f13d75
Add UI indicator for folders
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 20:13:18 +05:30
Harsh Shandilya
ed02961315
Cleanup comments
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 20:13:09 +05:30
Harsh Shandilya
8fc7dd3d42
Rewrite PasswordFragment in Kotlin
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 19:50:48 +05:30
Harsh Shandilya
14d997f500
Cleanup
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 19:50:48 +05:30
Harsh Shandilya
077e67d8e3
PasswordRepository: Refactor getRepositoryDirectory to be non-nullable
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 19:50:48 +05:30
Harsh Shandilya
a409cae2a8
Improve IDE visualization of password recyclerview
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04 19:50:48 +05:30
Harsh Shandilya
6b228a80ef
Improve password row UI (#561)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03 23:42:11 +05:30
Harsh Shandilya
13a4bf12c3
PasswordRepository: Rewrite and micro-optimize password loader
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03 23:35:45 +05:30
Harsh Shandilya
a520b3db64
Convert SelectFolderFragment to Kotlin
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03 20:46:03 +05:30
Harsh Shandilya
25029c9055
Reorganize package structure
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03 18:05:23 +05:30
Harsh Shandilya
8c00708d9f
Use SwitchPreferenceCompat
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03 18:05:07 +05:30
Harsh Shandilya
2be6302b6b
PgpActivity: Use snackbars instead of toasts
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-31 17:39:48 +05:30
Harsh Shandilya
a0372d78bc
PgpActivity: Fix exception in copy
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-31 11:17:13 +05:30
Harsh Shandilya
5df7be10b5
Authenticator: Allow using PIN/password/pattern as fallbacks
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-27 18:21:19 +05:30