aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add test_chord for TestSubmissionVideovijeth-aradhya2017-06-251-8/+74
| | | | | Testing the arguments passed to celery.chord when a video is submitted.
* Add VideoProcessingManager.workflow() testsvijeth-aradhya2017-06-251-0/+69
| | | | Testing workflow method including its return data.
* Use tuple as default return type of workflow()vijeth-aradhya2017-06-212-5/+6
| | | | | | | | If None, then schedule the old Celery call, else the format is group and a single task in the tuple. Hence, Celery chord would be ideal to use. Closes #4
* Add choice of video resolutions for instance ownervijeth-aradhya2017-06-202-12/+28
| | | | | | | The instance owner can choose from the list of available resolutions. ['144p', '240p', '360p', '480p', '720p', '1080p'] Also, the default resolution is now set to 480p and the instance owner can choose the default resolution from that list as well.
* Render webm_480 as default if webm_video is absentvijeth-aradhya2017-06-173-4/+11
| | | | | | | Currently, webm_video is still the higher priority in media_fetch_oder as older versions should not be broken. So, webm_480p (main_task) will be rendered by default for newer versions. All tests pass at this point.
* Fix test_celery_setup errorvijeth-aradhya2017-06-171-2/+3
| | | | Add mediagoblin.media_types.video.processing as a task module.
* Simple hack to handle main workflow problemvijeth-aradhya2017-06-179-47/+15
| | | | | | | Remove redundunt workflow methods from the other media type's processing.py. Fixes #1
* Celery concurrency is set to onevijeth-aradhya2017-06-131-1/+1
|
* Add complimentary_tasks to the celery groupvijeth-aradhya2017-06-131-10/+7
| | | | | Add a couple of complimentary_tasks to check if priority is working or not.
* Individual resolution transcoding fixesvijeth-aradhya2017-06-132-8/+5
| | | | | | | | Few minor changes which fix the errors. Although, the user still cannot view the video since the front end part needs to changed. Fixes #3
* Celery Priority testing with debug statementsvijeth-aradhya2017-06-1310-47/+80
| | | | | | Error at this line: `self.entry.set_file_metadata(self.curr_file, **file_metadata)` Otherwise, celery part should work fine.
* Few more changes to celery priority taskingvijeth-aradhya2017-06-121-11/+16
| | | | Addition of arguments to the celery tasks.
* Add priority to the celery tasksvijeth-aradhya2017-06-129-21/+42
| | | | | Few more changes to be made before executing the tasks. Also #1 should be handled soon after this.
* Add additional celery config settingsvijeth-aradhya2017-06-113-3/+15
| | | | | | Fixes older webm_video backward compatibilty issue. Add 'default' queue to be used from now. Add other necessary celery settings for priority.
* Merge branch 'master' into 'multiple-qualities-backend'Vijeth Aradhya2017-06-108-19/+21
|\ | | | | | | | | RabbitMQ addition in master See merge request !1
| * Fix tests to reflect that we've moved to amqpBoris Bobrov2017-06-101-4/+1
| |
| * move exifread to other dependenciesBoris Bobrov2017-06-101-3/+1
| |
| * Merge branch 'amqp-switch'Boris Bobrov2017-06-104-6/+12
| |\
| | * Remove upper cap on celery kombuBoris Bobrov2017-06-101-2/+1
| | | | | | | | | | | | Also remove kombu from requirements, because celery fetches it anyway
| | * Switch to rabbitmq by default and in docsBoris Bobrov2017-06-093-4/+11
| | |
| * | Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblinBoris Bobrov2017-06-092-1/+2
| |\ \ | | |/ | |/|
| | * Add space between words in blog messageAndrew Browning2017-06-061-1/+1
| | |
| | * Add register_captcha template hookAndrew Browning2017-06-061-0/+1
| | |
| * | Change all tabs to spaces in js fileBoris Bobrov2017-05-231-5/+5
| |/ | | | | | | It's bad to mix them
* | Add main_task, complimentary_task and cleanupvijeth-aradhya2017-06-091-0/+25
| |
* | Modify CommonVideoPrcoessor to accomodate mulitple qualitiesvijeth-aradhya2017-06-091-47/+37
| | | | | | | | | | A few trivial modifciations like replacing store_metadata, etc needed to accomodate multiple qualities.
* | Add workflow method to other media ProcessingManagersvijeth-aradhya2017-06-056-0/+31
| | | | | | | | | | Add workflow method to all the media types other than video. Calls the old celery task as it is.
* | Add workflow method to VideoProcessingManagervijeth-aradhya2017-06-053-5/+13
| | | | | | | | | | This commit makes sure the old celery call works perfectly when workflow method is introduced.
* | Add workflow method to ProcessingManagervijeth-aradhya2017-06-041-0/+7
| | | | | | | | | | This method just raises NotImplementedError if the specific media processing manager does not have a workflow method.
* | media_types/video/processing.py: Move store_metadatavijeth-aradhya2017-06-021-11/+11
| | | | | | | | | | Move store_metadata to self.common_setup() so that it's easy to parallelize self.transcode() later.
* | media_types/video/util.py: Add accepted resolutionsvijeth-aradhya2017-05-311-0/+9
|/ | | | | | Add dict consisting of all the accepted resolutions with their dimensions. This should be eventually moved to config where the instance owner can modify it.
* Remove tinymce from dependenciesBoris Bobrov2017-05-041-2/+1
| | | | | I think it was supposed to be used in blogs, but we never got there. So lets just drop it from requirements in bower.json.
* Change aria-text when state changesBoris Bobrov2017-04-031-4/+6
|
* Make play button a button instead of divBoris Bobrov2017-04-032-2/+3
| | | | More attempts to make mg acessible
* Add aria attributes to audio playerBoris Bobrov2017-04-021-3/+3
| | | | I hope this helps a bit with mediagoblin accessibility
* Move audio html out of jsBoris Bobrov2017-04-022-10/+10
|
* Commit session after alembic updates have finishedBoris Bobrov2017-04-011-2/+4
| | | | | | | | | | After alembic updates we need to add foundations. The tables to add foundations to are created as part of dbupdate process. For some reason Alembic doesn't commit a session in the end. Because the session is not commited, the tables do not really get created. And because of that, foundations fail. The solution is to commit the session after alembic updates.
* Pass connection to EnvironmentContext.configureBoris Bobrov2017-03-041-2/+1
| | | | | | In https://bitbucket.org/zzzeek/alembic/issues/419/ we were suggested use connection instead of engine. This should fix an issue reported via ml.
* Fix trivial spelling and spacing error in cli helpAndrew Browning2017-03-011-2/+2
|
* Fix #5500 UnicodeEncodeError in atom feedAndrew Browning2017-02-142-2/+2
| | | | | | This simple fix allows unicode strings in the atom feed thumb and description fields by forcing the entire atom content string to unicode.
* edit_profile.html: Consistency in the width of input fieldsvijeth-aradhya2017-02-142-3/+3
| | | | | | | | | The width of all the input fields in user profile edit form (also forms which wtforms render div function) is 100% Fixes #996 Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
* Headers for collection itemsBoris Bobrov2017-01-291-1/+4
| | | | Fixes issue #776
* Add Stéphane Péchard to authorsBoris Bobrov2017-01-291-0/+1
|
* Merge remote-tracking branch 'spechards-mediagoblin/master'Boris Bobrov2017-01-293-2/+18
|\ | | | | | | | | | | | | | | Conflicts: mediagoblin/submit/lib.py -- happened because of creator->actor change Fixes issue #915
| * Add creator to filter collectionsStéphane Péchard2014-09-231-2/+3
| |
| * Add collection option to 'addmedia' cli uploadingStéphane Péchard2014-07-133-2/+16
| |
* | oob.html: Removed line breaks around the verifier codevijeth-aradhya2017-01-291-3/+1
| | | | | | | | | | | | | | | | | | There was an extra space that was displayed after the verfication code which caused verification to fail when just copied. Hence, any line breaks or spaces has been removed Fixes #5476
* | Add Varadhya to AUTHORSBoris Bobrov2017-01-291-0/+1
| |
* | post_comment.js, media.html: Add AJAX for posting commentsvijeth-aradhya2017-01-292-0/+66
| | | | | | | | | | | | | | Stop reloading the page when a comment is posted which helps in not stopping the media being played (for example, a song) Fixes https://issues.mediagoblin.org/ticket/868
* | Fix #5484 - Add video icon to collection thumbnailAndrew Browning2017-01-161-0/+3
| |