Commit graph

184 commits

Author SHA1 Message Date
Oliver Davies c57d864d10 Stop trying to send emails to an example address 2020-11-02 00:56:17 +00:00
Oliver Davies d5d9bdf7bf Re-add .htaccess to config directory 2020-10-30 01:17:32 +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 de1232d56f Add a new 'Is online' field to event paragraphs
References #241
2020-10-24 20:26:36 +01:00
Oliver Davies d1c7cc01a7 Make event location optional
References #241
2020-10-24 20:04:28 +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 54fee965db Export gin config 2020-10-08 21:01:18 +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 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 a55da019c7 Add field_notes to blog posts 2020-09-14 08:02:01 +01:00
Oliver Davies fec4d90943 Add HTML slides link
Fixes #222
2020-09-09 21:38:10 +01:00
Oliver Davies c023caf44c Hide the feedback URL on events 2020-09-09 21:18:51 +01:00
Oliver Davies 2d62c8ee54 Add feedback URL to event paragraphs 2020-09-09 21:17:52 +01:00
Oliver Davies 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 #112
2020-09-06 12:15:59 +01:00
Oliver Davies 9b1a8fb3be Rename and re-organise custom modules
- Rename `opd_talks` to `opdavies_talks`
- Rename `custom` to `opdavies_blog`
2020-08-24 10:27:49 +01:00
Oliver Davies 6d9ecd8df0 Fix the ordering for future talks
Rather than the custom event sorting plugin being based on the `created`
value, this change adds a new `field_event_date` field to the talk node
type and uses this for the sorting instead.

This commit also adds a new `TalkDateUpdater` service that extracts
either the next event date if there is a future date, or the last past
event date if there is no future date, from `field_events` for each talk
and saves it into the event date field.

For consistency, and to ensure that the results are ordered correctly,
the talk date updater converts the date from a date string (e.g.
`2020-08-24`) into a UNIX timestamp, and the timestamp is saved in the
event date field. This can be changed at a later date if needed.

The talks view has been updated to use the updated sort plugin, and the
existing tests have been updated to use the new field.

References #204
2020-08-24 02:32:45 +01:00
Oliver Davies 6dbb135d96 Add pathauto pattern for blog post series terms
Fixes #63
2020-08-21 12:41:10 +01:00
Oliver Davies 5f00b1cf04 Add field for post amendments 2020-08-21 11:57:06 +01:00
Oliver Davies 1f742cc1f6 Re-order post fields 2020-08-21 11:41:47 +01:00
Oliver Davies 8e0f296701 Re-order talk fields 2020-08-21 11:39:56 +01:00
Oliver Davies ca43a935a9 Delete workshop content type 2020-08-21 11:37:53 +01:00
Oliver Davies 239b2c071c Add talk type field 2020-08-21 11:34:55 +01:00
Oliver Davies 7d71915518 Export other config changes 2020-08-21 00:52:54 +01:00
Oliver Davies 9db21f51f0 Remove Drupal Association member badge
Remove the Drupal Association member badge block, as the badge has been
included in the block below it.
2020-08-21 00:51:32 +01:00
Oliver Davies 79f7a43194 Export metatag settings 2020-08-21 00:50:11 +01:00
Oliver Davies c01296fe57 Hide the 'sent to social media' field
Prevent the 'sent to social media' field and value from being displayed
when a blog post is viewed.
2020-08-21 00:49:07 +01:00
Oliver Davies 1d57a53992 Hide site name, show logo 2020-08-21 00:48:48 +01:00
Oliver Davies 0f07d3d231 Add ability to add links to external posts
Add the ability to add links to external blog posts within my blog feed.
This is done based on a new `field_external_link` field that allows for
adding the external link URL and the domain name as the title.

The node links are then overridden to use the external link if there is
one, so the node title and 'read more' links are changed to use the
external link.

Currently, automated tweets are not generated for external posts.

Fixes #182
2020-08-14 16:43:04 +01:00
Oliver Davies 8385d6fef7 Don't send posts to social media multiple times
Check if a post has previously been sent to social media, by checking
the value of a `field_sent_to_social_media` field.

This field is hidden on the node add/edit forms, and populated when a
post is sent to social media. Once this happens, it will not be sent to
social media again.

This change also populates the field for all existing posts, so that
they won't be re-sent to social media either.
2020-08-12 22:33:16 +01:00
Oliver Davies 33646580a9 Export date and timezone settings 2020-07-19 20:58:44 +01:00
Oliver Davies bb0841e8d7 Add recommendation image style 2020-07-16 20:42:30 +01:00
Oliver Davies 1e2183caae Export recommendation block config
References #146
2020-07-15 21:06:45 +01:00
Oliver Davies 88b2503561 Add scheduler module, configure for blog posts
Fixes #152
2020-07-11 11:35:10 +01:00
Oliver Davies 58d56220de Show upcoming talks in chronological order
Update the ordering of the future talks on the talks page so that
upcoming talks are shown in chronological order (soonest first),
followed by past talks in reverse chronological order (most recent
first).

This still uses the `created` date for ordering, which is updated
automatically on saving the node to match the furthest future talk, but
I may want to move that into a custom node property at some point.

Fixes #140
2020-06-26 02:06:32 +01:00
Oliver Davies e4da12188e Hide title on Fathom block 2020-06-09 20:02:03 +01:00
Oliver Davies e43e8a2907 Export gin settings 2020-06-09 20:01:08 +01:00
Oliver Davies df11ac6b97 Add and configure Stage File Proxy locally
Fixes #116
2020-06-09 19:56:58 +01:00
Oliver Davies 7fca86a3f4 Add Gin and use as the admin theme 2020-06-06 11:28:32 +01:00
Oliver Davies 8314c12f28 Update blog feed path 2020-06-04 21:58:03 +01:00
Oliver Davies d7181dd0be Export fathom block 2020-06-04 21:57:33 +01:00
Oliver Davies 5dff22a07d Replace Google Analytics with Fathom 2020-06-02 22:32:03 +01:00
Oliver Davies 38548df58f Add and enable Menu Trail by Path module
Install the Menu Trail by Path module so that blog posts and talk pages
have their respective navigation links highlighted.

Fixes #110
2020-06-02 00:18:05 +01:00
Oliver Davies d9f9c835c3 Update blog path and title
References #48
2020-06-01 20:23:25 +01:00
Oliver Davies bb5cfe39ef Update alias patterns for blog posts and tags
References #48
2020-06-01 20:18:24 +01:00
Oliver Davies 28472a22fa Update RSS feed title
Fixes #105
2020-06-01 19:52:58 +01:00
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 4a2aa00ce2 Revert "Remove migrate contrib modules"
This reverts commit 5af1d7b8fa.
2020-06-01 12:33:29 +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 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 0adfeaadae Update date format
Fixes #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 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 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 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 f83e04a12b Update site slogan
Fixes #59
2020-05-20 00:14:57 +01:00
Oliver Davies 59d0450eb2 Include site slogan in title metatag
References #59
2020-05-20 00:12:55 +01:00
Oliver Davies 2d3a32d478 Enable caching and asset aggregation
Fixes #56
2020-05-20 00:09:50 +01:00
Oliver Davies f24415edd3 Export copyright block 2020-05-18 18:19:04 +01:00
Oliver Davies 721434adea Update aboutme block 2020-05-18 13:00:41 +01:00
Oliver Davies cfb7011c04 Update front page path 2020-05-18 11:11:24 +01:00
Oliver Davies a940e28691 Add front page blocks 2020-05-17 11:51:16 +01:00
Oliver Davies 9338985230 Re-order menu links 2020-05-17 11:42:33 +01:00
Oliver Davies 758fc8d195 Update post and talk node view settings 2020-05-17 00:21:43 +01:00
Oliver Davies 0bec0f5c7b Replace "About the Author" with "About Me"
References #44
2020-05-16 16:07:34 +01:00
Oliver Davies 39b9ae9271 Revert "Update "About the Author" block"
This reverts commit b43290c58b.
2020-05-16 15:36:21 +01:00
Oliver Davies b43290c58b Update "About the Author" block 2020-05-16 14:20:51 +01:00
Oliver Davies c29fb10e3b Hide the site logo and slogan 2020-05-16 13:34:00 +01:00
Oliver Davies c59e3dd644 Commit updated pathauto config 2020-05-15 00:41:59 +01:00
Oliver Davies cf89984b07 Add node type dependencies 2020-05-15 00:26:43 +01:00
Oliver Davies d9068d9294 Remove Google Analytics from sync config 2020-05-15 00:26:05 +01:00
Oliver Davies 451d4d24ea Replace XML Sitemap with Simple sitemap 2020-05-15 00:25:10 +01:00
Oliver Davies d0f8653028 Add a live split, export Analytics configuration
Fixes #38 and #5
2020-05-15 00:00:20 +01:00
Oliver Davies 4a62e10a6c Add and enable drupal/config_split
References #38
2020-05-14 23:47:22 +01:00
Oliver Davies c1fb05e0f4 Add and enable drupal/google_analytics
References #5
2020-05-14 23:34:40 +01:00
Oliver Davies 068c1e738a Stop ignoring block configuration 2020-05-14 12:04:35 +01:00
Oliver Davies 8980ee1ef4 Enable Menu UI 2020-05-14 10:58:04 +01:00
Oliver Davies 7bf7a9f326 Disable stark and seven themes 2020-05-14 10:02:37 +01:00
Oliver Davies b10ac4ef8c Change the default theme 2020-05-14 10:02:36 +01:00
Oliver Davies 572c6898c5 Add images field to blog posts
Fixes #22
2020-05-13 11:27:40 +01:00
Oliver Davies 6c5fc2be1a Hide summary in body fields
Fixes #18
2020-05-11 09:43:32 +01:00
Oliver Davies a130168765 Add series field to blog posts 2020-05-10 19:59:46 +01:00
Oliver Davies 9d7dd754b1 Add blog series taxonomy 2020-05-10 19:54:30 +01:00