Commit graph

260 commits

Author SHA1 Message Date
58d56220de Show upcoming talks in chronological order
Update the ordering of the future talks on the talks page so that
upcoming talks are shown in chronological order (soonest first),
followed by past talks in reverse chronological order (most recent
first).

This still uses the `created` date for ordering, which is updated
automatically on saving the node to match the furthest future talk, but
I may want to move that into a custom node property at some point.

Fixes 
2020-06-26 02:06:32 +01:00
dependabot-preview[bot]
b71f8cc7f8
Bump drupal/gin from 3.0.0-alpha18 to 3.0.0-alpha19
Bumps drupal/gin from 3.0.0-alpha18 to 3.0.0-alpha19.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 13:41:31 +00:00
5ff147fbfc Update contrib projects
- Update Gin theme and Simple XML sitemap modules to the next compatible
  version.
- Update SpeakerDeck Field module to the semver (^2.0) version.
2020-06-17 22:38:52 +01:00
f2385b8fc4 Update Drupal core to 8.9.1 2020-06-17 21:40:24 +01:00
9dbcf903f4 Ansible: Extract an include for building theme assets 2020-06-17 01:36:06 +01:00
e874475c32 Ansible: Re-organise deployment steps 2020-06-17 01:23:31 +01:00
b83baa4c26 Ansible: prevent showing changed status when not changed 2020-06-17 00:12:31 +01:00
922ac14e6b Ansible: Optimise the autoloader 2020-06-16 23:45:46 +01:00
deb6f26836 Add webpack aliases for CSS and JS directories 2020-06-16 00:12:47 +01:00
0215e31154 Move CSS and JS into assets 2020-06-16 00:04:46 +01:00
fec0feff36 Re-add npm scripts for development and production
References 
2020-06-12 02:17:30 +01:00
5ec999e3f2 Re-order deploy steps
Run database changes before importing configuration.

References 
2020-06-12 02:15:52 +01:00
5745f51d4c Update core to 8.9 2020-06-12 02:08:05 +01:00
b6f3d6ef91 Update default branch name
Change the default branch for deployments from `master` to `production`.
2020-06-10 22:13:54 +01:00
4f4470e4a0 Remove Google Analytics module
Remove the Google Analytics module from the codebase as it's no longer
used, and has since been replaced with Fathom Analytics
2020-06-10 22:11:27 +01:00
e022935031 No cows 2020-06-10 21:26:55 +01:00
edb8a59f84 Update Makefile
Added theme related rules:

- theme-build
- theme-build-prod
- theme-clean
- theme-install-dependencies
- theme-watch

References 
2020-06-10 12:18:33 +01:00
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 
2020-06-10 12:06:09 +01:00
e4da12188e Hide title on Fathom block 2020-06-09 20:02:03 +01:00
e43e8a2907 Export gin settings 2020-06-09 20:01:08 +01:00
df11ac6b97 Add and configure Stage File Proxy locally
Fixes 
2020-06-09 19:56:58 +01:00
7fca86a3f4 Add Gin and use as the admin theme 2020-06-06 11:28:32 +01:00
8314c12f28 Update blog feed path 2020-06-04 21:58:03 +01:00
d7181dd0be Export fathom block 2020-06-04 21:57:33 +01:00
5dff22a07d Replace Google Analytics with Fathom 2020-06-02 22:32:03 +01:00
38548df58f Add and enable Menu Trail by Path module
Install the Menu Trail by Path module so that blog posts and talk pages
have their respective navigation links highlighted.

Fixes 
2020-06-02 00:18:05 +01:00
d9f9c835c3 Update blog path and title
References 
2020-06-01 20:23:25 +01:00
bb5cfe39ef Update alias patterns for blog posts and tags
References 
2020-06-01 20:18:24 +01:00
53257d1709 Add a command for updating old tag names
Fixes 
2020-06-01 20:12:27 +01:00
28472a22fa Update RSS feed title
Fixes 
2020-06-01 19:52:58 +01:00
b49b487590 Fix PHPStan and PHPCS errors 2020-06-01 19:03:25 +01:00
f5a0225c86 Update page title metatag for front page
Fixes 
2020-06-01 12:54:25 +01:00
7b56d84362 Remove blank lines 2020-06-01 12:54:19 +01:00
8c75b44ba0 Hide "has tweet" field
Fixes 
2020-06-01 12:53:30 +01:00
208d535d95 Add pull-from-prod to Makefile
Add `pull-from-prod` to the Makefile, which downloads a database from
production, imports it and runs the post-import steps.

Fixes 
2020-06-01 12:50:41 +01:00
4a2aa00ce2 Revert "Remove migrate contrib modules"
This reverts commit 5af1d7b8fa.
2020-06-01 12:33:29 +01:00
1207df285f Fix undefined index notice on non-node pages
Fixes 
2020-06-01 11:48:55 +01:00
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
eb5b41262f Display events in an unordered list
References 
2020-05-31 20:56:28 +01:00
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 
2020-05-31 20:56:28 +01:00
45fda0fed1 Refactor existing tests
References 
2020-05-31 18:43:10 +01:00
95a3187186
Add dependabot config 2020-05-30 15:26:32 +01:00
f2faef8d45 Remove default migration group
References 
2020-05-29 22:48:57 +01:00
5af1d7b8fa Remove migrate contrib modules
References 
2020-05-29 22:48:57 +01:00
a36654cfbb Remove custom migration code
References 
2020-05-29 22:48:57 +01:00
c25eaf4ee1 Split hooks into separate files, load with Finder 2020-05-29 22:35:33 +01:00
fafe64dac7 Refactor talks to keep existing tests passing
References 
2020-05-29 22:00:12 +01:00
165b6e8195 Refactor to use a Post class
References 
2020-05-29 21:46:17 +01:00
79eb9bef0b Include widgets.js on blog posts that need it
Fixes 
2020-05-29 21:07:59 +01:00
22533eba56 Only show posted date on full articles 2020-05-27 08:52:43 +01:00