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

[NEW] Accept quoted slash command arguments #11744

Merged
merged 19 commits into from
Jun 22, 2022

Conversation

Hudell
Copy link
Contributor

@Hudell Hudell commented Aug 10, 2018

This change will make the app engine recognize quoted strings as a single argument for slash commands, even when they have spaces on it.

It will also accept multiple lines of arguments
Closes #11469

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-11744 August 10, 2018 17:28 Inactive
@kapkoi
Copy link

kapkoi commented Aug 10, 2018 via email

@kapkoi
Copy link

kapkoi commented Aug 10, 2018 via email

Copy link
Member

@sampaiodiego sampaiodiego left a comment

Choose a reason for hiding this comment

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

does it accepts escaped quotes? like "my \"escaped\" argument"

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-11744 August 14, 2018 13:01 Inactive
@Hudell
Copy link
Contributor Author

Hudell commented Aug 14, 2018

It does now.

@Hudell Hudell added this to the 0.69.0 milestone Aug 16, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-11744 August 20, 2018 12:33 Inactive
@rodrigok
Copy link
Member

@Hudell can you fix the lint errors?

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-11744 August 21, 2018 16:23 Inactive
@Hudell
Copy link
Contributor Author

Hudell commented Aug 21, 2018

@rodrigok done.

@RocketChat RocketChat deleted a comment Aug 21, 2018
@RocketChat RocketChat deleted a comment Aug 21, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-11744 August 27, 2018 15:43 Inactive
@Hudell Hudell modified the milestones: 0.69.0, 0.70.0 Aug 27, 2018
@piotrkochan
Copy link
Contributor

Could you also resolve #11469 ?

@Hudell
Copy link
Contributor Author

Hudell commented Sep 5, 2018

I'll look into it.

tassoevan
tassoevan previously approved these changes Jun 17, 2022
@tassoevan tassoevan added the stat: ready to merge PR tested and approved waiting for merge label Jun 17, 2022
@github-actions github-actions bot removed the stat: ready to merge PR tested and approved waiting for merge label Jun 17, 2022
@ggazzo ggazzo added the eng day label Jun 17, 2022
ggazzo
ggazzo previously approved these changes Jun 17, 2022
sampaiodiego
sampaiodiego previously approved these changes Jun 17, 2022
@ggazzo ggazzo removed the request for review from rodrigok June 17, 2022 12:52
thassiov
thassiov previously approved these changes Jun 17, 2022
@ggazzo ggazzo modified the milestones: 3.5.0, 5.0.0 Jun 17, 2022
@gabrielaolson
Copy link

I tested it and it is working as expected:
APP:
parameters_0.0.1.zip

Input String quoted and multiple lines:

input2

Output:
output2

@github-actions github-actions bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Jun 20, 2022
@gabrielaolson gabrielaolson added stat: needs QA and removed stat: ready to merge PR tested and approved waiting for merge labels Jun 20, 2022
@github-actions github-actions bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Jun 20, 2022
@ggazzo ggazzo merged commit 8547fff into develop Jun 22, 2022
@ggazzo ggazzo deleted the apps.recognize-quoted-arguments branch June 22, 2022 20:12
@murtaza98 murtaza98 mentioned this pull request Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eng day stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slash Commands Don't Handle New Lines