aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/processing/task.py
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-111-9/+10
| | | | | | | | | | - 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.
* Move celery task into own task.pyElrond2012-03-211-0/+78
Move the actual celery task from processing/__init__.py into its own .../task.py. That way it can be imported as needed.