bd5fd6114a
refactor: remove blog CORS policy from principal project
2023-08-13 13:11:50 +01:00
f60b9c754a
fix: remove ref to removed service
2023-08-13 00:53:22 +01:00
692d688dc3
refactor: remove unused config service
2023-08-12 22:38:28 +01:00
58799594ae
refactor: switch to serilog
2023-08-12 21:06:48 +01:00
ad59c3190a
fix: read BLOG_URL env var
2023-08-12 20:52:03 +01:00
43f0b38fd2
chore: add blog site to docker-compose
2023-08-12 20:45:09 +01:00
aca79b0e69
chore: use correct project name in Dockerfile
2023-08-12 20:44:24 +01:00
617f58afad
chore: add common files to sln
2023-08-12 20:43:06 +01:00
1432c8e0f1
fix: amend 4c86a43a84
2023-08-12 20:41:14 +01:00
419aae741d
fix: use shared assets in root site
2023-08-12 20:40:46 +01:00
4c86a43a84
chore: remove redundant gitignore
2023-08-12 20:40:31 +01:00
43c3670a40
fix: no wait, it should be 2846
...
Seriously oliver, config file.
2023-08-12 20:37:54 +01:00
904ea689a6
fix: add missing _View* files
2023-08-12 20:34:35 +01:00
5ecd915d72
fix: use the correct port. this should really be in a config file
2023-08-12 20:34:00 +01:00
a6a0adc419
chore: build assets to Common wwwroot
2023-08-12 20:33:00 +01:00
f49b8aee9c
chore: add blog project to sln
2023-08-12 20:32:39 +01:00
a55c657d91
fix: add missing refs for blog project
2023-08-12 20:32:27 +01:00
86bbf803b5
feat: share wwwroot assets
2023-08-12 20:30:10 +01:00
0b7218b11a
chore: bump AspNetCore refs to 7.0.10
2023-08-12 20:14:20 +01:00
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
b3fd6e9420
chore: add toml config to common lib
2023-08-12 19:04:18 +01:00
67231c86af
refactor: delegate ssl cert read to common lib
2023-08-12 18:35:57 +01:00
9b9143632a
refactor: remove ref to jquery validation lib
2023-08-12 16:49:37 +01:00
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
47b648f327
fix: fix markdown formatting inside templates
2023-08-11 21:51:16 +01:00
6f7fa67135
refactor: move DateFormatter to child ns
2023-08-11 21:34:04 +01:00
034bd66b29
feat: format template arguments
2023-08-11 21:33:14 +01:00
9d0e16abc1
feat: add CORS for /api/blog controller
2023-08-11 17:16:26 +01:00
415726cdcd
fix: add missing _ViewImports for blog area
2023-08-11 17:16:04 +01:00
0aee2aafbc
fix: add missing asp-area for article breadcrumb
2023-08-11 17:15:54 +01:00
944fc5ced3
perf: +=5 in loop step because clearly I was stupid
2023-08-11 17:15:39 +01:00
597d7c8b4c
perf: cache author for faster lookup
2023-08-11 17:15:21 +01:00
cd0f38764d
fix: send charset=utf-8 for content-type header
2023-08-11 16:42:12 +01:00
7bd1c5a45a
refactor: remove redundant write of StatusCode
2023-08-11 16:41:53 +01:00
e9d9836238
refactor: move Template extension to subnamespace
2023-08-11 16:35:13 +01:00
37a35d5aab
feat: add author id to class
2023-08-11 16:34:10 +01:00
049601a6fb
fix: remove explicit routing
2023-08-11 16:32:29 +01:00
54f3706ba0
refactor: move blog api controller to project root
2023-08-11 16:32:11 +01:00
e060ab4dea
fix: use string for entity uuid
2023-08-11 16:31:51 +01:00
1fe65aed3b
feat: add support for future spoiler tags
2023-08-11 16:30:42 +01:00
143131b413
style: remove BOM
2023-08-11 15:51:20 +01:00
1a726b4962
style: format url as yyyy/MM/dd
2023-08-11 15:43:06 +01:00
becd70c865
fix: use area "blog" for page link
2023-08-11 15:42:48 +01:00
1bdd2a04f0
docs: add xmldoc in api controller
2023-08-11 15:41:02 +01:00
fb8848270f
refactor: remove unused ns imports
2023-08-11 14:29:26 +01:00
2844904723
fix: add missing _ViewStart to inherit shared layout
2023-08-11 14:27:38 +01:00
19a398d694
refactor: remove unused Post property
2023-08-11 14:27:13 +01:00
eb2edcb3f6
fix: amend 0ecef1a547
...
Forgot these two
2023-08-11 14:26:38 +01:00
2d4d6d3823
refactor: amend c2deccafae
...
Define new Area for blog
2023-08-11 14:26:21 +01:00
0ecef1a547
refactor: match db change from INT to UUID for pkeys
2023-08-11 14:09:13 +01:00