Oliver Davies
d343b4cdf2
Switch from Laravel Mix to Webpack Encore
...
- Updated npm dependencies
- Replaced `webpack.mix.js` with `webpack.config.js`
- Added `postcss.config.js`
- Removed the `src` directory and moved `css` and `js` to the root level
of the theme
- Renamed `dist` to `build` and updated in libraries file
References #41
2020-06-10 12:06:09 +01:00
Oliver Davies
53257d1709
Add a command for updating old tag names
...
Fixes #53
2020-06-01 20:12:27 +01:00
Oliver Davies
b49b487590
Fix PHPStan and PHPCS errors
2020-06-01 19:03:25 +01:00
Oliver Davies
1207df285f
Fix undefined index notice on non-node pages
...
Fixes #95
2020-06-01 11:48:55 +01:00
Oliver Davies
1e78139333
Update talk date test
...
Update the test for updating a talk node as it was essentially doing the
same as the test for creating a new talk node.
The test now ensures that the talk is saved before adding an event, and
that the talk created date is different to the original created date as
well as that it matches the latest event date.
2020-05-31 21:27:55 +01:00
Oliver Davies
eb5b41262f
Display events in an unordered list
...
References #74
2020-05-31 20:56:28 +01:00
Oliver Davies
56f3434c4a
Automatically order events when a talk is saved
...
To ensure that the event dates for a talk are always in the correct
order, and to make the editing experience easier, this change
automatically re-orders the events on a talk node to be based on the
event date.
Fixes #74
2020-05-31 20:56:28 +01:00
Oliver Davies
45fda0fed1
Refactor existing tests
...
References #74
2020-05-31 18:43:10 +01:00
Oliver Davies
a36654cfbb
Remove custom migration code
...
References #77
2020-05-29 22:48:57 +01:00
Oliver Davies
c25eaf4ee1
Split hooks into separate files, load with Finder
2020-05-29 22:35:33 +01:00
Oliver Davies
fafe64dac7
Refactor talks to keep existing tests passing
...
References #78
2020-05-29 22:00:12 +01:00
Oliver Davies
165b6e8195
Refactor to use a Post class
...
References #78
2020-05-29 21:46:17 +01:00
Oliver Davies
79eb9bef0b
Include widgets.js on blog posts that need it
...
Fixes #78
2020-05-29 21:07:59 +01:00
Oliver Davies
22533eba56
Only show posted date on full articles
2020-05-27 08:52:43 +01:00
Oliver Davies
1347c93b96
Load hash salt from file if it exists
2020-05-27 08:48:49 +01:00
Oliver Davies
3006cfab02
Update 'submitted by' text and styling
...
References #71
2020-05-27 02:01:24 +01:00
Oliver Davies
9f40174974
Update spacing in various places in the theme
2020-05-26 23:16:47 +01:00
Oliver Davies
4d3e0901d2
Fix some PHPStan errors
2020-05-26 12:01:03 +01:00
Oliver Davies
f5767f7739
Use a pre-save hook for updating the talk date
2020-05-26 12:00:35 +01:00
Oliver Davies
96863ca261
Install Alpine JS with npm
2020-05-23 02:25:41 +01:00
Oliver Davies
4660831b9c
Re-add highlightjs
...
Fixes #67
2020-05-23 02:16:28 +01:00
Oliver Davies
20c53e2b9e
Add Operator Mono
...
Fixes #68
2020-05-23 01:40:36 +01:00
Oliver Davies
8cfa76e9f4
Add markup class to the featured posts block
2020-05-21 13:19:11 +01:00
Oliver Davies
0dddb17a2c
Add favicon
...
Fixes #64
2020-05-21 02:00:08 +01:00
Oliver Davies
982d282b28
Add spacing after lists
2020-05-20 18:44:14 +01:00
Oliver Davies
1b4dd26c15
Include file in purge settings
...
Include the file containing the body field values within the `purge`
settings so that Tailwind uses it and prevents any classes within it
from being removed from the production CSS.
References #55
2020-05-20 11:59:55 +01:00
Oliver Davies
6ed644c8d3
Add custom command for exporting body content
...
Add a custom Drush command that exports the body field values for node
and block body fields into a file.
This file can then be included within Tailwind's `purge` settings to
prevent classes used within the body fields from being purged.
References #55
2020-05-20 11:57:47 +01:00
Oliver Davies
bcfe01f62c
Extract a base test case for talks tests
2020-05-19 17:14:57 +01:00
Oliver Davies
5393186141
Enable PurgeCSS via Tailwind config file
...
Fixes #40
2020-05-19 17:13:46 +01:00
Oliver Davies
0f2a918492
Only flex if there are sidebars
...
Fixes #52
2020-05-18 23:08:28 +01:00
Oliver Davies
0bb9bdd7a0
Prevent speakerdeck slides leaking out of container
2020-05-18 22:34:31 +01:00
Oliver Davies
93873f0623
Disable purge for now
2020-05-18 11:26:07 +01:00
Oliver Davies
8b722995c4
Fix event list formatting
...
Fixes #46
2020-05-18 11:16:32 +01:00
Oliver Davies
873009eef1
Add !important to Tailwind classes
2020-05-17 10:18:33 +01:00
Oliver Davies
cebbe530d2
Update sidebar widths
2020-05-17 02:16:06 +01:00
Oliver Davies
4831caa7ca
Make videos full width on talk pages
...
Fixes #45
2020-05-17 01:19:45 +01:00
Oliver Davies
ee7b24d778
Add talk videos in the migration
2020-05-16 22:37:13 +01:00
Oliver Davies
fbbcb8dce1
Add markup class to body fields
2020-05-16 14:44:16 +01:00
Oliver Davies
b812176a04
Port navbar from Sculpin
2020-05-16 13:27:47 +01:00
Oliver Davies
2f730f21b5
Copy over CSS from Sculpin site
...
Fixes #39
2020-05-15 01:29:21 +01:00
Oliver Davies
1214662ac1
Delete README.txt and LICENSE.txt
2020-05-14 10:02:37 +01:00
Oliver Davies
31b23372ff
Remove tw-prefix
2020-05-14 10:02:37 +01:00
Oliver Davies
b10ac4ef8c
Change the default theme
2020-05-14 10:02:36 +01:00
Oliver Davies
96ba8ed6d1
Fix typo in key
2020-05-13 02:18:47 +01:00
Oliver Davies
a5aed11dd2
Remove old core key from info.yml
2020-05-13 02:12:58 +01:00
Oliver Davies
73b1d5cd57
Update export feed URLs in migrations
...
Fixes #33
2020-05-13 02:01:24 +01:00
Oliver Davies
c0a132a1bb
Re-add original conditions
2020-05-10 13:15:07 +01:00
Oliver Davies
314ba711af
Stop overriding the config path
2020-05-10 01:44:18 +01:00
Oliver Davies
a305558e98
Delete old files
2020-05-09 22:33:02 +01:00
Oliver Davies
1a2372f611
Add and use a custom Node class
...
Add and use a custom `Node` class within the custom module, and move the
method there for finding the last event date for a talk node.
2020-05-09 22:31:35 +01:00