Oliver Davies
3050b53d7d
Test config installation in GitHub Actions
...
Use a SQLite database to test installing the site from the existing
configuration. If there is an error with the configuration (e.g. trying
to enable a module that isn't present) then the job will fail.
Fixes #60
2020-06-26 12:29:59 +01:00
Oliver Davies
f37e69f6f2
Refactor to use a Collection in the test
...
References #140
2020-06-26 02:14:23 +01:00
Oliver Davies
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 #140
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
Oliver Davies
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
Oliver Davies
f2385b8fc4
Update Drupal core to 8.9.1
2020-06-17 21:40:24 +01:00
Oliver Davies
9dbcf903f4
Ansible: Extract an include for building theme assets
2020-06-17 01:36:06 +01:00
Oliver Davies
e874475c32
Ansible: Re-organise deployment steps
2020-06-17 01:23:31 +01:00
Oliver Davies
b83baa4c26
Ansible: prevent showing changed status when not changed
2020-06-17 00:12:31 +01:00
Oliver Davies
922ac14e6b
Ansible: Optimise the autoloader
2020-06-16 23:45:46 +01:00
Oliver Davies
deb6f26836
Add webpack aliases for CSS and JS directories
2020-06-16 00:12:47 +01:00
Oliver Davies
0215e31154
Move CSS and JS into assets
2020-06-16 00:04:46 +01:00
Oliver Davies
fec0feff36
Re-add npm scripts for development and production
...
References #127
2020-06-12 02:17:30 +01:00
Oliver Davies
5ec999e3f2
Re-order deploy steps
...
Run database changes before importing configuration.
References #127
2020-06-12 02:15:52 +01:00
Oliver Davies
5745f51d4c
Update core to 8.9
2020-06-12 02:08:05 +01:00
Oliver Davies
b6f3d6ef91
Update default branch name
...
Change the default branch for deployments from `master` to `production`.
2020-06-10 22:13:54 +01:00
Oliver Davies
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
Oliver Davies
e022935031
No cows
2020-06-10 21:26:55 +01:00
Oliver Davies
edb8a59f84
Update Makefile
...
Added theme related rules:
- theme-build
- theme-build-prod
- theme-clean
- theme-install-dependencies
- theme-watch
References #41
2020-06-10 12:18:33 +01:00
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
e4da12188e
Hide title on Fathom block
2020-06-09 20:02:03 +01:00
Oliver Davies
e43e8a2907
Export gin settings
2020-06-09 20:01:08 +01:00
Oliver Davies
df11ac6b97
Add and configure Stage File Proxy locally
...
Fixes #116
2020-06-09 19:56:58 +01:00
Oliver Davies
7fca86a3f4
Add Gin and use as the admin theme
2020-06-06 11:28:32 +01:00
Oliver Davies
8314c12f28
Update blog feed path
2020-06-04 21:58:03 +01:00
Oliver Davies
d7181dd0be
Export fathom block
2020-06-04 21:57:33 +01:00
Oliver Davies
5dff22a07d
Replace Google Analytics with Fathom
2020-06-02 22:32:03 +01:00
Oliver Davies
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 #110
2020-06-02 00:18:05 +01:00
Oliver Davies
d9f9c835c3
Update blog path and title
...
References #48
2020-06-01 20:23:25 +01:00
Oliver Davies
bb5cfe39ef
Update alias patterns for blog posts and tags
...
References #48
2020-06-01 20:18:24 +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
28472a22fa
Update RSS feed title
...
Fixes #105
2020-06-01 19:52:58 +01:00
Oliver Davies
b49b487590
Fix PHPStan and PHPCS errors
2020-06-01 19:03:25 +01:00
Oliver Davies
f5a0225c86
Update page title metatag for front page
...
Fixes #92
2020-06-01 12:54:25 +01:00
Oliver Davies
7b56d84362
Remove blank lines
2020-06-01 12:54:19 +01:00
Oliver Davies
8c75b44ba0
Hide "has tweet" field
...
Fixes #97
2020-06-01 12:53:30 +01:00
Oliver Davies
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 #79
2020-06-01 12:50:41 +01:00
Oliver Davies
4a2aa00ce2
Revert "Remove migrate contrib modules"
...
This reverts commit 5af1d7b8fa
.
2020-06-01 12:33:29 +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
95a3187186
Add dependabot config
2020-05-30 15:26:32 +01:00
Oliver Davies
f2faef8d45
Remove default migration group
...
References #77
2020-05-29 22:48:57 +01:00
Oliver Davies
5af1d7b8fa
Remove migrate contrib modules
...
References #77
2020-05-29 22:48:57 +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