Commit graph

266 commits

Author SHA1 Message Date
2e15ac3bc5 Remove square bracket classes 2021-03-16 01:07:42 +00:00
e586eaae1f Update postcss.config.js structure 2021-03-15 23:12:54 +00:00
27b55afe8a Remove square brackets in class list 2021-03-15 22:22:40 +00:00
a33685ced9 Group all npm dependencies into dev 2021-03-15 21:50:37 +00:00
177d001cfd Remove video classes variable 2021-03-12 17:38:48 +00:00
76de7f5d6c Fix input width for password form field 2021-03-12 17:36:46 +00:00
3832d7972d Use extends for extending variants 2021-03-12 17:30:25 +00:00
a53900c8f0 Re-add dark version of the theme
Fixes 
2021-03-12 17:28:28 +00:00
8e40f90807 Use Tailwind CSS aspect ratio plugin for videos 2021-03-12 08:57:37 +00:00
d4dee13118 Add custom base form styles 2021-03-11 23:27:42 +00:00
ac56bbc878 Add Tailwind CSS forms plugin 2021-03-11 20:59:00 +00:00
9b93979443 Remove duplicate attributes from block template 2021-03-06 12:12:10 +00:00
ebacc4530f Update footer section styling 2021-03-06 10:59:27 +00:00
38cc716bb1 Remove unnecessary ARIA roles from templates 2021-03-06 10:59:27 +00:00
0b182e4d48 Change section to div
This is to avoid having sections with no title, such as the main page
body content as the page title is in its own block.
2021-03-06 01:17:15 +00:00
a80de5c738 Revert "Rename config keys for IFTTT and Integromat"
This reverts commit 9a46b63299.
2021-02-25 12:15:43 +00:00
9a46b63299 Rename config keys for IFTTT and Integromat 2021-02-25 10:06:35 +00:00
e50a91dc30 Update queue name 2021-02-24 12:36:38 +00:00
7ea2c8991c Remove unused export command 2021-02-11 08:53:16 +00:00
b9b09b5719 Add additional classes to PurgeCSS safelist 2021-02-11 08:53:16 +00:00
ab69190d8f Add Platform.sh required files 2021-02-11 08:53:16 +00:00
0c1321fed5 Add TalkCollection, move logic for getting events
Add a `TalkCollection` which extends Laravel/Tighten's, and add a method
there for getting the events from the talks. This makes this logic more
reusable and also makes the code in the `TalkCounter` service simpler.
2021-02-11 08:53:16 +00:00
1f0926ac16 Extract a method for providing default properties and values 2021-02-11 08:53:16 +00:00
abe0f3d93b Rename getAll to findAll, remove published argument 2021-02-11 08:53:16 +00:00
afc0a0e448 Inject the TalkRepository into TalkCounter 2021-02-11 08:53:16 +00:00
29d88893fa Add Docker and Docker Compose 2021-02-11 08:53:15 +00:00
ebd57a2e69 Remove DDEV 2021-02-09 11:37:18 +00:00
24f1fd5673 Rename HttpPostPusher to WebhookPostPusher
References 
2021-01-22 09:42:33 +00:00
79cffc22fe Add Integtomat implementation of PostPusher
Add an Integromat post pusher and add it to the queue worker so that
posts are pushed both to IFTTT (for Twitter) and Integromat (for
LinkedIn).

References 
2021-01-22 02:30:29 +00:00
7204e2c5e8 Add integromat webhook URL
Add the integromat webhook URL to the Ansible Vault and also to the
generated Drupal settings file that Ansible generates, and the
opdavies_blog module configuration.

References 
2021-01-22 02:30:26 +00:00
ffed78ef8b Change blue colour for prose links 2021-01-22 01:07:53 +00:00
55b2005b7d Change blue colour for links and backgrounds 2021-01-22 01:03:38 +00:00
5bab945678 Delete unused settings.symfony.php 2021-01-20 18:40:12 +00:00
69d7d9dca9 Remove old FormatTagNamesCommand
This was a one-time command that is no longer needed, so it can be
removed.
2021-01-14 00:55:13 +00:00
322d948c1e Auto-configure the post factory
References 
2021-01-14 00:45:58 +00:00
43455d5ae1 Auto-configure event subscribers
References 
2021-01-14 00:45:58 +00:00
53ab326415 Auto-configure services and repositories
Enable the auto-configuration of service and repository classes,
including support for classes in subdirectories by using
`getRelativePathname()` rather than `getFilename()` and making some
additional changes to the result.

References 
2021-01-14 00:44:30 +00:00
5e9dc48896 Rename methods 2021-01-13 17:56:57 +00:00
7e06943be1 Rename event subscriber classes 2021-01-13 17:55:29 +00:00
17179fbfe4 Add a placeholder test, mark as skipped
References 
2021-01-13 08:53:29 +00:00
661c26dcec Add query condition for status
References 
2021-01-13 08:52:51 +00:00
dee6051cd9 Add route cache context to related posts block
References 
2021-01-11 02:32:17 +00:00
a3e8f03cf1 Cache the block, not the render array
References 
2021-01-11 02:20:17 +00:00
cca8ed1970 Re-order array by key [ci skip]
References 
2021-01-11 01:59:31 +00:00
f404019a39 Add cache tag for the current post
References 
2021-01-11 01:58:42 +00:00
e716069022 Add list styling to related posts
References 
2021-01-11 01:48:23 +00:00
52fa58733d Set cache max age on related posts block
Based on https://www.drupal.org/node/2451555, added a `max-age` value to
the related posts block.

References 
2021-01-11 01:48:23 +00:00
105405e7f9 Display a list of related post titles
References 
2021-01-11 01:48:21 +00:00
6436e3edb3 Generate a new block for related posts
References 
2021-01-11 01:39:44 +00:00
3546ac427a Extract a method to contain the query logic
Group all of the query logic into one method, as this will make it more
readable and this logic is likely to grow.

References 
2021-01-10 22:38:37 +00:00