Giter Club home page Giter Club logo

cloud-files's Introduction

Cloud Files

For installation and usage please read the documentation

Contributing

Changelog

Every change should be documented in the Changelog under the Unreleased section and categorized as either Fixed, Added, or Changed. These types of changes will also correspond with whether the next release is a Patch (fixes), Minor (additions), or Major (changes).

Prefixing Dependencies

Cloud Files relies on several popular third-party libraries to deliver its functionality. Given there is a high risk of namespace collision with other add-ons using these same libraries we take extra care to avoid this possibility by prefixing our dependencies.

Running composer install and composer update handles prefixing all composer dependencies with respect to the settings in scoper.inc.php

cloud-files's People

Contributors

bryannielsen avatar intoeetive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cloud-files's Issues

Cloud Files Addon: Documentation Issue

Description of the problem
Not sure where this would / should go - so putting it here in hope that someone can put it in the right place.

The documentation for the R2 Cloud File adapter needs some clarification.

In "Step 3: Configure ExpressionEngine" - step 8 says:

Specify a Url to use as the base when generating links to files in the bucket.

Cloudflare itself provides links to the bucket (e.g. via "Public R2.dev Bucket URL") that can be copied, and with these types of URLs included you can upload files to the R2 folder. But when you try to view the files within the File system you don't get to see any images.

It turns out this is because while ExpressionEngine apparently automatically adds the path specified in Step 7 to the URL when uploading files ("path inside your bucket where the directory should store files and folders") since these files stored in the bucket are located within this path. However ExpressionEngine does not appear to similarly add the path to the URL when displaying files / generating links to the files. To get these links to work you need to append the "path" from step 7 to the end of the URL from step 8.

This is ambiguous behaviour about whether this path should be added or not - it would help if the documentation made clear that the path needs to be appended to the url to the bucket.

A better solution would probably be for ExpressionEngine to append the step 7 path automatically when generating links to images in the bucket ... but I guess that's unlikely (since this cloud files code appears to have been around for some long time).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.