aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/storage/cloudfiles.py
Commit message (Collapse)AuthorAgeFilesLines
* Apply pyupgrade --py36-plus.Ben Sturmfels2021-09-231-1/+1
| | | | This removes some 'u' prefixes and converts simple format() calls to f-strings.
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-5/+4
|
* Fix bug 647Boris Bobrov2015-03-021-21/+0
| | | | | Reading a file into memory resulted in depletion of memory. Now files are read and written lazily, by chunks.
* The file() builtin has been removed in Python 3. Use open() instead.Berker Peksag2014-06-071-2/+2
|
* added user upload limitsRodney Ewing2013-08-261-0/+6
|
* CloudFiles: Default to SSL URIsJoar Wandborg2013-06-071-1/+1
|
* Added .send method to cloudfiles storage objectJoar Wandborg2013-03-031-1/+9
| | | | | .. wrapper. Also added some logging - A .warn() for the legacy .write() method and a .debug() for the new copy_local_to_storage()
* Make Cloudfiles copy memory efficient too (#419)Sebastian Spaeth2013-03-021-0/+48
| | | | | | | | | | | | | | | | It seems that (our implementation of) cloudfiles.write() takes all existing data and appends write(data) to it, sending the full monty over the wire everytime. This would of course absolutely kill chunked writes with some O(1^n) performance and bandwidth usage. So, override this method and use the Cloudfile's "send" interface instead. Also make the Cloudfile file wrapper an iterator that allows us to simply do "for data in cloudfile:" which will stream the data in a memory-efficient way. DO NOTE THAT THIS PATCH IS COMPLETELY UNTESTED DUE TO LACK OF SETUP PLEASE REVIEW AND VERIFY.
* Fixed attachmentsJoar Wandborg2012-10-231-1/+4
|
* Non-performance improvements to cloudfilesJoar Wandborg2012-08-051-8/+27
| | | | Improved documentation and added logging to cloudfiles
* Fix problems from pyflakes outputWill Kahn-Greene2012-06-031-2/+1
|
* Also make sure mimetype here is set correctly via mimetype[0] (Thanks Shackra!)Christopher Allan Webber2012-04-181-1/+1
|
* Save the MIMEtype to cloudfiles correctly.Shackra2012-04-161-0/+6
|
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Merge branch 'video_gstreamer-only'Joar Wandborg2011-11-211-2/+8
|\ | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/submit/views.py
| * Multimedia support - Commiting from a not yet finished state - Details belowJoar Wandborg2011-09-231-2/+8
| | | | | | | | | | | | | | | | | | | | | | * DONE Initially testing with arista ** DONE Video display templates *** TODO Multi-browser support ** TODO Video thumbnails ** TODO Link to original video ** TODO Video cropping Also contains a lot of "debug" print's
* | Whitespace and formatting cleanup.Nathan Yergler2011-10-011-0/+1
|/ | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
* Feature #587 - Split storage.py into submodulesJoar Wandborg2011-09-121-0/+156
* Removed storage.py * Created submodules for filestorage, cloudfiles, mountstorage * Changed test_storage to reflect the changes made in the storage module structure * Added mediagoblin.storage.filestorage.BasicFileStorage as a default for both publicstore and queuestore's `storage_class`