Commit graph

771 commits

Author SHA1 Message Date
Oliver Davies 56f3434c4a Automatically order events when a talk is saved
To ensure that the event dates for a talk are always in the correct
order, and to make the editing experience easier, this change
automatically re-orders the events on a talk node to be based on the
event date.

Fixes #74
2020-05-31 20:56:28 +01:00
Oliver Davies 45fda0fed1 Refactor existing tests
References #74
2020-05-31 18:43:10 +01:00
Oliver Davies 95a3187186
Add dependabot config 2020-05-30 15:26:32 +01:00
Oliver Davies f2faef8d45 Remove default migration group
References #77
2020-05-29 22:48:57 +01:00
Oliver Davies 5af1d7b8fa Remove migrate contrib modules
References #77
2020-05-29 22:48:57 +01:00
Oliver Davies a36654cfbb Remove custom migration code
References #77
2020-05-29 22:48:57 +01:00
Oliver Davies c25eaf4ee1 Split hooks into separate files, load with Finder 2020-05-29 22:35:33 +01:00
Oliver Davies fafe64dac7 Refactor talks to keep existing tests passing
References #78
2020-05-29 22:00:12 +01:00
Oliver Davies 165b6e8195 Refactor to use a Post class
References #78
2020-05-29 21:46:17 +01:00
Oliver Davies 79eb9bef0b Include widgets.js on blog posts that need it
Fixes #78
2020-05-29 21:07:59 +01:00
Oliver Davies 22533eba56 Only show posted date on full articles 2020-05-27 08:52:43 +01:00
Oliver Davies 1347c93b96 Load hash salt from file if it exists 2020-05-27 08:48:49 +01:00
Oliver Davies eecefc49cd Remove reference to old deploy key 2020-05-27 08:38:48 +01:00
Oliver Davies 0adfeaadae Update date format
Fixes #71
2020-05-27 02:01:24 +01:00
Oliver Davies 3006cfab02 Update 'submitted by' text and styling
References #71
2020-05-27 02:01:24 +01:00
Oliver Davies 9f9b1296e2 Add 'submitted by' information on posts
Re-add the submitted by date onto blog posts so that readers can see
when they were published.

References #71
2020-05-27 02:01:24 +01:00
Oliver Davies 14af222f35 Remove deploy keys 2020-05-27 00:50:44 +01:00
Oliver Davies c480573b9e Add Honeypot module 2020-05-27 00:40:20 +01:00
Oliver Davies 286beba2c4 Enable syslog module 2020-05-26 23:17:58 +01:00
Oliver Davies 9f40174974 Update spacing in various places in the theme 2020-05-26 23:16:47 +01:00
Oliver Davies 60f98037df Set reverse proxy settings for Cloudflare 2020-05-26 22:10:52 +01:00
Oliver Davies 4d3e0901d2 Fix some PHPStan errors 2020-05-26 12:01:03 +01:00
Oliver Davies f5767f7739 Use a pre-save hook for updating the talk date 2020-05-26 12:00:35 +01:00
Oliver Davies 2632f09b7f Add space between items on blog and talks pages
Fixes #69
2020-05-23 15:16:42 +01:00
Oliver Davies 8b899abc00 Export metatag and layout builder config 2020-05-23 15:09:57 +01:00
Oliver Davies 9e35d8b2a7 Add download database playbook
Fixes #70
2020-05-23 14:43:13 +01:00
Oliver Davies 96863ca261 Install Alpine JS with npm 2020-05-23 02:25:41 +01:00
Oliver Davies 4660831b9c Re-add highlightjs
Fixes #67
2020-05-23 02:16:28 +01:00
Oliver Davies 20c53e2b9e Add Operator Mono
Fixes #68
2020-05-23 01:40:36 +01:00
Oliver Davies 50ae96c4a5 Split nginx vhosts, re-add default_server 2020-05-22 01:33:26 +01:00
Oliver Davies b019d620bd Disallow traffic on port 22 2020-05-22 01:19:13 +01:00
Oliver Davies 5acab19bab Fix nginx error on reload 2020-05-22 01:18:17 +01:00
Oliver Davies 8cfa76e9f4 Add markup class to the featured posts block 2020-05-21 13:19:11 +01:00
Oliver Davies 4ff2d5f8c2 Update featured posts styling 2020-05-21 13:19:09 +01:00
Oliver Davies a066de22a4 Add promoted to admin content view 2020-05-21 12:35:35 +01:00
Oliver Davies c72b1b54f9 Add featured posts to the front page 2020-05-21 12:34:34 +01:00
Oliver Davies 732b1857b6 Enable Layout Builder for basic pages 2020-05-21 12:05:47 +01:00
Oliver Davies ec3cd3e362 Hide labels on event fields 2020-05-21 12:03:35 +01:00
Oliver Davies 8c16f8b752 Only collect analytics for anonymous users 2020-05-21 02:03:20 +01:00
Oliver Davies d1712e424d Increase dblog row limit 2020-05-21 02:02:11 +01:00
Oliver Davies 0dddb17a2c Add favicon
Fixes #64
2020-05-21 02:00:08 +01:00
Oliver Davies a1267ec46c Add certificate for non-www domain too 2020-05-21 01:53:20 +01:00
Oliver Davies 1fb6bdfb79 Update SSH port 2020-05-20 21:10:16 +01:00
Oliver Davies ce8ca61afa Commit the Makefile 2020-05-20 21:06:48 +01:00
Oliver Davies c9e3915484 Remove start and stop scripts 2020-05-20 20:57:46 +01:00
Oliver Davies 982d282b28 Add spacing after lists 2020-05-20 18:44:14 +01:00
Oliver Davies fb39eda059 Update core to 8.8.6 2020-05-20 18:11:08 +01:00
Oliver Davies cee084092b Re-order deployment steps
Re-order the deployment steps, ensuring that the Drupal cache is rebuilt
before trying to run the custom Drush command to ensure that it is
found.

References #55.
2020-05-20 12:22:45 +01:00
Oliver Davies 1b4dd26c15 Include file in purge settings
Include the file containing the body field values within the `purge`
settings so that Tailwind uses it and prevents any classes within it
from being removed from the production CSS.

References #55
2020-05-20 11:59:55 +01:00
Oliver Davies ab5849ae5b Run the command during deployment
Run the new command automatically during the deployment, prior to
generating the production CSS.

References #55
2020-05-20 11:59:13 +01:00