Commit graph

13 commits

Author SHA1 Message Date
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 #340
2021-01-22 02:30:29 +00:00
dee6051cd9 Add route cache context to related posts block
References #3
2021-01-11 02:32:17 +00:00
a3e8f03cf1 Cache the block, not the render array
References #3
2021-01-11 02:20:17 +00:00
cca8ed1970 Re-order array by key [ci skip]
References #3
2021-01-11 01:59:31 +00:00
f404019a39 Add cache tag for the current post
References #3
2021-01-11 01:58:42 +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 #3
2021-01-11 01:48:23 +00:00
105405e7f9 Display a list of related post titles
References #3
2021-01-11 01:48:21 +00:00
6436e3edb3 Generate a new block for related posts
References #3
2021-01-11 01:39:44 +00:00
383c0d0fdf Push to IFTTT
References #328
2021-01-10 19:14:24 +00:00
790b221646 Save post as sent to social media
References #328
2021-01-10 19:13:00 +00:00
e617e9984d Return early if the post shouldn't be pushed
References #328
2021-01-10 19:06:37 +00:00
73271de39a Move logic for if a post should be pushed
References #328
2021-01-10 19:06:36 +00:00
baebc4fd25 Add queue worker
References #328
2021-01-10 19:04:30 +00:00