Commit Graph

364 Commits

Author SHA1 Message Date
Oliver Booth 034bd66b29
feat: format template arguments 2023-08-11 21:33:14 +01:00
Oliver Booth 9d0e16abc1
feat: add CORS for /api/blog controller 2023-08-11 17:16:26 +01:00
Oliver Booth 415726cdcd
fix: add missing _ViewImports for blog area 2023-08-11 17:16:04 +01:00
Oliver Booth 0aee2aafbc
fix: add missing asp-area for article breadcrumb 2023-08-11 17:15:54 +01:00
Oliver Booth 944fc5ced3
perf: +=5 in loop step because clearly I was stupid 2023-08-11 17:15:39 +01:00
Oliver Booth 597d7c8b4c
perf: cache author for faster lookup 2023-08-11 17:15:21 +01:00
Oliver Booth cd0f38764d
fix: send charset=utf-8 for content-type header 2023-08-11 16:42:12 +01:00
Oliver Booth 7bd1c5a45a
refactor: remove redundant write of StatusCode 2023-08-11 16:41:53 +01:00
Oliver Booth e9d9836238
refactor: move Template extension to subnamespace 2023-08-11 16:35:13 +01:00
Oliver Booth 37a35d5aab
feat: add author id to class 2023-08-11 16:34:10 +01:00
Oliver Booth 049601a6fb
fix: remove explicit routing 2023-08-11 16:32:29 +01:00
Oliver Booth 54f3706ba0
refactor: move blog api controller to project root 2023-08-11 16:32:11 +01:00
Oliver Booth e060ab4dea
fix: use string for entity uuid 2023-08-11 16:31:51 +01:00
Oliver Booth 1fe65aed3b
feat: add support for future spoiler tags 2023-08-11 16:30:42 +01:00
Oliver Booth 143131b413
style: remove BOM 2023-08-11 15:51:20 +01:00
Oliver Booth 1a726b4962
style: format url as yyyy/MM/dd 2023-08-11 15:43:06 +01:00
Oliver Booth becd70c865
fix: use area "blog" for page link 2023-08-11 15:42:48 +01:00
Oliver Booth 1bdd2a04f0
docs: add xmldoc in api controller 2023-08-11 15:41:02 +01:00
Oliver Booth fb8848270f
refactor: remove unused ns imports 2023-08-11 14:29:26 +01:00
Oliver Booth 2844904723
fix: add missing _ViewStart to inherit shared layout 2023-08-11 14:27:38 +01:00
Oliver Booth 19a398d694
refactor: remove unused Post property 2023-08-11 14:27:13 +01:00
Oliver Booth eb2edcb3f6
fix: amend 0ecef1a547
Forgot these two
2023-08-11 14:26:38 +01:00
Oliver Booth 2d4d6d3823
refactor: amend c2deccafae
Define new Area for blog
2023-08-11 14:26:21 +01:00
Oliver Booth 0ecef1a547
refactor: match db change from INT to UUID for pkeys 2023-08-11 14:09:13 +01:00
Oliver Booth c2deccafae
refactor: move blog to new asp area 2023-08-11 14:08:14 +01:00
Oliver Booth 3c6a2209c2
style: remove self-closing tag 2023-08-11 13:52:43 +01:00
Oliver Booth 31794a1238
feat: add rss icon to layout footer 2023-08-11 13:24:57 +01:00
Oliver Booth 69e1279a8b
refactor: remove redundant asp-area attr 2023-08-11 13:23:03 +01:00
Oliver Booth bb0483d4ae
refactor: rename index link 2023-08-11 02:27:17 +01:00
Oliver Booth 682b7c2a87
style: use meaningful placeholders 2023-08-11 02:27:07 +01:00
Oliver Booth 69963a5b81
style: swap roles of strong/underline 2023-08-11 02:26:56 +01:00
Oliver Booth bea35a2015
style: improve feel of spinner removal 2023-08-11 02:08:48 +01:00
Oliver Booth ca31a63bb7
feat: use ViewData title in layout 2023-08-11 02:08:18 +01:00
Oliver Booth cbb7d07844
fix: add missing ViewData title assignment 2023-08-11 02:08:03 +01:00
Oliver Booth 1c73ada81c
style: use breadcrumbs for child contact pages 2023-08-11 02:07:39 +01:00
Oliver Booth 7219c948e6
refactor: remove weird namespace declspec 2023-08-11 02:07:13 +01:00
Oliver Booth 95b7ed0ae7
feat: create partial for spinner, register as handlebars template 2023-08-11 02:06:52 +01:00
Oliver Booth 06fab21cd5
feat: link to blog from index 2023-08-11 02:05:27 +01:00
Oliver Booth 3e3f074e63
style: use dynamic bmc button 2023-08-11 02:05:18 +01:00
Oliver Booth f048c619f3
style: reword donate page 2023-08-11 02:05:08 +01:00
Oliver Booth b2a7bf3536
feat: read ssl pem/key path from env 2023-08-10 23:33:15 +01:00
Oliver Booth e3702878cd
fix: register pre-existing bs tooltips 2023-08-10 23:31:34 +01:00
Oliver Booth 4cc9efce42
fix: escape <mark> first 2023-08-10 23:28:37 +01:00
Oliver Booth d1eeea3c85
refactor: ignore <mark> tag from highlighting 2023-08-10 23:28:23 +01:00
Oliver Booth 3e20e41565
refactor: use HttpGet for api routes 2023-08-10 22:57:24 +01:00
Oliver Booth d3958fc22c
feat: validate referer on all routes 2023-08-10 22:56:49 +01:00
Oliver Booth 159e1ad65d
refactor: return Ok(...) instead of building a JsonResult 2023-08-10 22:55:52 +01:00
Oliver Booth 9d46d6495e
fix: 0-pad Published properties 2023-08-10 22:53:15 +01:00
Oliver Booth d6c24d80c1
fix: remove stdout diagnostic print 2023-08-10 22:52:43 +01:00
Oliver Booth 74e7187cba
chore: remove redundant NLog ref
this is implicitly ref'd by NLog.Extensions.Logging
2023-08-10 22:50:43 +01:00