Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Rebase/master #19

Merged
merged 165 commits into from
May 14, 2023
Merged

Rebase/master #19

merged 165 commits into from
May 14, 2023

Conversation

fenos
Copy link
Collaborator

@fenos fenos commented May 14, 2023

What kind of change does this PR introduce?

Rebase upstream

DarthSim and others added 30 commits October 7, 2022 17:34
…oxy#1028)

* feat(logger): implement structured log formatter gcp compliant

* docs: add new gcp logging format
DarthSim and others added 26 commits April 27, 2023 20:08
…equest header. (imgproxy#1147)

* Always return Last-Modified and support If-Modified-Since.

* IMGPROXY_USE_LAST_MODIFIED config setting.

IMGPROXY_USE_LAST_MODIFIED  (default false) when enabled will return the
Last-Modified time of the upstream image and also allow the support of
the If-Modified-Since request header (returning a 304 if the image
hasn't been modified).

If-Modified-Since allows If-None-Match to take precedence.

* Fixes based on DarthSim's feedback.

1. Don't worry about nil maps.
2. Fix a test now that we use the config.LastModifiedEnabled (and move
   it's location it he test file to a more sane place).
3. Update GCS transport code based on the refactoring of DarthSim.

In this iteration, we pull the Updated time from the GCS object attributes
and format them as a string. We then parse it in the notmodified module.
Seems a bit silly to do it this way. If we agree on the approach here,
then AWS and Azure can follow.

* Support azure, fs, s3, and swift.

* Grab the headers for If-Modified-Since and Last-Modified before parsing them.

* Add tests for last-modified for fs.

* Support Last-Modified being passed when streaming an upstream file.

* Tests for Last-Modified for GCS and Azure

* Support s3 and swift tests. Sadly fakes3 doesn't support Last-Modified

* Test against forked gofakes3
…xy#1152)

* allow acquiring s3 access credentials through role assumption

* improve cross-account access docs

* Update docs/serving_files_from_s3.md

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>

---------

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>
* Fix typo in presets docs

* fix typo x2

* fix typo x3
@darora darora merged commit c6bb0d0 into master May 14, 2023
@github-actions
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet