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

Make hostname and credentials customisable per request #161

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Commits on Oct 1, 2019

  1. Add support for per request endpoint config

    This makes it possible to customise the endpoint / hostname per request, rather than having the static / global state.
    
    NOTES:
    1. A great level of effort has been put in to make sure backward compatibility changes to be minimal, but there are cases that couldn't have been avoided. Sorry peeps!
    
    2. Also some custom business logic for bucket region deduction has been removed, and has been replaced with a callback.
    
    Other changes
    * Reduce global / static state in S3 class
    * Various efficiency tweaks
    * Various formatting tweaks
    codemedic committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    f90901d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6998c47 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Configuration menu
    Copy the full SHA
    74808c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    347ea2c View commit details
    Browse the repository at this point in the history
  3. Ton of fixes from testing

    * Removed the region deducer callback; RTFM for me!
    * Added workaround to avoid 307 redirects by always talking to the correct regional-service-endpoint. This also improves performance overall as it requires less network magic in AWS.
    * Fixed examples such that no code need to be modified in order to run them; takes parameters from environment.
    * Tweaks to composer.json to fix autoloading and to specify extension requirements.
    * Added export-ignore git attributes to remove dev artifacts from composer install when included into other projects.
    codemedic committed Oct 2, 2019
    Configuration menu
    Copy the full SHA
    5d8eacf View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Configuration menu
    Copy the full SHA
    f225477 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ea1399 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7209bf View commit details
    Browse the repository at this point in the history
  4. Typo fix

    codemedic committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    9c8dddd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    14361aa View commit details
    Browse the repository at this point in the history
  6. Add signature debug function

    Turned ON via an env variable SIGNATURE_DEBUG=ON
    codemedic committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    34671d8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3735591 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    10e2c86 View commit details
    Browse the repository at this point in the history
  9. Create LICENSE

    codemedic authored Oct 3, 2019
    Configuration menu
    Copy the full SHA
    f6056b6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    284e94e View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Fix refactoring typo

    codemedic committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    2c3e28b View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Add missing curl constants

    codemedic committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    4f9ef50 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Remove default arg value

    codemedic committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    8207606 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Fix typo

    codemedic committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    537ca82 View commit details
    Browse the repository at this point in the history