webtechnick / cakephp-cloudfiles-plugin Goto Github PK
View Code? Open in Web Editor NEWCakePHP Plugin for the CloudFiles service of RackSpace
Home Page: http://www.webtechnick.com
CakePHP Plugin for the CloudFiles service of RackSpace
Home Page: http://www.webtechnick.com
Im not sure if this is me or the code, I've triple checked the username/api and they are seem to be ok.
When I call any function ( CloudFiles::listContainers()) is what i'm testing with it gives me
Unexpected response ():
its happening on authentication. even if i pass in the wrong user/api key its still gives me the same error.
I'm use
cloudfiles-v1.7.11-1-g6c7938f
Plugin-3f0fa66
I just updated the composer.json file to use php-opencloud version 1.6.0 and everything was cool. Trying to use later versions caused several issues.
It would be nice to be able to get the SSL url when a file is uploaded. You would just need to pass change the call to getPublicUrl(OpenCloud\ObjectStore\Constants\UrlType::SSL). Maybe making this a setting or variable
The stream path retrieval method just calls the standard public url method?
Looks like rackspace is not enabling CDN/Public mode on containers by default, Work around would be to issue ->enableCdn() call on container creation (If this was to be public by default):
# /[PROJECT_DIR]/app/Plugin/CloudFiles/Lib/CloudFiles.php
# Add new Line after #354
$Container->enableCdn();
Thanks for creating the plugin!
Hi,
Is there a way to upload files into a folder inside of a container?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.