| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Almost a drop-in replacement, only needed some str - byte conversions.
The former has not seen a release since 2013, the latter is active with
a last release on Aug. 16th 2020.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
| |
|
|
|
|
|
| |
This also aligns with our requirement of Python 3.6 or greater due to recent
jinja2 versions requiring f-strings.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This fixes a warning I have with packaging where this file would get
installed in the wrong place (/usr/mediagoblin/env.py).
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
|
|
|
|
|
| |
Includes "home", "collection", "view all user's media" and "user's profile" views.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
MediaGoblin ignores this argument and creates a virtualenv with
--system-site-packages regardless. Appears it's been this way since the early
days.
Removing this make the installation instructions easier to read.
|
|
|
|
|
|
|
| |
Turns out this breaks tests. Will attempt again when I have time to deal with
the tests.
This reverts commit 120f144f0eb014e694a584a627c8b17856da5b51.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to this change, the Celery logging did not include any of the logging
calls within MediaGoblin because `disable_existing_loggers` defaulted to True.
This was unhelpful and inconsistent with the logging behaviour of the web process.
The MediaGoblin web process sets logging output based on the configuration in
paste.ini. This is loaded by the `paster` program, rather than MediaGoblin
itself.
The MediaGoblin celery process manually loads its logging config from paste.ini,
but previously defaulted to `disable_existing_loggers=True`, meaning that none
of the application logging flowed through unless the logger was explicitly added
to paste.ini.
|
|
|
|
|
|
|
|
|
|
| |
Following the video transcoding work included in v0.10.0, uploading an image and
restarting Celery resulted in the image being marked as failed, even after it
had been initially successfully processed.
The issue was that the initial processing task was not being acknowledged by the task queue following the introduction of the
`CELERY_ACKS_LATE` setting. It's not clear why this is the case, but reverting
the setting fixes this issue and doesn't negatively impact video processing.
|
|
|
|
| |
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Debian 11 has been released, so future releases need not provide explicit
support for Debian 10.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue is that Werkzeug > 1.0.0 has removed werkzeug.contrib.atom.AtomFeed,
making it difficult to use a distribution-packaged version of werkzeug. To solve
this, I've replaced use of werkzeug.contrib.atom.AtomFeed with
feedgenerator.Atom1Feed.
After the change, the only major difference between the feeds before and after is
that they use <summary> instead of <content>. Minor differences include no longer
adding 'type="text/html"' on some <link> elements and no "xml:base" attribute on
<entry> elements. I don't think these differences will have any noticable
effect.
Tested on Liferea feed reader.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Previously had partial docs for Fedora 31. This updates to Fedora 33, adds
support for audio and video and adds dependencies to allow the test suite to run
to completion.
|
|
|
|
|
| |
Dependencies need to be installed from PyPI in Debian 10/11 due to missing
python3-py3exiv2 package.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The `audiotospectrogram` module is a complete rewrite of the existing spectrogram
code with support for Python 3. This allows us to drop the bundled `freesound`
library and Python 2-only `audioprocessing` and `spectrogram` modules.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|