Commit graph

735 commits

Author SHA1 Message Date
Oliver Davies 3b6ad20486 Move padding from list items to links
So that the padding takes up the full space within the tab, move the
padding to the link element. This requires adding a preprocess function
to the theme file and removing the classes from the local task template.

References #341
2021-01-10 22:05:50 +00:00
Oliver Davies 9bcb8bb847 Add negative margins to re-align tabs
References #341
2021-01-10 22:05:46 +00:00
Oliver Davies b2641662d2 Add tab styling
References #341
2021-01-10 22:05:37 +00:00
Oliver Davies 654d0f65f7 Flex lists of local tasks
References #341
2021-01-10 22:05:22 +00:00
Oliver Davies bb2363457c Add templates for local tasks
References #341
2021-01-10 22:05:18 +00:00
Oliver Davies 90e0ca8561 Ensure .git directories within modules are removed
This was previously done automatically by the
topfloor/composer-cleanup-vcs-dirs Composer plugin, though it's not yet
Composer 2 compatible.

Without this, `web/modules/contrib/plausible/.git` remains and causes
the contrib modules directory to appear whenever `git status` is run.
2021-01-10 20:10:45 +00:00
Oliver Davies 2e94abab55 Add some additional empty tests to fill in later 2021-01-10 20:00:14 +00:00
Oliver Davies bbca137a83 Rename the test method 2021-01-10 19:57:08 +00:00
Oliver Davies c4abde6797 Uninstall the views_ui module
`dblog` was uninstalled in #291. We still need `menu_ui` to add menu
links to content, and `field_ui` for Layout Builder.

Fixes #57
2021-01-10 19:46:57 +00:00
Oliver Davies 55e4df8e9d Uninstall the dblog module
Fixes #291
2021-01-10 19:45:04 +00:00
Oliver Davies 890211578c Remove HTML slides field for talks
Fixes #335
2021-01-10 19:37:06 +00:00
Oliver Davies 383c0d0fdf Push to IFTTT
References #328
2021-01-10 19:14:24 +00:00
Oliver Davies 790b221646 Save post as sent to social media
References #328
2021-01-10 19:13:00 +00:00
Oliver Davies e617e9984d Return early if the post shouldn't be pushed
References #328
2021-01-10 19:06:37 +00:00
Oliver Davies 73271de39a Move logic for if a post should be pushed
References #328
2021-01-10 19:06:36 +00:00
Oliver Davies baebc4fd25 Add queue worker
References #328
2021-01-10 19:04:30 +00:00
Oliver Davies ec6ac1d798 Start refactoring to use a queue
References #328
2021-01-10 18:12:14 +00:00
Oliver Davies af25afe2cf Test that a queue entry is added for a post
References #328
2021-01-10 18:11:11 +00:00
Oliver Davies f42eb27e78 Use localhost for the database server 2021-01-07 20:40:51 +00:00
Oliver Davies f6ccdd3bcb Disable failing deployment step
References #337
2021-01-07 20:37:10 +00:00
Oliver Davies f66cc810ea Re-add deployment steps 2021-01-07 20:36:48 +00:00
Oliver Davies 4d3cf095fd Revert "Update Composer on the web server"
This reverts commit 129857be92.
2021-01-07 20:32:20 +00:00
Oliver Davies 350cde177c Revert "Add --no-interaction argument"
This reverts commit 2fb52df7c8.
2021-01-07 20:32:18 +00:00
Oliver Davies c4bf400ca6 Remove the separate db server 2021-01-06 10:11:21 +00:00
Oliver Davies 9c6a9c6b47 Give the server both the web and db roles 2021-01-06 10:11:05 +00:00
Oliver Davies ce7209ac74 Ensure that the translated text is rendered
Fixes #334
2021-01-04 22:01:42 +00:00
Oliver Davies c7d38ea6fb Export metatag config changes 2021-01-04 18:15:11 +00:00
Oliver Davies 8095887bd7 Export site config changes 2021-01-04 18:15:11 +00:00
Oliver Davies dad542a0ab Fix content overflowing on mobile 2021-01-04 18:15:11 +00:00
Oliver Davies 4bd0376dd1 Update tweet webhook URL and variable name 2021-01-04 01:20:48 +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
Oliver Davies f6ff21e04e Update form params to work with IFTTT
References #332
2021-01-01 22:34:59 +00:00
Oliver Davies a6f378294c Extract a helper method to group checks [ci skip] 2021-01-01 21:50:35 +00:00
Oliver Davies e2d7f08893 Rename variable to make it more generic 2021-01-01 21:46:12 +00:00
Oliver Davies 26b9e3a84d Change bin directory to bin 2020-12-24 11:06:56 +00:00
Oliver Davies 9aaf62fce3 Re-order imports 2020-12-20 01:45:58 +00:00
Oliver Davies 08657c9b14 Safelist branding block, fix logo size 2020-12-20 01:45:50 +00:00
Oliver Davies aabfd555d6 Cache based on lock files 2020-12-19 14:52:48 +00:00
Oliver Davies 84f9948132 Add bing verification tag 2020-12-19 13:57:32 +00:00
Oliver Davies 556f00b5ed Add hreflang module 2020-12-19 13:49:56 +00:00
Oliver Davies 7a2c696e6f Increase page cache time 2020-12-19 13:37:17 +00:00
Oliver Davies bd27ff76d6 Commit metatag changes 2020-12-19 13:36:53 +00:00
Oliver Davies cbbda95fbd Add views to the sitemap 2020-12-19 13:36:24 +00:00
Oliver Davies a142f073f2 Re-add colour overrides
https://tailwindcss.com/docs/upgrading-to-v2#configure-your-color-palette-explicitly
2020-12-18 01:08:31 +00:00
Oliver Davies 3f1f858c37 Import default colours from 1.x
https://tailwindcss.com/docs/upgrading-to-v2#configure-your-color-palette-explicitly
2020-12-18 01:08:21 +00:00
Oliver Davies 3a7465572f Rename focus visible plugin 2020-12-18 01:08:18 +00:00
Oliver Davies 6c6585abf8 Change whitelist to safelist
https://tailwindcss.com/docs/upgrading-to-v2#update-purge-options-to-match-purge-css-3-0
2020-12-18 01:08:05 +00:00
Oliver Davies dc70dd5e87 Move the typography plugin config into extend
https://tailwindcss.com/docs/upgrading-to-v2#update-typography-and-forms-plugins
https://github.com/tailwindlabs/tailwindcss-typography/releases/tag/v0.3.0
2020-12-18 01:07:55 +00:00