Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofill and additional features #77

Merged
merged 82 commits into from
Aug 1, 2021
Merged

Conversation

binsky08
Copy link
Collaborator

@binsky08 binsky08 commented Feb 26, 2021

  • Mark compromised credentials
  • Add URL copy and open button
  • Add app start password option based on the android user authentication (partly solves Password master on open app #67)
  • Enable code optimization in the C compiler options to speed up the C based encryption
  • Use a random number generator for the salt length
  • Do not reload the whole vault after adding, editing or deleting a credential
  • Move double RequestParams generation logic of Credential.java to an own function
  • Remove Java bouncycastle crypto library
  • Implement Android autofill feature (requires at least Android API level 26)
  • solves Android Oreo Autofill #50 (autofill issue)
  • autofill "automatic mode" requires the app to run in the background with unlocked vault, uses the opened vault
  • "offline mode" saves a selected vault offline (encrypted), but requires a saved vault password to run completely independently in the background
  • hopefully fixed bug with unset compromised field
  • remove debugAndToast functions from generalUtils
  • add custom response handlers

HahUK and others added 30 commits January 1, 2019 02:30
New menu options added:

1.) Lock Vaults - lock all unlocked vaults
2.) Clear Saved Vault Creds - remove saved vault creds
3.) Enable Autofill - Helps user enable the autofill service

UI now shows loading screen whilst loading in Vaults from the API.
Looking to handle more fields and applications.
Looking to handle more fields and applications.

Addition of notification which can copy the credential entry to the clipboard. Notification fires on Credential long click.
Fix bogus? API responses from POST and PATCH to credentials endpoint
Improvements to Notification handling.
Cody Tidy Up
Bring up to date with nextcloud/passman-android
…s unsupported. Get the IV directly from the cipher object instead.
…github.com/hahuk/passman-android into feature-credential-display-autoLink-url

# Conflicts:
#	app/src/main/java/es/wolfi/app/passman/CredentialDisplay.java
#	app/src/main/res/layout/fragment_credential_display.xml
app/src/main/java/es/wolfi/app/passman/CredentialEdit.java Outdated Show resolved Hide resolved
app/src/main/java/es/wolfi/app/passman/CredentialAdd.java Outdated Show resolved Hide resolved
app/src/main/java/es/wolfi/app/passman/CredentialEdit.java Outdated Show resolved Hide resolved
Snackbar.make(view, R.string.successfully_updated, Snackbar.LENGTH_LONG)
.setAction("Action", null).show();
assert getFragmentManager() != null;
try {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code seems to be repeated a few times, wonuldn't it be better if it was moved to it's own function?
I'm not sure if it might make sense to move it to the api library or if it's too specific for that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean exactly?
I think its better to define the responseHandlers where they are now. They are all a bit (some more, some less) different and need custom variables from the "outer scope".

.setAction("Action", null).show();
assert getFragmentManager() != null;
alreadySaving = false;
try {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code seems to be repeated a few times, wonuldn't it be better if it was moved to it's own function?
I'm not sure if it might make sense to move it to the api library or if it's too specific for that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced with one of the new response handlers

progress.setCancelable(false);
progress.show();

AsyncHttpResponseHandler responseHandler = new AsyncHttpResponseHandler() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it make sense to move the API interaction to the API library on this context?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced with one of the new response handlers

app/src/main/java/es/wolfi/app/passman/PasswordList.java Outdated Show resolved Hide resolved
app/src/main/java/es/wolfi/passman/API/Core.java Outdated Show resolved Hide resolved
@animalillo animalillo merged commit f01ad06 into nextcloud:master Aug 1, 2021
@binsky08 binsky08 deleted the autofill branch August 1, 2021 17:53
@animalillo animalillo linked an issue Aug 1, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Password master on open app
3 participants