5235 Commits

Author SHA1 Message Date
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
Boris Bobrov
da3b687ca6 Add Varadhya to AUTHORS 2017-01-29 17:16:00 +03:00
vijeth-aradhya
c427278e50 post_comment.js, media.html: Add AJAX for posting comments
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
2017-01-29 16:52:26 +03:00
Andrew Browning
be44e00626 Fix #5484 - Add video icon to collection thumbnail 2017-01-16 00:25:46 -05:00
ayleph
2baad0435e Add media_titleinfo template hook
This patch is based on work by cmichi to add a template hook near the
media title section of the page. I rearranged the code in the original
patch to match the current media.html page.
2017-01-15 20:50:34 -05:00
Ben Sturmfels
9924900d70 Merge branch '975-spanish-translation', fixes #975.
Thanks to teraflops for this contribution.
2016-11-14 12:46:46 +11:00
Ben Sturmfels
2ed2dbb2ba Fix minor grammar issues in contributing docs; add new contributor. 2016-11-13 09:50:51 +11:00
Alexandre Franke
754a8867c0 Add links in site-admin documentation foreword
Fixes #5490
2016-11-13 09:49:44 +11:00
Ben Sturmfels
52a16d64ed Update contributor names. 2016-11-13 09:26:54 +11:00
Ben Sturmfels
8c1728eaee Merge branch 'thumbnail', fixes #592. 2016-11-13 09:24:06 +11:00
Ben Sturmfels
4db326e2f9 Merge white-space change into main .media_thumbnail class. 2016-11-13 09:20:37 +11:00
Andrew Browning
2a01c5e793 Apply consistency & PEP8 to atom feeds
This patch applies the atom feed thumbnail changes from 65d8ca7 to user
atom feeds and rearranges the code in both views for better consistency
with PEP8 and with each other. It also fixes a spacing issue with the
feed title on the main page.
2016-11-04 02:53:07 -04:00
Ben Sturmfels
65d8ca7050 Add thumbnail image to Atom feed.
Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
2016-11-04 01:24:10 -04:00
Andrew Browning
c7c3eac69e Add kesara to list of AUTHORS
The changes applied in 7ee8e6b were written by kesara.
2016-10-23 15:41:40 -04:00
Andrew Browning
7ee8e6b9f3 Fix #664 - Text overflow in media headings
Merge in kesara's changes to fix the media heading overflows on edit
and delete pages for ticket #664.

Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
2016-10-23 15:39:24 -04:00
Andrew Browning
4a17f151cc Fix typo in user processing panel
Thanks to Storm_dragon for reporting this typo.
2016-10-16 20:11:56 -04:00
Olivier Mehani
b8c4c8254b Update maps copyright notice to OSM
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2016-09-18 17:01:21 +03:00