Harsh Shandilya
6169920878
global: set an import order rule and reformat with it ( #924 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-08 01:25:55 +05:30
Harsh Shandilya
4657185dc6
styles: re-add alertDialogTheme override ( #923 )
...
It seems the MaterialComponents inflater does not work with preferences.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-07 19:32:36 +02:00
Fabian Henneke
d192ab2d9a
Work around Chrome Autofill issue ( #921 )
2020-07-07 20:32:57 +05:30
Harsh Shandilya
5d170249cd
Major UI overhaul and the introduction of a new icon ( #920 )
...
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-07-07 19:18:24 +05:30
github-actions[bot]
035d3feaa4
Update Public Suffix List data ( #917 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-04 10:02:13 +05:30
Harsh Shandilya
25b4261574
Migrate to ActivityResultContracts ( #910 )
...
* Move git directory selection to ActivityResultContracts
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: replace all android.app.Activity references
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* res: resolve ObsoleteSdkInt lint warning
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* layout: silence some overdraw warnings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* PasswordFragment: address deprecation
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* PasswordStore: start addressing deprecation warnings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* autofill: silence deprecation warnings for legacy implementation
I don't want to ever touch these files
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Reset scrollTarget after use
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Refresh password list after each swipe
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Convert if to when
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Migrate UserPreference to ActivityResultContracts
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Also validate result in git directory selection
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* AutofillSaveActivity: Switch to ActivityResultContracts
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* AutofillDecryptActivity: Switch to ActivityResultContracts
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* AutofillFilterActivity: Switch to ActivityResultContracts
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Improve deletion flow
- Silently delete empty directory
- Always refresh password list upon completion
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Uniform naming for activity result handlers
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-07-03 09:24:06 +02:00
Harsh Shandilya
ff3d2fcce3
release: script improvements ( #915 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-03 07:03:17 +02:00
Harsh Shandilya
9fb492b572
Deploy both variants to snapshot directory ( #914 )
...
* Deploy both free and non-free variants
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: add product flavor to APK name
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-02 20:23:31 +02:00
Fabian Henneke
ca9c951a53
Fill OTP fields with SMS codes ( #900 )
...
* Fill OTP fields with SMS codes
* Allow SMS OTP fill also for web origins
* Introduce free and nonFree build variants
* Fix up workflow
* Improve layout and feature detection
* Workflow changes
* Add Changelog entry
* github: update release workflow for nonFree/Free split
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Switch to lifecycleScope
* github: make snapshot deploy free variant
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-02 13:49:32 +02:00
Fabian Henneke
c702d4aa9e
Fix up URIish instances with @ in user name ( #913 )
2020-07-02 16:51:59 +05:30
Harsh Shandilya
5b7d8b4d62
build: upgrade Gradle wrapper ( #911 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-02 14:27:59 +05:30
Fabian Henneke
1c9f7971ce
Scroll to files and enter folders when created ( #909 )
2020-07-01 21:48:21 +05:30
Fabian Henneke
c5a93b8b81
Run a treewide reformat ( #908 )
...
Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-07-01 12:51:05 +02:00
Harsh Shandilya
83ba0a3ed5
Improve how secrets and stored and used ( #907 )
2020-07-01 14:29:30 +05:30
Harsh Shandilya
f49d9c35e6
Merge remote-tracking branch 'origin/release' into release-catchup
...
* origin/release:
Bump version
Prepare release 1.9.2
update changelog
Workaround to prevent crash on first run (#898 )
build: bump version
Prepare release 1.9.1
Backport Actions fixes (#894 )
Remove API 30 from pull request test matrix (#879 )
CHANGELOG: reword to better clarify fixes
Prevent cached passwords from being wiped (#884 )
Use remembered credential even if it is empty (#880 )
Reset SSH passphrase after SSH key import (#885 )
Add relnotes for #871 (#872 )
Add org.gnu.icecat as a trusted multi-origin browser (#871 )
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-01 13:08:55 +05:30
Fabian Henneke
eaaa3eeea8
Improve and refactor Autofill heuristics ( #905 )
...
* Add support for `AUTOFILL_HINT_NEW_PASSWORD` and
`AUTOFILL_HINT_NEW_USERNAME`. This allows apps to trigger a
`ClassifiedScenario` with only a generate password action and is the
analogue of the W3C new-password hint for websites.
* Do not consider HTML password fields without hints to be certain
password fields (they could contain e.g. bank account numbers,
API secrets,...).
* Reduce OTP field false positives by excluding the term "postal" as well
as fields that match the "code" heuristic term but have HTML maxLength
less than 6 or larger than 8.
* Add German heuristic term "einmal" ("one-time") for OTP fields
* Also exclude fields based on their HTML name (e.g. for terms such as
"search").
* Extract fieldId, hint and htmlName matches into an extension property.
* Reduce warnings and remove unnecessary suppression annotations.
2020-07-01 09:22:41 +02:00
Aditya Wasan
82a9a61254
Use PreferenceKeys file to manage SharedPreferences keys. ( #891 )
...
* Use PreferenceKeys file to manage SharedPreferences keys.
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Use PreferenceKeys in all files
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Divide PreferenceKeys into multiple regions
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Fix build error
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Use PreferenceKeys in more files
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Reformat code
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Fix build error
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Fix merge issues
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2020-07-01 00:00:02 +05:30
Harsh Shandilya
e11ef1ca1d
Revert "Support directly importing secrets" ( #904 )
2020-06-30 21:28:28 +05:30
Harsh Shandilya
5e74507d5b
Allow importing TOTP configuration through QR codes ( #903 )
...
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-06-30 19:21:49 +05:30
Harsh Shandilya
1a8e9ec1e4
Bump version
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-30 15:14:39 +05:30
GitHub Actions
d8469d3790
Prepare release 1.9.2
2020-06-30 09:32:17 +00:00
Harsh Shandilya
d6891fa7a0
update changelog
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-30 14:40:11 +05:30
Harsh Shandilya
b663fbe64f
Workaround to prevent crash on first run ( #898 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit 57f125a4da
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-30 14:39:22 +05:30
Harsh Shandilya
57f125a4da
Workaround to prevent crash on first run ( #898 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-30 14:37:59 +05:30
Fabian Henneke
8bc662c9c0
Offer TOTP Autofill for OTP fields ( #899 )
2020-06-29 10:12:19 +02:00
Harsh Shandilya
ac6220eed3
Merge SshKeyGenFragment into its activity ( #897 )
...
* Merge SshKeyGenFragment into its activity
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Drop neutral button discouraged by material specs
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Address review comments
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-29 12:50:05 +05:30
Harsh Shandilya
063c1a1144
Reintroduce TOTP support ( #890 )
...
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-06-29 12:08:59 +05:30
Harsh Shandilya
56c301dc7c
Sync with release branch ( #896 )
2020-06-28 22:36:20 +05:30
Harsh Shandilya
52808fb126
build: bump version
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-28 21:34:26 +05:30
GitHub Actions
daedc3fa4b
Prepare release 1.9.1
2020-06-28 16:02:53 +00:00
Harsh Shandilya
23f7594db4
Backport Actions fixes ( #894 )
2020-06-28 21:32:27 +05:30
Harsh Shandilya
a3eaefa50d
Rework GitHub Actions ( #893 )
2020-06-28 21:28:24 +05:30
Fabian Henneke
535ad1dbb1
Consolidate password list refresh ( #887 )
2020-06-28 13:29:15 +05:30
Harsh Shandilya
9fc5d337b8
UI fixups ( #892 )
2020-06-28 01:45:39 +05:30
github-actions[bot]
0a0e517414
Update Public Suffix List data ( #888 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-27 07:03:29 +02:00
Harsh Shandilya
9d76eec76e
Remove API 30 from pull request test matrix ( #879 )
...
* Revert "github: run instrumentation tests against API 30 (#847 )"
API 30 is too flaky to be a part of our active test suite.
This reverts commit bf33fb2c88
.
* github: bump android-emulator-runner action
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit eb31385102
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-26 13:23:20 +05:30
Harsh Shandilya
e21c8cd0fc
CHANGELOG: reword to better clarify fixes
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-26 12:52:33 +05:30
Fabian Henneke
cc2bb76398
Prevent cached passwords from being wiped ( #884 )
...
(cherry picked from commit 889208b264
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-26 12:51:30 +05:30
Fabian Henneke
8f7d3052ea
Use remembered credential even if it is empty ( #880 )
...
* Use remembered credential even if it is empty
Should fix #875 .
* .isNull() --> == null
* Update relnotes
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Reword relnotes
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* 2019 it is
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit b60c5fb605
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-26 12:44:32 +05:30
Fabian Henneke
b5cff71b93
Reset SSH passphrase after SSH key import ( #885 )
...
(cherry picked from commit 6b5984dfe6
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-26 12:44:11 +05:30
Fabian Henneke
b60c5fb605
Use remembered credential even if it is empty ( #880 )
...
* Use remembered credential even if it is empty
Should fix #875 .
* .isNull() --> == null
* Update relnotes
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Reword relnotes
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* 2019 it is
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-26 09:12:39 +02:00
Fabian Henneke
6b5984dfe6
Reset SSH passphrase after SSH key import ( #885 )
2020-06-26 09:00:19 +02:00
Fabian Henneke
889208b264
Prevent cached passwords from being wiped ( #884 )
2020-06-26 08:47:47 +02:00
Harsh Shandilya
2f7c50136a
build: uprev all dependencies ( #882 )
...
* build: uprev all dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* proguard: add keep rule for WhatTheStack
sigh
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-25 14:33:57 +02:00
Harsh Shandilya
694e461f6c
Add relnotes for #871 ( #872 )
...
(cherry picked from commit d5310bdd8e
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-25 00:28:07 +05:30
Fabian Henneke
5c2823405e
Add org.gnu.icecat as a trusted multi-origin browser ( #871 )
...
I verified the following:
* Store: F-Droid
* Package hash: wi2iuVvK/WYZUzd2g0Qzn9ef3kAisQURZ8U1WSMTkcM=
* Based on: Firefox
* Actively maintained: https://git.savannah.gnu.org/cgit/gnuzilla.git/log/?h=68
* Multi-origin method: WebView
* Save support: no
(cherry picked from commit 8a90ba46c6
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-25 00:27:31 +05:30
Harsh Shandilya
c9149a7663
github: update actions for updated branching logic
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-25 00:21:05 +05:30
Fabian Henneke
e1f81e8f4b
Use a custom sshj config ( #878 )
...
* Use a custom sshj config
* Get random numbers directly from SecureRandom
* Use Timber calls for logging
* Remove all algorithms that are not in the Mozilla Intermediate SSH config
* Address review comments
* Fixup slf4j's custom format string format
Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-06-23 15:39:44 +02:00
Harsh Shandilya
eb31385102
Remove API 30 from pull request test matrix ( #879 )
...
* Revert "github: run instrumentation tests against API 30 (#847 )"
API 30 is too flaky to be a part of our active test suite.
This reverts commit bf33fb2c88
.
* github: bump android-emulator-runner action
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-23 18:51:47 +05:30
Fabian Henneke
674a770ec4
Add Google Play/F-Droid badges to the README ( #877 )
2020-06-23 08:57:48 +02:00