Commit Graph

5304 Commits

Author SHA1 Message Date
jgart
c300044720 Fix typos.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-10-05 16:30:19 +11:00
jgart
0e61ebe5de Add cc0 license to guix package.
`license:` as a prefix is a common convention for imported license
names in guix upstream code.

licenses in guix are modeled as variables that point to the
instantiation of a particular license record.

See (guix licenses) module for more info.

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-09-23 23:00:10 +10:00
Ben Sturmfels
78d8efed7f Fix some unused imports and local variables. 2021-09-23 21:38:42 +10:00
Ben Sturmfels
5bda90f821 Update deploying docs to require Python 3.6+. 2021-09-23 16:36:20 +10:00
Ben Sturmfels
a8334fa7d8 Add Ubuntu 20.04 CI build, reinstate Debian 10 build. 2021-09-23 16:28:01 +10:00
Ben Sturmfels
e8efeaa8f5 Upgrade jinja2 to fix issue installing old markupsafe on Ubuntu 18.04.
This also aligns with our requirement of Python 3.6 or greater due to recent
jinja2 versions requiring f-strings.
2021-09-23 14:17:34 +10:00
Ben Sturmfels
78bd329ac2 Fix old references to Debian 10 in deployment docs. 2021-09-23 14:09:43 +10:00
Ben Sturmfels
6f48143f4c Apply pyupgrade --py36-plus.
This removes some 'u' prefixes and converts simple format() calls to f-strings.
2021-09-23 11:51:04 +10:00
Ben Sturmfels
f90707e22c Fix spacing. 2021-09-20 17:09:42 +10:00
Ben Sturmfels
647b1d28ca Mention building docs in contributing. 2021-09-20 17:00:23 +10:00
Ben Sturmfels
66b19ce1d8 Add a stub "contributing" page to documentation. 2021-09-20 16:58:04 +10:00
Ben Sturmfels
8ea7d4c58b Don't ignore .patch files.
I like to be able to see these in Magit.
2021-09-20 16:02:34 +10:00
Ben Sturmfels
3bdece945d Actually add the page. :) 2021-09-20 15:54:03 +10:00
Ben Sturmfels
96de552f5e Add a troubleshooting page to the docs. 2021-09-20 15:52:32 +10:00
Ben Sturmfels
80956562e9 Update relnotes. 2021-09-20 15:14:49 +10:00
Michael McMahon
bc2990c279 Set videos to preload="metadata" to prevent upfront download [trac#5625].
Setting was previously preload="auto". While preload="auto" *does not* cause a
full upfront download on Firefox, Abrowser, IceCat or Chromium, a user reported
on the LibrePlanet mailing list that it was causing a full download on their
browser. The specifications leave it up to the browser do decide whether to
download, but it makes sense to do what we can to avoid surprising people on low
bandwidth/quota internet connections.

https://html.spec.whatwg.org/multipage/media.html#attr-media-preload

Further, media.libreplanet.org (one of MediaGoblin's biggest users) has
implement this change locally, so it makes sense for us to stay in sync.

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-09-20 14:23:06 +10:00
Ben Sturmfels
de60546e34 Fix link. 2021-09-20 13:04:57 +10:00
Ben Sturmfels
f95edb8d2e Neaten up readme. 2021-09-20 13:03:19 +10:00
Ben Sturmfels
f9eb65af1f Fix readme join link. 2021-09-20 12:43:29 +10:00
Ben Sturmfels
ed4e479c83 Link to website from readme. 2021-09-20 12:33:25 +10:00
Ben Sturmfels
1b754ebd3f Add a goblin to our readme. 2021-09-20 12:31:36 +10:00
Ben Sturmfels
9f21a3a10c Convert README to Markdown for better display on SourceHut. 2021-09-20 12:25:54 +10:00
Elisei Roca
5ff0fe2f20 Remove unneeded shebang from test_processing.py.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-09-20 12:10:08 +10:00
Elisei Roca
b30ee2e4d2 Add db/migrations/env.py to MANIFEST.in
This fixes a warning I have with packaging where this file would get
installed in the wrong place (/usr/mediagoblin/env.py).

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-09-20 12:10:04 +10:00
Ben Sturmfels
2badff23a8 Fix references to non-existant package.json [trac#5615]. 2021-09-19 23:06:44 +10:00
Olivier Mehani
6a90476e08 Extend left/right arrow key navigation to paginated views [#5627].
Includes "home", "collection", "view all user's media" and "user's profile" views.

Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
2021-09-19 21:41:48 +10:00
Ben Sturmfels
e7d6996dd1 Update for 0.13.0 development cycle. 2021-09-19 21:22:57 +10:00
Ben Sturmfels
7e931ae849 Extend release instructions. 2021-09-19 21:08:15 +10:00
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 120f144f0e.
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 712728c331.
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