Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding slightly clearer docs to MountStorage. | Christopher Allan Webber | 2011-08-11 | 1 | -9/+22 |
| | |||||
* | MountStorage: Improve mounting asserts | Elrond | 2011-08-08 | 1 | -3/+6 |
| | | | | | The asserts now differentiate between mounting on the same path and mounting over a shorter path. | ||||
* | MountStorage: Add docs. | Elrond | 2011-08-08 | 1 | -0/+15 |
| | |||||
* | Merge remote branch 'upstream/master' into dev/mount_storage | Elrond | 2011-08-08 | 1 | -9/+77 |
|\ | | | | | | | | | Conflicts: mediagoblin/storage.py | ||||
| * | Feature #477 - Cloud Files public storage | Joar Wandborg | 2011-08-04 | 1 | -64/+76 |
| | | | | | | | | | | | | * mediagoblin.storage is now fully PEP-8 compliant. * mediagoblin.storage:BaseFileStorage precedes CloudFilesStorage * Removed all the cloudfiles-specific options from mediagoblin.ini, now it's in the wiki, http://wiki.mediagoblin.org/ConfigureMediaGoblin#Setting_up_Cloud_Files_public_storage | ||||
| * | Feature 477 - Support Cloud Files public storage | Joar Wandborg | 2011-08-04 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | | | * Added configuration options to mediagoblin.ini * process_media supports the python-cloudfiles almost-file-like objects by wrapping them in a contextlib.contextmanager-decorated func. * storage now has the CloudFilesStorage * New dependency added to setup.py; `python-cloudfiles` | ||||
* | | MountStorage: Better error reporting | Elrond | 2011-08-03 | 1 | -2/+8 |
| | | | | | | | | | | | | Created a new resolver frontend function, that raises and error, when no backend is found. Useful for all the wrappers. | ||||
* | | MountStorage: drop u'' nonsense from mount method | Elrond | 2011-08-03 | 1 | -3/+0 |
| | | | | | | | | | | | | My old resolver couldn't handle empty lists, so for the mount resolving I appeneded a u'' as dummy element. Not needed any more. | ||||
* | | MountStorage: Create all the wrappers | Elrond | 2011-08-01 | 1 | -0/+28 |
| | | | | | | | | | | All those methods just call the appropiate method of the relevant backend. | ||||
* | | MountStorage: Some small fixups/changes. | Elrond | 2011-08-01 | 1 | -4/+5 |
| | | | | | | | | | | | | 1) A bit more assert. 2) Change __repr__ to use lists for the recursion parameter. | ||||
* | | First start at MountStorage. | Elrond | 2011-08-01 | 1 | -0/+76 |
|/ | | | | This includes the mounttab, a resolver and adding mount entries. | ||||
* | renaming storage_system_from_paste_config()->storage_system_from_config() | Christopher Allan Webber | 2011-06-19 | 1 | -2/+2 |
| | | | | | As Elrond points out, this name doesn't make sense anymore since this isn't based on the paste config. Thanks Elrond! | ||||
* | Adding a copy_locally() method to the StorageInterface and giving it a test. | Christopher Allan Webber | 2011-06-11 | 1 | -0/+21 |
| | |||||
* | Allow storage systems to be local and allow for a get_local_path | Christopher Allan Webber | 2011-06-11 | 1 | -1/+20 |
| | | | | method if applicable. | ||||
* | Reorganization of storage.py. | Christopher Allan Webber | 2011-04-17 | 1 | -26/+37 |
| | | | | Ordering: Errors, Storage interface / implementation, utils. | ||||
* | storage.storage_system_from_paste_config() utility, w/ tests | Christopher Allan Webber | 2011-04-17 | 1 | -0/+49 |
| | |||||
* | Encourage storage systems to passively accept extraneous keyword | Christopher Allan Webber | 2011-04-17 | 1 | -3/+11 |
| | | | | | | arguments w/ **kwargs. Also did that for BasicFileStorage. | ||||
* | Import urlparse! Duh. I should remember to turn flymake-mode on. | Christopher Allan Webber | 2011-04-16 | 1 | -2/+3 |
| | |||||
* | "if not os.path.exists(directory)", not "if not os.path.exists('directory')" | Christopher Allan Webber | 2011-04-16 | 1 | -1/+1 |
| | |||||
* | when running get_unique_filepath, clean_listy_filepath from the get-go | Christopher Allan Webber | 2011-04-16 | 1 | -0/+4 |
| | |||||
* | Added delete_file, url_for_file methods to BasicFileStorage | Christopher Allan Webber | 2011-04-16 | 1 | -6/+14 |
| | |||||
* | Changes Mediagoblin -> MediaGoblin. | Will Kahn-Greene | 2011-04-13 | 1 | -1/+1 |
| | |||||
* | get_file() implementation for BasicFileStorage | Christopher Allan Webber | 2011-04-10 | 1 | -3/+11 |
| | |||||
* | We should import uuid, because we use it! | Christopher Allan Webber | 2011-04-10 | 1 | -0/+1 |
| | |||||
* | get_unique_filepath not get_unique_filename! | Christopher Allan Webber | 2011-04-10 | 1 | -1/+1 |
| | |||||
* | Added the url_for_file stub to the interface | Christopher Allan Webber | 2011-04-10 | 1 | -0/+11 |
| | |||||
* | I don't think we need _create_dirs_for_filepath. | Christopher Allan Webber | 2011-04-10 | 1 | -6/+0 |
| | |||||
* | Put down structure of BasicFileStorage, and the ._resolve_filepath() method | Christopher Allan Webber | 2011-04-10 | 1 | -0/+39 |
| | |||||
* | More documentation on all the core storage API methods | Christopher Allan Webber | 2011-04-09 | 1 | -1/+12 |
| | |||||
* | u'string', but of course ;) | Christopher Allan Webber | 2011-04-09 | 1 | -1/+1 |
| | |||||
* | Actually, we can implement get_unique_filename, which should be the | Christopher Allan Webber | 2011-04-09 | 1 | -10/+12 |
| | | | | same across all storage API implementations | ||||
* | Most of the StorageInterface stubs in place and documented. | Christopher Allan Webber | 2011-04-09 | 1 | -0/+57 |
| | |||||
* | Raise a specific error if a filename component can't be resolved into anything. | Christopher Allan Webber | 2011-04-09 | 1 | -1/+11 |
| | |||||
* | file storage filelist cleaning | Christopher Allan Webber | 2011-04-09 | 1 | -0/+41 |