vijeth-aradhya
ee2b53dea1
Add test_chord for TestSubmissionVideo
...
Testing the arguments passed to celery.chord when
a video is submitted.
2017-06-25 18:31:50 +05:30
vijeth-aradhya
2771f4678a
Add VideoProcessingManager.workflow() tests
...
Testing workflow method including its return data.
2017-06-25 02:05:56 +05:30
vijeth-aradhya
602cfcb789
Use tuple as default return type of workflow()
...
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
2017-06-21 10:03:40 +05:30
vijeth-aradhya
5161533a6f
Add choice of video resolutions for instance owner
...
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.
2017-06-20 17:28:34 +05:30
Andrew Browning
12c0872b79
Apply button_warning style to blog delete buttons
2017-06-19 01:01:37 -04:00
Andrew Browning
6f5fcc5b52
Fix #830 - Remove exif from blog posts
2017-06-19 00:11:29 -04:00
Boris Bobrov
c159eeaffe
Remove mongodb-related stuff
...
We dropped mongodb a long time ago
2017-06-18 17:08:30 +03:00
Boris Bobrov
f9bd8a15ed
Add Robert to AUTHORS
2017-06-18 13:38:59 +03:00
Robert Smith
a08f0bfc86
Re #5308 added cascade to blog mediatype
2017-06-17 22:07:39 +03:00
vijeth-aradhya
336508bb17
Render webm_480 as default if webm_video is absent
...
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.
2017-06-17 02:34:58 +05:30
vijeth-aradhya
52814967cd
Fix test_celery_setup error
...
Add mediagoblin.media_types.video.processing as a task module.
2017-06-17 01:58:58 +05:30
vijeth-aradhya
33d5ac6c4d
Simple hack to handle main workflow problem
...
Remove redundunt workflow methods from the other media type's
processing.py.
Fixes #1
2017-06-17 00:53:39 +05:30
vijeth-aradhya
5b91098ca7
Celery concurrency is set to one
2017-06-13 23:58:42 +05:30
vijeth-aradhya
869048dd15
Add complimentary_tasks to the celery group
...
Add a couple of complimentary_tasks to check if priority is
working or not.
2017-06-13 23:58:01 +05:30
vijeth-aradhya
982fbde8e8
Individual resolution transcoding fixes
...
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
2017-06-13 23:24:32 +05:30
vijeth-aradhya
d77eb56280
Celery Priority testing with debug statements
...
Error at this line:
`self.entry.set_file_metadata(self.curr_file, **file_metadata)`
Otherwise, celery part should work fine.
2017-06-13 01:43:43 +05:30
vijeth-aradhya
bd011c940e
Few more changes to celery priority tasking
...
Addition of arguments to the celery tasks.
2017-06-12 23:17:44 +05:30
vijeth-aradhya
25ecdec997
Add priority to the celery tasks
...
Few more changes to be made before executing the tasks.
Also #1 should be handled soon after this.
2017-06-12 20:53:23 +05:30
vijeth-aradhya
9a27fa60a4
Add additional celery config settings
...
Fixes older webm_video backward compatibilty issue.
Add 'default' queue to be used from now.
Add other necessary celery settings for priority.
2017-06-11 19:07:58 +05:30
Vijeth Aradhya
dd0db38e2c
Merge branch 'master' into 'multiple-qualities-backend'
...
RabbitMQ addition in master
See merge request !1
2017-06-10 20:06:40 +00:00
Boris Bobrov
c3356889c9
Fix tests to reflect that we've moved to amqp
2017-06-10 12:22:58 +03:00
Boris Bobrov
411ae185bf
move exifread to other dependencies
2017-06-10 01:29:19 +03:00
Boris Bobrov
4a14f6da51
Merge branch 'amqp-switch'
2017-06-10 01:25:24 +03:00
Boris Bobrov
00d0bb714b
Remove upper cap on celery kombu
...
Also remove kombu from requirements, because celery fetches it anyway
2017-06-10 01:24:29 +03:00
Boris Bobrov
aac893584d
Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin
2017-06-09 23:50:33 +03:00
Boris Bobrov
2e1e96503e
Switch to rabbitmq by default and in docs
2017-06-09 23:49:24 +03:00
vijeth-aradhya
7cc9b6d1c7
Add main_task, complimentary_task and cleanup
2017-06-09 00:27:01 +05:30
vijeth-aradhya
16ef1164c1
Modify CommonVideoPrcoessor to accomodate mulitple qualities
...
A few trivial modifciations like replacing store_metadata,
etc needed to accomodate multiple qualities.
2017-06-09 00:26:36 +05:30
Andrew Browning
ec9a93fef0
Add space between words in blog message
2017-06-06 16:51:05 -04:00
Andrew Browning
0cf78df85f
Add register_captcha template hook
2017-06-06 01:26:09 -04:00
vijeth-aradhya
c62181f4bc
Add workflow method to other media ProcessingManagers
...
Add workflow method to all the media types other than video.
Calls the old celery task as it is.
2017-06-05 02:11:56 +05:30
vijeth-aradhya
81c59ef06b
Add workflow method to VideoProcessingManager
...
This commit makes sure the old celery call works perfectly
when workflow method is introduced.
2017-06-05 01:58:00 +05:30
vijeth-aradhya
d3390c4391
Add workflow method to ProcessingManager
...
This method just raises NotImplementedError if the specific
media processing manager does not have a workflow method.
2017-06-04 23:48:08 +05:30
vijeth-aradhya
2963b0a182
media_types/video/processing.py: Move store_metadata
...
Move store_metadata to self.common_setup() so that it's easy
to parallelize self.transcode() later.
2017-06-02 01:55:42 +05:30
vijeth-aradhya
f7e1bfea7a
media_types/video/util.py: Add accepted resolutions
...
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.
2017-05-31 01:21:34 +05:30
Boris Bobrov
683c9cc66c
Change all tabs to spaces in js file
...
It's bad to mix them
2017-05-23 11:28:08 +03:00
Boris Bobrov
754c4b1a0d
Remove tinymce from dependencies
...
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.
2017-05-04 00:39:19 +03:00
Boris Bobrov
daecc3e183
Change aria-text when state changes
2017-04-03 01:52:14 +03:00
Boris Bobrov
697e6c5cbc
Make play button a button instead of div
...
More attempts to make mg acessible
2017-04-03 00:23:24 +03:00
Boris Bobrov
7bf8f03f64
Add aria attributes to audio player
...
I hope this helps a bit with mediagoblin accessibility
2017-04-02 23:25:56 +03:00
Boris Bobrov
638ea75648
Move audio html out of js
2017-04-02 20:50:33 +03:00
Boris Bobrov
a5dae0dbc2
Commit session after alembic updates have finished
...
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.
2017-04-01 21:07:01 +03:00
Boris Bobrov
3bad5310f6
Pass connection to EnvironmentContext.configure
...
In https://bitbucket.org/zzzeek/alembic/issues/419/ we were suggested
use connection instead of engine. This should fix an issue reported
via ml.
2017-03-04 10:58:48 +03:00
Andrew Browning
2d0870e061
Fix trivial spelling and spacing error in cli help
2017-03-01 01:34:04 -05:00
Andrew Browning
741c25fd67
Fix #5500 UnicodeEncodeError in atom feed
...
This simple fix allows unicode strings in the atom feed thumb and
description fields by forcing the entire atom content string to
unicode.
2017-02-14 01:03:25 -05:00
vijeth-aradhya
96f66a5fd4
edit_profile.html: Consistency in the width of input fields
...
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>
2017-02-14 00:23:58 -05:00
Boris Bobrov
df2de8e2d1
Headers for collection items
...
Fixes issue #776
2017-01-29 19:29:39 +03:00
Boris Bobrov
009727d945
Add Stéphane Péchard to authors
2017-01-29 19:11:59 +03:00
Boris Bobrov
f86dafe2a0
Merge remote-tracking branch 'spechards-mediagoblin/master'
...
Conflicts:
mediagoblin/submit/lib.py -- happened because of creator->actor
change
Fixes issue #915
2017-01-29 19:09:06 +03:00
vijeth-aradhya
d26ea3f3bc
oob.html: Removed line breaks around the verifier code
...
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
2017-01-29 17:32:46 +03:00