Skip to content

[PasswordHasher] Add autocompletion for security commands #43653

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

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Oct 22, 2021

Q A
Branch? 5.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets Ref #43594
License MIT
Doc PR

Related to #43594 (comment)
I have a question regarding @wouterj 's comment on the issue
Also, the password is the first argument right now, should we swap it to be after user-class?

Still WIP, I am using fish and want to test as well #43641

Copy link
Member

@wouterj wouterj left a comment

Choose a reason for hiding this comment

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

That was quick, thanks!

I have a question regarding @wouterj 's comment on the issue

Ignore my comment, I didn't know about this $userClasses property.

Also, the password is the first argument right now, should we swap it to be after user-class?

No, it's fine like this (autocompletion should support it this way).


Can you please also add tests? (see the other completion PRs for examples)

@wouterj wouterj added Security and removed Console labels Oct 22, 2021
@carsonbot carsonbot changed the title [Console] Add autocompletion for security commands [Security] Add autocompletion for security commands Oct 22, 2021
@94noni 94noni force-pushed the ft-console-autocomplete-security branch 2 times, most recently from ca1e869 to 534c766 Compare October 22, 2021 14:36
@94noni 94noni force-pushed the ft-console-autocomplete-security branch from 534c766 to b8addda Compare October 22, 2021 14:46
@94noni 94noni force-pushed the ft-console-autocomplete-security branch from b8addda to 5c0f762 Compare October 22, 2021 14:52
@94noni 94noni force-pushed the ft-console-autocomplete-security branch from 5c0f762 to 49f45a9 Compare October 22, 2021 15:22
Copy link
Member

@wouterj wouterj left a comment

Choose a reason for hiding this comment

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

Wait, let's block this for a bit as we first need to handle the backslashes properly in the completion feature: #43598

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

Unlocked

@carsonbot carsonbot changed the title [Security] Add autocompletion for security commands [PasswordHasher] Add autocompletion for security commands Oct 29, 2021
@fabpot
Copy link
Member

fabpot commented Oct 29, 2021

Thank you @94noni.

@fabpot fabpot merged commit c3522c4 into symfony:5.4 Oct 29, 2021
@94noni 94noni deleted the ft-console-autocomplete-security branch October 29, 2021 15:12
@derrabus
Copy link
Member

@derrabus
Copy link
Member

#43843

fabpot added a commit that referenced this pull request Oct 30, 2021
This PR was merged into the 5.4 branch.

Discussion
----------

[PasswordHasher] Fix completion tests

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #43653 (comment)
| License       | MIT
| Doc PR        | N/A

Commits
-------

fde1b0c [PasswordHasher] Fix completion tests
This was referenced Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants