Commit graph

125 commits

Author SHA1 Message Date
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
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
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
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
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
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 
2020-08-24 02:32:45 +01:00
6dbb135d96 Add pathauto pattern for blog post series terms
Fixes 
2020-08-21 12:41:10 +01:00
5f00b1cf04 Add field for post amendments 2020-08-21 11:57:06 +01:00
1f742cc1f6 Re-order post fields 2020-08-21 11:41:47 +01:00
8e0f296701 Re-order talk fields 2020-08-21 11:39:56 +01:00
ca43a935a9 Delete workshop content type 2020-08-21 11:37:53 +01:00
239b2c071c Add talk type field 2020-08-21 11:34:55 +01:00
7d71915518 Export other config changes 2020-08-21 00:52:54 +01:00
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
79f7a43194 Export metatag settings 2020-08-21 00:50:11 +01:00
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
1d57a53992 Hide site name, show logo 2020-08-21 00:48:48 +01:00
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 
2020-08-14 16:43:04 +01:00
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
33646580a9 Export date and timezone settings 2020-07-19 20:58:44 +01:00
bb0841e8d7 Add recommendation image style 2020-07-16 20:42:30 +01:00
1e2183caae Export recommendation block config
References 
2020-07-15 21:06:45 +01:00
88b2503561 Add scheduler module, configure for blog posts
Fixes 
2020-07-11 11:35:10 +01:00
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 
2020-06-26 02:06:32 +01:00
e4da12188e Hide title on Fathom block 2020-06-09 20:02:03 +01:00
e43e8a2907 Export gin settings 2020-06-09 20:01:08 +01:00
df11ac6b97 Add and configure Stage File Proxy locally
Fixes 
2020-06-09 19:56:58 +01:00
7fca86a3f4 Add Gin and use as the admin theme 2020-06-06 11:28:32 +01:00
8314c12f28 Update blog feed path 2020-06-04 21:58:03 +01:00
d7181dd0be Export fathom block 2020-06-04 21:57:33 +01:00
5dff22a07d Replace Google Analytics with Fathom 2020-06-02 22:32:03 +01:00
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 
2020-06-02 00:18:05 +01:00
d9f9c835c3 Update blog path and title
References 
2020-06-01 20:23:25 +01:00
bb5cfe39ef Update alias patterns for blog posts and tags
References 
2020-06-01 20:18:24 +01:00
28472a22fa Update RSS feed title
Fixes 
2020-06-01 19:52:58 +01:00
f5a0225c86 Update page title metatag for front page
Fixes 
2020-06-01 12:54:25 +01:00
7b56d84362 Remove blank lines 2020-06-01 12:54:19 +01:00
8c75b44ba0 Hide "has tweet" field
Fixes 
2020-06-01 12:53:30 +01:00
4a2aa00ce2 Revert "Remove migrate contrib modules"
This reverts commit 5af1d7b8fa.
2020-06-01 12:33:29 +01:00
f2faef8d45 Remove default migration group
References 
2020-05-29 22:48:57 +01:00
5af1d7b8fa Remove migrate contrib modules
References 
2020-05-29 22:48:57 +01:00
165b6e8195 Refactor to use a Post class
References 
2020-05-29 21:46:17 +01:00
79eb9bef0b Include widgets.js on blog posts that need it
Fixes 
2020-05-29 21:07:59 +01:00