aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/archivalook
Commit message (Collapse)AuthorAgeFilesLines
* Add plyr as player default and remove NodeJS, npm and videojsJesús2022-02-283-53/+117
|
* Fix some unused imports and local variables.Ben Sturmfels2021-09-232-4/+4
|
* Set videos to preload="metadata" to prevent upfront download [trac#5625].Michael McMahon2021-09-202-7/+7
| | | | | | | | | | | | | | | | Setting was previously preload="auto". While preload="auto" *does not* cause a full upfront download on Firefox, Abrowser, IceCat or Chromium, a user reported on the LibrePlanet mailing list that it was causing a full download on their browser. The specifications leave it up to the browser do decide whether to download, but it makes sense to do what we can to avoid surprising people on low bandwidth/quota internet connections. https://html.spec.whatwg.org/multipage/media.html#attr-media-preload Further, media.libreplanet.org (one of MediaGoblin's biggest users) has implement this change locally, so it makes sense for us to stay in sync. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Remove remaining imports/calls to six not automatically removed by pyupgrade.Ben Sturmfels2021-03-051-2/+0
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-053-48/+48
|
* Only run archivalook migration if the tables aren't there.Christopher Allan Webber2016-03-261-0/+5
| | | | | | | | 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.
* Archivalook plugin initial migration.Christopher Allan Webber2016-03-261-0/+32
| | | | | * mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py: New file.
* Collection changes and migration for federationJessica Tallon2015-10-072-6/+6
| | | | | | | - Adds a "type" column to the Collection object and allows the CollectionItem model to contain any object. - Changes "items" to "num_items" as per TODO - Renames "uploader", "creator" and "user" to a common "actor" in most places
* Fix some unit tests and bugsJessica Tallon2015-08-241-1/+1
| | | | | | | | | | | | | | | | | | This fixes a lot of the issues with the LocalUser changes that were merged recently. There was a problem where the attributes of LocalUser were not being eagerly loaded and because the Session was detached an exception was being raised when they were accessed. This also fixes some typo's which were introduced. Finally this adds a temporary fix for a potential SQLAlchemy bug, this is a bug where doing: User.query.filter(LocalUser.username == "some_username").first() does NOT yeild a user with the username "some_username" but all users on the site. The temp fix is to just query the LocalUser, this should be resolved when bug is confirmed and fixed upstream.
* Change codebase to query or create correct User modelJessica Tallon2015-08-191-1/+0
| | | | | | | The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser.
* Change codebase to query or create correct User modelJessica Tallon2015-07-311-5/+5
| | | | | | | The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser.
* Fix typos reported in #1102Berker Peksag2015-07-221-2/+2
|
* Change all unicode() calls with six.text_type().Berker Peksag2015-06-251-2/+5
| | | | Fixes #5329.
* Remove html5slider Javascript helperAsheesh Laroia2015-02-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | This helper was originally added as a "polyfill" (backward-compatibility shim) for Firefox version 23 and older, so that <input type="range"> that audio.js uses could render nicely in those versions of Firefox. Chromium did not need this shim, and Firefox 23 (released on Aug 6, 2013) added support for this. Therefore, let us remove this dependency. By current metrics at caniuse.com <http://caniuse.com/#feat=input-range>, 88.14% of web users support this attribute. Opera Mini and old versions of Internet Explorer (6-8) are the only holdouts. Note also that the html5slider.js is uninterested in adding this to the npm package manager (or any package manager) repository <https://github.com/fryn/html5slider/issues/5>, meaning that keeping it in the mediagoblin extlib section would mean manual maintenance/updating by the GNU MediaGoblin team. This commit also removes GMG's use of the shim.
* Avoid "lego translations" on the nothing currently featured stringsChristopher Allan Webber2014-07-291-7/+9
| | | | This commit sponsored by Vinzenz Vietzke. Thank you!
* Make translatable 'Feature' button in the explanation about how to feature ↵Laura Arjona Reina2014-07-291-1/+1
| | | | media.
* Make consistent quotation marks when referring to button labelsLaura Arjona Reina2014-07-291-1/+1
|
* Made it so that admins or moderators only would see the feature_management_paneltilly-Q2014-05-131-0/+3
| | | | link if they have the featurer privilege
* Added a line to the readmetilly-Q2014-05-131-0/+2
|
* Removed unused imports and removed development only migrations fromctilly-Q2014-05-133-18/+1
| | | | archivalook plugin
* Added a link to the manage feature screen in the dropdown menu fortilly-Q2014-05-133-0/+76
| | | | those that have the appropriate privilege. Added a readme.
* Added the new plugin I've been working at all summer at this link:tilly-Q2014-05-1327-0/+2279
https://gitorious.org/npigeons-mediagoblin/archivalook/source/6dbd68dab85650792456b8e24bbbd36a323c2018: