5276 Commits

Author SHA1 Message Date
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
45c1812a65
Fix bad name of Debian CI build file. 2021-09-18 09:56:50 +10:00
Ben Sturmfels
2738f1b472
Switch to propagated inputs. 2021-09-17 23:31:24 +10:00
Ben Sturmfels
f620b65e05
Set static path relative to codebase.
This help a Guix package to locate the basic static assets.
2021-09-17 22:57:53 +10:00
Ben Sturmfels
af09b76392
Implement gmg serve and gmg celery.
There was an existing stub for `gmg serve`, but had never been completed.

This will make it simpler to run the MediaGoblin web interface and media
processing backend.
2021-09-17 21:42:44 +10:00
jgart
ef29477b4d
Remove sphinx from native inputs.
I moved sphinx to native inputs since if sphinx were to be used it would be used to
build docs instead of as a direct library input to mediagoblin. The patch is attached.

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-09-15 21:29:56 +10:00
Ben Sturmfels
3444bcc06c
Add note asking for feedback on installation process. 2021-09-13 15:06:19 +10:00
Ben Sturmfels
aa46d71046
Consolidate Guix packaging details across to the channel. 2021-09-13 13:29:59 +10:00
Ben Sturmfels
ba589571a1
Trim down and tidy up guix-env.scm.
Removed libsndfile and python-soundfile by excluding the relevant audio tests
until core-updates is merged. Updated to latest master branch and removed some
unnecessary dependencies.
2021-09-13 00:38:07 +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
78b36373b4
Update guix.scm for passing test suite. 2021-09-12 13:30: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
00fb2b3d9b
Revert "Base our SourceHut CI builds on Docker."
Running the Dockerfiles in CI seemed like a good idea, but I'd forgotten that
they pull from the master branch, rather than using local source. Could be
reinstated if we make Dockerfiles use local source as discussed in trac#5574.

This reverts commit 712728c331ea3518b1964bbc7fcf06ff2c567064.
2021-09-03 22:42:56 +10:00
Ben Sturmfels
712728c331
Base our SourceHut CI builds on Docker.
This allows us to use an identical build in CI and in local development. Not the
most optimal for CI, but means less to maintain and no inconsistencies.
2021-08-23 17:43:01 +10:00
Ben Sturmfels
8c44544817
Rename CI jobs. 2021-08-23 16:28:43 +10:00
Ben Sturmfels
0fc3e69a70
Update Docker and CI builds to be more closely aligned to deploy docs. 2021-08-23 16:26:35 +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
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