Attachment Improvements By Xon

xF2 Eklenti Attachment Improvements By Xon 2.7.2

indirmek için izniniz yok
A collection of improvements to XF's attachment system.
  • Byte-range support for resumable downloads
  • Primarily designed for partial content requests for streaming videos, but will work with any file
  • Dependant on the filesystem /internal_data being local, as the remote file system APIs do not easily support this feature
  • Improve drag&drop editor support.
  • Stock XenForo/Froala uses "move" which can result in unexpected content deletion.
  • Tint the active editor's boarder when dragging items over it, and show a file upload symbol over it.
  • Option to strip jpeg EXIF data
  • SVG support
  • Nginx's X-Accel-Redirect
  • New Permissions for forum/conversations (Respects global attachment size & count limits):
  • Attachment Size (kb).
  • Maximum Attachment Count.
  • Adds support for video stream via partial content requests
SVG Support

Support for SVG attachments to be displayable as normal images.

Nginx X-Accel-Redirect (OPTIONAL)

Enables the use of Nginx's X-Accel-Redirect header feature for attachment serving.

This permits XenForo to-do validation and authentication, and offload the actual file serving to Nginx. This feature is not particularly well documented, but some info found here.

After following Using DigitalOcean Spaces or Amazon S3 for file storage in XF 2.x attachments no longer show, you must follow the relevant FAQ entry!

Support for SVG attachments to be displayable as normal images.

Enables the use of Nginx's X-Accel-Redirect header feature for attachment serving.

This permits XenForo to-do validation and authentication, and offload the actual file serving to Nginx. This feature is not particularly well documented, but some info found here.

After following Using DigitalOcean Spaces or Amazon S3 for file storage in XF 2.x attachments no longer show, you must follow the relevant FAQ entry!

New Permissions

Permits per-forum or conversation attachment size and count limits.

Respects the global forum wide attachment size/count limits, with per-usergroup settings allowing smaller values.

Due to how XF integer permissions work, 'unlimited' or '0' evaluate as no permission being set.

Post Install Instructions

Add 'svg' file extension to the list of supported to allow svg files to be uploaded.

Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.

Contributions

If you appreciate this add-on, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.
  • Require StandardLib v1.22.0+
  • Fix drag&drop would use 'move' action instead of 'copy' for XF2.3
  • Fix drag&drop support for svg images
  • Add "Svg images skip pixel resize limit when generating thumbnails" option (default: false)
Fix XFRM resource icon extension was being stripped on updating for non-svg files
Fix server error when partial content requests isn't actually possible with the underlying filesystem adaptor
Bilgi
Yükleniyor...
Sosyal Medyada Takip Edin:
Geri
Üst