428 Commits

Author SHA1 Message Date
Michael McMahon
bc2990c279
Set videos to preload="metadata" to prevent upfront download [trac#5625].
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>
2021-09-20 14:23:06 +10:00
Elisei Roca
b30ee2e4d2
Add db/migrations/env.py to MANIFEST.in
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>
2021-09-20 12:10:04 +10:00
Olivier Mehani
6a90476e08
Extend left/right arrow key navigation to paginated views [#5627].
Includes "home", "collection", "view all user's media" and "user's profile" views.

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-09-19 21:41:48 +10:00
Ben Sturmfels
7e931ae849
Extend release instructions. 2021-09-19 21:08:15 +10:00
Ben Sturmfels
6963a5a62e
Remove mention of Python 2.7. 2021-09-19 21:07:14 +10:00
Ben Sturmfels
60c004d750
Reword. 2021-09-18 20:53:32 +10:00
Ben Sturmfels
e54504f8b0
Refine release notes. 2021-09-18 20:43:41 +10:00
Ben Sturmfels
5d1557b55e
Update release notes for 0.12.0. 2021-09-18 20:08:09 +10:00
Ben Sturmfels
0db9b5bb7b
Remove --system-site-packages argument to ./configure.
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.
2021-09-18 13:12:39 +10:00
Ben Sturmfels
3444bcc06c
Add note asking for feedback on installation process. 2021-09-13 15:06:19 +10:00
Ben Sturmfels
54c610b5fe
Revert "Disable registrations by default due to spam."
Turns out this breaks tests. Will attempt again when I have time to deal with
the tests.

This reverts commit 120f144f0eb014e694a584a627c8b17856da5b51.
2021-09-12 22:51:51 +10:00
Ben Sturmfels
f9b978592f
Update Guix todos. 2021-09-12 11:52:20 +10:00
Ben Sturmfels
120f144f0e
Disable registrations by default due to spam. 2021-09-04 22:48:23 +10:00
Ben Sturmfels
5b0c554821
Update deploy docs for Debian 11. 2021-08-23 16:24:41 +10:00
Ben Sturmfels
b3d3d33c96
Don't disable existing loggers when initialising Celery.
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.
2021-08-23 13:46:05 +10:00
Ben Sturmfels
cfe50e6400
Fix images being marked as failed after Celery restart [#5608].
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.
2021-08-23 12:46:40 +10:00
Marco Pessotto
c6ec71b6de
Remove reference to jsonschema.compat now removed upstream.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-08-20 09:59:03 +10:00
Ben Sturmfels
ea5669f93e
Convert notifications.js to vanilla JavaScript (no jQuery). 2021-08-19 18:52:10 +10:00
Ben Sturmfels
b286876814
None need for TLS in docs. 2021-08-19 17:36:43 +10:00
Ben Sturmfels
c78571d3a3
Remove old docs link to Persona. 2021-08-16 09:40:23 +10:00
Ben Sturmfels
550202bf0a
Document running multiple MediaGoblin instances on one server. 2021-08-15 23:10:29 +10:00
Ben Sturmfels
5469c9daa6
Document how to display EXIF data. 2021-08-15 22:36:47 +10:00
Ben Sturmfels
ee0791c93f
Document how to view Systemd logs. 2021-08-15 22:36:14 +10:00
Ben Sturmfels
e6f8beeea4
Remove Debian 10 development Dockerfile.
Debian 11 has been released, so future releases need not provide explicit
support for Debian 10.
2021-08-15 22:35:45 +10:00
Ben Sturmfels
9e391cf500
Add jgart to authors, mention old persona plugin in pluginwriter docs. 2021-04-23 17:53:21 +10:00
jgart
ec74b6d032
Remove Mozilla Persona plugin [#5512].
Mozilla persona is RIP since 2016.

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-04-23 17:48:03 +10:00
Ben Sturmfels
d8ed112a97
Update relnotes. 2021-04-23 14:20:15 +10:00
Ben Sturmfels
5f36e3ca98
Update relnotes. 2021-04-10 15:27:10 +10:00
Ben Sturmfels
93084dfe28
Document re-installation of plugins during upgrade [#5611]. 2021-04-09 15:19:50 +10:00
Ben Sturmfels
cf2261022c Now in the 0.12.0 development cycle. 2021-04-05 22:13:01 +10:00
Ben Sturmfels
e16578cbe4 Note fixed Debian 11 test suite. 2021-04-05 18:26:46 +10:00
Ben Sturmfels
c6b169369e docs: Fix broken link to separate Celery section. 2021-03-30 16:17:07 +11:00
Ben Sturmfels
38bd1bfd6d docs: Add a draft release checklist. 2021-03-30 16:17:04 +11:00
Ben Sturmfels
f28ea2b9bc Note Guix "meta" issue tracking the packaging process. 2021-03-30 13:50:57 +11:00
Ben Sturmfels
eb2aae91da docs: Tune up the celery and production deployments documentation. 2021-03-29 16:54:50 +11:00
Ben Sturmfels
a14f4f93eb docs: Remove explicit references to Python 3 (now assumed). 2021-03-29 16:02:04 +11:00
Ben Sturmfels
f06784c58e docs: Tune up configuration documentation. 2021-03-29 16:01:14 +11:00
Ben Sturmfels
0cc3febdaa Update relnotes. 2021-03-29 15:49:18 +11:00
Rodrigo Martins
e0eff326d7 docs: Mention that dbupdate is sometimes required after changing config.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-03-29 15:45:10 +11:00
Ben Sturmfels
2d941d21e1 Convert atom feeds to use feedgenerator library.
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.
2021-03-16 12:17:57 +11:00
Ben Sturmfels
f410170707 Clarify how to find the version number. 2021-03-12 18:46:43 +11:00
Ben Sturmfels
9aff1477ff Remove note about missing Fedora audio/video docs - these are now available. 2021-03-12 11:46:01 +11:00
Ben Sturmfels
a4832b5bc2 Direct wiki links to archive.org. 2021-03-12 11:45:46 +11:00
Ben Sturmfels
44007e5c29 Tweak upgrade docs. 2021-03-10 21:49:33 +11:00
Ben Sturmfels
83a744b1a2 Update version number, relnotes and upgrading docs in preparation for release. 2021-03-10 20:44:54 +11:00
Ben Sturmfels
fee77d768a Fix typo. 2021-03-10 10:11:41 +11:00
Ben Sturmfels
958e9aef78 Add Jesús E. to AUTHORS. 2021-03-10 10:07:12 +11:00
Ben Sturmfels
3bff300078 Update relnotes. 2021-03-09 22:44:43 +11:00
Ben Sturmfels
1f4ac7249f Say git submodule update --init - it's shorter. 2021-03-09 22:21:58 +11:00
Ben Sturmfels
40bc5ea9ee Remove test lines in Dockerfiles. 2021-03-09 17:22:09 +11:00