aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands
Commit message (Collapse)AuthorAgeFilesLines
* run initial processing on all failed entriesRodney Ewing2013-08-161-3/+16
|
* add bulk_run, thumbs, and initial sub_commandsRodney Ewing2013-08-161-19/+77
|
* Fixing ./bin/gmg reprocess available, which I broke :)Christopher Allan Webber2013-08-161-2/+3
|
* Trying to fix the bug that's happening to rodney757 but not to me ;)Christopher Allan Webber2013-08-161-4/+5
|
* Revert "use parser.parse_known_args() instead of parser.parse_args()"Christopher Allan Webber2013-08-166-45/+30
| | | | | | | | | | | | | | This reverts commit 029e779c468ba1a6bfd893679cfaae7f418f45dd. (and a bit more!) This wasn't needed anymore because we did a "rest" capture and passed that over to the reprocess run command. Conflicts: mediagoblin/gmg_commands/assetlink.py mediagoblin/gmg_commands/dbupdate.py mediagoblin/gmg_commands/import_export.py mediagoblin/gmg_commands/users.py
* Renaming the processing manager stuff to be less ambiguous.Christopher Allan Webber2013-08-161-4/+4
| | | | | | BONUS COMMIT to Ben Finney and the Free Software Melbourne crew. :) IRONY: Initially I committed this as "media manager".
* That manager.process() line no longer made senseChristopher Allan Webber2013-08-161-1/+0
|
* Updating to the point where we can allllmost run with the new reprocessing codeChristopher Allan Webber2013-08-161-25/+13
| | | | This commit sponsored by Odin Hørthe Omdal. Thank you!
* Should be enough to get to the point where you can actually initialize a ↵Christopher Allan Webber2013-08-161-4/+5
| | | | | | | | processing command now. However, it doesn't celery task-ify it... This commit sponsored by Catalin Cosovanu. Thank you!
* Steps toward working "run" reprocessing command.Christopher Allan Webber2013-08-161-9/+32
| | | | This commit sponsored by Philippe Casteleyn. Thank you!
* Moving celery setup to the right placeChristopher Allan Webber2013-08-161-4/+4
| | | | This commit sponsored by Jose Manuel Zueco Lazaro. Thank you!
* Whitespacin' it up.Christopher Allan Webber2013-08-161-0/+3
|
* `gmg reprocess available --action-help` now tells you processor arguments!Christopher Allan Webber2013-08-161-6/+20
| | | | | Every reprocessing action possible can inform you of its command line argument stuff! Is that awesome or what?
* "initial" reprocessing subcommand now works!Christopher Allan Webber2013-08-161-4/+27
| | | | | | | We are on our way now to a working reprocessing system under this redesign! This commit sponsored by Bjarni Rúnar Einarsson. Thank you!
* More progress towards the new reprocessing infrastructure: args updatingChristopher Allan Webber2013-08-162-21/+73
| | | | This commit sponsored by Elizabeth Webber. Thanks, sis!
* added comments and did a little refactoring. not sure if it is actually any ↵Rodney Ewing2013-08-161-11/+34
| | | | clearer though
* add option to not run eagerlyRodney Ewing2013-08-161-2/+8
|
* added image reprocessingRodney Ewing2013-08-161-0/+3
|
* pep 8Rodney Ewing2013-08-161-9/+9
|
* add command option for regenerating all thumbnailsRodney Ewing2013-08-161-3/+18
|
* make media_id an optional argumentRodney Ewing2013-08-161-40/+42
|
* refactored _run_reprocessingRodney Ewing2013-08-161-1/+9
|
* added a set_media_state function. removed the --all flag (just don't enter ↵Rodney Ewing2013-08-161-15/+27
| | | | any media_ids to process all media). slight refactor
* Pep 8Rodney Ewing2013-08-161-4/+4
|
* Just raise standard exception. Pass print statement to gettextRodney Ewing2013-08-161-19/+10
|
* added a _run_reprocessing function which handles the hook callsRodney Ewing2013-08-161-0/+6
|
* add reprocess_all function. still need to add code to reprocess all failed ↵Rodney Ewing2013-08-161-0/+28
| | | | entries
* Added a set_media_type function that has checks to only reprocess one ↵Rodney Ewing2013-08-161-1/+47
| | | | media_type at a time
* Beginnings of a reprocess commandRodney Ewing2013-08-162-0/+45
|
* Throw an error if there are unrecognized argumentsRodney Ewing2013-08-166-1/+18
|
* use parser.parse_known_args() instead of parser.parse_args()Rodney Ewing2013-08-166-36/+36
|
* typo fix in foundations branchRodney Ewing2013-08-021-2/+2
|
* I actually had to do a bit more work than I thought, because I needed to accounttilly-Q2013-07-291-5/+20
| | | | | | for plugins. In this commit I changed the MigrationManager and DatabaseData ob- jects to account for FOUNDATIONS in any plugin's (or main program's) models.py file.
* Merge branch 'rodney757-media_plugins'Christopher Allan Webber2013-07-121-9/+1
|\ | | | | | | | | | | Conflicts: mediagoblin.ini mediagoblin/tests/test_mgoblin_app.ini
| * modified gmg to use plugin media_types and converted image media_type to new ↵Rodney Ewing2013-07-021-9/+1
| | | | | | | | plugin style
* | Patch by Strum. Ticket #451 - Convert all mongokit style .find, .find_one, ↵Rodney Ewing2013-07-112-7/+9
| | | | | | | | .one calls over to SQLAlchemy queries
* | Merge remote-tracking branch 'remotes/lotusecho/trac_711_test_speed'Christopher Allan Webber2013-07-031-3/+15
|\ \ | |/ |/|
| * Updated comments for run_all_migrations and config_spec.ini.Emily O'Leary2013-06-271-2/+6
| |
| * Improved test runtime from 352 seconds to 59 seconds by implementing an ↵Emily O'Leary2013-06-251-3/+11
| | | | | | | | in-memory sqlite DB and including an option to run migrations on this newly created database by adding a config option called run_migrations to the config_spec and passing it along in app.py to the setup_database function.
* | moved bcrypt_gen_password_hash to basic_auth/tools and added ↵Rodney Ewing2013-05-241-3/+3
|/ | | | gen_password_hash function to auth/__init__
* Cleaning a bit: os.path.sep.join -> os.path.joinChristopher Allan Webber2013-05-231-2/+2
|
* docstring update: link theme... and plugins!Christopher Allan Webber2013-05-231-1/+1
|
* Generalize "gmg theme assetlink" -> "gmg assetlink" and cover both theme and ↵Christopher Allan Webber2013-05-232-52/+29
| | | | | | | | | plugins We've moved the module... probably I'll re-add theme just to give a warning that this is deprecated. This commit sponsored by Kevin Williams. Thank you!
* Various fixes to plugin assetlinking command.Christopher Allan Webber2013-05-231-5/+5
| | | | | | | Actually trying to run the command helps figure out what needs to be fixed :) This commit sponsored by Justin Nichol. Thank you!
* Work towards getting plugin static linking/serving to workChristopher Allan Webber2013-05-231-7/+63
| | | | | | | | | - add link_plugin_assets. For now, incorrectly running from ./bin/gmg theme assetlink... uh, will fix ;) - Update paste and config_spec.ini configs to handle the locations and serving of the plugins' static resources This commit sponsored by Marko Dimjašević. Thank you!
* Fixing bug in dbupdate where it would explode on plugin that is missing ↵Christopher Allan Webber2013-05-161-0/+2
| | | | | | | | | | | MODELS or MIGRATIONS The reason it blew up was because in the latter caught exception, it wouldn't set models/migrations to an empty set, so it would actually use the previous run's models/migrations! That's what we get for "leaky" variables on python for loops :) This commit sponsored by Pascal Diogo Antunes. Thank you!
* Switch "sqlite_refcheck" keyword arg to "migrations" which Elrond thinks is ↵Christopher Allan Webber2013-04-261-1/+1
| | | | | | cleaner Also, if migrations is true, *explicitly* say that foreign key checking is off
* Don't turn on sqlite refcheck stuff during migrationsChristopher Allan Webber2013-04-261-1/+1
|
* Switching non-forms back to using normal pass_to_ugettextChristopher Allan Webber2013-04-241-1/+1
|
* Fix-bug-667-Use-lazy_pass_to_ugettext-for-forms.Aditi Mittal2013-04-241-1/+1
|