1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

26 commits

Author SHA1 Message Date
Brian D. Burns
b1e373520b [rackspace|storage] add large object container and prefix options
Allows the container and name prefix used to store large object segments
to be specified when creating the manifest object.
2013-05-05 13:00:29 -04:00
Kyle Rames
5ed929938a [rackspace] correcting exception classes on YARD docs 2013-04-15 13:12:14 -05:00
Kyle Rames
46e065e8b3 [rackspace] added exception info to rackspace api documentation 2013-03-27 09:50:30 -05:00
Kyle Rames
d8756c9818 rebasing with master 2013-02-25 09:19:19 -06:00
Kyle Rames
1b708e05a5 Merge branch 'master' of github.com:fog/fog into auth20 2013-02-22 10:17:51 -06:00
Kyle Rames
ca911a1bdc [rackspace] extracted auth 2.0 into module; updated cdn to support an external endpoint 2013-02-20 13:02:32 -06:00
Kyle Rames
7ea22bb60b [rackspace|storage] added support for container metadata; added directory tests 2013-02-13 09:11:10 -06:00
Steve Agalloco
5e7bd7427e fix typo 2012-12-21 13:14:27 -05:00
Alex Tambellini
dedd6e71b1 Documentation error for delete_object 2012-08-17 10:56:39 -03:00
James Healy
15596e486d Rackspace Storage: fix expiring URLs that contain a hyphen
* props to Nathan Wenneker for pointing out the issue
* added specs to ensure objects with a variety of characters are
  signed correctly
2012-08-05 17:02:30 +10:00
James Healy
ac068a470d Rackspace Storage: a backslash shouldn't be escaped when signing URLS 2012-06-12 19:11:10 +10:00
James Healy
179fd51038 Rackspace Storage: new request, post_set_meta_temp_url_key
* Sets the account-wide Temp URL Key
* The key is used to sign any expiring URLs to otherwise private objects
* Once the key has been set, you need to pass it in when creating a new
  Rackspace Storage object like so:

      storage = Fog::Storage.new(:rackspace_username     => 'username',
                                 :rackspace_api_key      => 'api_key',
                                 :rackspace_temp_url_key => 'secret-key',
                                 :provider               => 'Rackspace')

* After this has been set, create an expiring URL like so:

      storage.get_object_https_url("container","object_key", Time.now + 60)
2012-06-12 18:51:12 +10:00
James Healy
d2b640ef15 Rackspace Storage: new request, get_object_https_url
* returns a signed, expiring URL for the requested object
* useful for providing temporary public access to an otherwise private
  object
* same function as the request of the same name for AWS Storage

* Create an expiring URL like so:

    storage = Fog::Storage.new(:rackspace_username     => 'username',
                               :rackspace_api_key      => 'api_key',
                               :rackspace_temp_url_key => 'secret-key',
                               :provider               => 'Rackspace')
    storage.get_object_https_url("container","object_key", Time.now + 60)
2012-06-12 18:51:04 +10:00
geemus
f961d95ff6 [storage] update get_object requests to use excon response_blocks 2012-03-17 14:51:56 -05:00
geemus
fcd504c30a [storage] fixes for deprecated implicit block usage to excon requests 2012-03-17 14:28:31 -05:00
Benjamin Manns
4a97db0f2b [rackspace|storage] Add copy_object request. 2012-02-16 14:44:31 -05:00
geemus
a1fe973bdc [Rackspace|Storage] set put_object to idempotent 2012-02-14 11:29:58 -06:00
geemus
387f374d2c [rackspace|storage] fix broken model paths
closes #516
2011-09-20 10:15:03 -05:00
H. Wade Minter
934ff8a993 Better URL escaping for Rackspace Cloud Files.
URI.escape doesn't encode question marks properly, CGI.escape doesn't encode
spaces properly.  So we create an escape class method for Fog::Rackspace that
does the CGI.escape methods, only encoding spaces as %20.

This makes things work properly with Rackspace Cloud Files.
2011-09-16 23:52:55 -04:00
geemus
ff6e439727 [storage|rackspace] move rackspace storage to its own shared area (namespacing should probably be corrected) 2011-08-24 14:12:29 -05:00
geemus
ac480ad928 [storage] consolidate 2011-01-07 15:34:20 -08:00
geemus
0a9bb3b553 [storage] shared tests 2010-11-04 11:12:44 -07:00
geemus
868ace8347 [rackspace|cdn&storage] split cdn into it's own service 2010-11-01 11:50:30 -07:00
geemus
8a651fe1c6 [rackspace|storage] first pass of cdn support 2010-10-20 16:58:15 -07:00
geemus
ddabb17ee9 [rackspace][storage] allow for passing options to specify headers on put 2010-10-07 11:10:01 -07:00
geemus
a5411d8cf9 [rackspace] rename files/servers to storage/compute 2010-09-08 13:50:23 -07:00