Commit graph

10 commits

Author SHA1 Message Date
Oliver Davies 2a0a2d47fa Rename Action to UseCase
Rename to avoid confusion with Drupal's core Action type.
2021-05-24 22:31:01 +01:00
Oliver Davies 909374edcb Remove references to the toTweet() method 2021-05-24 22:23:03 +01:00
Oliver Davies a80de5c738 Revert "Rename config keys for IFTTT and Integromat"
This reverts commit 9a46b63299.
2021-02-25 12:15:43 +00:00
Oliver Davies 9a46b63299 Rename config keys for IFTTT and Integromat 2021-02-25 10:06:35 +00:00
Oliver Davies 24f1fd5673 Rename HttpPostPusher to WebhookPostPusher
References #340
2021-01-22 09:42:33 +00:00
Oliver Davies 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
Oliver Davies ce7209ac74 Ensure that the translated text is rendered
Fixes #334
2021-01-04 22:01:42 +00:00
Oliver Davies cb8afcd852 Update tweet text
References #332
2021-01-01 23:16:56 +00:00
Oliver Davies 87ee87f915 Fix blog tag re-ordering test
Add a NullPostPusher implementation and use it within the tag
re-ordering tests to stop an Exception being thrown because there's no
webhook URL.

References #332
2021-01-01 23:08:23 +00:00
Oliver Davies d7459ff30f Extract a PostPusher service to push the post
Extract a `PostPusher` service with an IFTTT implementation. That means
if this needs to change to use a different service in the future, the
IFTTT implementation can remain unchanged and a new implementation can
be added with its own form params etc.

This also makes this functionality easier to test as we can add a
`NullPostPusher` implementation for testing.

References #332
2021-01-01 22:45:23 +00:00