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
Joar Wandborg
2c9e635ae2
Feature #400 - Resize images to fit on page - Additions
...
* `migrations.py`
* Removed empty line
* Added empty line
* `models.py`
* Added `MediaEntry.get_display_media()` helper function
* `process_media.__init__.py`
* Updated `process_media_initial()`
* Renamed `main` => `original`.
* Added condition to `medium`, it's only created if the original
dimensions exceed the MEDIUM_SIZE dimensions.
* `media.html`
* The image tag is now populated by `MediaEntry.get_display_media()`
* `util.py`
* Added `DISPLAY_IMAGE_FETCHING_ORDER`, used by `MediaEntry.get_display_media()`
2011-07-03 05:46:00 +02:00
Christopher Allan Webber
5949be9ad6
Make pagination on user profile point to the user gallery
...
This required a couple of changes:
- making a new render_pagination macro
- switching things over to use that
2011-07-02 22:09:46 -05:00
Christopher Allan Webber
d729012dd9
Just some spacing changes in profile.html
2011-07-02 21:31:25 -05:00
Christopher Allan Webber
30d6ecf6ed
We should link to the user's gallery, not the logged in person's gallery.
2011-07-02 21:31:04 -05:00
Christopher Allan Webber
230e1bd770
Merge remote branch 'remotes/gullydwarf-cfdv/f401_prev_next_media_nav'
...
Conflicts:
mediagoblin/db/models.py
mediagoblin/templates/mediagoblin/user_pages/media.html
2011-07-02 21:16:39 -05:00
Christopher Allan Webber
68b86d7ce9
Let users write their own config and paste files w/o affecting git
2011-07-02 19:01:55 -05:00
Christopher Allan Webber
cd1e3ca940
Merge remote branch 'remotes/elrond/idea/lazyserver'
2011-07-02 19:00:58 -05:00
Christopher Allan Webber
d8db3f112e
Merge remote branch 'remotes/jwandborg/feature_400-resize_images_to_fit_page'
...
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/media.html
2011-07-02 19:00:01 -05:00
Elrond
472a83879d
Improve lazyserver.sh to handle args
...
Run "./lazyserver.sh -h" to learn more.
2011-07-03 01:57:08 +02:00
Christopher Allan Webber
841110a75d
Only show pagination if we have pages to show
2011-07-02 18:31:02 -05:00
Joar Wandborg
93214d8e02
Feature #400 - Resize images to fit on page
...
* `mediagoblin.process_media.__init__`
* Added `medium` size image conversion
* Updated `thumbnail` conversion to use `queued_filename` instead
of `queued_file`
* `media.html`
* If there exists a `medium` size for the `MediaEntry`, it will
display instead of the original `main` image.
2011-07-03 01:30:07 +02:00
Christopher Allan Webber
f9f135647c
Issue 406: media_details template deprecated. Removing!
2011-07-02 17:49:51 -05:00
Christopher Allan Webber
316855fa44
Merge remote branch 'remotes/gullydwarf-cfdv/b404_edit_profile_navfix'
2011-07-02 17:46:26 -05:00
Christopher Allan Webber
a24dbd451c
Note from Chris Webber prefacing Elrond's DB abstraction idea.
2011-07-02 17:05:13 -05:00
Christopher Allan Webber
c0d532f04e
Merge remote branch 'remotes/elrond/idea/db_doc'
2011-07-02 17:01:43 -05:00
Christopher Allan Webber
5d5eb6c331
Merge remote branch 'remotes/elrond/dev/init'
2011-07-02 15:48:49 -05:00
Elrond
421129b6bb
Move config.py to init/
...
Some simple changes needed to do that.
The interesting question left:
Should config_spec.ini also be moved?
2011-07-02 22:40:19 +02:00
Christopher Allan Webber
2110408f44
Merge remote branch 'remotes/jwandborg/feature_362-simple_comments-acts_on_feedback'
...
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/media.html
2011-07-02 14:39:35 -05:00