Commit Graph

5304 Commits

Author SHA1 Message Date
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
Ben Sturmfels
5d2eec67af Update Dockerfiles to install Python deps from PyPI as per deploy docs. 2021-08-21 10:31:31 +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
1b55d25fec Update guix-env to be more about MediaGoblin hacking than package building. 2021-08-19 19:02:24 +10:00
Ben Sturmfels
ea5669f93e Convert notifications.js to vanilla JavaScript (no jQuery). 2021-08-19 18:52:10 +10:00
Ben Sturmfels
6c408fb4ea Convert header_dropdown.js to vanilla JavaScript (no jQuery). 2021-08-19 18:44:03 +10:00
Ben Sturmfels
e705c4de61 Tidy up guix-env.scm. 2021-08-19 18:27:04 +10:00
Ben Sturmfels
b286876814 None need for TLS in docs. 2021-08-19 17:36:43 +10:00
Ben Sturmfels
00ceeb05ae Handle bash history in direnv config. 2021-08-19 17:33:04 +10:00
Ben Sturmfels
606184dde1 Add make Debian package installation non-interactive. 2021-08-19 17:30:19 +10:00
Ben Sturmfels
600b167ac5 Remove Guix libsndfile and python-soundfile definitions now they're in Guix. 2021-08-19 17:26:01 +10:00
Ben Sturmfels
c78571d3a3 Remove old docs link to Persona. 2021-08-16 09:40:23 +10:00
Ben Sturmfels
95b66348b0 Update references to dockerfile. 2021-08-16 09:15:47 +10:00
Ben Sturmfels
c8175e18fe Use the default values in commented mediagoblin.ini config entries. 2021-08-15 23:16: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
fa9ae2cc90 Update docker-compose.yml for renamed Dockerfiles. 2021-06-24 10:32:06 +10:00
Ben Sturmfels
c1f494ea98 Remove mention of persona in guix.scm. 2021-04-23 18:12:10 +10:00
Ben Sturmfels
05e4795683 Remove additional mentions of persona in templates and docs. 2021-04-23 18:11:31 +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
63ab28795a Remove redundant link to flask-wtf. 2021-04-23 16:41:40 +10:00
Ben Sturmfels
09890d2229 Remove redundant symlink to tinymce. 2021-04-23 16:37:23 +10:00
Ben Sturmfels
7650b633ba Remove references to old tinymce dependency. 2021-04-23 14:20:34 +10:00
Ben Sturmfels
d8ed112a97 Update relnotes. 2021-04-23 14:20:15 +10:00
Ben Sturmfels
3cd6d6ff04 Remove reference to unused translitcodec. 2021-04-23 13:54:59 +10:00
Ben Sturmfels
612a21de6b Remove extlib/flask-wtf - seems to be unused.
This code appears to be unused. I've checked by grepping for "html5" and also by
manually adding an `assert` in the file and running the test suite, just in case
something particularly weird is going on.
2021-04-23 13:36:37 +10:00
Ben Sturmfels
5f36e3ca98 Update relnotes. 2021-04-10 15:27:10 +10:00
Rodrigo Martins
9bcebe68c7 Remove the slightly un-intuitive "Resolve" button on the report handling page.
This button just uses JavaScript to reveal the subsequent actions. Better to
show these upfront.

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-04-10 15:24:11 +10:00
Ben Sturmfels
93084dfe28 Document re-installation of plugins during upgrade [#5611]. 2021-04-09 15:19:50 +10:00
Ben Sturmfels
45a8c34a71 Don't include package_dir argument. 2021-04-08 19:12:15 +10:00
Ben Sturmfels
ecea680d67 Add pyproject.toml and switch to setup.cfg with only a skeleton setup.py. 2021-04-08 18:55:13 +10:00
Ben Sturmfels
136efabd3b Simplify packaging of static assets. 2021-04-07 23:39:51 +10:00
Ben Sturmfels
1b747cb526 Include static assets in setuptools package. 2021-04-07 23:25:54 +10:00
Ben Sturmfels
c290900f17 Document setup.py data_files. 2021-04-06 20:59:44 +10:00
Ben Sturmfels
3d72ccf4df Include env.py in Python package. 2021-04-06 20:24:27 +10:00
Ben Sturmfels
f44a6bb4c0 Note that should avoid Guix propagated-inputs. 2021-04-06 12:46:11 +10:00
Ben Sturmfels
08ff2e93f1 Consolidate the Guix mediagoblin/mediagoblin-hackenv packages. 2021-04-06 12:41:08 +10:00
Ben Sturmfels
01c164e581 Fix missing Guix support for uploading H.264 videos.
Turned out to be a typo.
2021-04-06 00:12:30 +10:00
Ben Sturmfels
cf2261022c Now in the 0.12.0 development cycle. 2021-04-05 22:13:01 +10:00
Ben Sturmfels
14cde83826 Ignore some generated files during docker build. 2021-04-05 22:09:15 +10:00
Ben Sturmfels
e16578cbe4 Note fixed Debian 11 test suite. 2021-04-05 18:26:46 +10:00
Ben Sturmfels
9084c02cc6 Remove dnf search in Dockerfile. 2021-04-05 18:25:24 +10:00
Ben Sturmfels
d384417aab Fix tests on Debian 11. 2021-04-04 23:23:33 +10:00
Ben Sturmfels
d5720a0507 fixup! Pin werkzeug to fix breaking tests. 2021-04-04 22:05:10 +10:00
Ben Sturmfels
74c74fdb14 Pin werkzeug to fix breaking tests. 2021-04-04 21:40:03 +10:00
Ben Sturmfels
fc13221045 Fix extras_require. 2021-04-04 15:39:43 +10:00