mediagoblin.git
6 years agoCelery Priority testing with debug statements
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.

6 years agoFew more changes to celery priority tasking
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.

6 years agoAdd priority 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.

6 years agoAdd additional celery config settings
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.

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

6 years agoFix tests to reflect that we've moved to amqp
Boris Bobrov [Sat, 10 Jun 2017 09:22:58 +0000 (12:22 +0300)]
Fix tests to reflect that we've moved to amqp

6 years agomove exifread to other dependencies
Boris Bobrov [Fri, 9 Jun 2017 22:29:19 +0000 (01:29 +0300)]
move exifread to other dependencies

6 years agoMerge branch 'amqp-switch'
Boris Bobrov [Fri, 9 Jun 2017 22:25:24 +0000 (01:25 +0300)]
Merge branch 'amqp-switch'

6 years agoRemove upper cap on celery kombu
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

6 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin
Boris Bobrov [Fri, 9 Jun 2017 20:50:33 +0000 (23:50 +0300)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin

6 years agoSwitch to rabbitmq by default and in docs
Boris Bobrov [Fri, 9 Jun 2017 20:49:24 +0000 (23:49 +0300)]
Switch to rabbitmq by default and in docs

6 years agoAdd main_task, complimentary_task and cleanup
vijeth-aradhya [Wed, 7 Jun 2017 15:12:42 +0000 (20:42 +0530)]
Add main_task, complimentary_task and cleanup

6 years agoModify CommonVideoPrcoessor to accomodate mulitple qualities
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.

6 years agoAdd space between words in blog message
Andrew Browning [Tue, 6 Jun 2017 20:51:05 +0000 (16:51 -0400)]
Add space between words in blog message

6 years agoAdd register_captcha template hook
Andrew Browning [Wed, 1 Mar 2017 07:02:36 +0000 (02:02 -0500)]
Add register_captcha template hook

6 years agoAdd workflow method to other media ProcessingManagers
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.

6 years agoAdd workflow method to VideoProcessingManager
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.

6 years agoAdd workflow method to ProcessingManager
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.

6 years agomedia_types/video/processing.py: Move store_metadata
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.

6 years agomedia_types/video/util.py: Add accepted resolutions
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.

6 years agoChange all tabs to spaces in js file
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

7 years agoRemove tinymce from dependencies
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.

7 years agoChange aria-text when state changes
Boris Bobrov [Sun, 2 Apr 2017 22:52:14 +0000 (01:52 +0300)]
Change aria-text when state changes

7 years agoMake play button a button instead of div
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

7 years agoAdd aria attributes to audio player
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

7 years agoMove audio html out of js
Boris Bobrov [Sun, 2 Apr 2017 17:50:33 +0000 (20:50 +0300)]
Move audio html out of js

7 years agoCommit session after alembic updates have finished
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.

7 years agoPass connection to EnvironmentContext.configure
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.

7 years agoFix trivial spelling and spacing error in cli help
Andrew Browning [Wed, 1 Mar 2017 06:33:38 +0000 (01:33 -0500)]
Fix trivial spelling and spacing error in cli help

7 years agoFix #5500 UnicodeEncodeError in atom feed
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.

7 years agoedit_profile.html: Consistency in the width of input fields
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>
7 years agoHeaders for collection items
Boris Bobrov [Sun, 29 Jan 2017 16:29:39 +0000 (19:29 +0300)]
Headers for collection items

Fixes issue #776

7 years agoAdd Stéphane Péchard to authors
Boris Bobrov [Sun, 29 Jan 2017 16:11:59 +0000 (19:11 +0300)]
Add Stéphane Péchard to authors

7 years agoMerge remote-tracking branch 'spechards-mediagoblin/master'
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

7 years agooob.html: Removed line breaks around the verifier code
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

7 years agoAdd Varadhya to AUTHORS
Boris Bobrov [Sun, 29 Jan 2017 14:16:00 +0000 (17:16 +0300)]
Add Varadhya to AUTHORS

7 years agopost_comment.js, media.html: Add AJAX for posting comments
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

7 years agoFix #5484 - Add video icon to collection thumbnail
Andrew Browning [Mon, 17 Oct 2016 16:51:36 +0000 (12:51 -0400)]
Fix #5484 - Add video icon to collection thumbnail

7 years agoAdd media_titleinfo template hook
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.

7 years agoMerge branch '975-spanish-translation', fixes #975.
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.

7 years agoFix minor grammar issues in contributing docs; add new contributor.
Ben Sturmfels [Sat, 12 Nov 2016 22:48:54 +0000 (09:48 +1100)]
Fix minor grammar issues in contributing docs; add new contributor.

7 years agoAdd links in site-admin documentation foreword
Alexandre Franke [Thu, 3 Nov 2016 19:19:47 +0000 (20:19 +0100)]
Add links in site-admin documentation foreword

Fixes #5490

7 years agoUpdate contributor names.
Ben Sturmfels [Sat, 12 Nov 2016 22:26:54 +0000 (09:26 +1100)]
Update contributor names.

7 years agoMerge branch 'thumbnail', fixes #592.
Ben Sturmfels [Sat, 12 Nov 2016 22:21:05 +0000 (09:21 +1100)]
Merge branch 'thumbnail', fixes #592.

7 years agoMerge `white-space` change into main `.media_thumbnail` class.
Ben Sturmfels [Sat, 12 Nov 2016 22:20:37 +0000 (09:20 +1100)]
Merge `white-space` change into main `.media_thumbnail` class.

7 years agoApply consistency & PEP8 to atom feeds
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.

7 years agoAdd thumbnail image to Atom feed.
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>
7 years agoAdd kesara to list of AUTHORS
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.

7 years agoFix #664 - Text overflow in media headings
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>
7 years agoFix typo in user processing panel
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.

7 years agoUpdate maps copyright notice to OSM
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>
7 years agoUse OSM tiles in Geolocation plugin #5466
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>
7 years agoSpell-check the entire documentation.
Ben Sturmfels [Sat, 17 Sep 2016 14:48:32 +0000 (00:48 +1000)]
Spell-check the entire documentation.

7 years agoMerge branch 'panel'
Boris Bobrov [Fri, 16 Sep 2016 06:47:54 +0000 (09:47 +0300)]
Merge branch 'panel'

7 years agoAdd Dealsy to core reviewers
Boris Bobrov [Fri, 16 Sep 2016 06:46:59 +0000 (09:46 +0300)]
Add Dealsy to core reviewers

7 years agoAdded Josh Crompton to authors list
Boris Bobrov [Fri, 16 Sep 2016 06:30:58 +0000 (09:30 +0300)]
Added Josh Crompton to authors list

7 years agoAdd padding around form field labels
Josh Crompton [Mon, 15 Aug 2016 01:34:52 +0000 (11:34 +1000)]
Add padding around form field labels

Fixes #5468

7 years agoExtend Paginator tests to satisfy #55.
Ben Sturmfels [Thu, 15 Sep 2016 09:34:12 +0000 (21:34 +1200)]
Extend Paginator tests to satisfy #55.

7 years agoAdd Python 3 support in pagination.
Ben Sturmfels [Sun, 7 Aug 2016 11:48:52 +0000 (21:48 +1000)]
Add Python 3 support in pagination.

This issue was visible when attempting to view the home page of a MediaGoblin site with more than a single page worth of items, under Python 3.

7 years agoUpdate Spanish translation as reported by "teraflops" in ticket #975.
Ben Sturmfels [Wed, 14 Sep 2016 09:31:19 +0000 (21:31 +1200)]
Update Spanish translation as reported by "teraflops" in ticket #975.

7 years agoAdd documentation for header drop-down open/closed.
Ben Sturmfels [Sun, 11 Sep 2016 23:57:43 +0000 (11:57 +1200)]
Add documentation for header drop-down open/closed.

7 years agoModify setup.py version syntax to address #5464
Andrew Browning [Fri, 26 Aug 2016 15:34:18 +0000 (11:34 -0400)]
Modify setup.py version syntax to address #5464

Some users report that even with version <4.0 specified in setup.py,
the 4.0-rc builds of kombu and celery were still being downloaded.
This patch uses a different version syntax as suggested in a Stack
Overflow thread.

https://stackoverflow.com/a/14405269

7 years agoFixed Copyright Headers
saksham1115 [Tue, 16 Aug 2016 17:26:09 +0000 (17:26 +0000)]
Fixed Copyright Headers

7 years agoMake the panel default to open and remember preference in local storage.
Matt [Tue, 16 Aug 2016 04:56:39 +0000 (14:56 +1000)]
Make the panel default to open and remember preference in local storage.

7 years agoRevert "fixed bug #728"
Boris Bobrov [Tue, 16 Aug 2016 00:45:20 +0000 (03:45 +0300)]
Revert "fixed bug #728"

This reverts commit dbb86ffbbf25651330266435752a6a0422cfb6e5.

It caused bug 5469

7 years agochanged css to fix text on thumbnail
Matt [Mon, 15 Aug 2016 05:11:12 +0000 (15:11 +1000)]
changed css to fix text on thumbnail

7 years agoTests for handling customize interface exception
saksham1115 [Sat, 13 Aug 2016 18:03:18 +0000 (18:03 +0000)]
Tests for handling customize interface exception

7 years agoExceptional handling for customizing subitles
saksham1115 [Sat, 13 Aug 2016 17:40:28 +0000 (17:40 +0000)]
Exceptional handling for customizing subitles

7 years agoAdded basic tests for the subtitle plugin
saksham1115 [Fri, 12 Aug 2016 12:56:18 +0000 (12:56 +0000)]
Added basic tests for the subtitle plugin

7 years agoStarted the unit tests
saksham1115 [Fri, 12 Aug 2016 00:15:20 +0000 (00:15 +0000)]
Started the unit tests

7 years agoDo not try to get private attributes for comments
Boris Bobrov [Sun, 7 Aug 2016 23:26:25 +0000 (02:26 +0300)]
Do not try to get private attributes for comments

Most probably, they are sqlalchemy's!

7 years agoPass test paths to py.test via tox
Boris Bobrov [Sun, 7 Aug 2016 21:34:08 +0000 (00:34 +0300)]
Pass test paths to py.test via tox

Py.test has an ability to run only tests which match the given
substring expression.

Add an ability to do it via tox.

7 years agoUsing subtitle id instead of subitle path in the url
saksham1115 [Sat, 6 Aug 2016 11:22:11 +0000 (11:22 +0000)]
Using subtitle id instead of subitle path in the url

7 years agoSome fixes
saksham1115 [Tue, 2 Aug 2016 21:31:59 +0000 (21:31 +0000)]
Some fixes

7 years agoAdding compatibility stuff for themes
Boris Bobrov [Sun, 31 Jul 2016 04:17:03 +0000 (07:17 +0300)]
Adding compatibility stuff for themes

During our migration to federation some interfaces were changed. We
should not have done that so fast.

Provide a compatibility layer so that old themes work

7 years agoFixing themes
Boris Bobrov [Sun, 31 Jul 2016 04:16:48 +0000 (07:16 +0300)]
Fixing themes

7 years agoRenamed plugin from custom_subtitles to subtitles
saksham1115 [Sat, 30 Jul 2016 18:48:24 +0000 (18:48 +0000)]
Renamed plugin from custom_subtitles to subtitles

7 years agoChecking filename and extension of subtitle uploaded
saksham1115 [Wed, 27 Jul 2016 17:28:56 +0000 (17:28 +0000)]
Checking filename and extension of subtitle uploaded

7 years agoRemoved path_subtitle from edit/views.py
saksham1115 [Tue, 26 Jul 2016 01:50:02 +0000 (01:50 +0000)]
Removed path_subtitle from edit/views.py

7 years agoUsing with statement for editing files
saksham1115 [Mon, 25 Jul 2016 19:23:31 +0000 (19:23 +0000)]
Using with statement for editing files

7 years agoCap kombu and celery
Boris Bobrov [Mon, 25 Jul 2016 02:23:16 +0000 (05:23 +0300)]
Cap kombu and celery

See issue 5464 for details

7 years agofixed bug #728
Boris Bobrov [Fri, 20 Jun 2014 04:03:29 +0000 (08:03 +0400)]
fixed bug #728

7 years agoMerge branch 'fix-unhelpful-smtp-error-5081'
Boris Bobrov [Mon, 25 Jul 2016 00:59:49 +0000 (03:59 +0300)]
Merge branch 'fix-unhelpful-smtp-error-5081'

7 years agoFix #928 - cleanup to avoid duplicated get_upload_file_limits
Loic Dachary [Thu, 28 Jan 2016 08:10:03 +0000 (15:10 +0700)]
Fix #928 - cleanup to avoid duplicated get_upload_file_limits

Signed-off-by: Loic Dachary <loic@dachary.org>
7 years agoFix #822 - doc typo s/Plugin/PluginManager/
Loic Dachary [Tue, 12 Jan 2016 22:05:43 +0000 (23:05 +0100)]
Fix #822 - doc typo s/Plugin/PluginManager/

Signed-off-by: Loic Dachary <loic@dachary.org>
7 years agoAdd one more contributor
Boris Bobrov [Mon, 25 Jul 2016 00:40:19 +0000 (03:40 +0300)]
Add one more contributor

Thanks, Jonathan Sandoval!

7 years agoUse GLib instead of GObject
Boris Bobrov [Mon, 25 Jul 2016 00:39:23 +0000 (03:39 +0300)]
Use GLib instead of GObject

Thanks mi!

Fixes bug 5399

7 years agoMerge branch 'login-validator-5414'
Boris Bobrov [Mon, 25 Jul 2016 00:23:25 +0000 (03:23 +0300)]
Merge branch 'login-validator-5414'

7 years agoRemoved path_subtitle as a decorator
saksham1115 [Tue, 19 Jul 2016 18:15:36 +0000 (18:15 +0000)]
Removed path_subtitle as a decorator

7 years agoAdded the feature for deleting the subtitle
saksham1115 [Sat, 16 Jul 2016 18:24:31 +0000 (18:24 +0000)]
Added the feature for deleting the subtitle

7 years agoRemoved dependence on absolute path for editing
saksham1115 [Sat, 16 Jul 2016 09:44:21 +0000 (09:44 +0000)]
Removed dependence on absolute path for editing

7 years agoDeleted old templates files
saksham1115 [Sat, 16 Jul 2016 00:27:46 +0000 (00:27 +0000)]
Deleted old templates files

7 years agoRemoved almost all of the code from core
saksham1115 [Sat, 16 Jul 2016 00:19:53 +0000 (00:19 +0000)]
Removed almost all of the code from core

7 years agoFixed media.html by using plugin hook
saksham1115 [Sat, 16 Jul 2016 00:07:58 +0000 (00:07 +0000)]
Fixed media.html by using plugin hook

7 years agoCreating plugins views.py
saksham1115 [Fri, 15 Jul 2016 23:58:33 +0000 (23:58 +0000)]
Creating plugins views.py

7 years agoCreating plugin tools.py
saksham1115 [Fri, 15 Jul 2016 23:54:05 +0000 (23:54 +0000)]
Creating plugin tools.py

7 years agoCreating plugin templates
saksham1115 [Fri, 15 Jul 2016 23:53:17 +0000 (23:53 +0000)]
Creating plugin templates

7 years agoCreating models.py
saksham1115 [Fri, 15 Jul 2016 23:46:44 +0000 (23:46 +0000)]
Creating models.py

7 years agoCreating plugin forms.py
saksham1115 [Fri, 15 Jul 2016 23:46:06 +0000 (23:46 +0000)]
Creating plugin forms.py

7 years agoMaking changes to plugins __init__.py
saksham1115 [Fri, 15 Jul 2016 23:45:11 +0000 (23:45 +0000)]
Making changes to plugins __init__.py