819 Commits

Author SHA1 Message Date
Caleb Forbes Davis V
02542d54e1 edit profile submit redirects to user home page 2011-07-06 17:14:07 -05:00
Caleb Forbes Davis V
20d82d6046 B #429 - form validation allows blank profile url 2011-07-05 22:11:56 -05:00
Chris Moylan
ad35dd490c finished basic submission testing 2011-07-05 21:42:41 -05:00
Chris Moylan
f0b497ec5a Merge branch 'master' into test_submission_views_365 2011-07-05 21:42:18 -05:00
Caleb Forbes Davis V
b1db2c2e74 slug-style urls in previous and next urls look much better
Bug #434 - identifies media by slug instead of _id in prev/next
2011-07-05 21:40:00 -05:00
Caleb Forbes Davis V
ce2ac48826 f#435 - avoids linking to unprocessed media in prev and next 2011-07-05 21:33:02 -05:00
Will Kahn-Greene
5ed4722de8 Makes maketarball more resilient to errors 2011-07-05 09:36:07 -04:00
Will Kahn-Greene
132773ae08 Updates version to 0.0.3. 2011-07-05 09:26:45 -04:00
Will Kahn-Greene
7c6dffe34d Adds tarball generation script
This just makes it easier to generate tarballs of master and
tarballs of releases.
2011-07-05 09:23:20 -04:00
Caleb Forbes Davis V
77b958018b Feature #423 - gallery and scroll image ordering match 2011-07-04 20:24:57 -05:00
Caleb Forbes Davis V
e054ae9b3d allows using messaging instead of verify_email.html to pass tests
* re-instated verification_successful flag
* modified test_auth to verify nav to user_pages/user.html template
2011-07-04 20:04:00 -05:00
Caleb Forbes Davis V
cfe46f3e68 uses the messaging system to notify user of result of verification check
Feature #424 - Use messaging system for email verifification check response
* uses add_message in verify_email and routes to the user page, bypassing
  verify_email.html
2011-07-04 19:42:45 -05:00
Christopher Allan Webber
24df76fa1e This extra <br /> is maybe a bit too much space... 2011-07-04 17:08:10 -05:00
Elrond
cca5d55d40 Let setup_global_and_app_config call setup_globals
Let setup_global_and_app_config set the global and app
config in the mg_globals already. This way, the config is
available to everyone very early.
2011-07-05 00:02:04 +02:00
Christopher Allan Webber
0b6c3ef14a A few media thumbnail changes pre-release
- adjust padding so 5 media thumbs can appear per row
 - lowering the h1 margins
 - adding a profile content bottom margin
2011-07-04 16:58:07 -05:00
Elrond
fe289be4c8 Create setup_global_and_app_config
Moving the config reading and error reporting from app.py
to init/__init__.py. Straight forward.

This also fixes the duplicated exceptions.
2011-07-04 23:57:45 +02:00
Christopher Allan Webber
1a837cf7c8 Don't even show the profile box if no profile exists 2011-07-04 16:54:06 -05:00
Elrond
c85c9dc712 Move setting up of staticdirector to init submodule
This duplicates some exceptions, which will be fixed very
soon.
2011-07-04 23:47:13 +02:00
Christopher Allan Webber
899d891692 Set the jpeg quality at 90 for now... 2011-07-04 15:40:05 -05:00
Christopher Allan Webber
0dd0a71f5e Put some space between the gallery and the rest of the page content 2011-07-04 11:17:51 -05:00
Christopher Allan Webber
24eaf0fd6b Not happy with 180x135, switching back to 180x180 2011-07-04 09:41:57 -05:00
Christopher Allan Webber
6178aa0814 Move submit an item to the user page. 2011-07-04 09:41:43 -05:00
Christopher Allan Webber
5c72d31d36 Put the profile stuff in p's instead of <ul>'s 2011-07-04 09:11:13 -05:00
Christopher Allan Webber
b51c574188 .message_info was missing closing } 2011-07-04 09:08:57 -05:00
Christopher Allan Webber
51ca54a835 Adjusting indentation of object_gallery.html 2011-07-04 09:04:37 -05:00
Christopher Allan Webber
a3a17d1068 Put link to edit profile slightly after the profile 2011-07-04 08:49:52 -05:00
Christopher Allan Webber
ae50c14f0f Removing a tab... hate mixed tabs and spaces :) 2011-07-04 08:47:46 -05:00
Christopher Allan Webber
afa7607431 Just removing some trailing whitespace 2011-07-04 08:47:28 -05:00
Christopher Allan Webber
9973c0580f Check user['_id'] instead of username, which is slightly more guaranteed 2011-07-04 08:47:02 -05:00
Caleb Forbes Davis V
0aa58285c3 bug#422_user_can_not_edit_own_profile_unless_admin
user != username.....
2011-07-04 00:08:22 -05:00
Christopher Allan Webber
9fedf30b35 Fixing the symlinks for these CSS files
Not everyone runs mediagoblin out of
/home/jef/env/mediagoblin/src/schendjes-mediagoblin/ ;)
2011-07-03 17:38:28 -05:00
Christopher Allan Webber
18ec9ff324 New thumbnail size is apparently 180x135.
We don't know if that's permanent but if it isn't it seems "Mostly Harmless"
2011-07-03 17:37:41 -05:00
Jef van Schendel
62e2f458fb Style changes to messages. Tell me if I changed too much... 2011-07-03 23:32:39 +02:00
Jef van Schendel
38f71d4792 Tiny margin changes 2011-07-03 23:13:54 +02:00
Jef van Schendel
8dc4381032 Style navigation buttons 2011-07-03 23:04:09 +02:00
Jef van Schendel
e854a1285c First push with 180px wide thumbnails 2011-07-03 22:29:36 +02:00
Jef van Schendel
18d9287aa9 Switched over to 960_16_col. This may break a bunch of stuff. If you find something that is broken, slap me. 2011-07-03 21:37:21 +02:00
Jef van Schendel
1344821daf Added reset.css and text.css from 960.gs. This might shake up a few styles! 2011-07-03 21:20:09 +02:00
Jef van Schendel
0b69a78f73 Put file input form at the top of submission form 2011-07-03 21:12:22 +02:00
Christopher Allan Webber
668831216a Merge remote branch 'remotes/jwandborg/f409-redirect_to_user_page_upon_submit' 2011-07-03 09:43:39 -05:00
Christopher Allan Webber
7c42cdf739 class="media_image" accidentally added back during 400 merge. Fixing. 2011-07-03 09:42:45 -05:00
Christopher Allan Webber
b86bedf9ea Switching single-quoted strings to double-quote to avoid escaping the apostrophe.. :) 2011-07-03 09:29:09 -05:00
Christopher Allan Webber
96a2c36642 Caution an admin when they're editing someone else's media. 2011-07-03 09:26:40 -05:00
Christopher Allan Webber
7a44bb16db user_gallery_url -> {{ user_gallery_url }} ... How embarassing. 2011-07-03 09:21:24 -05:00
Christopher Allan Webber
8c9b1b2c14 Merge remote branch 'remotes/gullydwarf-cfdv/b388+b391_edit_profile_link_on_user_page' 2011-07-03 08:31:35 -05:00
Caleb Forbes Davis V
a0cf14fe7c uses new 'username' variable in querystring to specify the user to edit
Previously, this view only allowed editing of the logged-in user. Now you
  can specify the user to edit in the querystring. If you are an admin the
  view allows you to edit any user's profile, with a warning message. The
  warning only shows up if the admin is editing another user's profile.

Make sure to pass the username to this view at every step in the process
2011-07-03 02:56:00 -05:00
Caleb Forbes Davis V
e192d7b7a5 allows admins to edit user media 2011-07-03 02:41:39 -05:00
Caleb Forbes Davis V
42de4c5379 moves edit profile link to user page 2011-07-03 02:37:19 -05:00
Joar Wandborg
4dc7444119 Feature #409 - Submitting an image should redirect you back to user's
page w/ a message

*   Successful submission redirects to the logged in user's page
    (your own, presumably).
*   "Woohoo! Submitted!" is launched into the tube of session messages
    to appear on next pageload. If you're not aborting in the window
    of 210ms it takes for the client to respond to the 302 and load
    the logged in user's/your page that is, YMMV.
2011-07-03 07:50:35 +02:00
Joar Wandborg
380ac094f6 Removed debug code, erroneously included in my last commit 2011-07-03 06:37:40 +02:00