Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Actually we only need unique slugs per uploader. | Christopher Allan Webber | 2011-05-16 | 1 | -3/+5 |
| | | | | But I want to fix http://bugs.foocorp.net/issues/340 first. | ||||
* | My name's Chris Webber and I'm pedantic about lines not going over 80 ↵ | Christopher Allan Webber | 2011-05-16 | 1 | -1/+2 |
| | | | | characters. | ||||
* | Require that the slug field have only unique values. | Christopher Allan Webber | 2011-05-16 | 1 | -0/+4 |
| | |||||
* | Adding the is_admin field now per Elrond's sane request / advice. ;) | Christopher Allan Webber | 2011-05-16 | 1 | -2/+4 |
| | |||||
* | Show images in reverse submit order | Sebastian Spaeth | 2011-05-16 | 2 | -2/+4 |
| | | | | | | | Fixes bug #327. Just do a .sort('created', DESCENDING) on Media when showing them to show the latest first. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | Properly linking to the background image | Christopher Allan Webber | 2011-05-16 | 1 | -1/+1 |
| | |||||
* | ./bin/gmg shell! Should make a lot of peoples' hacking lives easier I ↵ | Christopher Allan Webber | 2011-05-15 | 1 | -0/+106 |
| | | | | suspect :) | ||||
* | Removing the raw string-ness | Christopher Allan Webber | 2011-05-13 | 1 | -1/+1 |
| | |||||
* | Removing backup files and preventing them from showing up via .gitignore | Jef van Schendel | 2011-05-13 | 9 | -368/+0 |
| | |||||
* | labels changed to font-weight normal instead of bold, css structure improved | Jef van Schendel | 2011-05-13 | 2 | -9/+21 |
| | |||||
* | Added @font-face to css | Jef van Schendel | 2011-05-13 | 2 | -0/+22 |
| | |||||
* | Added header to base.html | Jef van Schendel | 2011-05-13 | 4 | -56/+22 |
| | |||||
* | Changed all headers to <h1> | Jef van Schendel | 2011-05-13 | 11 | -12/+90 |
| | |||||
* | Styled buttons for real this time | Jef van Schendel | 2011-05-13 | 9 | -17/+52 |
| | |||||
* | Styled input buttons | Jef van Schendel | 2011-05-13 | 6 | -3/+113 |
| | |||||
* | Changed base.html back to old version | Jef van Schendel | 2011-05-13 | 1 | -3/+1 |
| | |||||
* | Fixing changes | Jef van Schendel | 2011-05-13 | 13 | -5/+307 |
| | |||||
* | Minor fomatting fix. | Aaron Williamson | 2011-05-13 | 1 | -1/+1 |
| | |||||
* | Generate unique slugs for newly submitted images. | Aaron Williamson | 2011-05-13 | 5 | -2/+36 |
| | |||||
* | min=0 makes more sense than min=-1 | Christopher Allan Webber | 2011-05-12 | 1 | -1/+1 |
| | |||||
* | On image submission, do not require title. If none entered, default to filename. | Aaron Williamson | 2011-05-12 | 3 | -5/+7 |
| | |||||
* | locale rather than target_lang in the get parameters | Christopher Allan Webber | 2011-05-12 | 1 | -2/+2 |
| | |||||
* | Improve user homepage | Sebastian Spaeth | 2011-05-12 | 2 | -10/+30 |
| | | | | | | | | | | | | | 1) Only consider user's with 'status': 'active'. We don't want to display unconfirmed/blocked users, right? 2) Actually query user's media in the view and display on their home page. 3) Throw an error 404 if we don't find a valid user, rather than saying, "User not found" (from within the template). 4) Pass in medias as media_entries to remain compatible with the 'root' page. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | Load gettext, and load it into the template environment | Christopher Allan Webber | 2011-05-12 | 5 | -6/+44 |
| | |||||
* | moving mediagoblin.po to a filename that makes sense | Christopher Allan Webber | 2011-05-12 | 1 | -0/+0 |
| | |||||
* | Separation between setting up the template env and the template loader | Christopher Allan Webber | 2011-05-12 | 2 | -8/+19 |
| | | | | for a glorious future where we have gettext in template context | ||||
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Christopher Allan Webber | 2011-05-12 | 1 | -3/+2 |
|\ | | | | | | | | | Conflicts: mediagoblin/util.py | ||||
| * | Fix the email debug inbox | Christopher Allan Webber | 2011-05-12 | 1 | -4/+2 |
| | | |||||
* | | Added some locale determination tools | Christopher Allan Webber | 2011-05-12 | 2 | -0/+82 |
| | | |||||
* | | I probably shouldn't break the main page since we don't have the | Christopher Allan Webber | 2011-05-12 | 1 | -1/+4 |
|/ | | | | gettext thing in place yet. | ||||
* | Moving translations to mediagoblin/translations | Christopher Allan Webber | 2011-05-12 | 1 | -0/+23 |
| | |||||
* | Translate the welcome message (extracts successfully!) | Christopher Allan Webber | 2011-05-12 | 1 | -1/+1 |
| | |||||
* | Add the jinja2 extension to the jinja loader | Christopher Allan Webber | 2011-05-12 | 1 | -1/+4 |
| | |||||
* | URLs should end in trailing slashes, or slash redirection doesn't work | Christopher Allan Webber | 2011-05-11 | 1 | -3/+3 |
| | |||||
* | Removing this horrifying submission test stuff from way back when | Christopher Allan Webber | 2011-05-10 | 1 | -45/+0 |
| | |||||
* | 404 appropriately here | Christopher Allan Webber | 2011-05-10 | 1 | -4/+4 |
| | |||||
* | Indenting these templates because I'm pedantic about tag sections | Christopher Allan Webber | 2011-05-10 | 2 | -12/+12 |
| | | | | having their content indented :) | ||||
* | Implement simple media detail page | Sebastian Spaeth | 2011-05-10 | 9 | -5/+185 |
| | | | | | | | | | | | | | | | | | This patch creates a "homepage" for each media. The URL is /u/<username>/m/<objID>. On it we display the media and some details. It is ugly and lacking some stuff but it works. The only thing left to do is to throw an 404 error if the <username> and the media uploader don't correspond. - Also create a user "home page" while at it. It is merely a place holder for now though. - Link from the entries on the homepage, to the media pages, so we actually find them. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | Merge remote branch 'spaetz/fix_description' | Christopher Allan Webber | 2011-05-08 | 1 | -1/+1 |
|\ | |||||
| * | Fix description submission in form handling | Sebastian Spaeth | 2011-05-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | When we submitted an image the description would remain empty. THis was because of some weird typo in form handling. Get an attribute with .get('description') and not with .get(['description']). With this patch, descriptions actually go into the database. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | | Asbool the email debug mode option | Christopher Allan Webber | 2011-05-08 | 2 | -4/+4 |
| | | |||||
* | | Don't escape the verification URL | Sebastian Spaeth | 2011-05-08 | 1 | -1/+1 |
|/ | | | | | | | | | In the verification email we would output the URL using HTML encoded text, so that e.g. & -> &. We don't want that and we know the URL won't contain user contributed content, so it is safe to turn off HTML encoding here. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | Only convert db port if it's there and use asint to do it (better errors if ↵ | Christopher Allan Webber | 2011-05-08 | 2 | -3/+9 |
| | | | | failing) | ||||
* | Merge remote branch 'refs/remotes/spaetz/master' | Christopher Allan Webber | 2011-05-08 | 1 | -1/+2 |
|\ | |||||
| * | app.py: Need to pass in port number as 'int' | Sebastian Spaeth | 2011-05-08 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | When we configured an explicite db_port in mediagoblin.ini, paster would crash claiming that the port number must be an int. Given that we don't have a "get_conf_int()" function or something similar (yet?), simply convert the port number to int before passing it to the mongo Connection instance. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | | mgoblin_section.get, not app_config.get (doh) | Christopher Allan Webber | 2011-05-08 | 1 | -1/+1 |
|/ | | | | My name's Chris Webber and I ignore pyflakes warnings. | ||||
* | Added an email debug mode which, by default, is enabled | Christopher Allan Webber | 2011-05-07 | 3 | -6/+21 |
| | |||||
* | [to_email] rather than list(to_email) which makes a nasty series like ↵ | Christopher Allan Webber | 2011-05-07 | 1 | -1/+1 |
| | | | | ['e','m','a','i','l'] | ||||
* | Updated default sender address | Joar Wandborg | 2011-05-08 | 2 | -2/+2 |
| | | | | Signed-off-by: Joar Wandborg <git@wandborg.com> | ||||
* | Added verification email template | Joar Wandborg | 2011-05-08 | 1 | -0/+22 |
| | | | | Signed-off-by: Joar Wandborg <git@wandborg.com> |