Commit Graph

27 Commits (40829a417b7f06081493bd550aed2d7bb19f1f82)

Author SHA1 Message Date
Shlee 1c9cae3989
Update filesystems.php 1 day ago
Shift c81c4be683 Default config files
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used.
3 weeks ago
Shlee d18e871338
Update filesystems.php 3 weeks ago
Your Name 41c9b8830f refactor: rename MigrateLocalS3MediaURL class and move media move-storage commands to unstable
- Rename App\Console\Commands\Admin\MigrateLocalS3MediaURL to MediaUpdateS3CDNUrl
  (class + filename only; the admin:MigrateLocalS3MediaURL signature is unchanged)
- Move the three MediaMoveStorage{LocalToCloud,CloudToLocal,CloudToCloud} commands
  into App\Console\Commands\Admin\Unstable and change their signatures from
  admin: to unstable:
- Update the scheduler in bootstrap/app.php, the command README, the
  config/filesystems.php reference comment, and the affected feature tests
3 weeks ago
Your Name 68366c7dde polish 4 weeks ago
Your Name 70b4a05b5c Add admin:MediaMoveStorageCloudToCloud for cold S3->S3 migration
Cold-migrate existing media from an old S3 bucket to the current cloud
bucket, one media row at a time (like MigrateLocalS3MediaURL):
- Source = --sourceDisk (default s3-old, reads AWS_OLD_*); destination = the
  current cloud disk (config filesystems.cloud). No .env editing: operators
  point AWS_* at the new bucket first (restarting workers as usual) so new
  uploads/downloads land on the new bucket, then run this to backfill old data.
- Copies media (+thumbnail) source->destination, verifies by size and by
  sha256 of the freshly-written destination object (against original_sha256),
  rewrites cdn_url/optimized_url/thumbnail_url to the destination host, and
  GCs the source objects (unless --keep-source). Busts caches.
- Only touches rows whose cdn_url still points at the source host; idempotent.
- --sourceDisk / --limit / --dry-run / --force.
- Adds the s3-old disk (AWS_OLD_*) to config/filesystems.php and feature tests.
4 weeks ago
Daniel Supernault 42f361540c
Pint config/ 4 weeks ago
Shlee bf665d9d22
Update filesystems.php 10 months ago
Shlee b157b720e3
Update filesystems.php 10 months ago
Raphael Lullis 5d9d4e7e12 Give execute permissions to folders
nginx returns 403 for every url on app/public/storage because of the strict permissions.
2 years ago
Christian Winther 7b3e11012f merge dev 3 years ago
Christian Winther 98211d3620 refactor Dockerfile and Docker workflow 3 years ago
Daniel Supernault fb1deb6e28
Add Resilient Media Storage 3 years ago
Daniel Supernault 573c88d7b5
Update filesystem config, change FILESYSTEM_DRIVER env variable to DANGEROUSLY_SET_FILESYSTEM_DRIVER and remove from default env configs. Changing the default filesystem should be avoided, use FILESYSTEM_CLOUD for s3 support, otherwise you can break things 4 years ago
Daniel Supernault 22da2647c7
Update filesystems, store all files as public by default and add default permissions. Fixes #4273, #4275. Closes #3825 4 years ago
Daniel Supernault e6bc57d7b6
Update Media model, use cloud filesystem url if enabled instead of cdn_url to easily update S3 media urls 4 years ago
Daniel Supernault 720b6eb337
Update filesystem config, fix DO Spaces root default 4 years ago
Daniel Supernault 18f3fcc663
Update Laravel 8 => 9 4 years ago
Daniel Supernault 71e6e1f14f
Update filesystem config 5 years ago
Daniel Supernault 49a53c27be
Update filesystems config, set S3 visibility to public by default. Fixes #2913 5 years ago
Daniel Supernault 3515a98e55
Add Cloud Backups, a command to store backups on S3 or compatible filesystems 5 years ago
Daniel Supernault ae90eef965
Update filesystems config, add backup driver to store backups on other filesystems 6 years ago
techknowlogick 254c53ecb8
Support minio for S3 uploads 7 years ago
Daniel Supernault a6228ffce7
Add spaces filesystem driver 8 years ago
Mike Barnes d483f4a01f
Expose S3 endpoint setting via config file
To use non-AWS services like Google Cloud Storage or a custom provider via S3 compatibility, the endpoint needs to be configurable, and separated from the URL to allow Cloudflare etc proxy for SSL termination.

eg for GCS in S3 mode with custom domain:
AWS_ENDPOINT="https://storage.googleapis.com"
AWS_URL="https://i.pitchfork.club"

This is already supported via the driver, it just needs a config option to feed it in.

https://laracasts.com/discuss/channels/laravel/custom-file-driver-digital-ocean-spaces?page=1
8 years ago
daniel b8abbdd90f Apply fixes from StyleCI 8 years ago
Daniel Supernault a034358c98 Add Laravel Framework 9 years ago