aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #1049 - name renamed to displayName for LocationJessica Tallon2014-12-051-3/+3
|
* There's absolutely no reason for a Session().commit object mirrored onto ↵Christopher Allan Webber2014-12-031-4/+0
| | | | | | Session() :) Thanks for catching, Elrond :)
* Use request.db to do a query to support a global-free view :)Christopher Allan Webber2014-12-031-1/+1
|
* Make all mixin methods ignore mg_globals and use self._app insteadChristopher Allan Webber2014-12-031-4/+3
| | | | This commit sponsored by Daniel Lang. Thank you!
* Attach the MediaGoblinApp to the engine, and provide a way for models to accessChristopher Allan Webber2014-12-034-7/+18
| | | | | | | This allows SQLAlchemy models to gain access to app-level configuration without the need for global variables. This commit sponsored by Peter Hogg. Thank you, Peter!
* Use request.app.auth instead of mg_globalsChristopher Allan Webber2014-12-031-1/+1
|
* Reforming get_jinja_env to make better use of the MediaGoblinAppChristopher Allan Webber2014-12-032-7/+6
|
* Starting to deprecate the app_config, global_config by attaching stuff to appChristopher Allan Webber2014-12-033-18/+23
| | | | | | - app.global_config, app.app_config - making setup_crypto use app.app_config - setting app.workbench_manager
* Context objects now use a contextmanager (and update gmg shell to use it)Christopher Allan Webber2014-12-032-17/+24
| | | | | | | | | This means that we have a really convenient way to make sure that you have a context/request that threads its way through the application, where everything needed gets "shut down" appropriately by the end. You always get a context object via a context manager! And by the time you're done with it, things should be cleaned up.
* Adding query property to DatabaseMaster for forward compatibilityChristopher Allan Webber2014-12-031-0/+4
|
* Make "gmg shell" work with the new globals-less setupChristopher Allan Webber2014-12-031-17/+36
|
* Attach the base models to sessions and the DatabaseMaster for backwards ↵Christopher Allan Webber2014-12-031-2/+14
| | | | | | compatibility Really we should stop relying on that though.
* Only conditionally import Session in db/util.pyChristopher Allan Webber2014-12-031-1/+5
|
* Set up request.db / app.db(_manager) depending on DISABLE_GLOBALSChristopher Allan Webber2014-12-031-6/+16
|
* Move the scoped_session, sessionmaker importsChristopher Allan Webber2014-12-031-1/+1
|
* Some docstringsChristopher Allan Webber2014-12-031-0/+13
|
* Return DatabaseManager or DatabaseMaster depending on DISABLE_GLOBALSChristopher Allan Webber2014-12-031-2/+6
| | | | They're both similar! One sets up sessions, one grabs sessions from a global object.
* Oops, got the boolean backwards :PChristopher Allan Webber2014-12-031-1/+1
|
* Adding DatabaseManager as an alternative to DatabaseMasterChristopher Allan Webber2014-12-031-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 variablesChristopher Allan Webber2014-12-033-12/+44
|
* Give our sqlalchemy objects access to their own sessionChristopher Allan Webber2014-12-031-0/+6
|
* Add context generator: first step towards removing globals from the applicationChristopher Allan Webber2014-12-031-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 containerjpope7772014-12-029-54/+99
|
* Fix #1024 - Correctly set generator on ActivitiesJessica Tallon2014-12-024-13/+58
|
* Change the suggested data_basedir, and fix a typoChristopher Allan Webber2014-12-011-3/+4
| | | | This commit sponsored by Raimund Sacherer. Thank you!
* Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinjpope7772014-12-015-274/+19
|\
| * Fix #658 and #974 - Rollback database on_return of taskJessica Tallon2014-12-012-3/+15
| |
| * Fix #1040 - Comments should have published attributeJessica Tallon2014-11-271-1/+4
| |
| * This import_export stuff is mongodb days leftovers. Removing!Christopher Allan Webber2014-11-262-270/+0
| | | | | | | | This commit sponsored by Ray Redd. Thanks!
* | fix #1000 - Button style in Report file dialoguejpope7772014-12-012-3/+3
|/
* Fix unicode handling in "gmg addmedia".Berker Peksag2014-11-222-4/+9
|
* Fix #1025 - Make API IDs IRIsJessica Tallon2014-11-215-25/+74
|
* Patch by Sturm: explain permissions on media directories in deployment docsChristopher Allan Webber2014-11-201-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 Tallon2014-11-201-1/+1
|
* Fix #1021 - Skip broken activities which caused feed/inbox to 500Jessica Tallon2014-11-201-1/+8
|
* Fix #1023 - Make timestamps in API timezone awareJessica Tallon2014-11-192-6/+16
|
* Fix User and MediaEntry serialize and add serialize to models which need itJessica Tallon2014-11-041-2/+17
|
* Fix #1016 - Covert the timestamp from seconds to datetime objectJessica Tallon2014-11-041-0/+9
|
* Fix airy to properly work with the "forced to the bottom of the page" footerChristopher Allan Webber2014-10-301-1/+1
|
* Remove ^P characterChristopher Allan Webber2014-10-301-1/+1
|
* Clarifying the json processing callbacks even furtherChristopher Allan Webber2014-10-301-2/+2
|
* Fix misleading log message reported in #985.Rodrigo Rodrigues da Silva2014-10-301-2/+2
|
* Add a template hook to stl sideinfo. Fixes #940.Rodrigo Rodrigues da Silva2014-10-301-0/+1
|
* Updates per request of moggers87ayleph2014-10-301-16/+13
|
* Unit testsayleph2014-10-301-0/+15
| | | | Added unit tests for lowercasify username on login.
* Pass validated username to check_login_simpleayleph2014-10-301-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 headerChristopher Allan Webber2014-10-301-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 keyJessica Tallon2014-10-292-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 Tallon2014-10-271-1/+1
| | | | editing profile
* Fix #1010 - Typos in mediagoblin/media_types/image/migrations.pyJessica Tallon2014-10-271-3/+3
|