Commit Graph

5287 Commits

Author SHA1 Message Date
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
Jeremy Bowman
85107918b5 Fix Mac dev setup issues [#5442].
A trailing slash in devtools/compile_translations.sh caused that script to fail
because the parameter to pybabel's -l option ended up blank instead of
containing the language code.

A few files and directories were missing from .gitignore and hence wound up
in the list of local changes to be committed.
2020-05-13 13:55:00 +10:00
Ben Sturmfels
5224d700dd Increase Nginx upload limit to 100m, improve related docs [#5496].
By increasing the limit from 8m to 100m, we should immediately fix initial
problems for people trying to upload audio or video. From there, they can read
the documentation more closely when they try to upload larger files.
2020-05-13 13:22:11 +10:00
Fernando Gutierrez
243354b65e Avoid Celery/RabbitMQ "connection reset" errors [#5609].
This change starts Celery only after RabbitMQ is available. It also returns the
unnecessarily low BROKER_HEARTBEAT setting to default of 120.0 to help prevent
connections being reset on machines under load.
2020-05-12 12:30:35 +10:00
Ben Sturmfels
3d0c2a773b Fix consistency in license list. 2020-05-11 23:47:33 +10:00
Ben Sturmfels
0e9e57ea30 Fix error generating Atom feed upon blank title [#1018]. 2020-05-11 23:38:59 +10:00
Ben Sturmfels
6a547ea4a0 fixup! docs: Add chapter on upgrading, inc. system Python upgrades [#972]. 2020-05-11 23:35:32 +10:00
Ben Sturmfels
7981fdaf7d docs: Add chapter on upgrading, inc. system Python upgrades [#972]. 2020-05-11 23:14:18 +10:00
Ben Sturmfels
e82857fae6 docs: Tweak deployment docs headings, link to configuration docs. 2020-05-11 23:14:06 +10:00
Ben Sturmfels
e94f94e639 fixup! Now in 0.11.0 development cycle. 2020-05-06 12:33:59 +10:00
Ben Sturmfels
e2b3522812 Now in 0.11.0 development cycle. 2020-05-06 12:28:49 +10:00
Olivier Mehani
8bb15a5477 Make ldap plugin python3 compatible
Signed-off-by: Olivier Mehani <shtrom+mediagoblin@ssji.net>
2020-05-06 12:03:28 +10:00
Ben Sturmfels
7465326f23 docs: Update relnotes to remove "node_modules". 2020-05-05 20:50:45 +10:00
Ben Sturmfels
3d8cc5dfe1 docs: Link up subtitles and video qualities in release notes. 2020-05-04 16:03:10 +10:00
Ben Sturmfels
442581604a Remove reference to Gitorious. 2020-05-04 13:13:53 +10:00
Ben Sturmfels
74262351b7 Update version for release. 2020-05-04 13:11:48 +10:00
Ben Sturmfels
7e10cddee0 docs: Tweak the release notes and deployment docs following testing. 2020-05-04 13:10:24 +10:00
Ben Sturmfels
e77430eb27 Add release notes for v0.10.0. 2020-05-01 16:41:07 +10:00
Ben Sturmfels
880b2584bb Allow Python 2 minor version upgrades [#5595]. 2020-04-30 20:47:37 +10:00
Ben Sturmfels
66d861e6b1 Forcibly pin all Python 2 dependencies [#5595].
This is really horrible, but seems like the only way to stop Python 2 installs
breaking randomly in the future.
2020-04-30 16:54:55 +10:00
Ben Sturmfels
663d052c70 Fix Python 2 package dependencies and sub-dependencies [#5595].
This fixes the installation process *right now* on Python 2. The problem is that
packages are dropping Python 2 support all over the place and due to
our (deliberate) loose dependency version specifications and the loose
sub-dependency version specifications, it's one horrible mess. But it works
right now.

Next up I'll be pinning all the currently installed Python 2 packages and all
dependencies.
2020-04-30 16:45:42 +10:00
Ben Sturmfels
06d8fc8917 docs: Note possible permission issues during install. 2020-04-30 15:11:55 +10:00
Ben Sturmfels
a9b7bd60b2 subtitles: Add documentation, limit uploads to *.vtt files, only show for video [#5589]. 2020-04-30 12:05:47 +10:00
Ben Sturmfels
e99f0aeac6 Add deprecation warning when running Python 2 [#5598]. 2020-04-29 14:10:01 +10:00
Ben Sturmfels
3a1fb089e8 Test and update the media-types docs with Debian 10 and CentOS.
Unfortunately wasn't able to get video going in CentOS.
2020-04-29 13:27:01 +10:00
Ben Sturmfels
54fc0a8d26 Fix headings in production.rst. 2020-04-29 10:02:00 +10:00
Ben Sturmfels
464a5d7fba Fix some docs build warnings. 2020-04-29 09:55:28 +10:00
Ben Sturmfels
35494ed66c Add CentOS rabbitmq instructions. 2020-04-29 09:07:01 +10:00
Ben Sturmfels
62a565e13b Review and update the deploment docs for Debian 10 and CentOS 8 [#5593].
Mostly a thorough test and cleanup. The significant change is moving the systemd
config into the deployment docs an the registration/security considerations to
production considerations docs.
2020-04-29 02:19:16 +10:00
Ben Sturmfels
16fbe85247 Fix dependencies and tests for clean Python 2 & 3 test runs under Docker.
This change gives a clean test run in the Debian-based Python 2 and Python 3
docker images.
2020-04-28 18:23:24 +10:00
Ben Sturmfels
e3931333da Revert "Use audio icon when spectrogram fails. Add note to doc:media-types."
This reverts commit 2b487fc16d.
2020-04-28 18:23:24 +10:00
Ben Sturmfels
632e973608 Revert "Fix Jorge's audio upload workaround in Python 3."
This reverts commit f1c288b1d8.
2020-04-28 18:23:24 +10:00
Ben Sturmfels
4f3f70d15a Remove spectrograms from Python 2 also [#5594].
For 0.10.0 we're removing specrograms entirely for reliability. This change only
disables spectrograms and updates install docs and Dockerfiles. We still need
to strip out all the spectrogram code and extlib/freesound/.
2020-04-28 18:19:57 +10:00
Ben Sturmfels
4a150fa29e Preparing to release 0.10. 2020-04-28 13:44:21 +10:00
Ben Sturmfels
6808038a06 Properly quote --without-python3 in docs (#5596). 2020-04-28 13:40:39 +10:00
Ben Sturmfels
450ebea7c7 Fix missing logo in docs. 2020-04-28 13:39:03 +10:00
Ben Sturmfels
4e28403812 Fix Sphinx build warnings, remove gNewSense, *buntu -> Ubuntu.
The * feels like it might confuse no-programmers.
2020-04-28 13:38:47 +10:00
Ben Sturmfels
9d1bb738f3 Add some initial release notes for 0.10.0 (incomplete). 2020-04-24 15:42:30 +10:00
Ben Sturmfels
a9aae9a059 Unmute videos by default.
Fixes #5590.
2020-04-24 15:24:33 +10:00
Ben Sturmfels
100f626551 Switch to Python 3 by default.
Addresses #5592.
2020-04-24 14:38:16 +10:00
Ben Sturmfels
0798a8892a Add draft Fedora dockerfile. 2020-04-20 12:51:27 +10:00
Ben Sturmfels
09c659785f Merge branch 'no-fastcgi' of https://github.com/mtlynch/mediagoblin 2020-04-16 11:39:40 +10:00
Michael Lynch
e8be472273 Adding 'Waitress' where 'FastCGI' was previously referenced 2020-04-15 20:14:11 -04:00
Michael Lynch
82c2f9a912 Removing flup and fastcgi from documentation
flup is not supported on Python3, so MediaGoblin doesn't have a supported way to enable FastCGI support.

This change removes all references to flup and FastCGI and updates deployment instructions to use simple HTTP forwarding with nginx to access mediagoblin's non-static resources.
2020-04-14 20:45:54 -04:00
Ben Sturmfels
cbd119168c Note how to run test suite under Docker. 2020-04-14 18:40:55 +10:00
Ben Sturmfels
912e5d2b41 Fix "KeyError: 'No such transport: sqlite. Did you mean sqla?'" in tests.
This is caused by Celery dropping the "sqlite" transport alias from version
4.3.0, so I've pinned an upper limit.
2020-04-14 18:02:12 +10:00
Ben Sturmfels
486f90a7f7 Remove "git submodule init && git submodule update" from Dockerfiles.
These commands are run by `bootstrap.sh`. Also includes a couple more tidy-ups.
2020-04-14 16:40:38 +10:00
Ben Sturmfels
72047cbe68 Require jinja2<3.0.0 due to use of f-strings. 2020-04-10 07:14:39 +10:00