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.
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 [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
Ben Sturmfels [Thu, 15 Sep 2016 09:34:12 +0000 (21:34 +1200)]
Extend Paginator tests to satisfy #55.
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.
Ben Sturmfels [Wed, 14 Sep 2016 09:31:19 +0000 (21:31 +1200)]
Update Spanish translation as reported by "teraflops" in ticket #975.
Ben Sturmfels [Sun, 11 Sep 2016 23:57:43 +0000 (11:57 +1200)]
Add documentation for header drop-down open/closed.
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
Matt [Tue, 16 Aug 2016 04:56:39 +0000 (14:56 +1000)]
Make the panel default to open and remember preference in local storage.
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
Matt [Mon, 15 Aug 2016 05:11:12 +0000 (15:11 +1000)]
changed css to fix text on thumbnail
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!
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.
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
Boris Bobrov [Sun, 31 Jul 2016 04:16:48 +0000 (07:16 +0300)]
Fixing themes
Boris Bobrov [Mon, 25 Jul 2016 02:23:16 +0000 (05:23 +0300)]
Cap kombu and celery
See issue 5464 for details
Boris Bobrov [Fri, 20 Jun 2014 04:03:29 +0000 (08:03 +0400)]
fixed bug #728
Boris Bobrov [Mon, 25 Jul 2016 00:59:49 +0000 (03:59 +0300)]
Merge branch 'fix-unhelpful-smtp-error-5081'
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>
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>
Boris Bobrov [Mon, 25 Jul 2016 00:40:19 +0000 (03:40 +0300)]
Add one more contributor
Thanks, Jonathan Sandoval!
Boris Bobrov [Mon, 25 Jul 2016 00:39:23 +0000 (03:39 +0300)]
Use GLib instead of GObject
Thanks mi!
Fixes bug 5399
Boris Bobrov [Mon, 25 Jul 2016 00:23:25 +0000 (03:23 +0300)]
Merge branch 'login-validator-5414'
Andrew Browning [Tue, 19 Jul 2016 04:16:48 +0000 (00:16 -0400)]
Fix #5462 - attempt to change email without login
Require an active login when accessing the form to change an email
address associated with an account. This prevents a server crash when
a user is assumed to be part of the request.
Christopher Allan Webber [Thu, 14 Jul 2016 15:48:28 +0000 (10:48 -0500)]
Prevent erroring out in some cases of checking video metadata
Christopher Allan Webber [Wed, 13 Jul 2016 14:11:40 +0000 (09:11 -0500)]
A bit of a documentation update around celery systemd init files
Leah Velleman [Tue, 21 Jun 2016 02:08:55 +0000 (22:08 -0400)]
use is_rtl variable to detect rtl locales
Leah Velleman [Mon, 20 Jun 2016 21:06:41 +0000 (17:06 -0400)]
fixed 'older' and 'newer' arrows for rtl locales
Jonathan Sandoval [Fri, 8 Apr 2016 18:21:31 +0000 (13:21 -0500)]
Include original error in debug log
Jonathan Sandoval [Fri, 8 Apr 2016 18:17:26 +0000 (13:17 -0500)]
squash! Custom exception in mail.
Jonathan Sandoval [Fri, 8 Apr 2016 18:12:21 +0000 (13:12 -0500)]
Custom exception in mail.
Jonathan Sandoval [Fri, 8 Apr 2016 18:07:06 +0000 (13:07 -0500)]
Mail tests with no mail server configured.
Jonathan Sandoval [Thu, 7 Apr 2016 21:34:00 +0000 (16:34 -0500)]
No length check for login form
Jonathan Sandoval [Thu, 7 Apr 2016 21:29:15 +0000 (16:29 -0500)]
Tests for short and long usernames.
Jonathan Sandoval [Thu, 7 Apr 2016 16:55:45 +0000 (11:55 -0500)]
Test with short and long username
Andrew Browning [Sun, 3 Apr 2016 05:10:22 +0000 (01:10 -0400)]
Import messages in blog views
Andrew Browning [Sat, 2 Apr 2016 01:14:40 +0000 (21:14 -0400)]
Fix #5451 - add_message inconsistencies
Reformat add_message function calls for consistency and PEP8 line
continuations.
Berker Peksag [Sat, 2 Apr 2016 17:48:04 +0000 (20:48 +0300)]
Replace raw_input with six.moves.input
Fixes #5441
宋文武 [Sat, 2 Apr 2016 03:45:25 +0000 (11:45 +0800)]
Fix the blog_delete page for admins.
* mediagoblin/media_types/blog/views.py: Import WARNING from mediagoblin.messages.
Christopher Allan Webber [Tue, 29 Mar 2016 21:41:57 +0000 (14:41 -0700)]
tests: Fix migration tests; foundations are now installed separately
* mediagoblin/tests/test_sql_migrations.py: Import migration.changeset
even in python 3.
(FOUNDATIONS): Removed.
(test_set1_to_set3): Removed foundations checks.
Christopher Allan Webber [Tue, 29 Mar 2016 21:24:59 +0000 (14:24 -0700)]
tests: importorskip migration tests on "migrate" rather than on Python 3
Previously we assumed we wouldn't run migration tests if we're on
Python 3, but now that we support sqlalchemy-migrate with Python 3,
switch to checking based on "migrate" importability.
* mediagoblin/tests/test_sql_migrations.py: Update test skipping to
rely on "migrate" module presence rather than Python 3 check.
Christopher Allan Webber [Tue, 29 Mar 2016 21:26:03 +0000 (14:26 -0700)]
Now on MediaGoblin 1.0 development cycle!
* configure.ac (AC_INIT):
* mediagoblin/_version.py (__version__): Update version to 1.0.dev.
Christopher Allan Webber [Tue, 29 Mar 2016 19:06:44 +0000 (12:06 -0700)]
devtools: Update maketarball.sh to use #!/bin/sh as shebang
* devtools/maketarball.sh: Updated shebang.
Christopher Allan Webber [Tue, 29 Mar 2016 19:04:37 +0000 (19:04 +0000)]
Committing extracted and compiled translations
Christopher Allan Webber [Tue, 29 Mar 2016 19:00:28 +0000 (12:00 -0700)]
devtools: Use pybabel in virtualenv or on path depending on which is present.
* devtools/update_translations.sh (PYBABEL): New variable, points to
whichever pybabel we should use.
Christopher Allan Webber [Tue, 29 Mar 2016 18:59:31 +0000 (11:59 -0700)]
guix: Add additional useful packages for development
* guix-env.scm: Added openssh, git, and rsync in the development package.
Christopher Allan Webber [Tue, 29 Mar 2016 18:47:02 +0000 (11:47 -0700)]
devtools: Switching "#!/usr/bin/env bash" -> "#!/bin/sh" again
This makes things easier on Guix and etc. We don't need Bash
specifically, just something Bourne-compatible, which all Posix
machines should theoretically provide.
* devtools/update_translations.sh: Updated shebang.
Christopher Allan Webber [Tue, 29 Mar 2016 18:42:20 +0000 (11:42 -0700)]
On MediaGoblin 0.9.0!
* configure.ac (AC_INIT):
* mediagoblin/_version.py (__version__): Update to 0.9.0.
Christopher Allan Webber [Tue, 29 Mar 2016 18:30:26 +0000 (11:30 -0700)]
doc: 0.9.0 release notes
* doc/source/siteadmin/relnotes.rst: Add release notes for 0.9.0.
Christopher Allan Webber [Tue, 29 Mar 2016 17:11:11 +0000 (10:11 -0700)]
AUTHORS: Adding new 0.9.0 contributors.
* AUTHORS: Adding new contributors
Christopher Allan Webber [Tue, 29 Mar 2016 16:44:34 +0000 (09:44 -0700)]
migrations: Only don't import "migrate" if it's not available
* mediagoblin/db/migrations.py: Import migrate if available; if not
print a warning.
Christopher Allan Webber [Sat, 26 Mar 2016 18:37:52 +0000 (11:37 -0700)]
doc: Update developer migration docs for Alembic as primary migration system
* docs/source/devel/migrations.rst: Update to reflect sqlalchemy-migrate
as being deprecated and Alembic as being the new way of doing
migrations.
Christopher Allan Webber [Fri, 25 Mar 2016 23:21:58 +0000 (16:21 -0700)]
Update make_example_database.sh to use #!/bin/sh instead of #!/usr/bin/env
* devtools/make_example_database.sh: Update shebang.
Christopher Allan Webber [Fri, 25 Mar 2016 22:47:19 +0000 (15:47 -0700)]
doc: Update plugins documentation in light of alembic branching usage
* docs/source/siteadmin/plugins.rst:
Added a reminder to run "./bin/gmg dbupdate" after installing a plugin.
Added a new "Deactivating plugins" section.
Renamed "Removing plugins" to "Removing plugin packages".
Christopher Allan Webber [Fri, 25 Mar 2016 22:26:07 +0000 (15:26 -0700)]
dbupdate: Correctly handle plugin foundations
* mediagoblin/gmg_commands/dbupdate.py (run_foundations):
When adding a plugin's foundations, correctly append both
the name and the foundations in a tuple to the list.
This prevents errors.
Christopher Allan Webber [Fri, 25 Mar 2016 22:07:36 +0000 (15:07 -0700)]
doc: Note that plugin authors must NEVER modify tables they don't control
* docs/source/pluginwriter/database.rst: New paragraph.
Christopher Allan Webber [Fri, 25 Mar 2016 20:38:58 +0000 (13:38 -0700)]
Update database docs for plugin authors for new alembic branching world
Things have gotten both easier and more complex in the branching world
view. Plugins branch off of main with their own migrations.
Generating these has become a bit easier, but the steps for doing this
are a bit wordy to explain.
* docs/source/pluginwriter/database.rst: Update both the
"Creating new Tables" and "Changing the Database Schema Later"
sections accordingly.
Christopher Allan Webber [Fri, 25 Mar 2016 00:13:34 +0000 (17:13 -0700)]
Add comment questioning why run_dbupdate is needed in get_app test utility
* mediagoblin/tests/tools.py (get_app): Add comment
Christopher Allan Webber [Fri, 25 Mar 2016 00:12:16 +0000 (17:12 -0700)]
Fix tests post-alembic-migration-changes.
* mediagoblin/init/__init__.py (setup_database): Update to run alembic
migrations, skip the old legacy migrations.
Christopher Allan Webber [Sat, 12 Mar 2016 23:46:02 +0000 (15:46 -0800)]
Only run archivalook migration if the tables aren't there.
Standard for anything existing before the Alembic move-over, but I
forgot this one.
* mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py
(upgrade): Add has_table check, skip if such a table already exists.