Commit Graph

370 Commits

Author SHA1 Message Date
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
Oliver Booth 8dd4468c1a
feat: gracefully shutdown logmanager on exit 2023-08-10 22:49:44 +01:00
Oliver Booth dcbc402bfb
refactor: remove redundant ns import 2023-08-10 22:49:15 +01:00
Oliver Booth cf615e1e81
fix: fix already-formatted <mark>
no really, I hate this.
2023-08-10 22:48:32 +01:00
Oliver Booth 086a8a665c
feat: capture ctrl+u for git repo redirect 2023-08-10 22:48:08 +01:00
Oliver Booth cf2a5c2ffb
feat: add kb shortcut detection 2023-08-10 22:47:28 +01:00
Oliver Booth e939174040
refactor: delegate timestamp render to UI class 2023-08-10 16:21:35 +01:00
Oliver Booth b4c991e44f
docs: add @param to UI methods 2023-08-10 16:18:52 +01:00
Oliver Booth ab5277bacb
refactor: delegate card creation to UI class 2023-08-10 16:18:24 +01:00
Oliver Booth 5bb6463a4b
fix: use manual Prism highlighting 2023-08-10 16:16:29 +01:00
Oliver Booth 4244f9f014
fix: add disqus comment counter after posts have loaded 2023-08-10 16:14:48 +01:00
Oliver Booth 8a3061f23a
chore: ok fine 2022 then 2023-08-10 15:32:44 +01:00
Oliver Booth 506347ce9c
feat: add pre-formatted date "dddd, d MMMM yyyy HH:mm" 2023-08-10 15:32:34 +01:00
Oliver Booth d67955f28a
refactor: allow localised element query 2023-08-10 15:31:51 +01:00
Oliver Booth 94a1ee00e1
refactor: render bootstrap tooltips from UI class 2023-08-10 15:31:17 +01:00
Oliver Booth 28f310e315
feat: render TeX from UI class 2023-08-10 15:28:53 +01:00
Oliver Booth f3ad04ff1f
feat: add disqus comment count injection to asp page 2023-08-10 15:15:36 +01:00
Oliver Booth 42af5ebcdd
refactor: delegate refresh to UI class 2023-08-10 15:15:06 +01:00
Oliver Booth 522caa6add
refactor: remove now-redundant @ts-ignore 2023-08-10 15:13:20 +01:00
Oliver Booth 350247806d
chore: target ES2023 2023-08-10 15:12:18 +01:00
Oliver Booth cdc6b1df84
chore: add tsconfig to sln 2023-08-10 15:12:07 +01:00
Oliver Booth 221a6f0007
fix: add missing method from BlogService 2023-08-10 14:37:52 +01:00
Oliver Booth 87c54fa5a4
fix: add missing ns import
amends 0b9841a724
2023-08-10 14:37:25 +01:00
Oliver Booth 217c1d660e
feat: use Handlebars to render template excerpt card 2023-08-10 14:36:51 +01:00
Oliver Booth 3868fcbaa8
feat: add pre-humanized timestamp to api schema 2023-08-10 14:34:52 +01:00
Oliver Booth 1de869c6f0
chore: add UI.ts to sln 2023-08-10 14:34:28 +01:00
Oliver Booth fa17f63b82
chore: build ts / bundle js in series 2023-08-10 14:34:01 +01:00
Oliver Booth fb6eabf55f
chore: ignore tmp/ 2023-08-10 14:33:40 +01:00
Oliver Booth 9ef9e6ca2c
fix: amend cb331ff54f 2023-08-10 14:32:56 +01:00
Oliver Booth 085bdafda2
feat: move some UI stuff to UI class 2023-08-10 14:19:11 +01:00
Oliver Booth f989b4c02f
refactor: use readonly fields in Author 2023-08-10 14:18:29 +01:00
Oliver Booth aa69713e49
feat: add handlebars 4.7.8 2023-08-10 14:08:35 +01:00
Oliver Booth cb331ff54f
refactor: use - not _ for id word splitter 2023-08-10 14:08:22 +01:00
Oliver Booth 20656e74e8
refactor: remove redundant function 2023-08-10 04:57:17 +01:00
Oliver Booth 2036970fa2
fix: remove redundant article tag 2023-08-10 04:56:28 +01:00
Oliver Booth 95dd7e51e5
perf: add dynamic fetch of blog posts to speed up page load 2023-08-10 04:56:12 +01:00
Oliver Booth d11e3f616b
chore: move tsconfig to project root, add ES2020/DOM libs 2023-08-10 04:48:02 +01:00
Oliver Booth e64d8b47b8
feat: add support for Discord-style timestamps 2023-08-10 01:49:09 +01:00
Oliver Booth 7279c448da
fix: don't display line numbers for one-line blocks 2023-08-10 00:29:51 +01:00
Oliver Booth fa51e0a189
chore: use es2020 2023-08-10 00:29:31 +01:00
Oliver Booth 434c61d7fa
fix: remove non-existent css link 2023-08-10 00:29:24 +01:00
Oliver Booth 4e032c3aa5
refactor: render katex in delegate. window.onload is redundant 2023-08-09 23:20:35 +01:00
Oliver Booth 738bf1f3ba
feat: use emoji support 2023-08-09 23:19:39 +01:00
Oliver Booth 5c55318577
feat: use smarty pants extension 2023-08-09 23:19:29 +01:00
Oliver Booth 0b9841a724
refactor: simplify md pipeline 2023-08-09 23:19:19 +01:00