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 CSRF token on forms to trigger a new builds #3260

Merged
merged 3 commits into from
Nov 15, 2017

Commits on Nov 14, 2017

  1. Use CSRF token on forms to trigger a new builds

    Avoid "This endpoint is deprecated" raised when hitting and old
    endpoint with security issues.
    
    Now, each view that shows a form with the "Build" button uses the
    BuildTriggerMixin to handle the POST request and trigger the new build.
    
    Closes #3253
    humitos committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    89fcb0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    153204f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2017

  1. Use login_required as method_decorator for BuildTriggerMixin

    The user must be logged in to trigger a build.
    humitos committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    e77daab View commit details
    Browse the repository at this point in the history