Commit Graph

370 Commits

Author SHA1 Message Date
Oliver Booth f18ae5eba4
refactor(web): make dbcontext internal 2023-08-16 14:09:43 +01:00
Oliver Booth 9e2fa951f1
refactor: use PascalCase for asp-page routes 2023-08-16 14:08:33 +01:00
Oliver Booth 8202bb7440
style: reword open source text 2023-08-16 14:02:58 +01:00
Oliver Booth 1e1f67b9b4
fix: allow styled mark tags 2023-08-16 13:56:13 +01:00
Oliver Booth 09f3535d77
refactor: remove unused ns import 2023-08-15 17:07:49 +01:00
Oliver Booth 20eabeeb1e
refactor: remove unneeded log line 2023-08-15 17:06:00 +01:00
Oliver Booth fe4701c1bf
chore(debug): set minlevel for DEBUG config 2023-08-15 17:05:16 +01:00
Oliver Booth d9c6034aa0
fix(blog): link to relative index not root index 2023-08-15 17:04:58 +01:00
Oliver Booth 7ee9d3637c
feat: add support for template variants 2023-08-15 17:04:43 +01:00
Oliver Booth 1cdad4c17c
fix(blog): set post in ViewData for article 2023-08-14 00:58:58 +01:00
Oliver Booth b9e2597bc0
feat(prism): define hex/binary langs for better highlighting 2023-08-14 00:58:32 +01:00
Oliver Booth e7cbe0330b
feat: add post metadata for social embed support 2023-08-14 00:57:46 +01:00
Oliver Booth 9ce4b844fe
style: format RSS link child 2023-08-14 00:57:13 +01:00
Oliver Booth c3e64a6cde
style: add theme-color #121212 2023-08-14 00:56:59 +01:00
Oliver Booth adf9e63008
style: remove self-closing / 2023-08-14 00:56:45 +01:00
Oliver Booth fdea721f4f
fix: fix support for inline templates 2023-08-14 00:56:05 +01:00
Oliver Booth eb2a63e136
fix(blog): use tag helpers to generate href 2023-08-13 18:12:42 +01:00
Oliver Booth 193b2486a1
refactor(blog): use /blog prefix for article endpoints 2023-08-13 18:12:13 +01:00
Oliver Booth dc83309db7
perf(blog): cache users 2023-08-13 18:03:08 +01:00
Oliver Booth bbc76bc305
refactor(blog): use api controller for /blog/feed endpoint 2023-08-13 18:02:58 +01:00
Oliver Booth 369436ccce
refactor: use global templates 2023-08-13 18:02:19 +01:00
Oliver Booth 67d89c1831
fix(blog): fix reading of url due to schema change 2023-08-13 17:35:20 +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 be44fb4b4b
chore: add per-project Dockerfile 2023-08-13 16:38:56 +01:00
Oliver Booth 9475205196
style(blog): use extension-method invocation of ToTable 2023-08-13 15:25:25 +01:00
Oliver Booth f878bff8f3
refactor: use shared Markdig pipeline 2023-08-13 15:24:57 +01:00
Oliver Booth a84f537dc1
refactor(blog): swap to using new API host for client-side fetch 2023-08-13 15:24:24 +01:00
Oliver Booth 7495da56cb
fix(blog): add missing TemplateService impl 2023-08-13 13:30:55 +01:00
Oliver Booth 6bbdd0a74d
fix: add missing ns import 2023-08-13 13:28:25 +01:00
Oliver Booth 287af40501
feat: share template system among all projects 2023-08-13 13:27:44 +01:00
Oliver Booth bd5fd6114a
refactor: remove blog CORS policy from principal project 2023-08-13 13:11:50 +01:00
Oliver Booth f60b9c754a
fix: remove ref to removed service 2023-08-13 00:53:22 +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 ad59c3190a
fix: read BLOG_URL env var 2023-08-12 20:52:03 +01:00
Oliver Booth 43f0b38fd2
chore: add blog site to docker-compose 2023-08-12 20:45:09 +01:00
Oliver Booth aca79b0e69
chore: use correct project name in Dockerfile 2023-08-12 20:44:24 +01:00
Oliver Booth 617f58afad
chore: add common files to sln 2023-08-12 20:43:06 +01:00
Oliver Booth 1432c8e0f1
fix: amend 4c86a43a84 2023-08-12 20:41:14 +01:00
Oliver Booth 419aae741d
fix: use shared assets in root site 2023-08-12 20:40:46 +01:00
Oliver Booth 4c86a43a84
chore: remove redundant gitignore 2023-08-12 20:40:31 +01:00
Oliver Booth 43c3670a40
fix: no wait, it should be 2846
Seriously oliver, config file.
2023-08-12 20:37:54 +01:00
Oliver Booth 904ea689a6
fix: add missing _View* files 2023-08-12 20:34:35 +01:00
Oliver Booth 5ecd915d72
fix: use the correct port. this should really be in a config file 2023-08-12 20:34:00 +01:00
Oliver Booth a6a0adc419
chore: build assets to Common wwwroot 2023-08-12 20:33:00 +01:00
Oliver Booth f49b8aee9c
chore: add blog project to sln 2023-08-12 20:32:39 +01:00
Oliver Booth a55c657d91
fix: add missing refs for blog project 2023-08-12 20:32:27 +01:00
Oliver Booth 86bbf803b5
feat: share wwwroot assets 2023-08-12 20:30:10 +01:00
Oliver Booth 0b7218b11a
chore: bump AspNetCore refs to 7.0.10 2023-08-12 20:14:20 +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