[bd] Attachment Store for XenForo 2.0 2.1.2

Store attachment differently and more effectively.

  1. Minor update

    xfrocks
    • Add `maintainFilename` for S3 mode
    • Improve support for XFMG
    • Performance improvements
    RoldanLT likes this.
  2. New feature

    xfrocks
    • Add support for Google Cloud Storage
    • Improve support for S3-compatible storage
  3. Minor update

    xfrocks
    • Add support for `bdAttachmentStore_mimeTypes` in config.php
    • Update S3 regions list
    • Improve `ContentDisposition` logic
    • Fix bug insert thumbnail show up for non-image upload
    • Fix bug running Move job from cli
    • Fix bug templater being initialized too soon
  4. Compatibility Update

    xfrocks
    • Add support for XF2 video attachment files
    • Fix ContentType / ContentDisposition for S3
    RoldanLT likes this.
  5. Added support for XenForo 2.1

    xfrocks
    This version includes support for XenForo 2.1.

    It also makes it easier to use the same storage (s3, ftp, etc.) for all files in /data. Just add this into config.php:

    PHP:
    $config['fsAdapters']['data'] = function () {
        return \
    Xfrocks\AttachmentStore\Fs::getAdapterDefault();
    };
    $config['externalDataUrl'] = function ($externalPath$canonical) {
        return 
    'https://s3.amazonaws.com/bucket/' $externalPath;
    };
    Dryline likes this.
  6. v2.0.0

    xfrocks
    Official release for XenForo 2.
Loading...