Commit graph

609 commits

Author SHA1 Message Date
Oliver Davies f21b61665c Run composer validate in CI
This ensures that the composer.json and composer.lock files are in sync
before trying to install the site.
2020-10-31 09:18:01 +00:00
Oliver Davies a1b90a7948 Remove .ht.router.php
This file isn't needed as I'm not using the PHP local web server.
2020-10-31 09:09:00 +00:00
Oliver Davies f9a5112978 Remove .gitmodules 2020-10-30 01:40:51 +00:00
Oliver Davies b3c925a0cf Security hardening: lock community action versions
As there's no lockfile for GitHub Actions, specify the commit SHAs to
use for community actions so that changes can be reviewed before using a
new version of a particular action.
2020-10-30 01:26:52 +00:00
Oliver Davies d5d9bdf7bf Re-add .htaccess to config directory 2020-10-30 01:17:32 +00:00
Oliver Davies e76251c376 Remove require for old Symfony settings file 2020-10-30 01:12:03 +00:00
Oliver Davies 4008f511f8 Move the config sync directory 2020-10-30 00:56:36 +00:00
Oliver Davies b5d1dc7551 Move config splits 2020-10-30 00:56:36 +00:00
Oliver Davies 6ff3c7f483 Combine workflows into one with multiple jobs 2020-10-30 00:23:10 +00:00
Oliver Davies a888430ef3 Integrate the typography plugin with dark mode
References #27
2020-10-29 01:43:33 +00:00
Oliver Davies c0355a4e89 Override blue.500 colour
References #27
2020-10-29 01:41:57 +00:00
Oliver Davies e996140f47 Add dark mode styles
References #27
2020-10-29 01:02:26 +00:00
Oliver Davies 530074f176 Override gray colours
Override the default Tailwind `gray` colours, and update anywhere that
the originals were used.

References #27
2020-10-29 00:50:09 +00:00
Oliver Davies dacbfebc26 Enable the dark mode variant
References #27
2020-10-29 00:50:00 +00:00
Oliver Davies 9645c72346 Add app command for DDEV 2020-10-29 00:25:04 +00:00
Oliver Davies e868f2fb8c Add theme command for DDEV
Add a custom `theme` command to DDEV which provides helpers such as
`ddev theme development`, `ddev theme production`, and `ddev theme
watch` for building the front-end assets, and `ddev theme ssh` to easily
SSH into the theme directory inside web container.
2020-10-29 00:24:54 +00:00
Oliver Davies 957dadf452 Run composer install after starting DDEV 2020-10-29 00:14:48 +00:00
Oliver Davies 623d1924b7 Show if an event is online
References #241
2020-10-24 20:32:20 +01:00
Oliver Davies de1232d56f Add a new 'Is online' field to event paragraphs
References #241
2020-10-24 20:26:36 +01:00
Oliver Davies 79445b8641 Refactor existing event paragraph template
References #241
2020-10-24 20:06:50 +01:00
Oliver Davies d1c7cc01a7 Make event location optional
References #241
2020-10-24 20:04:28 +01:00
Oliver Davies 7c33f459d5 Specify Composer version 1 2020-10-24 19:48:29 +01:00
Oliver Davies 958111d80f Remove .git directories within contrib modules
Automatically remove any `.git` directories within the project's
dependencies, such as within contrib modules like Plausible which caused
`web/modules/contrib` to keep appearing and being added to the index.
2020-10-24 19:46:17 +01:00
Oliver Davies 0dabdad72b Update SIMPLETEST_BASE_URL 2020-10-24 19:38:57 +01:00
Oliver Davies 0411285046 Override theme templates for blog and talks views
Override the theme templates for the `talks` and `blog_posts` views,
adding classes to the header wrapper and some spacing between the header
text and the view results.
2020-10-24 11:23:38 +01:00
Oliver Davies e7e610f22c Add header text to blog and talks pages
Uses the `[opdavies_talks:talk_count]` token for the talks page to
display the number of given talks.

Fixes #31
2020-10-24 11:23:34 +01:00
Oliver Davies f847f28f09 Export gin theme settings 2020-10-14 12:47:52 +01:00
Oliver Davies 2b9e5c0fb1 Update Drupal to 8.9.7 2020-10-08 22:05:22 +01:00
Oliver Davies 54fee965db Export gin config 2020-10-08 21:01:18 +01:00
Oliver Davies 1fec4ab08b Update gin theme to 3.0.0-alpha27 2020-10-08 21:00:32 +01:00
Oliver Davies 3fe97b7081 Add the gin toolbar module 2020-10-08 20:59:41 +01:00
Oliver Davies 40179ca89e Add pull-from-prod command
Add a `pull-from-prod` host command for DDEV, to do what was previously
being done in the Makefile.
2020-10-08 19:49:41 +01:00
Oliver Davies b83317634f Move ansible.cfg into the tools directory 2020-10-08 19:38:30 +01:00
Oliver Davies ed98118652 Run database updates before importing config
References #245
2020-10-08 18:29:00 +01:00
Oliver Davies c23c9cf548 Update commands in GitHub Actions 2020-10-08 18:24:04 +01:00
Oliver Davies 27cc670152 Remove old Symfony server files 2020-10-08 17:13:16 +01:00
Oliver Davies b1537dc0a8 Remove Fathom Analytics settings from config 2020-10-07 23:41:50 +01:00
Oliver Davies e924c94dae Remove Fathom from live config split 2020-10-07 23:34:37 +01:00
Oliver Davies ef22a891cb Add "Find me on" block 2020-10-07 23:33:03 +01:00
Oliver Davies 19c5529094 Add Send to social media checkbox to posts
Also add it to the `opdavies_blog_test` module config so that the
existing tests continue to work and pass.

References #249
2020-10-07 23:17:07 +01:00
Oliver Davies eb23d93fe0 Return early if should not be sent to social media
Return early and don't send the post to social media if the `Post to
social media` checkbox is not checked.

References #249
2020-10-07 23:11:22 +01:00
Oliver Davies 2d06f5e8d4 Add a method to check if send to social media
Add a method to check if a post should be sent automatically to social
media.

References #249
2020-10-07 22:57:40 +01:00
Oliver Davies fc691424bf Remove Fathom Analytics 2020-09-28 12:39:04 +01:00
Oliver Davies 6c9e5746ca Add module for Plausible Analytics 2020-09-26 19:32:49 +01:00
Oliver Davies 3dd7608a87 Update PurgeCSS config 2020-09-24 12:42:53 +01:00
Oliver Davies 5518aeb799 Update Drupal to 8.9.6
https://www.drupal.org/project/drupal/releases/8.9.6
2020-09-16 20:07:14 +01:00
Oliver Davies ef89f5f5c1 Add DDEV configuration 2020-09-16 19:41:48 +01:00
Oliver Davies b70b30bc99 Refactor existing CSS
Fixes #190
2020-09-16 01:47:00 +01:00
Oliver Davies 390c3ba44d Enable the 'apply complex classes' feature
Enable the experimental feature to use `@apply` with complex classes
including interactive states. I tried this on the Rebuilding Symfony
demo project and it worked well.

This would mean that I could refactor some of my existing styles on this
project.

References #190
2020-09-16 01:39:06 +01:00
Oliver Davies b8b1766429 Update tailwindcss to 1.8
References #190
2020-09-16 01:34:26 +01:00