Oliver Booth
5b4696e6ec
style: organise imports in gulpfile
2024-02-28 17:27:55 +00:00
Oliver Booth
5ab6745a24
fix: update preview post-save
2024-02-28 16:43:07 +00:00
Oliver Booth
e800504651
fix: fix error with saving (null DOM element)
2024-02-28 16:34:13 +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
3c88bde0d1
refactor(build): make gulp pipeline more modular
2024-02-28 15:52:43 +00:00
Oliver Booth
72946ac625
refactor: remove source assets from sln
...
Adding these files locally under IDE config. They have no need to part of the solution itself
2024-02-28 15:52:17 +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
5b236da2e3
style: add visual feedback for table hovering
2024-02-27 14:53:32 +00:00
Oliver Booth
8f09197de6
build: support nested directories for js bundling
2024-02-27 14:49:29 +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
aae7f504e9
refactor(build): add separate admin source ts location
2024-02-26 00:45:00 +00:00
Oliver Booth
97170dcb44
style: use " instead of ' in Gulpfile
2024-02-26 00:43:57 +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
Oliver Booth
14d73851ea
refactor: delegate cookie writing to SessionService
2024-02-24 15:37:39 +00:00