Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch from Paste for serving to Waitress | Christopher Allan Webber | 2016-02-19 | 1 | -1/+0 |
| | | | | | Incredibly, it looks like none of our documentation has to change taking this route...! | ||||
* | Add a TODO to rename run_all_migrations to run_legacy_migrations | Christopher Allan Webber | 2016-01-11 | 1 | -0/+1 |
| | |||||
* | Enable alembic as the main tool for migrations | Boris Bobrov | 2016-01-11 | 1 | -2/+1 |
| | | | | | | Enable alembic for all migrations and limit the max number of sqlalchemy-migration migration. All new migrations must now be in Alembic! | ||||
* | Fix various style issues | Boris Bobrov | 2016-01-11 | 1 | -11/+13 |
| | | | | Sorry, cannot look at them without urge to fix | ||||
* | Prevent unhandled exception on non-existant user. | Ben Sturmfels | 2015-11-05 | 1 | -13/+15 |
| | | | | | | These changes bring `makeadmin` and `changepw` in-line with the approach used in `deleteuser`. I've also made the error messages more consistent: list the username and full sentences. | ||||
* | Collection changes and migration for federation | Jessica Tallon | 2015-10-07 | 1 | -1/+0 |
| | | | | | | | - Adds a "type" column to the Collection object and allows the CollectionItem model to contain any object. - Changes "items" to "num_items" as per TODO - Renames "uploader", "creator" and "user" to a common "actor" in most places | ||||
* | Fix some unit tests and bugs | Jessica Tallon | 2015-08-24 | 3 | -7/+7 |
| | | | | | | | | | | | | | | | | | | This fixes a lot of the issues with the LocalUser changes that were merged recently. There was a problem where the attributes of LocalUser were not being eagerly loaded and because the Session was detached an exception was being raised when they were accessed. This also fixes some typo's which were introduced. Finally this adds a temporary fix for a potential SQLAlchemy bug, this is a bug where doing: User.query.filter(LocalUser.username == "some_username").first() does NOT yeild a user with the username "some_username" but all users on the site. The temp fix is to just query the LocalUser, this should be resolved when bug is confirmed and fixed upstream. | ||||
* | Change codebase to query or create correct User model | Jessica Tallon | 2015-07-31 | 3 | -10/+21 |
| | | | | | | | The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser. | ||||
* | Return non-zero exit code if the command cannot be completed successfully. | Berker Peksag | 2015-07-22 | 1 | -0/+6 |
| | | | | Fixes #5084 | ||||
* | Change all unicode() calls with six.text_type(). | Berker Peksag | 2015-06-25 | 2 | -2/+3 |
| | | | | Fixes #5329. | ||||
* | Let parser handle typing for deletuser command | Jessica Tallon | 2015-01-20 | 1 | -3/+3 |
| | |||||
* | Context objects now use a contextmanager (and update gmg shell to use it) | Christopher Allan Webber | 2014-12-03 | 1 | -9/+10 |
| | | | | | | | | | 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. | ||||
* | Make "gmg shell" work with the new globals-less setup | Christopher Allan Webber | 2014-12-03 | 1 | -17/+36 |
| | |||||
* | 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 unicode handling in "gmg addmedia". | Berker Peksag | 2014-11-22 | 1 | -3/+4 |
| | |||||
* | 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... | ||||
* | Port "gmg batchaddmedia" command to Python 3. | Berker Peksag | 2014-10-02 | 1 | -20/+26 |
| | |||||
* | Switch print statement to print function | Christopher Allan Webber | 2014-09-24 | 1 | -1/+1 |
| | |||||
* | Making alembic happen with python 3 only... for now. | Christopher Allan Webber | 2014-09-22 | 1 | -1/+6 |
| | | | | We want to make sure it works nicely first. | ||||
* | Merge branch 'merge-python3-port' | Christopher Allan Webber | 2014-09-22 | 7 | -46/+138 |
|\ | | | | | | | | | Conflicts: setup.py | ||||
| * | Merge branch 'master' into merge-python3-port | Christopher Allan Webber | 2014-09-16 | 4 | -3/+242 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has some issues, will iteratively fix! Conflicts: mediagoblin/gmg_commands/__init__.py mediagoblin/gmg_commands/deletemedia.py mediagoblin/gmg_commands/users.py mediagoblin/oauth/views.py mediagoblin/plugins/api/views.py mediagoblin/tests/test_api.py mediagoblin/tests/test_edit.py mediagoblin/tests/test_oauth1.py mediagoblin/tests/test_util.py mediagoblin/tools/mail.py mediagoblin/webfinger/views.py setup.py | ||||
| * | | Implement ServeCommand.{loadserver, loadapp}. | Berker Peksag | 2014-08-15 | 1 | -4/+7 |
| | | | | | | | | | | | | This is partly port from PasteScript. | ||||
| * | | Add an initial "gmg serve" implementation. | Berker Peksag | 2014-08-15 | 2 | -0/+67 |
| | | | | | | | | | | | | The CLI is similar to "paster serve". | ||||
| * | | Move the AlembicMigrationManager to top of the module. | Berker Peksag | 2014-08-15 | 1 | -2/+2 |
| | | | | | | | | | | | | Also, add a simple docstring. | ||||
| * | | Add initial Alembic migrations. | Berker Peksag | 2014-08-13 | 1 | -0/+8 |
| | | | |||||
| * | | Fix dict.keys() in Python 3. | Berker Peksag | 2014-08-13 | 1 | -1/+1 |
| | | | |||||
| * | | Fix a comment. | Berker Peksag | 2014-08-13 | 1 | -1/+1 |
| | | | |||||
| * | | Fix print statements. | Berker Peksag | 2014-06-29 | 3 | -29/+36 |
| | | | |||||
| * | | The file() builtin has been removed in Python 3. Use open() instead. | Berker Peksag | 2014-06-07 | 1 | -1/+1 |
| | | | |||||
| * | | Use six.text_type instead of unicode(). | Berker Peksag | 2014-06-02 | 2 | -10/+16 |
| | | | | | | | | | | | | I will be switch to use ``from __future__ import unicode_literals`` later. | ||||
| * | | Use six.iteritems() instead of dict.iteritems(). | Berker Peksag | 2014-05-26 | 1 | -1/+3 |
| | | | |||||
* | | | Modify deleteuser to fail gracefully | ayleph | 2014-09-16 | 1 | -1/+1 |
| |/ |/| | | | | | | | | | | | | | bin/gmg deleteuser will produce a traceback error if you attempt to delete a user who does not exist. This commit provides a fix to allow deletuser to fail gracefully. This commit addresses https://issues.mediagoblin.org/ticket/969 | ||||
* | | This was a very simple update. The gmg command `adduser` was generating an | tilly-Q | 2014-07-10 | 1 | -2/+2 |
| | | | | | | | | | | unncessary error because we were searching for a non-unicode string value in a Unicode column of the core__users table. | ||||
* | | Used the codecs library to read the csv file in batchaddmedia as unicode. | Natalie Foust-Pilcher | 2014-06-21 | 1 | -5/+18 |
| | | |||||
* | | Convert media_ids to int safely. | Berker Peksag | 2014-06-13 | 1 | -1/+4 |
| | | | | | | | | | | With this commit, "gmg deletemedia spam,12" will not raise ValueError anymore. | ||||
* | | Properly exit when "gmg deletemedia" succeed. | Berker Peksag | 2014-06-13 | 1 | -1/+4 |
| | | | | | | | | Also, fixed a typo: "to will be" -> "will be" | ||||
* | | #303 : enhancement : add a command to delete users | Loïc Le Ninan | 2014-06-11 | 2 | -0/+24 |
| | | |||||
* | | Adjusted batchaddmedia to make use of more internal nodes. Added to the docs. | tilly-Q | 2014-05-13 | 1 | -8/+9 |
| | | |||||
* | | Removed unused imports. | tilly-Q | 2014-05-13 | 1 | -2/+1 |
| | | |||||
* | | Prepared for input without an 'id' column and made all of the internal nodes | tilly-Q | 2014-05-13 | 1 | -7/+4 |
| | | | | | | | | into free floating nodes so that compact_and_validate will remove them. | ||||
* | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadata | tilly-Q | 2014-05-13 | 2 | -1/+43 |
|\| | | | | | | | | | Conflicts: mediagoblin/gmg_commands/__init__.py | ||||
| * | Issue #824: Add gmg deletemedia command. | Berker Peksag | 2014-04-10 | 2 | -0/+42 |
| | | |||||
* | | Added documentation for the batchaddmedia gmg tool to the mediagoblin docs. | tilly-Q | 2014-05-12 | 1 | -3/+9 |
| | | |||||
* | | Modified the batchaddmedia script so that it only looks for one csv file instead | tilly-Q | 2014-05-12 | 1 | -77/+46 |
| | | | | | | | | of the previous method which looked for two files. | ||||
* | | Cleaned up the 'batchaddmedia' command a bit | tilly-Q | 2014-05-12 | 1 | -3/+11 |
| | | |||||
* | | Updating batchaddmedia to use new metadata tools | Christopher Allan Webber | 2014-05-07 | 1 | -87/+12 |
| | | |||||
* | | Removing unused variables | Christopher Allan Webber | 2014-05-07 | 1 | -3/+0 |
| | | |||||
* | | Removing build_json_ld_metadata | Christopher Allan Webber | 2014-05-07 | 1 | -16/+1 |
| | | |||||
* | | The URL format checker now works correctly | Christopher Allan Webber | 2014-05-07 | 1 | -33/+44 |
| | | | | | | | | ...though it isn't checking the right thing | ||||
* | | In the middle of some major changes | tilly-Q | 2014-04-21 | 1 | -5/+21 |
| | |