Commit graph

764 commits

Author SHA1 Message Date
Oliver Davies a8c5862904 build: use Docker BuildKit
This ensures that only the required containers are built and started.
2021-12-19 19:54:29 +00:00
Oliver Davies f48493f300 chore: export config
Refs: #452
2021-12-19 17:24:46 +00:00
Oliver Davies 1f8994c910 fix: remove incorrect class 2021-12-19 13:43:51 +00:00
Oliver Davies 2fb01918eb fix: add link class to event name
Refs: #452
2021-12-19 13:43:06 +00:00
Oliver Davies 1bdc4194fa fix: add list styles
Refs: #452
2021-12-19 13:37:51 +00:00
Oliver Davies e6cf8743bc fix: make the field label a heading
Refs: #452
2021-12-19 13:37:44 +00:00
Oliver Davies 80566ee8ea fix: spacing on blog and talks pages
Ensure that the `config` directory is included when generating the
assets so that they can be scanned and used when determining which
classes from Tailwind to generate.
2021-12-18 01:24:53 +00:00
Oliver Davies 429026bd65 fix: update assets container name 2021-12-18 00:37:57 +00:00
Oliver Davies 4f7e7e64ba fix: export updated Full HTML settings
Re-enable the markdown filter settings and re-export the configuration.

Fixes: #467
2021-12-17 23:49:19 +00:00
Oliver Davies 11f5ca6e92 ci: remove the deploy step for now 2021-12-17 23:48:25 +00:00
Oliver Davies e2fc9d98c7 chore: tidy up gitignore file 2021-12-17 23:09:37 +00:00
Oliver Davies cae2091436 build(deps): remove discoverable_entity_bundle_classes
As this module is no longer supported, remove it from the codebase and
update all references to it within the custom code - instead manually
wrapping nodes with the `Post` or `Talk` class, or returning it from a
Repository.

Fixes: #465
2021-12-17 23:05:41 +00:00
Oliver Davies 41e13fe078 build(docker): add unzip 2021-12-17 15:12:04 +00:00
Oliver Davies 8953de7dbd ci: copy theme assets from Docker container 2021-12-15 00:11:00 +00:00
Oliver Davies c898f4da4f fix(talks): aspect ratio on embedded videos 2021-12-14 20:32:51 +00:00
Oliver Davies 56a035ea4f build(deps): update admin_toolbar and ctools 2021-12-14 19:23:45 +00:00
Oliver Davies f1a70be296 fix: spacing between slides and video on talk pages 2021-12-10 15:55:55 +00:00
Oliver Davies 35d3bae3a3 chore: export new markdown config 2021-12-10 11:37:01 +00:00
Oliver Davies 4ab1078da5 build: ensure that tty is used in exec tasks 2021-12-09 22:24:44 +00:00
Oliver Davies 423e21f6c3 refactor: move more into the ci:deploy task 2021-12-09 22:24:11 +00:00
Oliver Davies 24caeae329 fix: use h2 headings for slide decks and video` 2021-12-09 21:25:06 +00:00
Oliver Davies 638f420b98 build(deps): update the Markdown module 2021-12-09 15:49:20 +00:00
Oliver Davies f16aff4c1e chore: ensure that the full content variable is used 2021-12-09 11:40:07 +00:00
Oliver Davies b3923c7b4d feat: show if an event was online 2021-12-09 11:40:07 +00:00
Oliver Davies 46e5fbcced fix: pass the whole event link object into link 2021-12-09 08:54:41 +00:00
Oliver Davies d47b518082 feat: re-add links to event names
When there is a link to an event, make the event name clickable so that
visitors can find out more about that specific event.
2021-12-09 08:45:49 +00:00
Oliver Davies 73086d4ab3 ci: update deployment steps 2021-12-08 21:36:53 +00:00
Oliver Davies c60e2152e2 build(run): add ci:deploy task 2021-12-08 20:34:39 +00:00
Oliver Davies ca09801323 Revert "chore: move stage_file_proxy into dev requires"
This reverts commit dcfcc11cbc.
2021-12-08 19:11:56 +00:00
Oliver Davies a7bedc1e5e ci: change user in Drupal permissions tasks 2021-12-08 19:06:21 +00:00
Oliver Davies 376954c753 chore: format event fields on a talk page
Refs: #452
2021-12-08 19:06:21 +00:00
Oliver Davies f983273c82 chore: enable Layout Builder for talk pages
Refs: #452
2021-12-08 19:06:21 +00:00
Oliver Davies dcfcc11cbc chore: move stage_file_proxy into dev requires
This isn't needed on production.
2021-12-08 19:06:21 +00:00
Oliver Davies 2a85a9ba65 fix: nginx error when loading the site
From https://stackoverflow.com/a/68314973:

> Increasing the fastcgi_buffer_size in nginx config helped, but it
seems more like a suppression the problem, not a treatment.

> A better solution is to disable php-fpm to send logs by FastCGI. Found
it can be made by setting fastcgi.logging=0 in php.ini (by default it is
1). php docs.

> After changing it to 0, the problem goes away and nginx logs looks much
cleaner docker logs nginx:

Fixes: #463
2021-12-08 10:58:39 +00:00
Oliver Davies d026bdb9ae build(run): add ci:build
Add `ci:build` to the `run` file to build and push the PHP image to the
GitHub container registry.
2021-12-07 02:20:33 +00:00
Oliver Davies 6042f3cdec build(docker): add restart policies 2021-12-07 02:20:10 +00:00
Oliver Davies c0d3f4f747 build(docker): add image name 2021-12-07 02:19:49 +00:00
Oliver Davies c135dd5d2a Revert "build(docker): update PHP to 8.0"
This reverts commit ce57c55bbf.
2021-12-04 21:26:30 +00:00
Oliver Davies f1cf2090a4 refactor: use a task: prefix for public functions 2021-12-04 21:20:36 +00:00
Oliver Davies 124f78a74c build(docker): fix Hadolint errors 2021-12-03 08:48:09 +00:00
Oliver Davies 352d4dd389 build(run): add ci:test 2021-12-03 08:45:36 +00:00
Oliver Davies 3a1e7e9f64 build(run): add the run script 2021-12-03 08:44:26 +00:00
Oliver Davies 2372b2e33a fix: add flex-shrink-0 2021-11-29 01:06:13 +00:00
Oliver Davies 2eda6d0f0d fix: become the root user 2021-11-28 22:02:17 +00:00
Oliver Davies 12e7a8bf53 ci: re-add deploy job
This reverts commit 3d1004bced.
2021-11-28 21:33:02 +00:00
Oliver Davies 4c1bda0cfe chore: update for AWS 2021-11-28 21:29:16 +00:00
Oliver Davies 8c568281d2 fix: update to path to Tailwind safelist classes 2021-11-28 21:10:48 +00:00
Oliver Davies aea9a68799 fix: add relative config path to purge paths 2021-11-28 21:05:31 +00:00
Oliver Davies bfb83010bc chore: upgrade repo URL 2021-11-28 20:58:52 +00:00
Oliver Davies d957a950cc fix: move the logo into the page template
So that the logo can be styled with CSS classes, move it into the
`page.html.twig` template as the site logo uses an `img` HTML element
rather than an inline SVG.

Fixes: #441
2021-11-28 12:47:03 +00:00