Commit Graph

314 Commits

Author SHA1 Message Date
Oliver Booth f949bded9b
Merge branch 'main' into feature/admin
.NET / Build & Test (push) Failing after 1m39s Details
2024-02-29 22:38:06 +00:00
Oliver Booth 5846ddaea7
fix(af): unescape © sequence 2024-02-29 19:03:59 +00:00
Oliver Booth 798b91179e
feat: add april fools styling 2024-02-29 18:59:30 +00:00
Oliver Booth e11c8327ec
feat: add CDN backend API 2024-02-29 18:10:04 +00:00
Oliver Booth 0a86721db2
feat: save drafts (version history) when post is updated 2024-02-29 18:06:30 +00:00
Oliver Booth 148e7eb218
refactor!: prototyping EditorJS 2024-02-29 18:05:00 +00:00
Oliver Booth c0efc90c31
Merge branch 'main' into feature/admin 2024-02-29 14:17:03 +00:00
Oliver Booth 0fc0ee2a82
build: add versioning, bump to 1.1.0
Docker Release / build-and-push-image (push) Failing after 1m11s Details
.NET / Build & Test (push) Failing after 44s Details
Tagged Release / Tagged Release (push) Failing after 33s Details
2024-02-28 19:09:02 +00:00
Oliver Booth 02db44bf2f
style: add cool spinning headshot for no other reason than I can 2024-02-28 19:07:42 +00:00
Oliver Booth caaba043a5
refactor: remove Delete post button (for now) 2024-02-28 18:31:08 +00:00
Oliver Booth 28c7f7ce78
refactor!: restructure the markdown editor
This change significantly impacts the organisation and structure of the markdown editor, starting to utilise Blazor (SignalR) to perform operations such as saving, removing the need for an API controller.

Much of the TypeScript source has been more coherently decoupled, for example UI vs business logic is now independent.
2024-02-28 16:04:56 +00:00
Oliver Booth 417d9cae7e
feat: add Blazor to project 2024-02-28 15:51:14 +00:00
Oliver Booth fa87d808dc
fix: fix rare assertion error 2024-02-27 19:00:10 +00:00
Oliver Booth 71b1ff32c4
feat: add support for maintaining indentation on newline 2024-02-27 16:08:55 +00:00
Oliver Booth 8925f07f31
Merge branch 'main' into feature/admin 2024-02-27 13:42:09 +00:00
Oliver Booth 521d202824
build: skip dotnet restore and dotnet build
These steps are executed as part of dotnet publish
2024-02-27 13:39:11 +00:00
Oliver Booth b9de8205f6
chore: update dependencies
.NET project:
* AspNetCore.ReCaptcha 1.8.1
* MailKitSimplified.Sender 2.9.0
* Markdig 0.35.0
* Microsoft.AspNetCore.Components.Web 8.0.2
* Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 8.0.2
* Microsoft.Extensions.FileProviders.Embedded 8.0.2
* Pomelo.EntityFrameworkCore.MySql 8.0.0
* Serilog.AspNetCore 8.0.1
* SmartFormat.NET 3.3.2

npm project:
No front-facing dependencies updated; however some child packages were updated in the process of npm update.
2024-02-27 13:27:28 +00:00
Oliver Booth 783265e6d0
style: reword tagline to match what it really is 2024-02-27 13:11:05 +00:00
Oliver Booth e7e4491002
style: use Titillium Web for index intro 2024-02-27 13:08:36 +00:00
Oliver Booth f1f711fa1f
style: reduce in-your-face-ness of headshot photo 2024-02-27 13:01:10 +00:00
Oliver Booth 8d47060c08
style: separate editor panels with dashed line 2024-02-27 12:48:33 +00:00
Oliver Booth 5d7c2c3b50
style: make wysiwyg editor full-height 2024-02-27 00:27:14 +00:00
Oliver Booth 7cb6e9d463
feat: add post title edit capability 2024-02-26 17:44:22 +00:00
Oliver Booth 593036a712
feat: add syntax highlighting to post editor 2024-02-26 17:43:58 +00:00
Oliver Booth 6efbd749be
Merge branch 'main' into feature/admin 2024-02-26 13:14:20 +00:00
Oliver Booth d655b46db5
fix: fix NRE on null HtmlNodeCollection 2024-02-26 13:14:02 +00:00
Oliver Booth 4b2223634e
feat: add blog post editing 2024-02-26 02:50:48 +00:00
Oliver Booth faf3c4c3a8
feat: implement MFA for admin login 2024-02-25 17:21:29 +00:00
Oliver Booth d38167bb97
feat: add user agent verification to session 2024-02-25 17:18:43 +00:00
Oliver Booth caceb0fe4c
style: format pkgrefs 2024-02-25 16:01:18 +00:00
Oliver Booth 8f96251f94
feat: add secure and samesite policy for sid 2024-02-25 16:00:15 +00:00
Oliver Booth 2431eda6f5
refactor: remove unused out var 2024-02-25 15:58:21 +00:00
Oliver Booth c1e5227289
feat: add login/dashboard link to footer 2024-02-25 15:57:59 +00:00
Oliver Booth eb4777e330
feat: add styles section to layout 2024-02-25 15:54:58 +00:00
Oliver Booth 0fbb94b86e
refactor: move authentication to dedicated controller 2024-02-25 15:54:32 +00:00
Oliver Booth b6d3eb72fe
feat: add api versioning 2024-02-25 15:47:51 +00:00
Oliver Booth a1a7d6dd96
refactor: move BlogApiController to Api folder 2024-02-25 15:38:00 +00:00
Oliver Booth 926e0a718e
refactor: move Admin to own area; not sub Blog 2024-02-25 14:20:36 +00:00
Oliver Booth c5a4ac37b2
feat: redirect to referer on logout if possible 2024-02-25 14:19:26 +00:00
Oliver Booth 6db3aba1c2
style: amend 278c807fa3 2024-02-25 14:19:07 +00:00
Oliver Booth 3917dda658
feat: add permission system to User 2024-02-25 14:18:41 +00:00
Oliver Booth 9a447db891
fix: expire sid after 30 days 2024-02-25 14:17:11 +00:00
Oliver Booth 6db9537206
refactor: delegate session->user check to service 2024-02-25 14:16:55 +00:00
Oliver Booth 1d1acd2a40
feat: add visibility search to GetAllBlogPosts 2024-02-25 14:15:21 +00:00
Oliver Booth 9593979d7b
feat: expose method to delete sid 2024-02-25 14:14:32 +00:00
Oliver Booth 2a16c185fe
fix: fix user validation check 2024-02-25 14:13:12 +00:00
Oliver Booth 9c938bc730
style: amend 278c807fa3 2024-02-25 14:12:58 +00:00
Oliver Booth e21dfd17ff
refactor: purge expired sessions on startup 2024-02-25 14:12:28 +00:00
Oliver Booth 0837092d5f
fix: fix expiration date check 2024-02-25 14:12:04 +00:00
Oliver Booth 278c807fa3
style: apply braces style to project 2024-02-25 14:11:33 +00:00