Oliver Davies
6a59709664
Fix import ordering
CI / Build and test (push) Has been cancelled
2024-11-26 21:13:23 +00:00
Oliver Davies
2bc95f8061
Rename talks to presentations
2024-11-26 21:01:03 +00:00
Oliver Davies
87359835aa
Add devenv
2024-11-26 21:01:03 +00:00
Oliver Davies
a39e72b96f
Ensure the site is installable from existing
...
...configuration
2024-10-24 16:44:27 +01:00
Oliver Davies
3be4d2f061
Remove OpdaviesTalksServiceProvider
...
It's not used as the tests pass and functionality still works without
it.
2024-06-10 22:22:51 +01:00
Oliver Davies
cd9b8f0585
Add logging for updating a talk before saving
2024-06-10 22:21:33 +01:00
Oliver Davies
28be950672
Fix talk test
...
This commit fixes the current talk test.
Now they're passing, I'll review the tests themselves and refactor them
and/or the implementation code as needed.
2024-05-24 00:11:01 +01:00
Oliver Davies
cbd1417b24
Sort talks only by the event date
...
Sort the talks on the listing page solely by `field_event_date`.
Prior to this commit, the page was using a custom sort plugin that
attempts to show future talks followed by past talks, but also affect
the order to show upcoming talks in an ascending order, followed by past
dalks in the opposite (descending) order.
This was not working as expected.
For now, solely using the event date field is the simpler solution.
In the future, I'll either re-attempt this or remove the code and
simplify my codebase.
2024-05-24 00:07:48 +01:00
Oliver Davies
d2bb7a7d86
Reset the created and changes dates for talks
...
Add an update hook that updates talk node dates to the earliest and most
recent event dates.
2024-05-22 08:06:05 +01:00
Oliver Davies
42eb28771b
Remove unused imports
2024-05-22 07:02:39 +01:00
Oliver Davies
b2215f0e7f
Don't update talks periodically in a cron job
...
I don't think this needs to be run daily. It should be OK updating each
talk if or when it's updated.
2024-05-22 06:59:23 +01:00
Oliver Davies
0c91825c16
Create a cached talk counter
...
Create a cached version of the talk counter service that returns a
cached result of the talk count for that day.
This uses the Decorator design pattern to decorate the existing
`TalkCounter` service and works as they both implement the same
`TalkCounterInterface`.
2024-05-16 14:05:26 +01:00
Oliver Davies
919615ccb8
Revert "Show talks that have been on past days"
...
This reverts commit 700e7b478b
.
2024-05-12 08:54:00 +02:00
Oliver Davies
700e7b478b
Show talks that have been on past days
...
Technically, if a talk is due to be given today, it hasn't been
presented yet and shouldn't be included within the talk count.
This commit changes the comparison to match on talks that were given
yesterday instead of today.
2024-05-11 14:51:01 +02:00
Oliver Davies
9a96363ff7
Fix event sorting
...
Re-add `field_event_date` to sort the talks by their most recent event
date in their custom order.
2024-05-02 23:15:33 +01:00
Oliver Davies
6eed26a756
Revert "Remove unused views sort plugin"
...
This reverts commit c9d44621ff
.
2024-04-18 20:44:00 +01:00
Oliver Davies
89cb9a2283
Fix some PHPStan errors
2024-04-18 20:41:03 +01:00
Oliver Davies
c9d44621ff
Remove unused views sort plugin
2024-04-18 20:26:29 +01:00
Oliver Davies
1706502db3
Delete opdavies_talks.install
2024-04-18 19:52:19 +01:00
Oliver Davies
ed34431abd
Add theme screenshot
2024-04-18 18:00:35 +01:00
Oliver Davies
d2ec2d4ab4
Fix token error
2024-04-15 07:49:30 +01:00
Oliver Davies
f6de1df830
Don't sort events if there's only one event
2024-04-15 07:30:53 +01:00
Oliver Davies
0864a6f5c8
Fix spacing
2024-04-13 22:04:15 +01:00
Oliver Davies
b30cb1ff84
Revert "Reduce spacing in one column layout"
...
This reverts commit aec07978e6
.
2024-04-13 20:23:16 +01:00
Oliver Davies
f670165324
Change warning colour, add status colour
2024-04-13 19:51:07 +01:00
Oliver Davies
61b5afa03d
Style warning status message
...
https://flowbite.com/docs/components/alerts
2024-04-13 19:36:13 +01:00
Oliver Davies
aec07978e6
Reduce spacing in one column layout
2024-04-13 19:10:39 +01:00
Oliver Davies
f3ff716a08
Fix layout pages with Tailwind CSS dark mode
2024-04-13 15:51:19 +01:00
Oliver Davies
d666a4da63
Style local tasks
2024-04-13 15:10:41 +01:00
Oliver Davies
01398280c7
Re-add opdavies_talks module
2024-04-11 23:06:13 +01:00
Oliver Davies
c4f976fcf7
No need to minify stylesheet
...
Drupal will do this automatically with its performance settings.
2024-04-11 07:50:39 +01:00
Oliver Davies
d47c030010
Revert "Add @hotwired/turbo"
...
This reverts commit e1a7317431
.
2024-04-10 22:55:07 +01:00
Oliver Davies
e1a7317431
Add @hotwired/turbo
2024-04-10 22:49:32 +01:00
Oliver Davies
f679931101
Talk page templates
2024-04-10 11:33:32 +01:00
Oliver Davies
5639baba18
Add prose classes to the events list
2024-04-09 23:48:25 +01:00
Oliver Davies
ee375afb71
Add events to talks
2024-04-09 21:21:04 +01:00
Oliver Davies
3990247e64
Fix page margins to match Sculpin pages
2024-04-09 12:06:09 +01:00
Oliver Davies
396aee5e59
Remove vim modeline
...
It's no longer needed as I've fixed `.theme` files within my Neovim
configuration.
2024-04-08 22:51:29 +01:00
Oliver Davies
742c0b159d
Move template
2024-04-04 23:13:48 +01:00
Oliver Davies
f07acc387e
Add favicon
2024-04-04 23:02:06 +01:00
Oliver Davies
75d07582e7
Check if link is present
2024-04-04 22:01:11 +01:00
Oliver Davies
37589139d5
Build Tailwind CSS within the theme
2024-04-04 18:26:59 +01:00
Oliver Davies
061a951770
Testimonial, about me styling and other layout
...
...changes
2024-04-04 18:20:16 +01:00
Oliver Davies
530357999a
Initial theme creation
2024-04-04 18:20:16 +01:00
Oliver Davies
bac11b9701
Initial commit
2024-04-04 18:20:16 +01:00