aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | | | | | | Removes the git requirement--that's redundantWill Kahn-Greene2011-05-071-1/+0
| | | | | | | |
* | | | | | | | Wraps the virtualenv wrapper lineWill Kahn-Greene2011-05-071-1/+4
| | | | | | | |
* | | | | | | | Tweaks the "if mongodb isn't working" troubleshooting sectionWill Kahn-Greene2011-05-071-0/+6
| | | | | | | |
* | | | | | | | Be sure to read the install instructions!Christopher Allan Webber2011-05-071-1/+1
| | | | | | | |
* | | | | | | | Fixes headers in hacking howto docsWill Kahn-Greene2011-05-071-8/+2
| | | | | | | |
* | | | | | | | Overhauls hacking howtoWill Kahn-Greene2011-05-071-76/+138
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reworks virtualenv section to be way better * reworks buildout section to mirror virtualenv section * reworks other sections that depend on which development environment building method you chose
* | | | | | | First pass at adding virtualenv instructions.Will Kahn-Greene2011-05-061-6/+75
| | | | | | |
* | | | | | | Fixes a link in the docsWill Kahn-Greene2011-05-061-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Instructions on running celerydChristopher Allan Webber2011-05-061-0/+12
| | | | | |
* | | | | | 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
| | | | | |
* | | | | | A completely evil environment destroying script.Christopher Allan Webber2011-05-061-0/+22
| | | | | |
* | | | | | It doesn't necessarily have to be bash.Christopher Allan Webber2011-05-061-3/+3
| | | | | |
* | | | | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinChristopher Allan Webber2011-05-063-0/+59
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Adds design decision for the nameWill Kahn-Greene2011-05-053-0/+59
| | |_|_|/ | |/| | |
* | | | | Made a link to the script wiping tool feature request ticketChristopher Allan Webber2011-05-061-3/+3
| | | | |
* | | | | Moving wiping to a clean slate beneath running server/ test suiteChristopher Allan Webber2011-05-061-16/+16
|/ / / /
* | | | A simple, maybe obvious, docstring for util.send_email()Christopher Allan Webber2011-05-041-0/+10
| | | |