vijeth-aradhya [Wed, 16 Aug 2017 16:21:55 +0000 (21:51 +0530)]
Add test for get_all_media()
Check for it's returned values.
vijeth-aradhya [Mon, 14 Aug 2017 14:07:37 +0000 (19:37 +0530)]
Change webm to webm_video in media_size check
Closes #8
Vijeth Aradhya [Mon, 14 Aug 2017 12:08:36 +0000 (12:08 +0000)]
Merge branch 'master' into 'multiple-qualities-frontend'
Add multiple video qualities feature
See merge request !2
vijeth-aradhya [Fri, 11 Aug 2017 14:10:41 +0000 (19:40 +0530)]
Small changes to fixing transcode percentage
Related to #6
vijeth-aradhya [Thu, 10 Aug 2017 14:09:33 +0000 (19:39 +0530)]
Change entry.title to entry.id in logging
Related to #5
vijeth-aradhya [Thu, 10 Aug 2017 14:02:29 +0000 (19:32 +0530)]
Fix percentage reporting
Report transcoding_progress as the overall percent of all resolutions.
Modify Logging.
Closes #6
vijeth-aradhya [Tue, 8 Aug 2017 16:39:08 +0000 (22:09 +0530)]
Add unicode to accomodate title of MediaEntry
Related to #5
vijeth-aradhya [Sat, 5 Aug 2017 11:53:17 +0000 (17:23 +0530)]
Replace print statements to logging
Closes #5
vijeth-aradhya [Mon, 31 Jul 2017 16:38:28 +0000 (22:08 +0530)]
Add previous mg css to video player
vijeth-aradhya [Sun, 23 Jul 2017 04:42:07 +0000 (10:12 +0530)]
Modify video.html to add video-resolution-switcher plugin
vijeth-aradhya [Sun, 23 Jul 2017 04:40:06 +0000 (10:10 +0530)]
Add change-video-resolution.js to start video-resolution-switcher plugin
vijeth-aradhya [Sun, 23 Jul 2017 04:36:18 +0000 (10:06 +0530)]
Add video-resolution-switcher (video.js plugin) v0.4.2
vijeth-aradhya [Sun, 23 Jul 2017 04:33:45 +0000 (10:03 +0530)]
Change video.js version to v5.20.1
vijeth-aradhya [Sun, 23 Jul 2017 04:31:07 +0000 (10:01 +0530)]
Revert "Modify video template to accomodate multiple resolutions"
This reverts commit
f6ba0e561bfb62991d70a4c002edf142d9d7540c.
vijeth-aradhya [Sun, 23 Jul 2017 04:31:04 +0000 (10:01 +0530)]
Revert "Add change-video-resolution.js to start the plugin"
This reverts commit
e44c4569c7f7ac4b0b1c8470f38f7f1d09dd00f8.
vijeth-aradhya [Sun, 23 Jul 2017 04:31:00 +0000 (10:01 +0530)]
Revert "Modify video-js link folder and change version"
This reverts commit
0e49df65fea13b15c5566f2ee44842feaeaaccd0.
vijeth-aradhya [Sun, 23 Jul 2017 04:30:48 +0000 (10:00 +0530)]
Revert "Add video-resolution-switcher (v0.4.2) plugin"
This reverts commit
19d7c450706df1aae74003fcfcfa03d17ebd6f54.
vijeth-aradhya [Tue, 18 Jul 2017 04:16:37 +0000 (09:46 +0530)]
Add video-resolution-switcher (v0.4.2) plugin
vijeth-aradhya [Tue, 18 Jul 2017 04:14:06 +0000 (09:44 +0530)]
Modify video-js link folder and change version
vijeth-aradhya [Sun, 16 Jul 2017 15:48:05 +0000 (21:18 +0530)]
Add change-video-resolution.js to start the plugin
vijeth-aradhya [Sun, 16 Jul 2017 15:44:25 +0000 (21:14 +0530)]
Modify video template to accomodate multiple resolutions
Add required JS/CSS plugin files.
Add JS file to fire up the plugin.
Modify video tag accordingly.
vijeth-aradhya [Sun, 16 Jul 2017 15:13:08 +0000 (20:43 +0530)]
Add get_all_media() in MediaEntryMixin
Returns all available qualties of a media with it's dimensions and
resolution label.
vijeth-aradhya [Fri, 30 Jun 2017 22:36:02 +0000 (04:06 +0530)]
Add property to media_fetch_order
Due to configurable resolution settings, this change is necessary to set the
default resolution and the others.
vijeth-aradhya [Mon, 26 Jun 2017 19:34:55 +0000 (01:04 +0530)]
Fix test_accepted_resolutions
Add {'webm': (640, 640)}
Boris Bobrov [Mon, 26 Jun 2017 18:32:56 +0000 (21:32 +0300)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin
vijeth-aradhya [Sun, 25 Jun 2017 14:53:37 +0000 (20:23 +0530)]
Implement copy_original and _keep_best
_keep_best is changed to keep_best now, and is added in processing_cleanup.
webm is added to ACCEPTED_RESOLUTIONS.
vijeth-aradhya [Sun, 25 Jun 2017 14:02:28 +0000 (19:32 +0530)]
Test whether video is transcoded to all resolutions
After `self.check_normal_upload`, query the database and
check whether the video got transcoded to all the required
resolutions.
vijeth-aradhya [Sun, 25 Jun 2017 13:17:04 +0000 (18:47 +0530)]
Test accepted_files and accepted_resolutions
vijeth-aradhya [Sun, 25 Jun 2017 12:55:48 +0000 (18:25 +0530)]
Add test_chord for TestSubmissionVideo
Testing the arguments passed to celery.chord when
a video is submitted.
vijeth-aradhya [Sat, 24 Jun 2017 17:15:14 +0000 (22:45 +0530)]
Add VideoProcessingManager.workflow() tests
Testing workflow method including its return data.
vijeth-aradhya [Wed, 21 Jun 2017 04:30:56 +0000 (10:00 +0530)]
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
vijeth-aradhya [Tue, 20 Jun 2017 11:58:34 +0000 (17:28 +0530)]
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.
Andrew Browning [Mon, 19 Jun 2017 04:58:21 +0000 (00:58 -0400)]
Apply button_warning style to blog delete buttons
Andrew Browning [Mon, 19 Jun 2017 04:11:29 +0000 (00:11 -0400)]
Fix #830 - Remove exif from blog posts
Boris Bobrov [Sun, 18 Jun 2017 14:08:30 +0000 (17:08 +0300)]
Remove mongodb-related stuff
We dropped mongodb a long time ago
Boris Bobrov [Sun, 18 Jun 2017 10:38:59 +0000 (13:38 +0300)]
Add Robert to AUTHORS
Robert Smith [Sat, 17 Jun 2017 06:03:20 +0000 (02:03 -0400)]
Re #5308 added cascade to blog mediatype
vijeth-aradhya [Fri, 16 Jun 2017 21:04:58 +0000 (02:34 +0530)]
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.
vijeth-aradhya [Fri, 16 Jun 2017 20:28:58 +0000 (01:58 +0530)]
Fix test_celery_setup error
Add mediagoblin.media_types.video.processing as a task module.
vijeth-aradhya [Fri, 16 Jun 2017 19:23:39 +0000 (00:53 +0530)]
Simple hack to handle main workflow problem
Remove redundunt workflow methods from the other media type's
processing.py.
Fixes #1
vijeth-aradhya [Tue, 13 Jun 2017 18:28:42 +0000 (23:58 +0530)]
Celery concurrency is set to one
vijeth-aradhya [Tue, 13 Jun 2017 18:24:40 +0000 (23:54 +0530)]
Add complimentary_tasks to the celery group
Add a couple of complimentary_tasks to check if priority is
working or not.
vijeth-aradhya [Tue, 13 Jun 2017 17:54:32 +0000 (23:24 +0530)]
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
vijeth-aradhya [Mon, 12 Jun 2017 20:13:43 +0000 (01:43 +0530)]
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.
vijeth-aradhya [Mon, 12 Jun 2017 17:47:44 +0000 (23:17 +0530)]
Few more changes to celery priority tasking
Addition of arguments to the celery tasks.
vijeth-aradhya [Mon, 12 Jun 2017 15:23:23 +0000 (20:53 +0530)]
Add priority to the celery tasks
Few more changes to be made before executing the tasks.
Also #1 should be handled soon after this.
vijeth-aradhya [Sun, 11 Jun 2017 13:37:58 +0000 (19:07 +0530)]
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.
Vijeth Aradhya [Sat, 10 Jun 2017 20:06:40 +0000 (20:06 +0000)]
Merge branch 'master' into 'multiple-qualities-backend'
RabbitMQ addition in master
See merge request !1
Boris Bobrov [Sat, 10 Jun 2017 09:22:58 +0000 (12:22 +0300)]
Fix tests to reflect that we've moved to amqp
Boris Bobrov [Fri, 9 Jun 2017 22:29:19 +0000 (01:29 +0300)]
move exifread to other dependencies
Boris Bobrov [Fri, 9 Jun 2017 22:25:24 +0000 (01:25 +0300)]
Merge branch 'amqp-switch'
Boris Bobrov [Fri, 9 Jun 2017 22:24:29 +0000 (01:24 +0300)]
Remove upper cap on celery kombu
Also remove kombu from requirements, because celery fetches it anyway
Boris Bobrov [Fri, 9 Jun 2017 20:50:33 +0000 (23:50 +0300)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin
Boris Bobrov [Fri, 9 Jun 2017 20:49:24 +0000 (23:49 +0300)]
Switch to rabbitmq by default and in docs
vijeth-aradhya [Wed, 7 Jun 2017 15:12:42 +0000 (20:42 +0530)]
Add main_task, complimentary_task and cleanup
vijeth-aradhya [Wed, 7 Jun 2017 15:09:26 +0000 (20:39 +0530)]
Modify CommonVideoPrcoessor to accomodate mulitple qualities
A few trivial modifciations like replacing store_metadata,
etc needed to accomodate multiple qualities.
Andrew Browning [Tue, 6 Jun 2017 20:51:05 +0000 (16:51 -0400)]
Add space between words in blog message
Andrew Browning [Wed, 1 Mar 2017 07:02:36 +0000 (02:02 -0500)]
Add register_captcha template hook
vijeth-aradhya [Sun, 4 Jun 2017 20:41:56 +0000 (02:11 +0530)]
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.
vijeth-aradhya [Sun, 4 Jun 2017 20:28:00 +0000 (01:58 +0530)]
Add workflow method to VideoProcessingManager
This commit makes sure the old celery call works perfectly
when workflow method is introduced.
vijeth-aradhya [Sun, 4 Jun 2017 18:15:18 +0000 (23:45 +0530)]
Add workflow method to ProcessingManager
This method just raises NotImplementedError if the specific
media processing manager does not have a workflow method.
vijeth-aradhya [Thu, 1 Jun 2017 20:25:42 +0000 (01:55 +0530)]
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.
vijeth-aradhya [Tue, 30 May 2017 19:51:34 +0000 (01:21 +0530)]
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.
Boris Bobrov [Tue, 23 May 2017 08:28:08 +0000 (11:28 +0300)]
Change all tabs to spaces in js file
It's bad to mix them
Boris Bobrov [Wed, 3 May 2017 21:39:19 +0000 (00:39 +0300)]
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.
Boris Bobrov [Sun, 2 Apr 2017 22:52:14 +0000 (01:52 +0300)]
Change aria-text when state changes
Boris Bobrov [Sun, 2 Apr 2017 21:23:24 +0000 (00:23 +0300)]
Make play button a button instead of div
More attempts to make mg acessible
Boris Bobrov [Sun, 2 Apr 2017 20:25:56 +0000 (23:25 +0300)]
Add aria attributes to audio player
I hope this helps a bit with mediagoblin accessibility
Boris Bobrov [Sun, 2 Apr 2017 17:50:33 +0000 (20:50 +0300)]
Move audio html out of js
Boris Bobrov [Sat, 1 Apr 2017 18:07:01 +0000 (21:07 +0300)]
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.
Boris Bobrov [Sat, 4 Mar 2017 07:58:48 +0000 (10:58 +0300)]
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.
Andrew Browning [Wed, 1 Mar 2017 06:33:38 +0000 (01:33 -0500)]
Fix trivial spelling and spacing error in cli help
Andrew Browning [Tue, 14 Feb 2017 06:01:48 +0000 (01:01 -0500)]
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.
vijeth-aradhya [Fri, 20 Jan 2017 03:46:42 +0000 (09:16 +0530)]
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>
Boris Bobrov [Sun, 29 Jan 2017 16:29:39 +0000 (19:29 +0300)]
Headers for collection items
Fixes issue #776
Boris Bobrov [Sun, 29 Jan 2017 16:11:59 +0000 (19:11 +0300)]
Add Stéphane Péchard to authors
Boris Bobrov [Sun, 29 Jan 2017 16:09:06 +0000 (19:09 +0300)]
Merge remote-tracking branch 'spechards-mediagoblin/master'
Conflicts:
mediagoblin/submit/lib.py -- happened because of creator->actor
change
Fixes issue #915
vijeth-aradhya [Fri, 20 Jan 2017 06:26:01 +0000 (11:56 +0530)]
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
Boris Bobrov [Sun, 29 Jan 2017 14:16:00 +0000 (17:16 +0300)]
Add Varadhya to AUTHORS
vijeth-aradhya [Sun, 22 Jan 2017 18:27:16 +0000 (23:57 +0530)]
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
Andrew Browning [Mon, 17 Oct 2016 16:51:36 +0000 (12:51 -0400)]
Fix #5484 - Add video icon to collection thumbnail
ayleph [Wed, 3 Feb 2016 04:14:57 +0000 (23:14 -0500)]
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.
Ben Sturmfels [Mon, 14 Nov 2016 01:46:46 +0000 (12:46 +1100)]
Merge branch '975-spanish-translation', fixes #975.
Thanks to teraflops for this contribution.
Ben Sturmfels [Sat, 12 Nov 2016 22:48:54 +0000 (09:48 +1100)]
Fix minor grammar issues in contributing docs; add new contributor.
Alexandre Franke [Thu, 3 Nov 2016 19:19:47 +0000 (20:19 +0100)]
Add links in site-admin documentation foreword
Fixes #5490
Ben Sturmfels [Sat, 12 Nov 2016 22:26:54 +0000 (09:26 +1100)]
Update contributor names.
Ben Sturmfels [Sat, 12 Nov 2016 22:21:05 +0000 (09:21 +1100)]
Merge branch 'thumbnail', fixes #592.
Ben Sturmfels [Sat, 12 Nov 2016 22:20:37 +0000 (09:20 +1100)]
Merge `white-space` change into main `.media_thumbnail` class.
Andrew Browning [Fri, 4 Nov 2016 06:46:53 +0000 (02:46 -0400)]
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.
Ben Sturmfels [Fri, 7 Oct 2016 12:12:25 +0000 (23:12 +1100)]
Add thumbnail image to Atom feed.
Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
Andrew Browning [Sun, 23 Oct 2016 19:41:40 +0000 (15:41 -0400)]
Add kesara to list of AUTHORS
The changes applied in
7ee8e6b were written by kesara.
Andrew Browning [Sun, 23 Oct 2016 19:32:25 +0000 (12:32 -0700)]
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>
Andrew Browning [Mon, 17 Oct 2016 00:11:56 +0000 (20:11 -0400)]
Fix typo in user processing panel
Thanks to Storm_dragon for reporting this typo.
Olivier Mehani [Fri, 16 Sep 2016 12:32:51 +0000 (22:32 +1000)]
Update maps copyright notice to OSM
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Olivier Mehani [Wed, 31 Aug 2016 12:20:53 +0000 (22:20 +1000)]
Use OSM tiles in Geolocation plugin #5466
MapQuest recently disabled free-as-in-beer access to their map tiles, so let's
switch to free-as-in-speech images.
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Ben Sturmfels [Sat, 17 Sep 2016 14:48:32 +0000 (00:48 +1000)]
Spell-check the entire documentation.
Boris Bobrov [Fri, 16 Sep 2016 06:47:54 +0000 (09:47 +0300)]
Merge branch 'panel'
Boris Bobrov [Fri, 16 Sep 2016 06:46:59 +0000 (09:46 +0300)]
Add Dealsy to core reviewers
Boris Bobrov [Fri, 16 Sep 2016 06:30:58 +0000 (09:30 +0300)]
Added Josh Crompton to authors list
Josh Crompton [Mon, 15 Aug 2016 01:34:52 +0000 (11:34 +1000)]
Add padding around form field labels
Fixes #5468