aboutsummaryrefslogtreecommitdiffstats
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/+0
|
* adding master.po translations fileChristopher Allan Webber2011-05-121-0/+23
|
* buildout instructions come first since it's easier if it does workChristopher Allan Webber2011-05-121-12/+9
|
* Translate the welcome message (extracts successfully!)Christopher Allan Webber2011-05-121-1/+1
|
* Added extraction stuff that's not used but appears to work :)Christopher Allan Webber2011-05-122-0/+17
|
* Add the jinja2 extension to the jinja loaderChristopher Allan Webber2011-05-121-1/+4
|
* Fixing tyop in README... thanks Daniel Neel!Christopher Allan Webber2011-05-121-2/+2
| | | | | Also clarifying that our public alpha may be in October, which is what we've said elsewhere.
* Right, we don't need the exported HTML either.Christopher Allan Webber2011-05-121-426/+0
|
* I don't believe we need READMEish.org anymore.Christopher Allan Webber2011-05-121-192/+0
|
* Enforce using local dateutil with buildoutSebastian Spaeth2011-05-111-1/+3
| | | | | | | | | | | Natty has a too old system dateutil, but buildout will put the system modules in the search path first. By adding the dateutil spec to the 'egg' requirement, we put the dateutil inclusion of the local egg first and natty compiles (buildouts) fine. Part of http://bugs.foocorp.net/issues/308 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* 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.
* Removing unused sys import from setup.pyChristopher Allan Webber2011-05-071-2/+0
|
* Added an email debug mode which, by default, is enabledChristopher Allan Webber2011-05-074-6/+23
|
* [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']
* Merge remote branch 'refs/remotes/jwandborg/master'Christopher Allan Webber2011-05-079-7/+120
|\
| * Updated default sender addressJoar Wandborg2011-05-083-3/+3
| | | | | | | | 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-086-23/+41
| | | | | | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
| * Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-071-76/+140
| |\
| * \ Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-072-7/+76
| |\ \
| * \ \ Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-077-29/+104
| |\ \ \
| * | | | 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-063-0/+59
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-042-0/+138
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-044-2/+59
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblinJoar Wandborg2011-05-0310-38/+159
| |\ \ \ \ \ \ \
| * | | | | | | | Added server-log.txt to .gitignoreJoar Wandborg2011-05-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
| * | | | | | | | 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>
* | | | | | | | | Reversing buildout and virtualenv instructions because I thinkChristopher Allan Webber2011-05-071-64/+68
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | virtualenv is easier if you don't know how this stuff works, and it works.