834 Commits

Author SHA1 Message Date
Jef van Schendel
0a45fa5903 Change pagination styling; add 2 images 2011-07-07 20:04:30 +02:00
Caleb Forbes Davis V
0e1c036c7a Bug #437 - adds required validator to slug field for media edit'
otherwise we get a 404 because we navigate to blank slug
2011-07-07 11:11:03 -05:00
Joar Wandborg
af2fcba5c4 Issue #431 - Prevent comment link expiry - Added functionality for comment linking
*   `media.html`
    *   Changed comment textarea handle from `comment` => `field_comment`
    *   Active comment is hilighted with the CSS class name `comment_active`
    	and also with the hyperlink anchor #comment
    *   Changed media.html so that pagination always uses
    	Route('mediagoblin.user_pages.media_home') as base_url
*   `user_pages/forms.py`
    *   Renamed MediaComment form field `comment` => `field_comment`
*   `user_pages/routing.py`
    *   Added route for `/u/joar/m/123..456/c/234..567/`, points to `media_home`
*   `user_pages/views.py`
    *   `media_home` now checks if the request contains a comment id parameter
        then acts accordingly with pagination whether to call it with a
        `jump_to_id` or not.
    *	`media_post_comment` - Updated MediaCommentForm field name
        `comment` => `field_comment`
*   `util.py`
    *   `redirect` now supports querystring arguments. - NOT USED (should we
        keep it? I think so, it might be useful, sometime [don't call me a
        code hoarder]).
    *   `Pagination.__init__` now accepts one further argument, the `jump_to_id`.
        It assist the comment linking functionality in finding and returning the
        proper page for a comment.
        This feature will work for all kinds of objects. It might not be
        optimal, but it is well functional :)
2011-07-07 18:04:19 +02:00
Jef van Schendel
d6ae709c14 Additional style changes to navigation; add three navigation images 2011-07-07 17:54:33 +02:00
Caleb Forbes Davis V
4924d6a50c bug #404 - corrects querystring variable name in redirect 2011-07-07 10:45:23 -05:00
Jef van Schendel
fd9807ffc3 Experimental black-and-white style change 2011-07-07 17:21:02 +02:00
Christopher Allan Webber
e6fd112d42 This should actually fix the next and previous buttons now. Sorry I borked the merge! 2011-07-07 08:22:12 -05:00
Christopher Allan Webber
fe80cb06c4 Also encourages editing your profile and submitting images 2011-07-06 22:52:08 -05:00
Christopher Allan Webber
2f4e62c210 Merge remote branch 'remotes/gullydwarf-cfdv/f424_email_verified_messaging' 2011-07-06 22:49:53 -05:00
Christopher Allan Webber
b27ec16786 Merge remote branch 'remotes/gullydwarf-cfdv/f423_match_image_ordering_between_scroll_and_gallery'
Conflicts:
	mediagoblin/db/models.py
2011-07-06 22:47:33 -05:00
Christopher Allan Webber
1f69672478 Merge remote branch 'remotes/gullydwarf-cfdv/b404_v2_redirect_after_profile_edit'
Conflicts:
	mediagoblin/edit/views.py
2011-07-06 22:38:19 -05:00
Christopher Allan Webber
0f7dc0b4a9 Merge remote branch 'remotes/gullydwarf-cfdv/b429_fix_edit_profile_form_validation' 2011-07-06 22:35:19 -05:00
Christopher Allan Webber
d22a9ae86d Merge remote branch 'remotes/gullydwarf-cfdv/f435_limit_prev_next_by_processed' 2011-07-06 22:34:33 -05:00
Christopher Allan Webber
3a5ba73de1 Merge remote branch 'remotes/gullydwarf-cfdv/b434_prev_next_use_slug' 2011-07-06 22:33:37 -05:00
Christopher Allan Webber
983e11f09e Instructions for installing MediaGoblin on Fedora 2011-07-06 22:29:12 -05:00
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