5191 Commits

Author SHA1 Message Date
Ben Sturmfels
f28ea2b9bc Note Guix "meta" issue tracking the packaging process. 2021-03-30 13:50:57 +11:00
Ben Sturmfels
4d610b43f0 Add pip freeze to Docker and CI builds for later troubleshooting. 2021-03-30 13:38:47 +11:00
Ben Sturmfels
4a830cb4f3 Enable OpenID and LDAP tests under Guix. 2021-03-30 13:37:41 +11:00
Ben Sturmfels
43b7d88400 Fix audio and submission tests under Guix.
Have temporarily included libsndfile and python-soundfile until these changes
get merged into Guix upstream.

Identified that Guix's older python-wtforms 2.1 is not compatible with the test
suite.
2021-03-30 13:19:26 +11:00
Ben Sturmfels
42a0c3f1aa Add PDF support in guix environment. 2021-03-30 12:04:13 +11:00
Ben Sturmfels
5633d51714 Add feedgenerator dependency to CI and Docker files. 2021-03-30 11:19:18 +11:00
Ben Sturmfels
bbb42acfc9 Add Debian 11 CI build. 2021-03-29 17:11:01 +11:00
Ben Sturmfels
6e6baa15cc Build docs in Docker and CI. 2021-03-29 17:01:46 +11:00
Ben Sturmfels
799449bf46 Add "feedgenerator" requirement to setup.py. 2021-03-29 16:56:41 +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
9de3063d8e Add stub Dockerfile for Debian 11. 2021-03-28 13:49: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
6d3d8667ae Improve Guix packaging incrementally. 2021-03-15 16:21:41 +11:00
Ben Sturmfels
460c5277f2 Use OS install of email-validator package for Guix.
This package is now available as `python-email-validator`.
2021-03-14 22:39:42 +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
9bd3ddb68a Note that download link sorting will be wrong for higher resolutions. 2021-03-09 22:47:53 +11:00
Ben Sturmfels
3bff300078 Update relnotes. 2021-03-09 22:44:43 +11:00
Ben Sturmfels
a25a6e3395 Update video links to support multiple resolution transcoding [#5620].
We may need to push download link creation into the view in the future to make
it more fully featured, but this will solve the immediate issue with missing
download links on new media after 0.10.0. Sorting of entries won't be right if
your media is over 999p since it's alphabetical.
2021-03-09 22:39:04 +11:00
Ben Sturmfels
41db886d63 Update tox Python to match Python 3.4 in deployment docs. 2021-03-09 22:22:25 +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
Ben Sturmfels
3ba11716c1 Run LDAP, OpenID and PDF tests under Docker. 2021-03-09 16:56:28 +11:00
Ben Sturmfels
95be20a936 Remove outdated docs on missing Python 3 spectrograms. 2021-03-09 15:07:05 +11:00
Ben Sturmfels
7e2a2ecfdc Extend Fedora Dockerfile, add sourcehut builds for Debian and Fedora.
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.
2021-03-09 14:47:40 +11:00
Ben Sturmfels
4f53c4b17c Fix raw image plugin installation docs [#5523].
Dependencies need to be installed from PyPI in Debian 10/11 due to missing
python3-py3exiv2 package.
2021-03-08 11:14:20 +11:00
Olivier Mehani
84b54b18ea Mention some additional default settings in the config [#5618].
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-03-08 09:36:38 +11:00
Ben Sturmfels
ca76eea5a8 Add Charlotte Koch to AUTHORS. 2021-03-06 22:47:49 +11:00
Charlotte Koch
9fe970147c Pin sqlalchemy to a known good version.
The latest version is 1.4.0b1 which changes some internals a bit... internals
which unforuntately mediagoblin's DatabaseManager screw around with
(namely, _decl_class_registry)

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-03-06 22:45:10 +11:00
Ben Sturmfels
0c98ad25a5 Note that Docker deployments are not officially supported or mature. 2021-03-06 15:38:14 +11:00
Ben Sturmfels
254a2f18c5 Update relnotes re. passing test suite. 2021-03-06 11:52:22 +11:00
Ben Sturmfels
fa1b4315a1 Re-enable tests in Dockerfiles. 2021-03-06 11:49:56 +11:00
Ben Sturmfels
370d8a7296 More robust test fix. 2021-03-06 11:43:22 +11:00
Ben Sturmfels
f7a4dd1168 Fix broken metadata editing test. 2021-03-06 11:24:36 +11:00
Ben Sturmfels
07ac2774da Update relnotes. 2021-03-06 00:20:33 +11:00
Ben Sturmfels
79cfd9794d Remove reference to --with-python3. 2021-03-06 00:19:06 +11:00
Ben Sturmfels
f0d57e3bd8 Remove remaining Python 2 compatibility code. 2021-03-05 23:52:13 +11:00
Ben Sturmfels
9bf3bc1944 Remove remaining imports/calls to six not automatically removed by pyupgrade. 2021-03-05 23:42:38 +11:00
Ben Sturmfels
dec47c7102 Apply pyupgrade --py3-plus to remove Python 2 compatibility code. 2021-03-05 23:12:19 +11:00
Ben Sturmfels
5f3a782fef Remove six library. 2021-03-05 23:11:39 +11:00
Ben Sturmfels
0c0f966368 Update relnotes with bug fixes since 0.10.0. 2021-03-03 22:47:13 +11:00