aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Erk, we didn't save the state right beforeChristopher Allan Webber2011-05-061-2/+2
| |
| * Process media! Successfully!Christopher Allan Webber2011-05-063-9/+32
| |
* | Added functionality to send out verification email upon successful registrationJoar Wandborg2011-05-071-3/+23
| | | | | | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* | Changed the method used to generate uuids for verification_key, this one ↵Joar Wandborg2011-05-071-1/+1
| | | | | | | | | | | | works, thanks paroneayea Signed-off-by: Joar Wandborg <git@wandborg.com>
* | mediagoblin.util.send_email now supports both list() and string() in the ↵Joar Wandborg2011-05-071-1/+2
| | | | | | | | | | | | 'to_addrs' parameter Signed-off-by: Joar Wandborg <git@wandborg.com>
* | Fixed bug in models.py:User that caused all users created by the same python ↵Joar Wandborg2011-05-071-1/+1
| | | | | | | | | | | | process to have the same verification_key value Signed-off-by: Joar Wandborg <git@wandborg.com>
* | Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-042-0/+138
|\|
| * A simple, maybe obvious, docstring for util.send_email()Christopher Allan Webber2011-05-041-0/+10
| |
| * send_email tool and email sending testsChristopher Allan Webber2011-05-042-0/+128
| |
* | Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-043-2/+58
|\|
| * Force imports of stuff like mediagoblin.process_media which has tasks we needChristopher Allan Webber2011-05-032-2/+8
| |
| * Add a rudimentary media processing function.Christopher Allan Webber2011-05-031-0/+50
| | | | | | | | | | Haven't completely checked it for workingness, and not the final form this will take :)
* | Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-032-2/+3
|\|
| * Add the base.css and reference it so other people can start working on it :)Christopher Allan Webber2011-05-032-2/+3
| |
* | Added functionality to support user email verification, email = TBD, ↵Joar Wandborg2011-05-034-4/+58
|/ | | | | | verification = done. Signed-off-by: Joar Wandborg <git@wandborg.com>
* Register the models when using from_celeryChristopher Allan Webber2011-05-011-1/+2
|
* Now we have something useful: mediagoblin.celery_setup.from_celeryChristopher Allan Webber2011-05-011-0/+87
| | | | auto-configures a celery config module from your paste config
* Second round of tests for setup_celery_from_config(), with some database ↵Christopher Allan Webber2011-05-011-1/+33
| | | | information
* tests for setup_celery_from_config()Christopher Allan Webber2011-04-303-1/+69
|
* A few more corrections to make setup_celery_from_config() work rightChristopher Allan Webber2011-04-301-7/+13
|
* Import based on the DEFAULT_SETTINGS_MODULE in setup_celery_from_configChristopher Allan Webber2011-04-301-6/+19
|