0e9dd2a286
Merge remote branch 'remotes/elrond/dev/workbench_class'
Christopher Allan Webber
2011-06-14 17:17:03 -05:00
b67a983a02
Move destroy_workbench to Workbench class
Elrond
2011-06-14 20:39:14 +02:00
8bfa533f8b
Drop WorkbenchManager.localized_file()
Elrond
2011-06-14 20:01:39 +02:00
3fd659e0eb
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber
2011-06-13 21:02:16 -05:00
a68ee5556e
A super strict HTML cleaner method with mediocre tests.
Christopher Allan Webber
2011-06-13 21:01:19 -05:00
6729d65a32
Adds local toc sections
Will Kahn-Greene
2011-06-13 12:31:23 -04:00
03db7d6c74
Updates version in docs
Will Kahn-Greene
2011-06-13 12:24:52 -04:00
1e85d28e01
Already mentioned, but clarifying that branches should be localized to a feature/bugfix/issue.
Christopher Allan Webber
2011-06-13 09:08:18 -05:00
fb6924170d
Tweaks git workflow structure
Will Kahn-Greene
2011-06-12 22:46:25 -04:00
909c639d07
Fixes git workflow
Will Kahn-Greene
2011-06-12 22:42:10 -04:00
48a7ba1e1c
Merge remote branch 'remotes/elrond/idea/simple_proc_media_clean'
Christopher Allan Webber
2011-06-12 17:42:26 -05:00
52426ae01f
Create a Workbench class and use it everywhere.
Elrond
2011-06-13 00:36:56 +02:00
34d35a2393
ensure color mode compatibility when making image thumbnails
cfdv
2011-06-12 17:35:07 -05:00
300c34e8ce
First import of mg_globals as mgg, partly because I just wanted it to be clear that it's okay to do by doing it *somewhere* :)
Christopher Allan Webber
2011-06-12 17:28:54 -05:00
6e7ce8d1af
mediagoblin.globals->mediagoblin.mg_globals
Christopher Allan Webber
2011-06-12 17:27:37 -05:00
49285baf27
Let setup_globals check for known globals
Elrond
2011-06-12 17:36:49 +02:00
da579dec00
Merge remote branch 'remotes/elrond/idea/clean_celery_setup'
Christopher Allan Webber
2011-06-12 09:16:12 -05:00
2f968422e9
Merge remote branch 'remotes/elrond/idea/tests_kill_db'
Christopher Allan Webber
2011-06-12 09:11:39 -05:00
68ffb13690
possibly_localize_file->localized_file... a bit less terribly long.
Christopher Allan Webber
2011-06-11 21:23:32 -05:00
ca030ab6cd
Switch process_media over to using the workbench.
Christopher Allan Webber
2011-06-11 21:20:39 -05:00
fdc5003903
Don't bother returning whether or not we copied it or not, we can figure that out by looking to see whether our storage is local or not.
Christopher Allan Webber
2011-06-11 21:20:26 -05:00
a32acafa0b
Moving workbench out of process_media
Christopher Allan Webber
2011-06-11 20:33:41 -05:00
d40f55e3d9
Merge branch 'master' into workbench
Christopher Allan Webber
2011-06-11 19:49:44 -05:00
894facc68d
Import mediagoblin.globals as mg_globals so we can be sure things are set up in the right order.
Christopher Allan Webber
2011-06-11 19:48:49 -05:00
7ecc58cc5c
Have the application set up instances of the WorkbenchManager.
Christopher Allan Webber
2011-06-11 19:47:02 -05:00
f43ecb0fc4
test WorkbenchManager.possibly_localize_file()
Christopher Allan Webber
2011-06-11 19:18:51 -05:00
f2b96ff0a4
We don't need this extra '.' in making the filename
Christopher Allan Webber
2011-06-11 19:18:27 -05:00
d91b5a7c2d
Added a FakeRemoteStorage, for testing purposes
Christopher Allan Webber
2011-06-11 19:17:44 -05:00
2ecee34f08
Make sure workbench won't kill directories out of scope.
Christopher Allan Webber
2011-06-11 18:52:48 -05:00
2616d70903
Tests for creating/destroying workbenches
Christopher Allan Webber
2011-06-11 18:49:04 -05:00
678d1a20ea
Wrote functions and documentation for all the WorkbenchManager functions but haven't actually tested them yet. :)
Christopher Allan Webber
2011-06-11 17:28:58 -05:00
68784b9e6a
Base structure of workbench manager
Christopher Allan Webber
2011-06-11 16:48:39 -05:00
6a07362dd0
Adding a copy_locally() method to the StorageInterface and giving it a test.
Christopher Allan Webber
2011-06-11 12:04:30 -05:00
3a89c23e7f
Allow storage systems to be local and allow for a get_local_path method if applicable.
Christopher Allan Webber
2011-06-11 11:18:03 -05:00
12c559447a
Tests: Kill the whole testing database after all tests
Elrond
2011-06-10 21:59:04 +02:00
e893094a06
celery_setup: drop param to setup_self and simplify OUR_MODULENAME
Elrond
2011-06-10 21:20:18 +02:00
180bdbde93
Refactor filename generation in the public store
Elrond
2011-06-08 23:22:11 +02:00
bb1f2f89e1
Changed edit page: new background image, image is included in form, submit button text changed, title text changed, created new css class for edit forms
Jef van Schendel
2011-06-07 16:02:16 +02:00