Commit graph

329 commits

Author SHA1 Message Date
Oliver Davies f5a0225c86 Update page title metatag for front page
Fixes #92
2020-06-01 12:54:25 +01:00
Oliver Davies 7b56d84362 Remove blank lines 2020-06-01 12:54:19 +01:00
Oliver Davies 8c75b44ba0 Hide "has tweet" field
Fixes #97
2020-06-01 12:53:30 +01:00
Oliver Davies 208d535d95 Add pull-from-prod to Makefile
Add `pull-from-prod` to the Makefile, which downloads a database from
production, imports it and runs the post-import steps.

Fixes #79
2020-06-01 12:50:41 +01:00
Oliver Davies 4a2aa00ce2 Revert "Remove migrate contrib modules"
This reverts commit 5af1d7b8fa.
2020-06-01 12:33:29 +01:00
Oliver Davies 1207df285f Fix undefined index notice on non-node pages
Fixes #95
2020-06-01 11:48:55 +01:00
Oliver Davies 1e78139333 Update talk date test
Update the test for updating a talk node as it was essentially doing the
same as the test for creating a new talk node.

The test now ensures that the talk is saved before adding an event, and
that the talk created date is different to the original created date as
well as that it matches the latest event date.
2020-05-31 21:27:55 +01:00
Oliver Davies eb5b41262f Display events in an unordered list
References #74
2020-05-31 20:56:28 +01:00
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