Commit graph

396 commits

Author SHA1 Message Date
dacbfebc26 Enable the dark mode variant
References 
2020-10-29 00:50:00 +00:00
9645c72346 Add app command for DDEV 2020-10-29 00:25:04 +00:00
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
957dadf452 Run composer install after starting DDEV 2020-10-29 00:14:48 +00:00
623d1924b7 Show if an event is online
References 
2020-10-24 20:32:20 +01:00
de1232d56f Add a new 'Is online' field to event paragraphs
References 
2020-10-24 20:26:36 +01:00
79445b8641 Refactor existing event paragraph template
References 
2020-10-24 20:06:50 +01:00
d1c7cc01a7 Make event location optional
References 
2020-10-24 20:04:28 +01:00
7c33f459d5 Specify Composer version 1 2020-10-24 19:48:29 +01:00
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
0dabdad72b Update SIMPLETEST_BASE_URL 2020-10-24 19:38:57 +01:00
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
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 
2020-10-24 11:23:34 +01:00
f847f28f09 Export gin theme settings 2020-10-14 12:47:52 +01:00
2b9e5c0fb1 Update Drupal to 8.9.7 2020-10-08 22:05:22 +01:00
54fee965db Export gin config 2020-10-08 21:01:18 +01:00
1fec4ab08b Update gin theme to 3.0.0-alpha27 2020-10-08 21:00:32 +01:00
3fe97b7081 Add the gin toolbar module 2020-10-08 20:59:41 +01:00
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
b83317634f Move ansible.cfg into the tools directory 2020-10-08 19:38:30 +01:00
ed98118652 Run database updates before importing config
References 
2020-10-08 18:29:00 +01:00
c23c9cf548 Update commands in GitHub Actions 2020-10-08 18:24:04 +01:00
27cc670152 Remove old Symfony server files 2020-10-08 17:13:16 +01:00
b1537dc0a8 Remove Fathom Analytics settings from config 2020-10-07 23:41:50 +01:00
e924c94dae Remove Fathom from live config split 2020-10-07 23:34:37 +01:00
ef22a891cb Add "Find me on" block 2020-10-07 23:33:03 +01:00
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 
2020-10-07 23:17:07 +01:00
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 
2020-10-07 23:11:22 +01:00
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 
2020-10-07 22:57:40 +01:00
fc691424bf Remove Fathom Analytics 2020-09-28 12:39:04 +01:00
6c9e5746ca Add module for Plausible Analytics 2020-09-26 19:32:49 +01:00
3dd7608a87 Update PurgeCSS config 2020-09-24 12:42:53 +01:00
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
ef89f5f5c1 Add DDEV configuration 2020-09-16 19:41:48 +01:00
b70b30bc99 Refactor existing CSS
Fixes 
2020-09-16 01:47:00 +01:00
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 
2020-09-16 01:39:06 +01:00
b8b1766429 Update tailwindcss to 1.8
References 
2020-09-16 01:34:26 +01:00
3809d5a02f Add token for getting the number of talks given
Add a new custom token, `[opdavies_talks:talk_count]`, that replaces the
placeholder text with the talk count value from the `TalkCounter`
service.

References 
2020-09-16 01:25:09 +01:00
4207b32e7d Trigger deploy on closed PRs 2020-09-16 01:20:33 +01:00
e1e8a54b36 Use npm ci instead of npm install 2020-09-15 22:15:00 +01:00
a55da019c7 Add field_notes to blog posts 2020-09-14 08:02:01 +01:00
fec4d90943 Add HTML slides link
Fixes 
2020-09-09 21:38:10 +01:00
c023caf44c Hide the feedback URL on events 2020-09-09 21:18:51 +01:00
2d62c8ee54 Add feedback URL to event paragraphs 2020-09-09 21:17:52 +01:00
fd274cda97 Remove references to slides
This is not being done with Nginx. I've pushed the slides to Netlify and
added CNAME records in Cloudflare to serve them as subdomains as
oliverdavies.uk in the same way that I am for Rebuilding Bartik,
Rebuilding Acquia etc.

Fixes 
2020-09-09 08:43:34 +01:00
0f01551f26 Update Hook Event Dispatcher module
- Update the Hook Event Dispatcher module from `8.x-1.29` to `8.x-2.02`.
- Update custom modules after breaking changes from upgrading.

References 
2020-09-06 12:15:59 +01:00
61442ed74c Make opdavies theme Drupal 9 compatible
References 
2020-09-06 11:57:41 +01:00
596ee4979d Fix PHPCS issues 2020-09-04 22:20:30 +01:00
98fba9306f Fix PHPStan issues 2020-09-04 22:20:30 +01:00
a08f93c188 Run PHPCS and PHPStan in GitHub Actions
Fixes 
2020-09-04 22:20:29 +01:00