Commit Graph

28 Commits

Author SHA1 Message Date
Oliver Booth d114870f87
feat: add links to next and prev articles 2023-09-19 19:29:21 +01:00
Oliver Booth 0e583de316
feat(blog): add post visibility and password 2023-08-20 14:23:04 +01:00
Oliver Booth 09f3535d77
refactor: remove unused ns import 2023-08-15 17:07:49 +01:00
Oliver Booth 7ee9d3637c
feat: add support for template variants 2023-08-15 17:04:43 +01:00
Oliver Booth dc83309db7
perf(blog): cache users 2023-08-13 18:03:08 +01:00
Oliver Booth 369436ccce
refactor: use global templates 2023-08-13 18:02:19 +01:00
Oliver Booth 0a9c2e82d5
refactor: combine sites into one
CORS was "cors"ing some issues (heh).

But also it is easier to maintain this way. Development was made much more difficult when I separated it. Combining it all also improves SEO
2023-08-13 17:34:38 +01:00
Oliver Booth 287af40501
feat: share template system among all projects 2023-08-13 13:27:44 +01:00
Oliver Booth 692d688dc3
refactor: remove unused config service 2023-08-12 22:38:28 +01:00
Oliver Booth 58799594ae
refactor: switch to serilog 2023-08-12 21:06:48 +01:00
Oliver Booth e8bc50bbdf
refactor: move blog to separate app
I'd ideally like to keep the blog. subdomain the same, and while there are a few ways to achieve this it is much simpler to just dedicate a separate application for the subdomain.

This change also adjusts the webhost builder extensions to default to ports 443/80, and each app now explicitly sets the port it needs.
2023-08-12 20:13:47 +01:00
Oliver Booth 641313f97a
refactor: remove Author schema
Introducing new User which serves both as author model and credential model
2023-08-12 14:24:27 +01:00
Oliver Booth 47b648f327
fix: fix markdown formatting inside templates 2023-08-11 21:51:16 +01:00
Oliver Booth 6f7fa67135
refactor: move DateFormatter to child ns 2023-08-11 21:34:04 +01:00
Oliver Booth 034bd66b29
feat: format template arguments 2023-08-11 21:33:14 +01:00
Oliver Booth e9d9836238
refactor: move Template extension to subnamespace 2023-08-11 16:35:13 +01:00
Oliver Booth 143131b413
style: remove BOM 2023-08-11 15:51:20 +01:00
Oliver Booth eb2edcb3f6
fix: amend 0ecef1a547
Forgot these two
2023-08-11 14:26:38 +01:00
Oliver Booth 221a6f0007
fix: add missing method from BlogService 2023-08-10 14:37:52 +01:00
Oliver Booth 8a1cd689ea
feat: add rss output at route /blog/feed 2023-08-09 21:08:57 +01:00
Oliver Booth 6af41cba5a
feat: add support for MediaWiki-style templates 2023-08-08 21:03:41 +01:00
Oliver Booth aaafcaf760
perf: handle content processing in BlogService 2023-08-08 12:46:24 +01:00
Oliver Booth 56a8ba7368
fix: add missing lookup 2023-08-08 12:40:51 +01:00
Oliver Booth 95a5a9e93b
refactor: readonly IDbContextFactory 2023-08-08 12:25:28 +01:00
Oliver Booth 7f4ef10960
refactor: delegate id lookup to BlogService 2023-08-08 11:35:22 +01:00
Oliver Booth 69a6f4a3af
refactor: delegate post lookup to BlogService 2023-08-08 02:06:11 +01:00
Oliver Booth 83e5757429
feat: delegate blog listing to BlogService 2023-08-08 01:31:05 +01:00
Oliver Booth 518ea1b933
feat: add NLog 2023-08-06 15:56:08 +01:00