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 direct upload capability #1031

Closed
wants to merge 1 commit into from
Closed

Add direct upload capability #1031

wants to merge 1 commit into from

Conversation

lavoiesl
Copy link
Contributor

@lavoiesl lavoiesl commented May 28, 2024

Depends on #1029

Adds the ability to enable direct uploads, which can help circumvent upload limits on the server.

@lavoiesl lavoiesl force-pushed the seb-direct-upload branch 3 times, most recently from 7971d06 to 83087f5 Compare May 28, 2024 21:48
Comment on lines +88 to +90
assert_selector("input[type=file]") do |input|
assert_equal(input["data-direct-upload-url"], rails_direct_uploads_url)
end
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Those tests are failing on Rails <= 7.0.

Not sure why, the usage is supposed to be the same: https://guides.rubyonrails.org/v6.1/active_storage_overview.html#usage

I could use some help 😅

@lavoiesl lavoiesl requested a review from a team May 28, 2024 21:51
@lavoiesl lavoiesl force-pushed the seb-assets-pipeline branch from 5ac5629 to 3082da6 Compare May 28, 2024 21:52
@lavoiesl lavoiesl force-pushed the seb-direct-upload branch from 83087f5 to 14b1cba Compare May 28, 2024 21:52
@lavoiesl lavoiesl force-pushed the seb-assets-pipeline branch from 3608265 to 24fb7da Compare May 28, 2024 22:46
Base automatically changed from seb-assets-pipeline to main May 28, 2024 23:18
@github-actions github-actions bot added the stale label Jul 28, 2024
@github-actions github-actions bot closed this Aug 4, 2024
@etiennebarrie etiennebarrie mentioned this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant