Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure MigrationManagers always get Unicode names. | Brett Smith | 2012-07-04 | 1 | -1/+1 |
| | | | | | If we fail to do this, SQLAlchemy complains that we're binding a non-Unicode value to a Unicode column. | ||||
* | Fix problems from pyflakes output | Will Kahn-Greene | 2012-06-03 | 2 | -6/+3 |
| | |||||
* | Deprecate ./bin/gmg migrate. | Christopher Allan Webber | 2012-04-29 | 2 | -6/+8 |
| | | | | | Keeping it around just in case someone manually wants to migrate before running the convert thing or... something. Probably silly. | ||||
* | Removing wipealldata command and deleting env_export/env_import for now. | Christopher Allan Webber | 2012-04-29 | 2 | -71/+14 |
| | | | | | | None of these tools really work anymore in the SQL world, and possibly aren't as necessary either. In the meanwhile, just disabling them to reduce confusion. | ||||
* | gmg env_import shouldn't crash on unicode ... | Joar Wandborg | 2012-04-02 | 1 | -1/+1 |
| | | | | characters in media titles | ||||
* | SQL based tests and refactored Celery setup stuff | Christopher Allan Webber | 2012-03-26 | 1 | -2/+6 |
| | | | | | | - Changed config files of test configs to use SQL - Updated celery initialization tools, factored them to be able to use the "big instance" application stuff | ||||
* | Wipe the configured database, not the default one | Jakob Kramer | 2012-03-24 | 1 | -2/+6 |
| | |||||
* | mongo->sql conversion script now runs mongo migrations first, just in case | Christopher Allan Webber | 2012-03-17 | 2 | -2/+11 |
| | |||||
* | Mongosql imports made celery get set up before we wanted it via ./bin/gmg ↵ | Christopher Allan Webber | 2012-03-17 | 1 | -2/+1 |
| | | | | | | commands Just moved the import into the actual function. That resolved the issue! | ||||
* | Removing an unnecessary line of whitespace AND crediting Hugo Boyer for the ↵ | Christopher Allan Webber | 2012-03-14 | 1 | -1/+0 |
| | | | | | | ipython code! Thanks Hugo Boyer! I forgot to credit you in my last commit. | ||||
* | ipython support in ./bin/gmg shell! | Christopher Allan Webber | 2012-03-14 | 1 | -8/+37 |
| | |||||
* | Create "gmg convert_mongo_to_sql" command | Elrond | 2012-02-23 | 2 | -0/+29 |
| | | | | | | | | | Finally, to make testing of sql a bit easier, create a bin/gmg command to do the conversion from mongo to sql. It's currently named "convert_mongo_to_sql". The most important option is the gmg -cf option to give a configfile with the appropiate sql_engine definition. | ||||
* | Updates so that dbupdate command works | Christopher Allan Webber | 2012-02-18 | 2 | -6/+15 |
| | | | | | | - Various fixes to dbupdate itself - Switching db/sql/migrations.py to use a dict instead of a list - Registering the function | ||||
* | Merge branch 'master' into sqlmigrate | Christopher Allan Webber | 2012-02-18 | 7 | -7/+7 |
|\ | | | | | | | | | Conflicts: mediagoblin/db/sql/models.py | ||||
| * | It's 2012 all up in here | Christopher Allan Webber | 2012-02-02 | 7 | -7/+7 |
| | | |||||
* | | No need for self here (thanks again Elrond ;)) | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | | |||||
* | | Big ol' start of the SQL migrations system. | Christopher Allan Webber | 2012-01-29 | 1 | -0/+84 |
|/ | | | | Things definitely don't work yet, but should be heading in the right direction. | ||||
* | Dot-Notation for MediaEntry.media_files | Elrond | 2012-01-04 | 1 | -2/+2 |
| | |||||
* | Fix "bin/gmg migrate" after mongo move | Elrond | 2011-12-28 | 1 | -2/+2 |
| | | | | | | | When moving most stuff from db to db/mongo, "gmg migrate" was left out. Fix it now! | ||||
* | Fixed import_export | Joar Wandborg | 2011-12-15 | 1 | -5/+5 |
| | | | | | - Mongokit instead of pymongo - db.MediaEntry instead of db.media_entry (pymongo style) | ||||
* | Dot-Notation for MediaEntry.title | Elrond | 2011-12-05 | 1 | -2/+2 |
| | |||||
* | Dot-Notation for Users.is_admin | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.status | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.email_verified | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.pw_hash | Elrond | 2011-12-05 | 1 | -2/+2 |
| | |||||
* | Dot-Notation for Users.email | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.username | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Most users won't see this but having space after prompt still nice for ↵ | Christopher Allan Webber | 2011-12-03 | 1 | -1/+1 |
| | | | | passwords. | ||||
* | PEP-8'ifying prompt_if_not_set | Christopher Allan Webber | 2011-12-03 | 1 | -3/+3 |
| | |||||
* | Prompt for arguments in adduser if not present (I created a function in ↵ | Manuel Urbano Santos | 2011-12-03 | 2 | -1/+17 |
| | | | | util.py to check and prompt for arguments). | ||||
* | Change adduser arguments from positional to --keyword style. | Manuel Urbano Santos | 2011-12-03 | 1 | -5/+5 |
| | |||||
* | Use setup_global_and_app_config in gmg's migrate. | Elrond | 2011-11-26 | 1 | -3/+3 |
| | | | | | | Instead of using read_mediagoblin_config, forgetting to check the validation report and then finding the main app section by hand, just use setup_global_and_app_config. | ||||
* | Merge branch 'video_gstreamer-only' | Joar Wandborg | 2011-11-21 | 1 | -4/+6 |
|\ | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/submit/views.py | ||||
| * | import_export - Added some error handling | Joar Wandborg | 2011-10-14 | 1 | -4/+6 |
| | | | | | | | | We still want to be able to do an export if a file can't be read | ||||
* | | export: Handle Unicode titles better in logging | Elrond | 2011-11-15 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | log("ascii %s" % unicode_string) tries to convert unicode to ascii, which might fail. Better use log(u"unicode format %s" % unicode_string) and let the logging framework handle the conversion. This works much better and the exceptions still happening aren't stopping the main app. Also remove one useless import. | ||||
* | | Merge remote-tracking branch 'remotes/nyergler/pep8-ification' | Christopher Allan Webber | 2011-11-13 | 4 | -12/+11 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py | ||||
| * | | has_key is deprecated, converting uses to use "in" operator. | Nathan Yergler | 2011-10-01 | 1 | -1/+1 |
| | | | |||||
| * | | Whitespace and formatting cleanup. | Nathan Yergler | 2011-10-01 | 4 | -11/+10 |
| |/ | | | | | | | | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, = | ||||
* | | Default to mediagoblin_local.ini if available in ./bin/gmg commands | Christopher Allan Webber | 2011-10-29 | 1 | -2/+13 |
| | | |||||
* | | Removed suggestion that the user run ./bin/buildout | Christopher Allan Webber | 2011-10-26 | 1 | -1/+1 |
| | | |||||
* | | Added an extra warning about wipealldata being pretty inflexible. | Christopher Allan Webber | 2011-10-26 | 1 | -0/+4 |
| | | |||||
* | | Make gmg's -cf option a global option | Elrond | 2011-10-23 | 6 | -19/+5 |
| | | | | | | | | | | | | | | | | | | All gmg's subcommands used to have a -cf option to set the config file. Instead make this a gmg global option. This means: bin/gmg migrate -cf mediagoblin_2.ini gets bin/gmg -cf mediagoblin_2.ini migrate | ||||
* | | Refactor gmg's cf option into a function | Elrond | 2011-10-23 | 5 | -18/+19 |
| | | | | | | | | | | | | | | Many (all?) gmg subcommands take a -cf option to change the used config file. This options used to be created in each subcommand's parse_setup. Add a helper function and use it around. | ||||
* | | Merge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux' | Christopher Allan Webber | 2011-10-01 | 1 | -3/+3 |
|/ | | | | | Conflicts: mediagoblin/util.py | ||||
* | Fixed ./bin/gmg. import_export would not find BasicFileStorage, and ↵ | Joar Wandborg | 2011-09-14 | 1 | -1/+1 |
| | | | | ./bin/gmg would throw an error no matter what command you tried to run. | ||||
* | Refractored gmg_commands.import_export | Joar Wandborg | 2011-09-10 | 1 | -41/+49 |
| | |||||
* | 508. Updates copyright/license information | Will Kahn-Greene | 2011-09-01 | 7 | -7/+7 |
| | |||||
* | We should use os.path.join to concatenate directories. | Christopher Allan Webber | 2011-08-20 | 1 | -2/+2 |
| | |||||
* | Import / export to a temporary directory if cache_path not provided. | Christopher Allan Webber | 2011-08-20 | 1 | -8/+15 |
| | |||||
* | Apparently we *should* _clean(args), that was commented out for debugging :) | Christopher Allan Webber | 2011-08-20 | 1 | -1/+2 |
| |