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

Allow to configure public/temporary url generation #123

Merged
merged 1 commit into from
Dec 26, 2022

Conversation

norkunas
Copy link
Contributor

I've added 3 new options:

  • public_url which allows to use a single url or multiple urls and based flysystem will resolve public url generator;
  • public_url_generator - a string value of service id;
  • temporary_url_generator - a string value of service id.

and also added tests and fixed some deprecation in tests.

Closes #118
Replaces #119

@COil
Copy link
Contributor

COil commented Dec 23, 2022

Hi, is there something preventing from merging this? /cc @tgalopin

Copy link
Member

@tgalopin tgalopin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason other than I missed it :) thanks for the ping

A small question but otherwise it seems good to me

@@ -1,3 +1,4 @@
framework:
secret: 'test_secret'
test: true
http_method_override: false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To fix deprecation notice

@tgalopin tgalopin merged commit 6d05c50 into thephpleague:3.x Dec 26, 2022
@tgalopin
Copy link
Member

Thanks @norkunas !

@COil
Copy link
Contributor

COil commented Jan 3, 2023

Can we have a new tag @tgalopin please? I have to fork the bundle to use the new 'public_url' feature for now: https://github.com/coopTilleuls/flysystem-bundle/tree/3.1.0

@tgalopin
Copy link
Member

tgalopin commented Jan 4, 2023

Here it is :) : https://github.com/thephpleague/flysystem-bundle/releases/tag/3.1.0

@COil
Copy link
Contributor

COil commented Jan 4, 2023

Thanks @tgalopin ! :)

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.

Please add public_url option to filesystem configuration
3 participants