aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* Show images in reverse submit orderSebastian Spaeth2011-05-162-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 imageChristopher Allan Webber2011-05-161-1/+1
|
* ./bin/gmg shell! Should make a lot of peoples' hacking lives easier I ↵Christopher Allan Webber2011-05-151-0/+106
| | | | suspect :)
* Removing the raw string-nessChristopher Allan Webber2011-05-131-1/+1
|
* Removing backup files and preventing them from showing up via .gitignoreJef van Schendel2011-05-139-368/+0
|
* labels changed to font-weight normal instead of bold, css structure improvedJef van Schendel2011-05-132-9/+21
|
* Added @font-face to cssJef van Schendel2011-05-132-0/+22
|
* Added header to base.htmlJef van Schendel2011-05-134-56/+22
|
* Changed all headers to <h1>Jef van Schendel2011-05-1311-12/+90
|
* Styled buttons for real this timeJef van Schendel2011-05-139-17/+52
|
* Styled input buttonsJef van Schendel2011-05-136-3/+113
|
* Changed base.html back to old versionJef van Schendel2011-05-131-3/+1
|
* Fixing changesJef van Schendel2011-05-1313-5/+307
|
* Minor fomatting fix.Aaron Williamson2011-05-131-1/+1
|
* Generate unique slugs for newly submitted images.Aaron Williamson2011-05-135-2/+36
|
* min=0 makes more sense than min=-1Christopher Allan Webber2011-05-121-1/+1
|
* On image submission, do not require title. If none entered, default to filename.Aaron Williamson2011-05-123-5/+7
|
* locale rather than target_lang in the get parametersChristopher Allan Webber2011-05-121-2/+2
|
* Improve user homepageSebastian Spaeth2011-05-122-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 environmentChristopher Allan Webber2011-05-125-6/+44
|
* moving mediagoblin.po to a filename that makes senseChristopher Allan Webber2011-05-121-0/+0
|
* Separation between setting up the template env and the template loaderChristopher Allan Webber2011-05-122-8/+19
| | | | for a glorious future where we have gettext in template context
* Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinChristopher Allan Webber2011-05-121-3/+2
|\ | | | | | | | | Conflicts: mediagoblin/util.py
| * Fix the email debug inboxChristopher Allan Webber2011-05-121-4/+2
| |
* | Added some locale determination toolsChristopher Allan Webber2011-05-122-0/+82
| |
* | I probably shouldn't break the main page since we don't have theChristopher Allan Webber2011-05-121-1/+4
|/ | | | gettext thing in place yet.
* Moving translations to mediagoblin/translationsChristopher Allan Webber2011-05-121-0/+23
|
* Translate the welcome message (extracts successfully!)Christopher Allan Webber2011-05-121-1/+1
|
* Add the jinja2 extension to the jinja loaderChristopher Allan Webber2011-05-121-1/+4
|
* URLs should end in trailing slashes, or slash redirection doesn't workChristopher Allan Webber2011-05-111-3/+3
|
* Removing this horrifying submission test stuff from way back whenChristopher Allan Webber2011-05-101-45/+0
|
* 404 appropriately hereChristopher Allan Webber2011-05-101-4/+4
|
* Indenting these templates because I'm pedantic about tag sectionsChristopher Allan Webber2011-05-102-12/+12
| | | | having their content indented :)
* Implement simple media detail pageSebastian Spaeth2011-05-109-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 Webber2011-05-081-1/+1
|\
| * Fix description submission in form handlingSebastian Spaeth2011-05-091-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 optionChristopher Allan Webber2011-05-082-4/+4
| |
* | Don't escape the verification URLSebastian Spaeth2011-05-081-1/+1
|/ | | | | | | | | In the verification email we would output the URL using HTML encoded text, so that e.g. & -> &amp;. 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 Webber2011-05-082-3/+9
| | | | failing)
* Merge remote branch 'refs/remotes/spaetz/master'Christopher Allan Webber2011-05-081-1/+2
|\
| * app.py: Need to pass in port number as 'int'Sebastian Spaeth2011-05-081-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 Webber2011-05-081-1/+1
|/ | | | My name's Chris Webber and I ignore pyflakes warnings.
* Added an email debug mode which, by default, is enabledChristopher Allan Webber2011-05-073-6/+21
|
* [to_email] rather than list(to_email) which makes a nasty series like ↵Christopher Allan Webber2011-05-071-1/+1
| | | | ['e','m','a','i','l']
* Updated default sender addressJoar Wandborg2011-05-082-2/+2
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Added verification email templateJoar Wandborg2011-05-081-0/+22
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Removed unused variableJoar Wandborg2011-05-081-3/+0
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Made changes according to http://bugs.foocorp.net/issues/271#note-7Joar Wandborg2011-05-085-23/+40
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-075-10/+51
|\
| * Actually display submitted stuff on the mainpage. Crappy, but working!Christopher Allan Webber2011-05-062-1/+19
| |