Commit graph

582 commits

Author SHA1 Message Date
Oliver Davies e89ddd6ddb Enable shortcut module 2020-11-11 20:02:12 +00:00
Oliver Davies c462388c37 Update intro text for Talks page 2020-11-11 19:36:16 +00:00
Oliver Davies caa897a837 Update title and intro text for Talks page 2020-11-11 19:32:52 +00:00
Oliver Davies a656280e7b Extract helper methods 2020-11-10 20:25:07 +00:00
Oliver Davies 06c3da1880 Add public constants for field names
Make it easier and safer when referencing field names by adding public
constants for them to the Talk and Post classes.
2020-11-10 19:34:15 +00:00
Oliver Davies 3025ab0f68 Change table header colour in dark mode 2020-11-08 14:51:02 +00:00
Oliver Davies 097293fc3e Change input text colour in dark mode 2020-11-08 13:45:25 +00:00
Oliver Davies a574e7e532 Change blockquote colour in dark mode 2020-11-08 13:36:16 +00:00
Oliver Davies 9ea86e6559 Set h3 heading colour in dark mode 2020-11-02 14:25:43 +00:00
Oliver Davies 47632b00b8 Ensure that theme assets can be built 2020-11-02 14:25:26 +00:00
Oliver Davies 26c1138139 Remove command to get a database from the server 2020-11-02 01:20:27 +00:00
Oliver Davies 147a5ad1da Use dark mode for Gin admin theme 2020-11-02 01:04:30 +00:00
Oliver Davies c57d864d10 Stop trying to send emails to an example address 2020-11-02 00:56:17 +00:00
Oliver Davies 8139a04eb8 Deploy on pushes to production 2020-11-02 00:49:29 +00:00
Oliver Davies 38e7d23fd0 Only run CI for pull requests 2020-11-02 00:38:31 +00:00
Oliver Davies 98c01e29ea Update contrib modules
- admin_toolbar: 2.2.0 => 2.4.0
- config_filter: 1.5.0 => 1.8.0
- config_split: 1.4.0 => 1.7.0
- honeypot: 2.0.0 => 2.0.1
- hook_event_dispatcher: 2.2.0 => 2.4.0
- metatag: 1.13.0 => 1.14.0
- stage_file_proxy: 1.0.0 => 1.1.0
2020-11-02 00:33:52 +00:00
Oliver Davies 693fc53fcb Update to Drush 10
References #112
2020-11-01 22:03:58 +00:00
Oliver Davies c92f6ee5d6 Use an environment variable for PHP version 2020-10-31 09:56:27 +00:00
Oliver Davies 4d70c67c43 Only run if there is no built flag 2020-10-31 09:25:51 +00:00
Oliver Davies 38fb6002fb Build theme after DDEV start 2020-10-31 09:25:51 +00:00
Oliver Davies 096f617b8b Document custom DDEV commands in README
Fixes #266
2020-10-31 09:25:51 +00:00
Oliver Davies dd263a6f38 Split install and refresh commands 2020-10-31 09:25:51 +00:00
Oliver Davies f42aaab862 Rename theme commands 2020-10-31 09:25:51 +00:00
Oliver Davies f21b61665c Run composer validate in CI
This ensures that the composer.json and composer.lock files are in sync
before trying to install the site.
2020-10-31 09:18:01 +00:00
Oliver Davies a1b90a7948 Remove .ht.router.php
This file isn't needed as I'm not using the PHP local web server.
2020-10-31 09:09:00 +00:00
Oliver Davies f9a5112978 Remove .gitmodules 2020-10-30 01:40:51 +00:00
Oliver Davies b3c925a0cf Security hardening: lock community action versions
As there's no lockfile for GitHub Actions, specify the commit SHAs to
use for community actions so that changes can be reviewed before using a
new version of a particular action.
2020-10-30 01:26:52 +00:00
Oliver Davies d5d9bdf7bf Re-add .htaccess to config directory 2020-10-30 01:17:32 +00:00
Oliver Davies e76251c376 Remove require for old Symfony settings file 2020-10-30 01:12:03 +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 6ff3c7f483 Combine workflows into one with multiple jobs 2020-10-30 00:23:10 +00:00
Oliver Davies a888430ef3 Integrate the typography plugin with dark mode
References #27
2020-10-29 01:43:33 +00:00
Oliver Davies c0355a4e89 Override blue.500 colour
References #27
2020-10-29 01:41:57 +00:00
Oliver Davies e996140f47 Add dark mode styles
References #27
2020-10-29 01:02:26 +00:00
Oliver Davies 530074f176 Override gray colours
Override the default Tailwind `gray` colours, and update anywhere that
the originals were used.

References #27
2020-10-29 00:50:09 +00:00
Oliver Davies dacbfebc26 Enable the dark mode variant
References #27
2020-10-29 00:50:00 +00:00
Oliver Davies 9645c72346 Add app command for DDEV 2020-10-29 00:25:04 +00:00
Oliver Davies e868f2fb8c Add theme command for DDEV
Add a custom `theme` command to DDEV which provides helpers such as
`ddev theme development`, `ddev theme production`, and `ddev theme
watch` for building the front-end assets, and `ddev theme ssh` to easily
SSH into the theme directory inside web container.
2020-10-29 00:24:54 +00:00
Oliver Davies 957dadf452 Run composer install after starting DDEV 2020-10-29 00:14:48 +00:00
Oliver Davies 623d1924b7 Show if an event is online
References #241
2020-10-24 20:32:20 +01: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 79445b8641 Refactor existing event paragraph template
References #241
2020-10-24 20:06:50 +01:00
Oliver Davies d1c7cc01a7 Make event location optional
References #241
2020-10-24 20:04:28 +01:00
Oliver Davies 7c33f459d5 Specify Composer version 1 2020-10-24 19:48:29 +01:00
Oliver Davies 958111d80f Remove .git directories within contrib modules
Automatically remove any `.git` directories within the project's
dependencies, such as within contrib modules like Plausible which caused
`web/modules/contrib` to keep appearing and being added to the index.
2020-10-24 19:46:17 +01:00
Oliver Davies 0dabdad72b Update SIMPLETEST_BASE_URL 2020-10-24 19:38:57 +01:00
Oliver Davies 0411285046 Override theme templates for blog and talks views
Override the theme templates for the `talks` and `blog_posts` views,
adding classes to the header wrapper and some spacing between the header
text and the view results.
2020-10-24 11:23:38 +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