Commit Graph

52 Commits

Author SHA1 Message Date
Oliver Booth 58797b82ca
fix: don't include redirected posts in count 2024-05-06 17:39:28 +01:00
Oliver Booth 23d3950695
chore: add launchSettings.json to make development not suck
This workflow allows the possibility to reload a changed page without reloading the entire app. I hate launchSettings.json, but whatever.
2024-05-05 21:10:23 +01:00
Oliver Booth 435a69b27a
perf: add pagination to blog post list
removes the need for API controller accessed via JS
2024-05-05 18:13:06 +01:00
Oliver Booth 99ff3124c3
refactor: move SmartFormat extensions to separate project 2024-05-05 02:27:04 +01:00
Oliver Booth 6ec4103a3a
refactor: separate Markdig extensions from project
Also introduces .Common project to house common references and types
2024-05-05 02:18:20 +01:00
Oliver Booth a7426b008b
feat: show legacy disqus comments beneath gisqus
No Disqus connection here. I just saved them to DB
2024-05-01 16:47:31 +01:00
Oliver Booth 879ff6a295
feat: add support for excerpts on blog posts / tutorial articles 2024-04-27 15:41:19 +01:00
Oliver Booth 14cac1e38d
feat: add support for multi-lingual code snippets 2024-04-27 00:25:32 +01:00
Oliver Booth e548758608
fix: don't show redirected posts
.NET / Build & Test (push) Failing after 1m4s Details
2024-04-26 17:30:42 +01:00
Oliver Booth 0b1066c273
Merge branch 'feature/tutorials'
.NET / Build & Test (push) Failing after 1m13s Details
2024-04-26 17:24:08 +01:00
Oliver Booth d655b46db5
fix: fix NRE on null HtmlNodeCollection 2024-02-26 13:14:02 +00:00
Oliver Booth 6b3e8d06df
fix: strip Mastodon's botched formatting in links 2024-02-24 00:43:14 +00:00
Oliver Booth 9074cf5210
feat: add visibility to tutorial folders and articles 2024-02-23 17:50:40 +00:00
Oliver Booth 577f3b0148
refactor: move BlogPostVisibility to Visibility
shared enum for blog posts and tutorials, and anything else that may need it
2024-02-23 16:50:43 +00:00
Oliver Booth 8629f8f963
Merge branch 'main' into feature/tutorials 2024-02-23 15:47:21 +00:00
Oliver Booth 0aa9754714
refactor: remove unused imports 2024-02-23 15:46:32 +00:00
Oliver Booth 70f167c9c3
feat: add support for mastodon media 2024-02-23 05:36:31 +00:00
Oliver Booth 279d824772
feat: add mastodon status card 2024-02-23 03:23:57 +00:00
Oliver Booth 9e0410f100
feat: add tutorials page 2024-02-20 20:36:23 +00:00
Oliver Booth cbfdefae71
style: redesign projects page
This change separates the project logo and details into separate pages and makes the list more visually striking.
2023-12-24 12:20:03 +00:00
Oliver Booth 1f6825c9df
feat: add contact blacklist 2023-12-22 14:26:18 +00:00
Oliver Booth 47069f5ece
fix: amend 5cb61d275d
Add missing services
2023-12-14 16:31:55 +00:00
Oliver Booth c3706213f7
chore: remove unused imports 2023-09-25 20:06:30 +01:00
Oliver Booth 6b1a75bfcc
feat: load projects from db 2023-09-24 14:37:38 +01:00
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