1877 Commits

Author SHA1 Message Date
cfdv
279d925e75 adds user bio and website url fields to the database 2011-06-18 15:00:05 -05:00
Christopher Allan Webber
efc8f1a0d0 Let's specifically import string_list()s in the config_spec. 2011-06-18 14:08:58 -05:00
Christopher Allan Webber
c897283849 Merge branch 'master' into configobj
Conflicts:
	setup.py
2011-06-18 11:10:46 -05:00
cfdv
e8fda91bc2 fixes uneven whitespace, and conforms to a strong preference for
less than 80 characters per line
2011-06-17 22:26:17 -05:00
cfdv
4869343739 adds global link to user's home page in the base.html template
Issue #315 (add bio and website to user page)
  * enable profile edits
  * provide place in user's home page for details to appear
2011-06-17 22:11:25 -05:00
Jef van Schendel
d81b39da4c Merge remote-tracking branch 'gitorious/master' 2011-06-17 23:11:20 +02:00
Christopher Allan Webber
d4ff1606c3 Merge remote branch 'remotes/cmoylan/test_auth_views_364' 2011-06-17 08:59:55 -05:00
Chris Moylan
757690cc2e logins are now somewhat tested 2011-06-17 00:15:24 -05:00
cfdv
4cf2287a11 adds link from gallery back to user page 2011-06-16 17:28:46 -05:00
cfdv
850746677f adds link to user gallery in mediagoblin_header_right of user page 2011-06-16 13:00:41 -05:00
cfdv
4b5f5a08d3 user_gallery controller calls render_to_reponse 2011-06-16 13:00:11 -05:00
cfdv
184f2240cb adds routing.py and view.py changes 2011-06-16 12:59:48 -05:00
Caleb Forbes Davis V
d49cf0e29c issue #330 - creates a user gallery template 2011-06-16 12:51:26 -05:00
Christopher Allan Webber
e2c6436e3e Configuration file loading via ConfigObj.
Uses ConfigObj to open the config file.  Also does validation via the
config spec, so defaults are provided, strings are interpolated, types
are converted.
2011-06-16 08:21:51 -05:00
Christopher Allan Webber
0fcfff5a3a Basic config "requirements" file.
Not used yet, but this will be used by ConfigObj to transform values,
set defaults, etc.
2011-06-15 21:17:55 -05:00
Jef van Schendel
bb770e295c Merge remote-tracking branch 'gitorious/master' 2011-06-15 23:25:47 +02:00
Joar Wandborg
44e51d3464 Made changes according to http://bugs.foocorp.net/issues/363#note-5 2011-06-15 23:07:54 +02:00
Joar Wandborg
9e883ed3b2 Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin 2011-06-15 22:18:24 +02:00
Christopher Allan Webber
0e9dd2a286 Merge remote branch 'remotes/elrond/dev/workbench_class' 2011-06-14 17:17:03 -05:00
Elrond
b67a983a02 Move destroy_workbench to Workbench class
And add a lot of warnings, as the checks for "being part of
the main Manager" are all gone.
2011-06-14 20:39:14 +02:00
Elrond
8bfa533f8b Drop WorkbenchManager.localized_file()
As Workbench has the localized_file() method, use this
everywhere and drop the wrapper method from
WorkbenchManager.

The processing code already did that.
2011-06-14 20:01:39 +02:00
Christopher Allan Webber
a68ee5556e A super strict HTML cleaner method with mediocre tests. 2011-06-13 21:01:19 -05:00
Christopher Allan Webber
48a7ba1e1c Merge remote branch 'remotes/elrond/idea/simple_proc_media_clean'
Conflicts:
	mediagoblin/process_media/__init__.py
2011-06-12 17:42:26 -05:00
Elrond
52426ae01f Create a Workbench class and use it everywhere.
Some references to Workbench.dir look ugly, I'm happy to
hear suggestions there.
2011-06-13 00:39:41 +02:00
cfdv
34d35a2393 ensure color mode compatibility when making image thumbnails 2011-06-12 17:35:07 -05:00
Christopher Allan Webber
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* :)
2011-06-12 17:28:54 -05:00
Christopher Allan Webber
6e7ce8d1af mediagoblin.globals->mediagoblin.mg_globals 2011-06-12 17:27:37 -05:00
Elrond
49285baf27 Let setup_globals check for known globals
To avoid typos in calling setup_globals(), only allow
globals, which are already known to the system.
Plugins should have their own globals.
2011-06-12 17:43:54 +02:00
Christopher Allan Webber
da579dec00 Merge remote branch 'remotes/elrond/idea/clean_celery_setup'
Conflicts:
	mediagoblin/celery_setup/from_celery.py
2011-06-12 09:16:12 -05:00
Christopher Allan Webber
2f968422e9 Merge remote branch 'remotes/elrond/idea/tests_kill_db' 2011-06-12 09:11:39 -05:00
Joar Wandborg
a48014d67a Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin 2011-06-12 14:37:49 +02:00
Christopher Allan Webber
68ffb13690 possibly_localize_file->localized_file... a bit less terribly long. 2011-06-11 21:23:32 -05:00
Christopher Allan Webber
ca030ab6cd Switch process_media over to using the workbench. 2011-06-11 21:20:39 -05:00
Christopher Allan Webber
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.
2011-06-11 21:20:26 -05:00
Christopher Allan Webber
a32acafa0b Moving workbench out of process_media 2011-06-11 20:33:41 -05:00
Joar Wandborg
44e2da2fe6 Added Markdown rendering for media_entry 2011-06-12 03:24:31 +02:00
Christopher Allan Webber
d40f55e3d9 Merge branch 'master' into workbench 2011-06-11 19:49:44 -05:00
Christopher Allan Webber
894facc68d Import mediagoblin.globals as mg_globals so we can be sure things are
set up in the right order.
2011-06-11 19:48:49 -05:00
Christopher Allan Webber
7ecc58cc5c Have the application set up instances of the WorkbenchManager. 2011-06-11 19:47:02 -05:00
Christopher Allan Webber
f43ecb0fc4 test WorkbenchManager.possibly_localize_file() 2011-06-11 19:18:51 -05:00
Christopher Allan Webber
f2b96ff0a4 We don't need this extra '.' in making the filename 2011-06-11 19:18:27 -05:00
Christopher Allan Webber
d91b5a7c2d Added a FakeRemoteStorage, for testing purposes 2011-06-11 19:17:44 -05:00
Christopher Allan Webber
2ecee34f08 Make sure workbench won't kill directories out of scope. 2011-06-11 18:52:48 -05:00
Christopher Allan Webber
2616d70903 Tests for creating/destroying workbenches 2011-06-11 18:49:04 -05:00
Christopher Allan Webber
678d1a20ea Wrote functions and documentation for all the WorkbenchManager
functions but haven't actually tested them yet. :)
2011-06-11 17:28:58 -05:00
Christopher Allan Webber
68784b9e6a Base structure of workbench manager 2011-06-11 16:48:39 -05:00
Christopher Allan Webber
6a07362dd0 Adding a copy_locally() method to the StorageInterface and giving it a test. 2011-06-11 12:04:30 -05:00
Christopher Allan Webber
3a89c23e7f Allow storage systems to be local and allow for a get_local_path
method if applicable.
2011-06-11 11:18:03 -05:00
Elrond
12c559447a Tests: Kill the whole testing database after all tests
nose allows setup and teardown functions at the package
level. So use this to drop the complete database after all
tests have finished.
2011-06-10 21:59:04 +02:00
Elrond
e893094a06 celery_setup: drop param to setup_self and simplify OUR_MODULENAME
setup_self used to look like this:
	setup_self(setup_globals_func=setup_globals)
The function isn't called with any param, so drop it.
Rewrite function as needed.

The module var OUR_MODULENAME just has the module's name in
it. This is available as __name__ anyway, so use this to
initialize the var.
2011-06-10 21:20:18 +02:00