1418 Commits

Author SHA1 Message Date
Christopher Allan Webber
12b6ecac0f Erk, we didn't save the state right before 2011-05-06 10:01:11 -05:00
Christopher Allan Webber
fa7f9c6184 Process media! Successfully! 2011-05-06 09:37:24 -05:00
Joar Wandborg
eee2c3a7e6 Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin 2011-05-04 22:31:08 +02:00
Christopher Allan Webber
61ec968b0d A simple, maybe obvious, docstring for util.send_email() 2011-05-04 08:11:37 -05:00
Christopher Allan Webber
4d4f6050d8 send_email tool and email sending tests 2011-05-04 08:00:08 -05:00
Joar Wandborg
7b3fcddbf4 Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin 2011-05-04 11:50:39 +02:00
Christopher Allan Webber
88816492a3 Force imports of stuff like mediagoblin.process_media which has tasks we need 2011-05-03 21:48:02 -05:00
Christopher Allan Webber
41f446f4f2 Add a rudimentary media processing function.
Haven't completely checked it for workingness, and not the final form
this will take :)
2011-05-03 21:45:13 -05:00
Joar Wandborg
1b46208f3e Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin 2011-05-03 20:04:55 +02:00
Joar Wandborg
db1a438f3e Added functionality to support user email verification, email = TBD, verification = done.
Signed-off-by: Joar Wandborg <git@wandborg.com>
2011-05-03 19:51:19 +02:00
Christopher Allan Webber
8ac897c3b6 Add the base.css and reference it so other people can start working on it :) 2011-05-03 09:49:56 -05:00
Christopher Allan Webber
258b62c6a2 Register the models when using from_celery 2011-05-01 19:41:22 -05:00
Christopher Allan Webber
1e48a8308a Now we have something useful: mediagoblin.celery_setup.from_celery
auto-configures a celery config module from your paste config
2011-05-01 10:17:04 -05:00
Christopher Allan Webber
524c8f347f Second round of tests for setup_celery_from_config(), with some database information 2011-05-01 09:01:20 -05:00
Christopher Allan Webber
ef30978ad2 tests for setup_celery_from_config() 2011-04-30 21:54:05 -05:00
Christopher Allan Webber
1c61a6ca3b A few more corrections to make setup_celery_from_config() work right 2011-04-30 21:53:39 -05:00
Christopher Allan Webber
694c235106 Import based on the DEFAULT_SETTINGS_MODULE in setup_celery_from_config 2011-04-30 11:32:33 -05:00
Christopher Allan Webber
776331fd96 Merge branch 'master' into celerysubmit 2011-04-30 08:27:15 -05:00
Will Kahn-Greene
87b44d61ef Adds initial root page
This adds an initial root page that's ugly as sin, but makes it easier
to test what exists so far (e.g. register, login, submit pictures).
2011-04-30 08:57:08 -04:00
Christopher Allan Webber
1bb0fdf2f4 HTTPFound more accurate than HTTPMovedPermanently.
(Just observed this in cc.engine, making observation here also while I'm at it :))
2011-04-26 15:46:56 -05:00
Christopher Allan Webber
5784c4e963 Actually call setup_celery_from_config when launching from paste.
Also changed **kw to **app_config, which is more useful of a variable
name.
2011-04-24 20:57:38 -05:00
Christopher Allan Webber
bb64a6073c Commit dummy_settings_module, of course. 2011-04-24 20:55:02 -05:00
Will Kahn-Greene
eb2986152a Fixes traceback on registration
values must be unicode.
2011-04-24 21:53:57 -04:00
Christopher Allan Webber
e231d9e8bb setup_celery_from_config tool. Haven't tried if it works, but looks right... 2011-04-24 18:47:23 -05:00
Christopher Allan Webber
df9809c209 Make certain bits of info accessable as global variables from anywhere 2011-04-24 14:48:55 -05:00
Christopher Allan Webber
03afc828ce Properly require files when users submit 2011-04-23 14:13:33 -05:00
Christopher Allan Webber
204392362f Submission of image works :)
/me pours some sparkling grape juice
2011-04-23 13:29:15 -05:00
Christopher Allan Webber
e21e7bfeb4 Enclose queue_file writing in with statement so that it's closed correctly. 2011-04-23 13:15:09 -05:00
Christopher Allan Webber
2732c28676 A stupid success view. 2011-04-23 13:06:27 -05:00
Christopher Allan Webber
6e41c71c49 Adding the hidden next field to the login page so we actually do redirect 2011-04-23 12:56:32 -05:00
Christopher Allan Webber
f6f524bf59 submit_start written in a way that, by golly, you'd think maybe it'd work 2011-04-23 12:56:01 -05:00
Christopher Allan Webber
574d1511d6 Probably better to request.POST.get? 2011-04-23 12:54:11 -05:00
Christopher Allan Webber
e745ce10c9 we should check for request.user['status'] not request.user['session'], clearly. 2011-04-23 11:30:20 -05:00
Christopher Allan Webber
74ae6b112a making state for MediaEntry objects, also adding attributes:
- media_files
 - attachment_files
 - queue_files
 - thumbnail_file
2011-04-23 10:51:55 -05:00
Christopher Allan Webber
7bf3f5db0f Adding a space for custom validators, though we haven't used it yet :) 2011-04-23 09:03:25 -05:00
Christopher Allan Webber
4d75522b91 Give User a status, also add uploader user field to MediaEntry 2011-04-23 08:52:23 -05:00
Christopher Allan Webber
7eba0306d8 Provide a next= url when we require logging in 2011-04-23 08:46:02 -05:00
Christopher Allan Webber
ddff7cce3e util.setup_user_in_request must be called last 2011-04-19 19:16:56 -05:00
Christopher Allan Webber
6648c52ba8 Use request.app.db, not request.db 2011-04-19 19:11:38 -05:00
Christopher Allan Webber
e323a06851 Start of the submit view, but not much there quite yet. 2011-04-19 19:05:46 -05:00
Christopher Allan Webber
bb3eaf20ea New requires_active_login decorator! 2011-04-19 19:04:22 -05:00
Christopher Allan Webber
0dd6594596 Move the request.app stuff to the same area 2011-04-17 16:36:01 -05:00
Christopher Allan Webber
582c4d5fb2 Add the staticdirector stuff to the mediagoblin wsgi app. 2011-04-17 16:30:51 -05:00
Christopher Allan Webber
df0953ce45 Buildout script which creates user_dev directory and necessary
subdirectories for the user.
2011-04-17 13:44:10 -05:00
Christopher Allan Webber
5afdd7a1de Actually set up the storage systems 2011-04-17 10:36:46 -05:00
Christopher Allan Webber
d807b7252d Reorganization of storage.py.
Ordering: Errors, Storage interface / implementation, utils.
2011-04-17 10:26:52 -05:00
Christopher Allan Webber
ffa2293549 storage.storage_system_from_paste_config() utility, w/ tests 2011-04-17 10:24:36 -05:00
Christopher Allan Webber
cb8ea0fe3f Moved app.load_controller -> util.import_component and added tests. 2011-04-17 09:43:03 -05:00
Christopher Allan Webber
904f61c298 documentation for get_jinja_env 2011-04-17 09:30:10 -05:00
Christopher Allan Webber
5afb92275c Encourage storage systems to passively accept extraneous keyword
arguments w/ **kwargs.

Also did that for BasicFileStorage.
2011-04-17 09:18:12 -05:00