Commit graph

156 commits

Author SHA1 Message Date
acf91fb1a9 Always have a gap between main content and sidebar 2020-12-16 00:35:54 +00:00
6edf584ac5 Remove illuminate/support dependency
References 
2020-12-08 00:18:24 +00:00
ce374861ba Change role text colour in dark mode
References 
2020-12-03 08:16:33 +00:00
352637b390 Enable lazy loading for recommendation images 2020-12-03 02:28:04 +00:00
f0b3cc30ec Update caniuse database [ci skip] 2020-12-01 21:52:31 +00:00
71294cb75e Re-add block background colour 2020-11-28 19:57:17 +00:00
a656280e7b Extract helper methods 2020-11-10 20:25:07 +00:00
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
3025ab0f68 Change table header colour in dark mode 2020-11-08 14:51:02 +00:00
097293fc3e Change input text colour in dark mode 2020-11-08 13:45:25 +00:00
a574e7e532 Change blockquote colour in dark mode 2020-11-08 13:36:16 +00:00
9ea86e6559 Set h3 heading colour in dark mode 2020-11-02 14:25:43 +00:00
e76251c376 Remove require for old Symfony settings file 2020-10-30 01:12:03 +00:00
4008f511f8 Move the config sync directory 2020-10-30 00:56:36 +00:00
a888430ef3 Integrate the typography plugin with dark mode
References 
2020-10-29 01:43:33 +00:00
c0355a4e89 Override blue.500 colour
References 
2020-10-29 01:41:57 +00:00
e996140f47 Add dark mode styles
References 
2020-10-29 01:02:26 +00:00
530074f176 Override gray colours
Override the default Tailwind `gray` colours, and update anywhere that
the originals were used.

References 
2020-10-29 00:50:09 +00:00
dacbfebc26 Enable the dark mode variant
References 
2020-10-29 00:50:00 +00:00
623d1924b7 Show if an event is online
References 
2020-10-24 20:32:20 +01:00
79445b8641 Refactor existing event paragraph template
References 
2020-10-24 20:06:50 +01:00
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
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
eb23d93fe0 Return early if should not be sent to social media
Return early and don't send the post to social media if the `Post to
social media` checkbox is not checked.

References 
2020-10-07 23:11:22 +01:00
2d06f5e8d4 Add a method to check if send to social media
Add a method to check if a post should be sent automatically to social
media.

References 
2020-10-07 22:57:40 +01:00
3dd7608a87 Update PurgeCSS config 2020-09-24 12:42:53 +01:00
ef89f5f5c1 Add DDEV configuration 2020-09-16 19:41:48 +01:00
b70b30bc99 Refactor existing CSS
Fixes 
2020-09-16 01:47:00 +01:00
390c3ba44d Enable the 'apply complex classes' feature
Enable the experimental feature to use `@apply` with complex classes
including interactive states. I tried this on the Rebuilding Symfony
demo project and it worked well.

This would mean that I could refactor some of my existing styles on this
project.

References 
2020-09-16 01:39:06 +01:00
b8b1766429 Update tailwindcss to 1.8
References 
2020-09-16 01:34:26 +01:00
3809d5a02f Add token for getting the number of talks given
Add a new custom token, `[opdavies_talks:talk_count]`, that replaces the
placeholder text with the talk count value from the `TalkCounter`
service.

References 
2020-09-16 01:25:09 +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
61442ed74c Make opdavies theme Drupal 9 compatible
References 
2020-09-06 11:57:41 +01:00
596ee4979d Fix PHPCS issues 2020-09-04 22:20:30 +01:00
98fba9306f Fix PHPStan issues 2020-09-04 22:20:30 +01:00
cbe60209e6 Rename custom module directories
- Rename `opdavies_blog` to `blog`.
- Rename `opdavies_blog_test` to `blog_test`.
- Rename `opdavies_talks` to `talks`.
- Rename `opdavies_talks_test` to `talks_test`.

The files within the directories haven't changed, so there is no
breaking change caused by renaming the directories.

 Please enter the commit message for your changes. Lines starting
2020-09-04 21:25:36 +01:00
9b26d772a8 Remove dashes in hashtags, and don't lowercase
References 
2020-09-04 19:45:30 +01:00
9219d10137 Run on insert and update rather than pre-save 2020-09-04 19:19:18 +01:00
061b1177f5 Fix config names 2020-09-04 19:18:25 +01:00
2617e29dec Refactor to use a factory class 2020-09-04 13:46:49 +01:00
10e4616e01 Don't include certain terms as hashtags in tweets
References 
2020-09-04 12:31:53 +01:00
c5c774290d Include tags as hashtags for automated tweets
References 
2020-09-04 12:31:29 +01:00
150c974040 Add a test for converting a post to a tweet
References 
2020-09-04 12:06:51 +01:00
b77c301d8c Refactor to use a short function 2020-08-28 18:01:47 +01:00
59f85f02d5 Add new dependencies to fix PostTest 2020-08-28 13:08:40 +01:00
92f1c0f84c Refactor sending posts to social media 2020-08-28 13:02:20 +01:00
59a98b8d78 Automatically re-order tags on save
Fixes 
2020-08-28 12:56:57 +01:00
5e107b48d6 Move test class
References 
2020-08-28 10:59:07 +01:00
ffe6fe9b68 Add tests for the TalkRepository
Fixes 
2020-08-28 10:54:19 +01:00
87a9f28991 Update prose styling for code and pre elements
Fixes 
2020-08-24 23:02:00 +01:00