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

Use POST for /runs/delete_all and add a confirmation form #252

Merged
merged 1 commit into from
Jan 5, 2019

Conversation

Krinkle
Copy link
Contributor

@Krinkle Krinkle commented Jan 3, 2019

  • The confirmation form avoids mistakes. It can currently be pressed
    by accident when using a less-than-ideal pointer device, such as
    a touch screen, or keyboard focus.

  • The POST verb allows it to be denied or require auth based on
    verb-based server configuration, as was already the case for
    the only other write-method previously (/watch). I'll do
    the same for /run/delete?id in a future commit.

Ref #248.

@markstory
Copy link
Member

Looks good, but the tests need to be updated as well.

Krinkle added a commit to Krinkle/xhgui that referenced this pull request Jan 4, 2019
The tests at https://travis-ci.org/perftools/xhgui/builds/475018345
for perftools#252 are passing on
for "PHP 7" and on "PHP 5 Coverage", which doesn't make sense.
Krinkle added a commit to Krinkle/xhgui that referenced this pull request Jan 4, 2019
The tests at https://travis-ci.org/perftools/xhgui/builds/475018345
for perftools#252 are passing on
for "PHP 7" and on "PHP 5 Coverage", which doesn't make sense.
Krinkle added a commit to Krinkle/xhgui that referenced this pull request Jan 4, 2019
The tests at https://travis-ci.org/perftools/xhgui/builds/475018345
for perftools#252 are passing on
for "PHP 7" and on "PHP 5 Coverage", which doesn't make sense.
* The confirmation form avoids mistakes. It can currently be pressed
  by accident when using a less-than-ideal pointer device, such as
  a touch screen, or keyboard focus.

* The POST verb allows it to be denied or require auth based on
  verb-based server configuration, as was already the case for
  the only other write-method previously (/watch). I'll do
  the same for /run/delete?id in a future commit.

Ref perftools#248.
Krinkle added a commit to Krinkle/xhgui that referenced this pull request Jan 4, 2019
The tests at https://travis-ci.org/perftools/xhgui/builds/475018345
for perftools#252 are passing on
for "PHP 7" and on "PHP 5 Coverage", which doesn't make sense.
Krinkle added a commit to Krinkle/xhgui that referenced this pull request Jan 4, 2019
The tests at https://travis-ci.org/perftools/xhgui/builds/475018345
for perftools#252 are passing on
for "PHP 7" and on "PHP 5 Coverage", which doesn't make sense.
@Krinkle
Copy link
Contributor Author

Krinkle commented Jan 4, 2019

Ah, forgot about those. Done now.

@markstory markstory merged commit 9b4bb8d into perftools:master Jan 5, 2019
@Krinkle Krinkle deleted the post-deleteall branch January 5, 2019 03:22
@glensc glensc mentioned this pull request Jun 19, 2020
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.

2 participants