Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pass validated username to check_login_simple | ayleph | 2014-10-30 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | The login function in mediagoblin/auth/views.py grabs the username prior to form validation. If validation passes, the pre-validated username is passed to the check_login_simple function. Lowercasifying of the username occurs as part of form validation. By sending the pre-validated username, there's a chance of sending a username with uppercase letters. This will fail to match any user ids in the database, as all of the usernames are lowercased during the registration process. This change sends the post-validated username to check_login_simple, so that any username that was entered by the user with uppercase letters has a chance to be properly lowercased before being passed. | ||||
* | Template hook to allow plugin authors to add extra things to the header | Christopher Allan Webber | 2014-10-30 | 1 | -0/+1 |
| | | | | | Thanks to Andrew Browning for requesting this and suggesting where to put it! | ||||
* | Fix #1017 - Exception caused by activity being set on incorrect foreign key | Jessica Tallon | 2014-10-29 | 2 | -12/+11 |
| | | | | | | | | | | The .activity ForeignKey on several models such as MediaEntry expects a ActivityIntmediatory ID not an Activity ID however in submit code the activity attribute was being set the Activity, simply removing this assignment should fix the issue as everything is set correctly at this point. I have also moved the creation of the activity above the processing of media to avoid race conditions. | ||||
* | Fix #1007 - get location object not string of location name; caused 500 when ↵ | Jessica Tallon | 2014-10-27 | 1 | -1/+1 |
| | | | | editing profile | ||||
* | Fix #1010 - Typos in mediagoblin/media_types/image/migrations.py | Jessica Tallon | 2014-10-27 | 1 | -3/+3 |
| | |||||
* | Fix #1005 - location.position is a dictionary so 'value' in dict check needed | Jessica Tallon | 2014-10-27 | 1 | -2/+2 |
| | |||||
* | Only create a slug after a media upload via the API when there is a title | Jessica Tallon | 2014-10-22 | 2 | -3/+1 |
| | |||||
* | Fix problem where duplicate slug would cause an update exception | Jessica Tallon | 2014-10-22 | 1 | -15/+18 |
| | |||||
* | Merge branch '984-ai-improvements' | Jessica Tallon | 2014-10-21 | 4 | -13/+96 |
|\ | |||||
| * | Fix #984 - Improvements to Activity and ActivityIntermediator | Jessica Tallon | 2014-10-21 | 4 | -13/+96 |
| | | | | | | | | | | | | - Add unit tests to cover get and set methods on Activity - Rewrite the set to remove set and use Session.flush instead - Use sqlalchemy's validator instead of .save hack | ||||
* | | airy.css: Override white text in TOS | Meg Ford | 2014-10-16 | 1 | -0/+4 |
|/ | | | | Fixes bug https://issues.mediagoblin.org/ticket/808 | ||||
* | Somehow Shawn and Sergio got in there twice | Christopher Allan Webber | 2014-10-15 | 1 | -2/+0 |
| | |||||
* | Make a mediagoblin.ini file for the user if needed. | Christopher Allan Webber | 2014-10-10 | 1 | -0/+26 |
| | | | | | This is to prevent our docs from confusing people in this transitionary time period... | ||||
* | Do git submodule init and git submodule update in bootstrap.sh | Christopher Allan Webber | 2014-10-10 | 1 | -0/+3 |
| | | | | | | Idea borrowed from guix bootstrap script. If this proves to not be great we can move it :) | ||||
* | Bring back the ascii art goblin! For python 2 anyway. | Christopher Allan Webber | 2014-10-10 | 2 | -4/+7 |
| | | | | This does a "friendly" fallback where it skips the middleware on python 3. | ||||
* | Remove the paste.ini rule. | Christopher Allan Webber | 2014-10-10 | 1 | -10/+11 |
| | |||||
* | So, we're not really using AC_CONFIG_MACRO_DIR for now. | Christopher Allan Webber | 2014-10-10 | 1 | -1/+1 |
| | |||||
* | Update docs: it's now ./bootstrap.sh, also, you need to get a copy of ↵ | Christopher Allan Webber | 2014-10-10 | 1 | -1/+5 |
| | | | | mediagoblin.ini | ||||
* | Clarification on the mediagoblin.ini copying | Christopher Allan Webber | 2014-10-10 | 1 | -0/+2 |
| | |||||
* | Give a user a mediagoblin.ini if they don't have one | Christopher Allan Webber | 2014-10-10 | 1 | -0/+8 |
| | |||||
* | Conditionally give paste or gunicorn help | Christopher Allan Webber | 2014-10-10 | 1 | -2/+8 |
| | |||||
* | Move paste.ini, lazystarter.sh back to the right place | Christopher Allan Webber | 2014-10-10 | 5 | -84/+0 |
| | |||||
* | Use python imports to determine whether or not we're using gunicorn | Christopher Allan Webber | 2014-10-10 | 1 | -4/+24 |
| | | | | This commit sponsored by Andrés Muñiz Piniella. Thank you! | ||||
* | Add and use paste server selector. Yeah! Smart solutions! | Christopher Allan Webber | 2014-10-10 | 3 | -1/+35 |
| | | | | This commit sponsored by Tryggvi Björgvinsson. Thank you! | ||||
* | That's right, *append* to the list, don't call it :P | Christopher Allan Webber | 2014-10-10 | 1 | -1/+1 |
| | |||||
* | Only install gunicorn on py2 | Christopher Allan Webber | 2014-10-10 | 1 | -9/+12 |
| | |||||
* | Also remove the include directory | Christopher Allan Webber | 2014-10-10 | 1 | -0/+1 |
| | |||||
* | Update lazyserver to use paste or gunicorn conditionally | Christopher Allan Webber | 2014-10-10 | 4 | -9/+16 |
| | | | | Also get rid of env.in, we're not using that for now. | ||||
* | Various makefile fixes | Christopher Allan Webber | 2014-10-10 | 1 | -10/+14 |
| | | | | | | | - Actually use $(PYTHON) in virtualenv creation - Make paste.ini if need be - distclean is more forgiving if files aren't there - clean up virtualenvs also | ||||
* | Moving experimental-bootstrap.sh back to bootstrap.sh | Christopher Allan Webber | 2014-10-10 | 1 | -0/+0 |
| | |||||
* | No rule, yet, to clean house. | Christopher Allan Webber | 2014-10-10 | 1 | -2/+11 |
| | |||||
* | Users now get an editable copy of mediagoblin.example.ini->mediagoblin.ini | Christopher Allan Webber | 2014-10-10 | 3 | -1/+6 |
| | | | | | | This way we no longer have people confusedly editing mediagoblin.ini when they meant to edit mediagoblin.example.ini. Hopefully it should be a lot simpler. | ||||
* | Ignore paste.ini because it's just a symlink to the appropriate python | Christopher Allan Webber | 2014-10-10 | 1 | -0/+1 |
| | | | | version paste | ||||
* | Symlink the appropriate paste.ini | Christopher Allan Webber | 2014-10-10 | 1 | -4/+8 |
| | |||||
* | Set USE_PYTHON3 to yes/no depending on whether --with-python3 enabled | Christopher Allan Webber | 2014-10-10 | 2 | -0/+3 |
| | |||||
* | No acceptable *python* could be found | Christopher Allan Webber | 2014-10-10 | 1 | -1/+1 |
| | |||||
* | Moved where the python init command was | Christopher Allan Webber | 2014-10-10 | 1 | -6/+5 |
| | |||||
* | Most of the way to having a desirable `./configure && make` setup | Christopher Allan Webber | 2014-10-10 | 4 | -33/+147 |
| | | | | | | | | Tries to simplify a lot of the configure code. This is mostly because I found what I expected the previous configure setup to do wasn't quite what it was doing. Also supports a --with-python3 option. | ||||
* | Ignore that env file when built | Christopher Allan Webber | 2014-10-10 | 1 | -0/+1 |
| | |||||
* | Continuing to iterate toward the right autoconf/make solution | Christopher Allan Webber | 2014-10-10 | 3 | -60/+75 |
| | |||||
* | Updated MediaGoblin config stuff to latest pyconfigure release | Christopher Allan Webber | 2014-10-10 | 3 | -88/+303 |
| | | | | Iterating towards what we want in the configure setup. | ||||
* | Merge branch 'location' | Jessica Tallon | 2014-10-09 | 14 | -25/+266 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Add Location model which holds textual, geolocation coordiantes or postal addresses. This migrates data off Image model metadata onto the general Location model. It also adds the ability for location to be set on MediaEntry, User, MediaComment and Collection models. The geolocation plugin has been updated so that the location can be displayed in more general places rather than explicitely on the MediaEntry view. If GPS coordiantes are set for the User the profile page will also have the OSM provided by the geolocation plugin. | ||||
| * | Add location model and migrations | Jessica Tallon | 2014-10-09 | 14 | -28/+270 |
| | | |||||
* | | Merge branch '905-activities' | Jessica Tallon | 2014-10-07 | 9 | -42/+670 |
|\ \ | | | | | | | | | | | | | | | | Add Activity and Generator models which allow for activities to be created. This now works with the feed API. | ||||
| * | | Add __repr__ to Activity and Generator class | Jessica Tallon | 2014-10-07 | 4 | -4/+21 |
| | | | |||||
| * | | Fix bug where activity.content was not populated | Jessica Tallon | 2014-10-06 | 1 | -2/+6 |
| | | | |||||
| * | | Fix all the unit tests and clean up code | Jessica Tallon | 2014-10-06 | 7 | -59/+74 |
| | | | |||||
| * | | Only have Model.activity for activity compatable objects/targets | Jessica Tallon | 2014-09-03 | 2 | -85/+47 |
| | | | |||||
| * | | Fix migrations and refactor object_type | Jessica Tallon | 2014-09-02 | 5 | -105/+174 |
| | | | | | | | | | | | | | | | | | | | | | - Make changes to objectType to be more pythonic "object_type" - Move object_type to mixins rather than be on the models - Convert migrations to sqlalchemy core rather than ORM (fix) - Change TYPES to use descriptive strings rather than numbers | ||||
| * | | Oops forgot to add medigoblin.tools.federation | Jessica Tallon | 2014-08-27 | 1 | -0/+61 |
| | | |