aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/processing/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* a tiny fix to function docBoris Bobrov2015-02-161-2/+2
|
* Porting video to GStreamer 1.0Boris Bobrov2015-02-161-3/+2
| | | | | | | | | | | Porting includes: - thumbnailer - transcoder - metadata handling - new common discoverer for media - new tests with in-memory test video generating - handling regardless of audio availability in the file - Pythonic gst pipelines
* Use six.text_type instead of unicode().Berker Peksag2014-06-021-2/+4
| | | | I will be switch to use ``from __future__ import unicode_literals`` later.
* Merge branch 'master' into upstream-masterSebastian Spaeth2013-12-121-1/+1
|\ | | | | | | | | | | Conflicts: mediagoblin/templates/mediagoblin/base.html mediagoblin/templates/mediagoblin/user_pages/user.html
| * Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblinAditi Mittal2013-09-091-2/+11
| |\
| * \ Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblinAditi Mittal2013-09-051-2/+1
| |\ \
| * \ \ Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblinAditi2013-08-251-41/+277
| |\ \ \
| * | | | Typo error.Aditi2013-07-031-1/+1
| | | | |
* | | | | Oh god how did I leave a pdb.set_trace() in hereChristopher Allan Webber2013-11-101-2/+0
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | Well, cleaning that up :) This commit sponsored by Enrico Zini. Thanks!
* | | | Support python 2.6 again! Thanks to julianoliver for catching this.Christopher Allan Webber2013-09-091-2/+11
| |_|/ |/| | | | | | | | This commit sponsored by Sam Clegg. Thank you!
* | | should use public_store.file_exists to check if the file copied correctlyRodney Ewing2013-09-021-2/+1
| |/ |/|
* | Merge remote-tracking branch 'refs/remotes/rodney757/reprocessing'Christopher Allan Webber2013-08-211-40/+277
|\ \ | | | | | | | | | | | | | | | Conflicts: mediagoblin/processing/task.py mediagoblin/submit/lib.py
| * | refactor get_orig_filename to return an acceptable filename to the processor.Rodney Ewing2013-08-161-14/+27
| | | | | | | | | | | | If there is an original video file and we skip transcoding, delete the webm_640 file
| * | only try and delete queue file if it existsRodney Ewing2013-08-161-3/+4
| | |
| * | raise an error if the file failed to copy to public storageRodney Ewing2013-08-161-1/+19
| | | | | | | | | | | | catch copy_local_to_storage errors and raise PublicStoreFail, saving the keyname
| * | run initial processing on all failed entriesRodney Ewing2013-08-161-0/+5
| | |
| * | add bulk_run, thumbs, and initial sub_commandsRodney Ewing2013-08-161-2/+13
| | |
| * | remove ProcessingStateRodney Ewing2013-08-161-82/+0
| | |
| * | delete existing file in store_publicRodney Ewing2013-08-161-1/+4
| | |
| * | Add image resizer and some cleanup of old codeRodney Ewing2013-08-161-2/+2
| | |
| * | Fixing normal submission of media (well for images anyway)Christopher Allan Webber2013-08-161-0/+2
| | |
| * | Fixing the MediaProcessor context manager so it actually, you know, works :)Christopher Allan Webber2013-08-161-0/+1
| | | | | | | | | | | | This commit sponsored by Mikiya Okuno. Thank you!
| * | Theoretically the last steps to get reprocessing working for initial & imagesChristopher Allan Webber2013-08-161-10/+34
| | | | | | | | | | | | | | | | | | Haven't tested it yet though :) This commit sponsored by Samuel Bächler. Thank you!
| * | Factored the get_orig_filename from processing state and put it to use.Christopher Allan Webber2013-08-161-0/+34
| | | | | | | | | | | | This commit sponsored by Vincent Demeester. Thank you!
| * | Record the original state of the media entry in the processorChristopher Allan Webber2013-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | This allows our processor to make some informed decisions based on the state by still having access to the original state. This commit sponsored by William Rico. Thank you!
| * | Renaming the processing manager stuff to be less ambiguous.Christopher Allan Webber2013-08-161-3/+10
| | | | | | | | | | | | | | | | | | BONUS COMMIT to Ben Finney and the Free Software Melbourne crew. :) IRONY: Initially I committed this as "media manager".
| * | Updating to the point where we can allllmost run with the new reprocessing codeChristopher Allan Webber2013-08-161-3/+37
| | | | | | | | | | | | 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-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+25
| | | | | | | | | | | | This commit sponsored by Philippe Casteleyn. Thank you!
| * | `gmg reprocess available --action-help` now tells you processor arguments!Christopher Allan Webber2013-08-161-3/+3
| | | | | | | | | | | | | | | 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-2/+6
| | | | | | | | | | | | | | | | | | | | | 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 steps towards a working reprocessing system.Christopher Allan Webber2013-08-161-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fleshing out the base classes and setting up some docstrings. Not everything is totally clear yet, but I think it's on a good track, and getting clearer. This commit sponsored by Ben Finney, on behalf of Free Software Melbourne. Thank you all!
| * | Documentation for the MediaProcessorChristopher Allan Webber2013-08-161-4/+54
| | |
| * | started coding basics of new processing codeChristopher Allan Webber2013-08-161-0/+52
| | |
| * | fix storage paramater in get_orig_filename(), fix __init__ for ↵Rodney Ewing2013-08-161-1/+3
| | | | | | | | | | | | ProceessImage, better description for --size flag
| * | change get_queued_filename to get_orig_filename and modified functionRodney Ewing2013-08-161-27/+21
| | |
| * | very rough working version of image reprocessingRodney Ewing2013-08-161-3/+3
| | |
| * | added image reprocessingRodney Ewing2013-08-161-0/+17
| |/
* | -update to latest masterRodney Ewing2013-08-191-4/+2
| | | | | | | | | | | | - have mg generate task_id remove
* | Tweak Celery TaskSebastian Spaeth2013-08-191-3/+4
|/ | | | | | | | | | | | - Make sure Exceptions are pickleable (not sure if this was not the case but this is the pattern as documented in the celery docs. - Don't create a task_id in the GMG code, but save the one implicitely created by celery. - Don't create a task-id directory per upload. Just store queued uploads in a single directory (this is the most controversial change and might need discussion!!!) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Doc string for ProcessingState.Elrond2013-04-221-0/+8
|
* Implement queue dir delete for proc_state.delete_queue_fileElrond2013-04-081-1/+6
| | | | | Implement queue dir deleting in the proc_state.delete_queue_file helper function.
* Create ProcessingState.store_public.Elrond2013-04-031-2/+10
| | | | | | The ideas is by Alon Levy. Use it in ProcessingState.copy_original for now.
* Kill monkeypatching of ProcessingState.Elrond2013-02-081-13/+0
| | | | | | | And change the process_foo() API to accept a processingstate now. image and video are tested, the others are UNTESTED.
* Also refactor "copy original into public storage".Elrond2013-02-081-0/+6
| | | | | | | This makes the processing code easier to read/write and alos will help the reprocessing once we get to it. Thanks to Joar Wandborg for testing!
* ProcessingState: Document monkey patching.Elrond2013-02-081-0/+10
|
* Implement ProcessingState class and use for imagesElrond2013-02-081-0/+31
| | | | | | | | | | The idea is to have a class that has the knowledge of the currently being processed media and also has tools for that. The long term idea is to make reprocessing easier by for example hiding the way the original comes into the processing code.
* Move DBModel._id -> DBModel.idSebastian Spaeth2012-12-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | We were refering to model._id in most of the code base as this is what Mongo uses. However, each use of _id required a) fixup of queries: e.g. what we did in our find() and find_one() functions moving all '_id' to 'id'. It also required using AliasFields to make the ._id attribute available. This all means lots of superfluous fixing and transitioning in a SQL world. It will also not work in the long run. Much newer code already refers to the objects by model.id (e.g. in the oauth plugin), which will break with Mongo. So let's be honest, rip out the _id mongoism and live with .id as the one canonical way to address objects. This commit modifies all users and providers of model._id to use model.id instead. This patch works with or without Mongo removed first, but will break Mongo usage (even more than before) I have not bothered to fixup db.mongo.* and db.sql.convert (which converts from Mongo to SQL) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Panel improvementsJoar Wandborg2012-07-111-0/+11
| | | | | | | | | | - 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.
* Prevent non-Unicode SQLAlchemy warnings in most submission tests.Brett Smith2012-07-081-1/+1
| | | | This commit makes test_submission mostly warning-clean.