aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands
Commit message (Collapse)AuthorAgeFilesLines
* It's 2012 all up in hereChristopher Allan Webber2012-02-027-7/+7
|
* Dot-Notation for MediaEntry.media_filesElrond2012-01-041-2/+2
|
* Fix "bin/gmg migrate" after mongo moveElrond2011-12-281-2/+2
| | | | | | | When moving most stuff from db to db/mongo, "gmg migrate" was left out. Fix it now!
* Fixed import_exportJoar Wandborg2011-12-151-5/+5
| | | | | - Mongokit instead of pymongo - db.MediaEntry instead of db.media_entry (pymongo style)
* Dot-Notation for MediaEntry.titleElrond2011-12-051-2/+2
|
* Dot-Notation for Users.is_adminElrond2011-12-051-1/+1
|
* Dot-Notation for Users.statusElrond2011-12-051-1/+1
|
* Dot-Notation for Users.email_verifiedElrond2011-12-051-1/+1
|
* Dot-Notation for Users.pw_hashElrond2011-12-051-2/+2
|
* Dot-Notation for Users.emailElrond2011-12-051-1/+1
|
* Dot-Notation for Users.usernameElrond2011-12-051-1/+1
|
* Most users won't see this but having space after prompt still nice for ↵Christopher Allan Webber2011-12-031-1/+1
| | | | passwords.
* PEP-8'ifying prompt_if_not_setChristopher Allan Webber2011-12-031-3/+3
|
* Prompt for arguments in adduser if not present (I created a function in ↵Manuel Urbano Santos2011-12-032-1/+17
| | | | util.py to check and prompt for arguments).
* Change adduser arguments from positional to --keyword style.Manuel Urbano Santos2011-12-031-5/+5
|
* Use setup_global_and_app_config in gmg's migrate.Elrond2011-11-261-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 Wandborg2011-11-211-4/+6
|\ | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/submit/views.py
| * import_export - Added some error handlingJoar Wandborg2011-10-141-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 loggingElrond2011-11-151-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 Webber2011-11-134-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 Yergler2011-10-011-1/+1
| | |
| * | Whitespace and formatting cleanup.Nathan Yergler2011-10-014-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 commandsChristopher Allan Webber2011-10-291-2/+13
| |
* | Removed suggestion that the user run ./bin/buildoutChristopher Allan Webber2011-10-261-1/+1
| |
* | Added an extra warning about wipealldata being pretty inflexible.Christopher Allan Webber2011-10-261-0/+4
| |
* | Make gmg's -cf option a global optionElrond2011-10-236-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 functionElrond2011-10-235-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 Webber2011-10-011-3/+3
|/ | | | | Conflicts: mediagoblin/util.py
* Fixed ./bin/gmg. import_export would not find BasicFileStorage, and ↵Joar Wandborg2011-09-141-1/+1
| | | | ./bin/gmg would throw an error no matter what command you tried to run.
* Refractored gmg_commands.import_exportJoar Wandborg2011-09-101-41/+49
|
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-017-7/+7
|
* We should use os.path.join to concatenate directories.Christopher Allan Webber2011-08-201-2/+2
|
* Import / export to a temporary directory if cache_path not provided.Christopher Allan Webber2011-08-201-8/+15
|
* Apparently we *should* _clean(args), that was commented out for debugging :)Christopher Allan Webber2011-08-201-1/+2
|
* Removing some print debugging from import_exportChristopher Allan Webber2011-08-201-8/+0
|
* Use "with closing(tf)" since TarFile doesn't have .__exit__()Christopher Allan Webber2011-08-201-1/+2
|
* Removing unused importsChristopher Allan Webber2011-08-201-5/+0
|
* Feature #298 - Create environment tarballJoar Wandborg2011-08-121-52/+78
| | | | * Reviewed the code and fixed some bugs
* Feature #298 - Create environment tarballJoar Wandborg2011-08-121-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 tarballJoar Wandborg2011-08-091-21/+88
| | | | Saving changes.
* Feature #298 - Changed some defaults in gmg_commands.import_exportJoar Wandborg2011-08-081-4/+17
|
* Feature #298Joar Wandborg2011-08-071-1/+16
| | | | * Added some minor things to gmg_commands.import_export
* Feature #298 - Environment tarballJoar Wandborg2011-08-072-0/+95
| | | | | * Added command hooks for gmg_commands.import_export * Added (DANGEROUSLY BLEEDING EDGE) gmg_commands.import_export
* Adds license headerWill Kahn-Greene2011-07-301-0/+16
|
* Moves destroy_environment to wipealldata commandWill Kahn-Greene2011-07-302-0/+55
|
* app.py and migrate.py must import migrations in order to load said migrations...Christopher Allan Webber2011-07-141-1/+3
|
* Elrond thinks we should use one of print/sys.stdout.write and .flush()Christopher Allan Webber2011-07-131-1/+5
| | | | I don't see the harm, so... done.
* Use new migrations system in ./bin/gmg migrateChristopher Allan Webber2011-07-101-14/+22
|
* Updating migrate.py to actually run the indexing commandsChristopher Allan Webber2011-06-271-2/+18
|
* Slightly clearer message about email marked as verified w/ adduser gmg commandChristopher Allan Webber2011-06-221-1/+1
|