5184 Commits

Author SHA1 Message Date
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
Ben Sturmfels
bfbc792220 Show last git commit when building Docker image. 2021-03-03 22:46:58 +11:00
Fernando Gutierrez
c2e93da0ce Reinstate audio spectrograms on Python 3 [#5610].
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>
2021-03-03 22:21:11 +11:00
Ben Sturmfels
83429a8658 Drop Python 2 installation support. 2021-03-03 21:40:10 +11:00
Ben Sturmfels
c5a4eb8da8 Use official repo in Dockerfile. 2021-03-03 21:06:30 +11:00
Ben Sturmfels
89cc69f772 Pin wtforms due to removal of ext module. 2021-03-03 20:49:30 +11:00
Ben Sturmfels
9308959be2
docs: Document video resolution config. 2020-05-16 11:53:36 +10:00
Ben Sturmfels
1171b5b738
Further document guix workaround for Werkzeug. 2020-05-13 15:22:04 +10:00