aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/processing
Commit message (Collapse)AuthorAgeFilesLines
* HTTP callback fixesJoar Wandborg2012-09-261-1/+1
| | | | | | | | | | | - Added HTTPError catching around the callback request, to not mark the entry as failed, just log the exception. - Fixed bug where I forgot to actually fetch the entry before passing it to json_processing_callback. - Changed __main__ migration #6 to create the ProcessingMetaData table as it is currently, to prevent possible breakage if a siteadmin is lagging behind with his db migrations and more than one migration wants to fix stuff with the ProcessingMetaData table.
* Added support for http callbacks on processingJoar Wandborg2012-09-261-0/+8
| | | | | Sends an HTTP POST request back to an URL given on submission to the API submit view.
* All processing exceptions are now loggedJoar Wandborg2012-08-011-0/+8
| | | | | All processing exceptions should now be logged, the MediaEntry marked as failed, the exception re-raised.
* Panel improvementsJoar Wandborg2012-07-112-9/+21
| | | | | | | | | | - Added progress meter for video and audio media types. - Changed the __repr__ method of a MediaEntry to display a bit more useful explanation. - Added a new MediaEntry.state, 'processing', which means that the task is running the processor on the item currently. - Fixed some PEP8 issues in user_pages/views.py - Fixed the ATOM TAG URI to show the correct year.
* Minor improvements to the processing panelJoar Wandborg2012-07-101-4/+9
| | | | | | - It is now possible to actually see what's processing, due to a bug fix where __getitem__ was called on the db model. - Removed DEPRECATED message from the docstring, it wasn't true.
* Prevent non-Unicode SQLAlchemy warnings in most submission tests.Brett Smith2012-07-081-1/+1
| | | | This commit makes test_submission mostly warning-clean.
* Merge remote-tracking branch 'joar/audio+sniffing'Joar Wandborg2012-03-271-3/+0
| | | | | | | | Conflicts: mediagoblin/media_types/image/processing.py mediagoblin/media_types/video/__init__.py mediagoblin/media_types/video/processing.py mediagoblin/tests/test_submission.py
* Merge remote branch 'origin/master' into bug261-resized-filenamesBrett Smith2012-03-261-0/+32
| | | | | | This merge involved moving the new FilenameBuilder class to processing/__init__.py, and putting the comment deletion tests back into test_submission.py using the refactored functions.
* Move celery task into own task.pyElrond2012-03-212-57/+79
| | | | | | Move the actual celery task from processing/__init__.py into its own .../task.py. That way it can be imported as needed.
* Turn processing.py into a submodule.Elrond2012-03-211-0/+154
processing.py -> processing/__init__.py This is in preparation for splitting processing a bit. The main reason for the split is celery setup: celery needs to be setup before even importing and importing and subclassing some of its parts. So it's better to move the critical parts into their own submodule and import it as late as needed.