Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Removing some print debugging from import_export | Christopher Allan Webber | 2011-08-20 | 1 | -8/+0 | |
| | ||||||
* | Use "with closing(tf)" since TarFile doesn't have .__exit__() | Christopher Allan Webber | 2011-08-20 | 1 | -1/+2 | |
| | ||||||
* | Removing unused imports | Christopher Allan Webber | 2011-08-20 | 1 | -5/+0 | |
| | ||||||
* | Feature #298 - Create environment tarball | Joar Wandborg | 2011-08-12 | 1 | -52/+78 | |
| | | | | * Reviewed the code and fixed some bugs | |||||
* | Feature #298 - Create environment tarball | Joar Wandborg | 2011-08-12 | 1 | -49/+95 | |
| | | | | | | | | * It's now possible to import/export your environment from/to a tarball. ./bin/gmg env_export [ -c mediagoblin_local.ini ] test.tar and ./bin/gmg env_import [ -c mediagoblin_local.ini ] test.tar | |||||
* | Feature 298 - Create environment tarball | Joar Wandborg | 2011-08-09 | 1 | -21/+88 | |
| | | | | Saving changes. | |||||
* | Feature #298 - Changed some defaults in gmg_commands.import_export | Joar Wandborg | 2011-08-08 | 1 | -4/+17 | |
| | ||||||
* | Feature #298 | Joar Wandborg | 2011-08-07 | 1 | -1/+16 | |
| | | | | * Added some minor things to gmg_commands.import_export | |||||
* | Feature #298 - Environment tarball | Joar Wandborg | 2011-08-07 | 2 | -0/+95 | |
| | | | | | * Added command hooks for gmg_commands.import_export * Added (DANGEROUSLY BLEEDING EDGE) gmg_commands.import_export |