4914 Commits

Author SHA1 Message Date
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
Olivier Mehani
441fee1a72 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>
2016-09-18 17:01:16 +03:00
Ben Sturmfels
9650aa394b Spell-check the entire documentation. 2016-09-18 16:28:22 +03:00
Boris Bobrov
821686372c Merge branch 'panel' 2016-09-16 09:47:54 +03:00
Boris Bobrov
2c153df93a Add Dealsy to core reviewers 2016-09-16 09:46:59 +03:00
Boris Bobrov
cfb624958e Added Josh Crompton to authors list 2016-09-16 09:30:58 +03:00
Josh Crompton
30812a163e Add padding around form field labels
Fixes #5468
2016-09-16 09:29:46 +03:00
Ben Sturmfels
e17566b3c3 Extend Paginator tests to satisfy #55. 2016-09-16 09:24:56 +03:00
Ben Sturmfels
58b3a65e53 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.
2016-09-16 09:24:56 +03:00
Ben Sturmfels
53b56236fd Update Spanish translation as reported by "teraflops" in ticket #975. 2016-09-14 21:31:19 +12:00
Ben Sturmfels
c2c9ed4a6c Add documentation for header drop-down open/closed. 2016-09-12 11:57:43 +12:00
Andrew Browning
d37c6f622a 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
2016-08-26 11:34:18 -04:00
Matt
799f09b311 Make the panel default to open and remember preference in local storage. 2016-08-16 14:56:39 +10:00
Boris Bobrov
9d935dd838 Revert "fixed bug #728"
This reverts commit dbb86ffbbf25651330266435752a6a0422cfb6e5.

It caused bug 5469
2016-08-16 03:45:20 +03:00
Matt
9f59548edb changed css to fix text on thumbnail 2016-08-15 15:11:12 +10:00
Boris Bobrov
cacc679a24 Do not try to get private attributes for comments
Most probably, they are sqlalchemy's!
2016-08-08 02:26:25 +03:00
Boris Bobrov
645599c2ba 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.
2016-08-08 00:38:34 +03:00
Boris Bobrov
65805ffb0d 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
2016-07-31 07:33:12 +03:00
Boris Bobrov
06d70c4b96 Fixing themes 2016-07-31 07:16:48 +03:00
Boris Bobrov
474a56ce90 Cap kombu and celery
See issue 5464 for details
2016-07-25 05:23:16 +03:00
Boris Bobrov
dbb86ffbbf fixed bug #728 2016-07-25 04:13:04 +03:00
Boris Bobrov
4fcd2e756d Merge branch 'fix-unhelpful-smtp-error-5081' 2016-07-25 03:59:49 +03:00
Loic Dachary
6c0678576a Fix #928 - cleanup to avoid duplicated get_upload_file_limits
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-07-25 03:48:33 +03:00