aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Should be Lato-Regular.ttf not Lato-Regular.woff (why was it even working?)Christopher Allan Webber2011-10-231-1/+1
|/ /
* | Hotfix: Renaming cookie broke unit testsElrond2011-10-161-1/+3
| | | | | | | | | | | | | | | | The name of the cookie was hardcoded in the unit tests and while renaming the cookie this part was missed. So now read the cookie_name from the config in the test. This also tests for the config item existing!
* | Support for older webobs and newer webobs both in accept language mess :)Christopher Allan Webber2011-10-151-2/+11
| |
* | Fixes issue662, MediaGoblin was broken by recent WebOb release.Christopher Allan Webber2011-10-151-7/+3
| | | | | | | | | | | | | | | | | | | | From WebOb release notes: "Accept.best_matches() is gone; use list(request.accept) or request.accept.best_match(..) instead (applies to all Accept-* headers) or similar with request.accept_language." ... seems that's what borked it...
* | Merge remote branch 'remotes/elrond/misc/i592_use_full_path'Christopher Allan Webber2011-10-154-3/+14
|\ \
| * | i592: Use full path in various placesElrond2011-10-034-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running mediagoblin in a sub path on a web server, most things inside mediagoblin need the "inside path", but when generating URLs for the webbrowser, full paths are needed. urlgen and routes already do that. Some (mostly pagination and login) need the URL of the current page. They used request.path_info. But this is the "inside" path, not the full. So now there is request.full_path and its used in various places.
* | | Merge remote branch 'remotes/elrond/idea/csrf_improvement'Christopher Allan Webber2011-10-152-10/+7
|\ \ \
| * | | Some mostly cosmetic changes to CSRFElrond2011-10-142-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove max_age - A session cookie is better, because it's a session thing, really. * Call the cookie mediagoblin_csrftoken, much clearer. * Use the SCRIPT_NAME for the path of the cookie, so that the cookie is sent back to the right place only. Alternatively the path= parameter could be removed, so that it defaults to '/'. * call the randomness function only once, instead of twice. 64 bits should be enough. If really more bits are needed, increase the number. * Just give the number as cookie. No point in md5 and hexdigest in my view (those functions just make another representation). * getrandbits gets a bit count directly, simpler API
* | | | Merge remote branch 'aaronw/bug601_blank_comments'Elrond2011-10-152-6/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aaronw/bug601_blank_comments: Make Comment posted! translatable. Update english translation file. Added a check to prevent blank messages from being posted. Conflicts: mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po
| * | | | Make Comment posted! translatable.Aaron Williamson2011-10-041-1/+1
| | | | |
| * | | | Update english translation file.Aaron Williamson2011-10-031-33/+37
| | | | |
| * | | | Added a check to prevent blank messages from being posted.Aaron Williamson2011-10-031-5/+10
| | |/ / | |/| |
* | | | Merge remote branch 'aaronw/bug608_checkbox_labels'Elrond2011-10-151-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aaronw/bug608_checkbox_labels: No need to translate label name. Add label tag to fix translation issue. Update english translation file. Checkbox label is being translated in the form definition -- translating it in the template is redundant and breaks <label> functionality. Conflicts: mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po
| * | | | No need to translate label name.Aaron Williamson2011-10-041-1/+1
| | | | |
| * | | | Add label tag to fix translation issue.Aaron Williamson2011-10-041-1/+1
| | | | |
| * | | | Update english translation file.Aaron Williamson2011-10-031-33/+33
| | | | |
| * | | | Checkbox label is being translated in the form definition -- translating it ↵Aaron Williamson2011-10-031-1/+1
| |/ / / | | | | | | | | | | | | in the template is redundant and breaks <label> functionality.
* | | | Improve indentation a bitElrond2011-10-151-12/+12
| | | | | | | | | | | | | | | | Only change: Indentation, nothing else!
* | | | Merge remote branch 'aaronw/feature469_comment_form_under_comments'Elrond2011-10-152-44/+47
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | * aaronw/feature469_comment_form_under_comments: Put the trans tag in the right place. Move comment form below comments.
| * | | Put the trans tag in the right place.Aaron Williamson2011-10-141-1/+1
| | | |
| * | | Move comment form below comments.Aaron Williamson2011-10-032-44/+47
| |/ /
* / / Fixing 404s, related to recent util refactoring.Christopher Allan Webber2011-10-051-2/+3
|/ /
* | Adding csrf token fields to the forgot password callsChristopher Allan Webber2011-10-012-0/+4
| |
* | Fixing indentation in start.htmlChristopher Allan Webber2011-10-011-2/+2
| |
* | Merge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux'Christopher Allan Webber2011-10-0137-864/+1018
|\ \ | | | | | | | | | | | | Conflicts: mediagoblin/util.py
| * \ Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_reduxAaron Williamson2011-10-011-0/+20
| |\ \
| * | | Finished splitting util.py into separate files.Aaron Williamson2011-10-0119-762/+61
| | | |
| * | | Finished splitting util.py into separate files.Aaron Williamson2011-10-018-0/+523
| | | |
| * | | Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_reduxAaron Williamson2011-10-0138-263/+694
| |\ \ \ | | | |/ | | |/|
| * | | Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-0120-303/+636
| | | | | | | | | | | | | | | | tools/[file].py
* | | | Merge remote branch 'remotes/jwandborg/storage_split_fix'Christopher Allan Webber2011-10-011-1/+1
|\ \ \ \
| * | | | mountstorage - Changed typo in importJoar Wandborg2011-09-151-1/+1
| |/ / /
* | | | Merge remote branch 'remotes/nyergler/569-application-middleware'Christopher Allan Webber2011-10-0114-0/+219
|\ \ \ \ | |_|_|/ |/| | |
| * | | #361: Removing additional secret key, per CW's request.Nathan Yergler2011-10-012-2/+1
| | | |
| * | | #361 Unit tests for CSRF MiddlewareNathan Yergler2011-10-011-0/+69
| | | |
| * | | #361: Don't test for CSRF token if we're running unit tests.Nathan Yergler2011-10-011-1/+4
| | | |
| * | | PEP8-ification.Nathan Yergler2011-10-011-9/+10
| | | |
| * | | Merge remote-tracking branch 'refs/remotes/upstream/master' into ↵Nathan Yergler2011-10-0176-1537/+3943
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | 569-application-middleware Conflicts: mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
| * | | Issue 361: Include the CSRF token in all formsNathan Yergler2011-09-049-0/+9
| | | |
| * | | Issue 361 Initial implementation of CSRF protection middlewareNathan Yergler2011-09-044-0/+138
| | | |
* | | | Give debug message in email debug modeElrond2011-09-301-0/+20
| |/ / |/| | | | | | | | | | | | | | If the server is running in email debug mode (current default), users have often asked where the mail is. So tell them in the web browser that their mail is on the console.
* | | Merge remote branch 'remotes/elrond/misc/use_staticdirect'Christopher Allan Webber2011-09-282-6/+6
|\ \ \
| * | | Templates: Use request.staticdirect instead of /mgoblin_staticElrond2011-09-142-6/+6
| | |/ | |/| | | | | | | | | | | | | | | | | | | Any reference to static, shipped content should use request.staticdirect instead of the default path. Especially if hosting mediagoblin via fastcgi, the paths might need changing.
* | | Updating translationsChristopher Allan Webber2011-09-2533-251/+682
| | |
* | | Stripping out whitespace on these translation blocks.Christopher Allan Webber2011-09-253-6/+6
|/ / | | | | | | | | | | {% trans -%} ;o {%- endtrans %}
* | Merge remote branch 'remotes/jwandborg/f587-split_storage_into_submodules'Christopher Allan Webber2011-09-148-572/+636
|\ \
| * | Fixed ./bin/gmg. import_export would not find BasicFileStorage, and ↵Joar Wandborg2011-09-141-1/+1
| | | | | | | | | | | | ./bin/gmg would throw an error no matter what command you tried to run.
| * | Feature #587 - Split storage.py into submodulesJoar Wandborg2011-09-127-571/+635
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed storage.py * Created submodules for filestorage, cloudfiles, mountstorage * Changed test_storage to reflect the changes made in the storage module structure * Added mediagoblin.storage.filestorage.BasicFileStorage as a default for both publicstore and queuestore's `storage_class`
* | | Extracted, pushed, pulled, compiled translationsChristopher Allan Webber2011-09-1131-356/+1531
| | |
* | | Marking some things on the frontpage for translation.Christopher Allan Webber2011-09-111-5/+8
|/ /