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

Add Image Optimizer default settings API #516

Merged
merged 13 commits into from
May 14, 2024

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    6d0ba1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4f3e82 View commit details
    Browse the repository at this point in the history
  3. Explicitly handle error 404 the API can return.

    I'd forgotten about this case, but it's used when the user hasn't set
    any Image Optimizer settings, and it's useful for terraform to be able
    to easily detect this case.
    
    I assume other users of this API will also appreciate this explicit
    error handling, as opposed to having to check for error 404 themselves.
    daboross committed May 14, 2024
    Configuration menu
    Copy the full SHA
    1fe12f2 View commit details
    Browse the repository at this point in the history
  4. Make JpegType a constant, fix ResizeFilter values, and expand testing

    Previously, ResizeFilter was missing a custom json marshalling function,
    and any request with a resize filter resulted in a server error. I've
    expanded testing to test all resize filter values, all jpeg type values,
    and to include a request which sends all possible keys - just to patch
    up any other missing untested parts.
    daboross committed May 14, 2024
    Configuration menu
    Copy the full SHA
    8dd042d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5b449db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7985ea5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    078cd6f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4fc3b72 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    59f3ddb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    005601a View commit details
    Browse the repository at this point in the history
  11. Update fixtures again.

    daboross committed May 14, 2024
    Configuration menu
    Copy the full SHA
    811acac View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7416e27 View commit details
    Browse the repository at this point in the history
  13. ImageOpto->ImageOptimizer

    daboross committed May 14, 2024
    Configuration menu
    Copy the full SHA
    3f76939 View commit details
    Browse the repository at this point in the history