aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/storage.py
Commit message (Collapse)AuthorAgeFilesLines
* renaming storage_system_from_paste_config()->storage_system_from_config()Christopher Allan Webber2011-06-191-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 Webber2011-06-111-0/+21
|
* Allow storage systems to be local and allow for a get_local_pathChristopher Allan Webber2011-06-111-1/+20
| | | | method if applicable.
* Reorganization of storage.py.Christopher Allan Webber2011-04-171-26/+37
| | | | Ordering: Errors, Storage interface / implementation, utils.
* storage.storage_system_from_paste_config() utility, w/ testsChristopher Allan Webber2011-04-171-0/+49
|
* Encourage storage systems to passively accept extraneous keywordChristopher Allan Webber2011-04-171-3/+11
| | | | | | arguments w/ **kwargs. Also did that for BasicFileStorage.
* Import urlparse! Duh. I should remember to turn flymake-mode on.Christopher Allan Webber2011-04-161-2/+3
|
* "if not os.path.exists(directory)", not "if not os.path.exists('directory')"Christopher Allan Webber2011-04-161-1/+1
|
* when running get_unique_filepath, clean_listy_filepath from the get-goChristopher Allan Webber2011-04-161-0/+4
|
* Added delete_file, url_for_file methods to BasicFileStorageChristopher Allan Webber2011-04-161-6/+14
|
* Changes Mediagoblin -> MediaGoblin.Will Kahn-Greene2011-04-131-1/+1
|
* get_file() implementation for BasicFileStorageChristopher Allan Webber2011-04-101-3/+11
|
* We should import uuid, because we use it!Christopher Allan Webber2011-04-101-0/+1
|
* get_unique_filepath not get_unique_filename!Christopher Allan Webber2011-04-101-1/+1
|
* Added the url_for_file stub to the interfaceChristopher Allan Webber2011-04-101-0/+11
|
* I don't think we need _create_dirs_for_filepath.Christopher Allan Webber2011-04-101-6/+0
|
* Put down structure of BasicFileStorage, and the ._resolve_filepath() methodChristopher Allan Webber2011-04-101-0/+39
|
* More documentation on all the core storage API methodsChristopher Allan Webber2011-04-091-1/+12
|
* u'string', but of course ;)Christopher Allan Webber2011-04-091-1/+1
|
* Actually, we can implement get_unique_filename, which should be theChristopher Allan Webber2011-04-091-10/+12
| | | | same across all storage API implementations
* Most of the StorageInterface stubs in place and documented.Christopher Allan Webber2011-04-091-0/+57
|
* Raise a specific error if a filename component can't be resolved into anything.Christopher Allan Webber2011-04-091-1/+11
|
* file storage filelist cleaningChristopher Allan Webber2011-04-091-0/+41