mediagoblin.git
20 months agoFix saving original of the video master
Boris Bobrov [Fri, 13 Jul 2018 17:05:38 +0000 (19:05 +0200)]
Fix saving original of the video

Original of the video was not saved because info about it was not
written to the database. Fixed that.

Also removed original video from get_all_media listing. The method is
weird, we should evaluate whether it is video-specific and how to
generalize it.

20 months agosimplify an if and fix string formatting
Boris Bobrov [Fri, 13 Jul 2018 16:29:01 +0000 (18:29 +0200)]
simplify an if and fix string formatting

20 months agonitpicking
Boris Bobrov [Fri, 13 Jul 2018 13:00:58 +0000 (15:00 +0200)]
nitpicking

20 months agoclose tag in subtitles html
Boris Bobrov [Thu, 12 Jul 2018 17:06:18 +0000 (19:06 +0200)]
close tag in subtitles html

20 months agomove subtitles out of media streams in html
Boris Bobrov [Thu, 12 Jul 2018 17:04:45 +0000 (19:04 +0200)]
move subtitles out of media streams in html

20 months agoMerge branch 'transcoding_progress'
Boris Bobrov [Thu, 12 Jul 2018 16:49:35 +0000 (18:49 +0200)]
Merge branch 'transcoding_progress'

This probably broke stuff

20 months agoFixes for small bugs
Boris Bobrov [Thu, 12 Jul 2018 16:27:44 +0000 (18:27 +0200)]
Fixes for small bugs

There were some blocking issues in the code. They are small, but break
tests and/or production. Fixed some of them.

20 months agoalways guess the same filetype
Boris Bobrov [Thu, 12 Jul 2018 10:50:54 +0000 (12:50 +0200)]
always guess the same filetype

20 months agofinally fix url validator
Boris Bobrov [Thu, 12 Jul 2018 10:50:37 +0000 (12:50 +0200)]
finally fix url validator

20 months agoRevert "Revert "Import messages in blog views""
Boris Bobrov [Thu, 12 Jul 2018 05:36:00 +0000 (07:36 +0200)]
Revert "Revert "Import messages in blog views""

This reverts commit 8c36ec5246828e3c99d956edd8524f3ade430571.

20 months agofix typo
Boris Bobrov [Wed, 11 Jul 2018 16:26:23 +0000 (18:26 +0200)]
fix typo

20 months agofix auth error and simplify url and email checks
Boris Bobrov [Wed, 11 Jul 2018 15:30:09 +0000 (17:30 +0200)]
fix auth error and simplify url and email checks

20 months agoremove requirement for the file to be with single dot in name
Boris Bobrov [Wed, 11 Jul 2018 14:54:08 +0000 (16:54 +0200)]
remove requirement for the file to be with single dot in name

20 months agofix default gmg help message
Boris Bobrov [Wed, 11 Jul 2018 14:53:32 +0000 (16:53 +0200)]
fix default gmg help message

20 months agoMerge remote-tracking branch 'gsoc2016/Subtitle-1'
Boris Bobrov [Tue, 10 Jul 2018 16:29:30 +0000 (18:29 +0200)]
Merge remote-tracking branch 'gsoc2016/Subtitle-1'

20 months agoFix server crash on blog about page [#5572]
Andrew Browning [Sun, 8 Jul 2018 23:00:52 +0000 (19:00 -0400)]
Fix server crash on blog about page [#5572]

Don't bother checking for user's blog if no user returned.

21 months ago2 bug fixes in editor views
ĎÚβĨŐÚŚ Dod [Tue, 26 Jun 2018 13:28:29 +0000 (09:28 -0400)]
2 bug fixes in editor views

* `WTForms` instances get `__init__`-ed with `defaults` as `kwargs`.
  The first arg is a `request.form` (which is what one must supply if
  this is a `POST` and must *not* supply otherwise).
  The content of that form (empty on `GET`) has higher priority than
  the defaults (which makes the user get an empty form).

* Fix `edit_profile()` to allow changing `location` from a non-blank
  value to blank (i.e. removing the location).

(cherry picked from commit 75f3e23b92392b9bd309fab4c1a52fd38d453627)

21 months agoRevert "cap sqlalchemy"
Boris Bobrov [Fri, 8 Jun 2018 15:46:29 +0000 (17:46 +0200)]
Revert "cap sqlalchemy"

This reverts commit d803f14361ec02878afe4f6b196ce917010a1e2f.
WTForms 2.2 was releases, see
https://issues.mediagoblin.org/ticket/5570#comment:6

22 months agoAdd Creative Commons 4.0 licenses [#955]
Dpg [Wed, 23 May 2018 14:59:38 +0000 (00:59 +1000)]
Add Creative Commons 4.0 licenses [#955]

Add CC version 4.0 licenses to SORTED_LICENSES.

23 months agocap sqlalchemy
Boris Bobrov [Mon, 30 Apr 2018 18:26:34 +0000 (20:26 +0200)]
cap sqlalchemy

Closes #5557 and fixes some complaints in irc

23 months agoAdd moderation panel thumbnail header [#5563]
Andrew Browning [Sun, 8 Apr 2018 23:49:46 +0000 (19:49 -0400)]
Add moderation panel thumbnail header [#5563]

Add moderation panel column header for thumbnail column.

23 months agoProcess videos with incorrect date tags [#5409]
Andrew Browning [Sun, 8 Apr 2018 23:40:02 +0000 (19:40 -0400)]
Process videos with incorrect date tags [#5409]

Video processing expects datetime tags in a specific format. This
commit allows videos with missing or incorrect datetime tags to be
processed with no datetime tags instead of failing.

2 years agoPrevent video plugin from processing svg [#934]
Andrew Browning [Wed, 25 Oct 2017 06:33:49 +0000 (02:33 -0400)]
Prevent video plugin from processing svg [#934]

Prior to the gstreamer-1.0 upgrade, the video processing engine included
a check for excluded extensions which gstreamer might accept despite us
not wanting to process them. In commit 91f5f5e, the check against
EXCLUDED_EXT was removed. Since then, the video plugin has accepted and
attempted to process svg files.

This commit adds the check against EXCLUDED_EXTS into the sniff_handler
function so that we can bail out on certain file extensions before the
plugins tries to sniff the file type. The previous implementation
excluded nef files, which appears to be a Nikon camera image. I've
copied that forward to this code. I've also added a log message to
indicate that we're purposefully refusing to process the file.

2 years agoRemove backup file added in b5dd245
Andrew Browning [Wed, 4 Apr 2018 19:24:08 +0000 (15:24 -0400)]
Remove backup file added in b5dd245

2 years agoUse https:// instead of git:// to clone [#5551]
Andrew Browning [Mon, 2 Apr 2018 05:34:35 +0000 (01:34 -0400)]
Use https:// instead of git:// to clone [#5551]

This was partially addressed in eee3e41 but missed many items.

2 years agoAdd chrysn to AUTHORS
Andrew Browning [Wed, 29 Nov 2017 16:56:22 +0000 (11:56 -0500)]
Add chrysn to AUTHORS

2 years agoFix EXIF rotation to make the image portrait on demand
chrysn [Wed, 30 Aug 2017 20:59:32 +0000 (22:59 +0200)]
Fix EXIF rotation to make the image portrait on demand

Closes: https://issues.mediagoblin.org/ticket/5525
Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
2 years agoadd alembic migrations to MANIFEST
Boris Bobrov [Fri, 17 Nov 2017 11:23:12 +0000 (14:23 +0300)]
add alembic migrations to MANIFEST

Alembic migrations do not get imported anywhere. Because of it
they do not get included to the python package. But they need to
be there in order for migrations to succeed.

2 years agomove alembic.ini to python app dir
Boris Bobrov [Tue, 14 Nov 2017 19:01:19 +0000 (22:01 +0300)]
move alembic.ini to python app dir

2 years agoadd alembic.ini to MANISFEST.in
Boris Bobrov [Tue, 14 Nov 2017 16:22:17 +0000 (19:22 +0300)]
add alembic.ini to MANISFEST.in

2 years agoremove mentions of mediagoblin_local.ini
Boris Bobrov [Sun, 12 Nov 2017 23:43:25 +0000 (02:43 +0300)]
remove mentions of mediagoblin_local.ini

2 years agoclarify installation instructions about mediagoblin.ini
Boris Bobrov [Sun, 12 Nov 2017 23:38:44 +0000 (02:38 +0300)]
clarify installation instructions about mediagoblin.ini

2 years agoAdded tests for tags in image API object
Romain Porte [Sat, 11 Nov 2017 18:23:31 +0000 (19:23 +0100)]
Added tests for tags in image API object

2 years agoAdded tags in API (view them and edit them)
Romain Porte [Sat, 11 Nov 2017 18:23:30 +0000 (19:23 +0100)]
Added tags in API (view them and edit them)

2 years agoImproved gitignores for patch submitting
Romain Porte [Sat, 11 Nov 2017 18:02:12 +0000 (19:02 +0100)]
Improved gitignores for patch submitting

In order to ease the patch submitting process, *.patch was added as per
Linux kernel's .gitignore. Test cache directory was also added in its
own gitignore (as per kernel's recommendation on .gitignore location).

2 years agoFixed flake8 errors for tests/test_api.py
Romain Porte [Sat, 11 Nov 2017 17:29:56 +0000 (18:29 +0100)]
Fixed flake8 errors for tests/test_api.py

Since I am adding a test I also took time to fix all flake8 errors in
this test file, since I may add more tests in there and I prefer to work
on a coherent code base.

2 years agoAdded tests for custom file name using API
Romain Porte [Sat, 11 Nov 2017 17:29:55 +0000 (18:29 +0100)]
Added tests for custom file name using API

This adds a new test and verify that the old test has the
"unknown.<extension>" format. As funny as it seems, the "image/jpeg"
Content-Type will generate a ".jpe" extension but I was expecting a more
common ".jpg" extension. This may be a bug, but this is not the subject
of this patch.

2 years agoChange API filename upload using custom header
Romain Porte [Sat, 11 Nov 2017 17:29:54 +0000 (18:29 +0100)]
Change API filename upload using custom header

When uploading a file using the API its same is always going to be
'unknown.<extension>', which is not good looking for file urls. This
patch proposes a custom header named 'X-File-Name' that allows to
specify a file name using an API client.

This changeset was tested with a local OAuth1 client.

2 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin
Boris Bobrov [Sat, 11 Nov 2017 13:05:43 +0000 (16:05 +0300)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin

2 years agoadd Roman to AUTHORS
Boris Bobrov [Sat, 11 Nov 2017 13:05:02 +0000 (16:05 +0300)]
add Roman to AUTHORS

2 years agoReplaced /bin/celeryd by /bin/celery in lazycelery
Romain Porte [Sat, 11 Nov 2017 12:34:59 +0000 (13:34 +0100)]
Replaced /bin/celeryd by /bin/celery in lazycelery

On a fresh clone the celeryd executable is not present. This is because
of the celery version migration to celery 4.x. As per celery's
documentation at http://docs.celeryproject.org/en/latest/whatsnew-4.0.html,
celeryd is no longer shipped in this version.

2 years agoFix location of host-meta.xml file [#5543]
Andrew Browning [Tue, 31 Oct 2017 15:55:52 +0000 (11:55 -0400)]
Fix location of host-meta.xml file [#5543]

2 years agoFix trivial spelling error in test comment
Andrew Browning [Mon, 23 Oct 2017 04:05:37 +0000 (00:05 -0400)]
Fix trivial spelling error in test comment

2 years agoPort batchaddmedia command to Python 3
Simen Heggestøyl [Sun, 8 Oct 2017 09:04:10 +0000 (11:04 +0200)]
Port batchaddmedia command to Python 3

2 years agoMake admin panel headers readable in Airy theme
Simen Heggestøyl [Sun, 8 Oct 2017 13:57:38 +0000 (15:57 +0200)]
Make admin panel headers readable in Airy theme

The admin panel headers are white by default, making them almost
unreadable on the light background used in the Airy theme. Make the
headers dark, like text elsewhere in the theme.

2 years agoHandle collection in batchaddmedia command
Simen Heggestøyl [Sun, 15 Oct 2017 11:33:36 +0000 (13:33 +0200)]
Handle collection in batchaddmedia command

Make the batchaddmedia command look for a 'collection-slug' column, that
for each row may specify the slug of a collection that the media should
be added to. This matches the '--collection-slug' argument of the
addmedia command.

2 years agoSupport Unicode characters in configuration values
Simen Heggestøyl [Sat, 14 Oct 2017 21:46:17 +0000 (23:46 +0200)]
Support Unicode characters in configuration values

Prior to this commit, using a Unicode character in a configuration
string would result in a `UnicodeDecodeError` being raised. Supporting
Unicode characters is especially useful in user-facing configuration
strings, such as `html_title`.

2 years agoRemove dead code in batchaddmedia.py
Simen Heggestøyl [Sun, 15 Oct 2017 11:44:17 +0000 (13:44 +0200)]
Remove dead code in batchaddmedia.py

Remove an unused import and an unused local variable from
batchaddmedia.py.

2 years agoUpdate batchaddmedia csv description docs [5458]
Andrew Browning [Sun, 8 Oct 2017 20:19:16 +0000 (16:19 -0400)]
Update batchaddmedia csv description docs [5458]

Commit c0ea2bad changed the expected location column header of csv files
used by the batchaddmedia command from 'media:location' to 'location'.
This change updates the docs to match.

2 years agoFix #5460 - Log IP address for failed login
Andrew Browning [Tue, 15 Aug 2017 06:11:06 +0000 (02:11 -0400)]
Fix #5460 - Log IP address for failed login

This patch logs the remote address when a login attempt fails.

2 years agoFix #5517 - Change docs to clone repo using https
Andrew Browning [Wed, 20 Sep 2017 05:39:46 +0000 (01:39 -0400)]
Fix #5517 - Change docs to clone repo using https

2 years agoAdd unit test for #5524
Andrew Browning [Wed, 20 Sep 2017 05:02:10 +0000 (01:02 -0400)]
Add unit test for #5524

Add a unit test to verify that the change introduced in 07c535c no
longer resulst in a zero divide error when gps data contains no divisor.

This commit includes a test image created by Andrew Browning. Andrew
Browning dedicates this image to the public domain under the CC0 license.

2 years agoFix #5524 Zero division error in exif.py
Andrew Browning [Wed, 20 Sep 2017 04:20:43 +0000 (00:20 -0400)]
Fix #5524 Zero division error in exif.py

This patch implements the safe_gps_ratio_divide function for gps
direction and altitude values to prevent a zero divide error on
malformed GPS data.

2 years agoMerge branch 'multiple-qualities-frontend' into 'transcoding_progress'
Vijeth Aradhya [Tue, 29 Aug 2017 06:06:23 +0000 (06:06 +0000)]
Merge branch 'multiple-qualities-frontend' into 'transcoding_progress'

Minor changes

See merge request !3

2 years agoChange complimentary_task to complementary_tas
vijeth-aradhya [Tue, 29 Aug 2017 05:56:12 +0000 (11:26 +0530)]
Change complimentary_task to complementary_tas

Closes #11

2 years agoRemove self.entry in VideoTranscoder
vijeth-aradhya [Sun, 27 Aug 2017 17:42:46 +0000 (23:12 +0530)]
Remove self.entry in VideoTranscoder

2 years agoShow default resolution progress in processing panel
vijeth-aradhya [Tue, 22 Aug 2017 08:05:44 +0000 (13:35 +0530)]
Show default resolution progress in processing panel

2 years agoAdd main_transcoding_progress to ProgressCallback
vijeth-aradhya [Tue, 22 Aug 2017 08:00:13 +0000 (13:30 +0530)]
Add main_transcoding_progress to ProgressCallback

2 years agoAdd main_transcoding_progress column migration
vijeth-aradhya [Tue, 22 Aug 2017 07:52:23 +0000 (13:22 +0530)]
Add main_transcoding_progress column migration

This field is required to store the progress of the default
resolution of the media. So, we now store the total progress of transcoding
the video in 'transcoding_progress' and progress of transcoding the default
resolution in 'main_transcoding_progress'.

2 years agoAdd videojs-resolution-switcher to gitignore
vijeth-aradhya [Mon, 21 Aug 2017 18:45:21 +0000 (00:15 +0530)]
Add videojs-resolution-switcher to gitignore

2 years agoCreate a seperate test for get_all_media
vijeth-aradhya [Thu, 17 Aug 2017 12:27:29 +0000 (17:57 +0530)]
Create a seperate test for get_all_media

2 years agoAdd test for get_all_media()
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.

2 years agoFix #5514 - Add to Collection causes server error
ayleph [Thu, 29 Jun 2017 04:49:29 +0000 (21:49 -0700)]
Fix #5514 - Add to Collection causes server error

Re-arrange code to check whether a collection has been selected prior
to checking whether an item already exists in the selected collection.
This fixes a regression introduced in 0f3bf8d.

2 years agoProperly escape asterisk in *buntu
Andrew Browning [Tue, 15 Aug 2017 06:29:54 +0000 (02:29 -0400)]
Properly escape asterisk in *buntu

2 years agoFix #5513 - Can't delete blog post drafts
ayleph [Wed, 28 Jun 2017 05:45:42 +0000 (22:45 -0700)]
Fix #5513 - Can't delete blog post drafts

Modify the @get_media_entry_by_id decorator to return media regardless
of processing state. Separately modify all view functions that use the
@get_media_entry_by_id decorator to require that the media be in the
processed state, other than for the media_confirm_delete view. This
allows blog post drafts to be deleted without returning a 404. Further,
it adds the ability to delete unprocessed media in the future, which
would be a nice addition to the user processing panel.

2 years agoChange webm to webm_video in media_size check
vijeth-aradhya [Mon, 14 Aug 2017 14:07:37 +0000 (19:37 +0530)]
Change webm to webm_video in media_size check

Closes #8

2 years agoMerge branch 'master' into 'multiple-qualities-frontend'
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

2 years agoSmall changes to fixing transcode percentage
vijeth-aradhya [Fri, 11 Aug 2017 14:10:41 +0000 (19:40 +0530)]
Small changes to fixing transcode percentage

Related to #6

2 years agoChange entry.title to entry.id in logging
vijeth-aradhya [Thu, 10 Aug 2017 14:09:33 +0000 (19:39 +0530)]
Change entry.title to entry.id in logging

Related to #5

2 years agoFix percentage reporting
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

2 years agoAdd unicode to accomodate title of MediaEntry
vijeth-aradhya [Tue, 8 Aug 2017 16:39:08 +0000 (22:09 +0530)]
Add unicode to accomodate title of MediaEntry

Related to #5

2 years agoReplace print statements to logging
vijeth-aradhya [Sat, 5 Aug 2017 11:53:17 +0000 (17:23 +0530)]
Replace print statements to logging

Closes #5

2 years agoAdd previous mg css to video player
vijeth-aradhya [Mon, 31 Jul 2017 16:38:28 +0000 (22:08 +0530)]
Add previous mg css to video player

2 years agoModify video.html to add video-resolution-switcher plugin
vijeth-aradhya [Sun, 23 Jul 2017 04:42:07 +0000 (10:12 +0530)]
Modify video.html to add video-resolution-switcher plugin

2 years agoAdd change-video-resolution.js to start 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

2 years agoAdd video-resolution-switcher (video.js plugin) v0.4.2
vijeth-aradhya [Sun, 23 Jul 2017 04:36:18 +0000 (10:06 +0530)]
Add video-resolution-switcher (video.js plugin) v0.4.2

2 years agoChange video.js version to v5.20.1
vijeth-aradhya [Sun, 23 Jul 2017 04:33:45 +0000 (10:03 +0530)]
Change video.js version to v5.20.1

2 years agoRevert "Modify video template to accomodate multiple resolutions"
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.

2 years agoRevert "Add change-video-resolution.js to start the plugin"
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.

2 years agoRevert "Modify video-js link folder and change version"
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.

2 years agoRevert "Add video-resolution-switcher (v0.4.2) plugin"
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.

2 years agoAdd video-resolution-switcher (v0.4.2) plugin
vijeth-aradhya [Tue, 18 Jul 2017 04:16:37 +0000 (09:46 +0530)]
Add video-resolution-switcher (v0.4.2) plugin

2 years agoModify video-js link folder and change version
vijeth-aradhya [Tue, 18 Jul 2017 04:14:06 +0000 (09:44 +0530)]
Modify video-js link folder and change version

2 years agoAdd change-video-resolution.js to start the plugin
vijeth-aradhya [Sun, 16 Jul 2017 15:48:05 +0000 (21:18 +0530)]
Add change-video-resolution.js to start the plugin

2 years agoModify video template to accomodate multiple resolutions
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.

2 years agoAdd get_all_media() in MediaEntryMixin
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.

2 years agoAdd property to media_fetch_order
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.

2 years agoFix test_accepted_resolutions
vijeth-aradhya [Mon, 26 Jun 2017 19:34:55 +0000 (01:04 +0530)]
Fix test_accepted_resolutions

Add {'webm': (640, 640)}

2 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin
Boris Bobrov [Mon, 26 Jun 2017 18:32:56 +0000 (21:32 +0300)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin

2 years agoImplement copy_original and _keep_best
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.

2 years agoTest whether video is transcoded to all 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.

2 years agoTest accepted_files and accepted_resolutions
vijeth-aradhya [Sun, 25 Jun 2017 13:17:04 +0000 (18:47 +0530)]
Test accepted_files and accepted_resolutions

2 years agoAdd test_chord for TestSubmissionVideo
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.

2 years agoAdd VideoProcessingManager.workflow() tests
vijeth-aradhya [Sat, 24 Jun 2017 17:15:14 +0000 (22:45 +0530)]
Add VideoProcessingManager.workflow() tests

Testing workflow method including its return data.

2 years agoUse tuple as default return type of workflow()
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

2 years agoAdd choice of video resolutions for instance owner
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.

2 years agoApply button_warning style to blog delete buttons
Andrew Browning [Mon, 19 Jun 2017 04:58:21 +0000 (00:58 -0400)]
Apply button_warning style to blog delete buttons

2 years agoFix #830 - Remove exif from blog posts
Andrew Browning [Mon, 19 Jun 2017 04:11:29 +0000 (00:11 -0400)]
Fix #830 - Remove exif from blog posts

2 years agoRemove mongodb-related stuff
Boris Bobrov [Sun, 18 Jun 2017 14:08:30 +0000 (17:08 +0300)]
Remove mongodb-related stuff

We dropped mongodb a long time ago

2 years agoAdd Robert to AUTHORS
Boris Bobrov [Sun, 18 Jun 2017 10:38:59 +0000 (13:38 +0300)]
Add Robert to AUTHORS