Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Some docstrings | Christopher Allan Webber | 2014-12-03 | 1 | -0/+13 | |
| | | | ||||||
* | | | Return DatabaseManager or DatabaseMaster depending on DISABLE_GLOBALS | Christopher Allan Webber | 2014-12-03 | 1 | -2/+6 | |
| | | | | | | | | | | | | They're both similar! One sets up sessions, one grabs sessions from a global object. | |||||
* | | | Oops, got the boolean backwards :P | Christopher Allan Webber | 2014-12-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Adding DatabaseManager as an alternative to DatabaseMaster | Christopher Allan Webber | 2014-12-03 | 1 | -25/+77 | |
| | | | | | | | | | | | | | | | This is another step to get to a no-globals configuration. I'm not sure if this code works yet or not... :) | |||||
* | | | An environment variable to transition towards removing global variables | Christopher Allan Webber | 2014-12-03 | 3 | -12/+44 | |
| | | | ||||||
* | | | Give our sqlalchemy objects access to their own session | Christopher Allan Webber | 2014-12-03 | 1 | -0/+6 | |
| | | | ||||||
* | | | Add context generator: first step towards removing globals from the application | Christopher Allan Webber | 2014-12-03 | 1 | -34/+86 | |
| | | | | | | | | | | | | | | | | | | This allows you to generate a "context" object that gets threaded throughout the application... this object should keep track of the same things that currently we use global variables for. | |||||
* | | | Fix #1046 - Media breaking out of container | jpope777 | 2014-12-02 | 9 | -54/+99 | |
| | | | ||||||
* | | | Fix #1024 - Correctly set generator on Activities | Jessica Tallon | 2014-12-02 | 4 | -13/+58 | |
| | | | ||||||
* | | | Change the suggested data_basedir, and fix a typo | Christopher Allan Webber | 2014-12-01 | 1 | -3/+4 | |
| | | | | | | | | | | | | This commit sponsored by Raimund Sacherer. Thank you! | |||||
* | | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | jpope777 | 2014-12-01 | 5 | -274/+19 | |
|\ \ \ | ||||||
| * | | | Fix #658 and #974 - Rollback database on_return of task | Jessica Tallon | 2014-12-01 | 2 | -3/+15 | |
| | | | | ||||||
| * | | | Fix #1040 - Comments should have published attribute | Jessica Tallon | 2014-11-27 | 1 | -1/+4 | |
| | | | | ||||||
| * | | | This import_export stuff is mongodb days leftovers. Removing! | Christopher Allan Webber | 2014-11-26 | 2 | -270/+0 | |
| | | | | | | | | | | | | | | | | This commit sponsored by Ray Redd. Thanks! | |||||
* | | | | fix #1000 - Button style in Report file dialogue | jpope777 | 2014-12-01 | 2 | -3/+3 | |
|/ / / | ||||||
* | | | Fix unicode handling in "gmg addmedia". | Berker Peksag | 2014-11-22 | 2 | -4/+9 | |
| | | | ||||||
* | | | Fix #1025 - Make API IDs IRIs | Jessica Tallon | 2014-11-21 | 5 | -25/+74 | |
| | | | ||||||
* | | | Patch by Sturm: explain permissions on media directories in deployment docs | Christopher Allan Webber | 2014-11-20 | 1 | -0/+16 | |
| | | | | | | | | | | | | | | | This should hopefully reduce the amount that users are confused by their media files not being available. | |||||
* | | | Fix #1039 - Fix typo in user model 'oublished' to 'published' | Jessica Tallon | 2014-11-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix #1021 - Skip broken activities which caused feed/inbox to 500 | Jessica Tallon | 2014-11-20 | 1 | -1/+8 | |
| | | | ||||||
* | | | Fix #1023 - Make timestamps in API timezone aware | Jessica Tallon | 2014-11-19 | 2 | -6/+16 | |
| | | | ||||||
* | | | Fix User and MediaEntry serialize and add serialize to models which need it | Jessica Tallon | 2014-11-04 | 1 | -2/+17 | |
| | | | ||||||
* | | | Fix #1016 - Covert the timestamp from seconds to datetime object | Jessica Tallon | 2014-11-04 | 1 | -0/+9 | |
| | | | ||||||
* | | | Fix airy to properly work with the "forced to the bottom of the page" footer | Christopher Allan Webber | 2014-10-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | Remove ^P character | Christopher Allan Webber | 2014-10-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | Clarifying the json processing callbacks even further | Christopher Allan Webber | 2014-10-30 | 1 | -2/+2 | |
| | | | ||||||
* | | | Fix misleading log message reported in #985. | Rodrigo Rodrigues da Silva | 2014-10-30 | 1 | -2/+2 | |
| | | | ||||||
* | | | Add a template hook to stl sideinfo. Fixes #940. | Rodrigo Rodrigues da Silva | 2014-10-30 | 1 | -0/+1 | |
| | | | ||||||
* | | | Updates per request of moggers87 | ayleph | 2014-10-30 | 1 | -16/+13 | |
| | | | ||||||
* | | | Unit tests | ayleph | 2014-10-30 | 1 | -0/+15 | |
| | | | | | | | | | | | | Added unit tests for lowercasify username on login. | |||||
* | | | 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 | |
| | | |