Commit Graph
103 Commits
Author SHA1 Message Date
whoswhip 95ca811d42 feat(comments): implement delete comment functionality with confirmation modal 2026-04-24 09:26:53 -04:00
whoswhip 63b77bece9 feat: comments & paste/comment reactions; renames/refactors
this is a LOT, i should've commited in stages but oh well, from what i can remember:
- paste interactions (reactions)
- comments
- comment interactions (reactions)
- rich text editor
- move all report apis into report controller
- rename size to sizeStored
- rename trueSize to originalSize
- fixed compression on paste compression
    - implemented compression threshold
- use longs instead of ints where possible in the entities
- improve record view + remove redundant check for existing view
2026-04-24 08:52:33 -04:00
whoswhip f82d314d80 feat(modal): refactor modal types and integrate security action requirements 2026-04-24 08:52:22 -04:00
whoswhip df8b1456af Merge branch 'SharpbinV3' of github.com:whoswhip/Sharpbin into SharpbinV3 2026-04-21 14:37:28 -04:00
whoswhip b65d3f8726 fix: remove recipient information from warning log when email settings are incomplete 2026-04-21 14:37:26 -04:00
dependabot[bot] 0b4939ab17 Bump MailKit from 4.15.1 to 4.16.0
---
updated-dependencies:
- dependency-name: MailKit
  dependency-version: 4.16.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 02:13:12 +00:00
whoswhip 094c8e5e08 fix: remove rate limiting on {id}/raw and {id} 2026-03-30 22:16:04 -04:00
whoswhip 797747f718 fix(controller): update paste expiration check to handle zero expiration case 2026-03-10 19:12:54 -04:00
whoswhip f70328c93d fix(controller): only return paste not found if null or expired 2026-03-10 19:06:50 -04:00
whoswhip 8b8c0bbf7a style: format via prettier/csharpier 2026-03-10 04:10:31 -04:00
whoswhip 6eb4f699b5 refactor(backend:auth): improve banned user checks and simplify claim retrieval
1,000 commits in 270 days 🎉
2026-03-10 04:09:48 -04:00
whoswhip 873b1778ee refactor(migrations): correct namespace for entities in model snapshot 2026-03-10 03:23:44 -04:00
whoswhip 44d7ae8cd3 feat(roles, visibility): refactor user roles to use flags and introduce visibility enum 2026-03-10 03:21:13 -04:00
whoswhip 0564d55396 feat(email): add email verification html templates 2026-03-10 03:20:48 -04:00
whoswhip 5f11ee4350 chore(backend): remove unnecessary settings 2026-03-10 03:13:47 -04:00
whoswhip ec0635dd3b fix(backend:paste): check expiration before returning paste data or recording views; prevent paste authors from adding views to their own paste 2026-03-08 14:45:32 -04:00
whoswhip 49e73cde9c fix(auth): replace HMAC token generation with SHA256 for email verification
the HMAC is intended for other actions like change email, i just forgot and was rushing at the time, whoops!
2026-03-07 17:56:06 -05:00
whoswhip 12f716eb83 chore(deps): update package references to latest versions 2026-03-07 12:49:48 -05:00
whoswhip b9cff6a0bd fix(email): ensure all email settings are validated before sending; allow nullable From property 2026-03-07 11:12:44 -05:00
whoswhip 2302ebdffc fix(dotenv): skip empty lines and comments when loading environment variables 2026-03-07 11:12:26 -05:00
whoswhip 2b66cb2762 fix(email): validate settings before sending; use hmac for tokens 2026-03-07 10:44:26 -05:00
whoswhip 32c46b8c2b refactor: remove unused EmailService dependency from AuthController 2026-03-07 10:38:41 -05:00
whoswhip 2c794b833a style: format via prettier and csharpier 2026-03-06 20:13:56 -05:00
whoswhip 5420d94595 feat(email): implement email queue management 2026-03-06 20:13:24 -05:00
whoswhip 95da3f9543 feat: email verification via smtp 2026-03-06 20:10:07 -05:00
whoswhip 00233280d4 feat(backend): add DotEnv class for loading environment variables from .env file 2026-03-04 15:11:25 -05:00
whoswhip ac2f0a3dcf refactor(backend:utilties): simplify GenerateSecureRandomString 2026-02-21 01:35:34 -05:00
whoswhip 75ecfbe7e7 feat(auth): improve token refreshing 2026-02-18 19:08:15 -05:00
whoswhip 3ba63f692c fix: add back CSV syntax support in consts and appsettings 2026-02-14 18:50:49 -05:00
whoswhip 5017e73bb5 fix(backend): use GenerateSecureRandomString for api-keys, paste ids, and refresh tokens 2026-02-14 18:31:40 -05:00
whoswhip 809b513e7a feat(backend:utilities): implement GenerateSecureRandomString function that uses RandomNumberGenerator 2026-02-14 18:30:58 -05:00
whoswhip 3374eadb56 feat(backend:authentication): implement API key authentication scheme and update authorization policies 2026-02-14 05:05:33 -05:00
whoswhip 53d0f33ff0 feat(backend): implement api keys; rename token -> verificationToken in paste creation api
api keys can bypass authentication and captchas/verification
2026-02-13 01:47:50 -05:00
whoswhip db363f0211 feat: add dotnet-ef tool configuration to dotnet-tools.json 2026-02-13 01:45:28 -05:00
whoswhip 0d9a713247 style: format via csharpier 2026-02-10 17:15:29 -05:00
whoswhip 1a13694621 refactor: include all natively supported highlight.js langs and remove any unsupported langs
this one was done manually instead of laste time, majority of the extensions are either from auto-complete or just ones i know
2026-02-09 17:04:49 -05:00
whoswhip 3904ac327f docs: correct dev docs 2026-02-07 21:10:41 -05:00
whoswhip 697ec384f8 fix: correct spelling of 'Verification' in PasteSettings and PasteController 2026-02-06 22:11:37 -05:00
whoswhip 4917180624 fix: prevent internal server endpoint leakage in openapi 2026-02-06 19:35:39 -05:00
whoswhip e90184992a fix: do not generate open api documents on build 2026-02-06 18:36:43 -05:00
whoswhip 6b32994d16 feat: true total paste size; always map the openapi route
style: format via csharpier
2026-02-06 18:28:32 -05:00
whoswhip d04e2962b5 feat: cache for 6 hours instead of 24 hours 2026-02-05 19:59:55 -05:00
whoswhip 23e7973e97 feat: enhance API stats endpoint to include daily paste counts for the past week 2026-02-03 20:15:32 -05:00
whoswhip f95b347191 fix: ensure length > 0 and that arrays have value before validating 2026-02-01 20:12:59 -05:00
whoswhip 755b356d61 fix: update display name validation to allow spaces and improve error message 2026-02-01 16:06:14 -05:00
whoswhip 71363fa1a4 feat(backend): allow spaces in display name during registration 2026-01-31 18:27:18 -05:00
whoswhip abcf79c645 feat: allow spaces in display names 2026-01-31 18:26:09 -05:00
whoswhip 4057f2303c refactor: update report types and statuses to remove useless values 2026-01-31 16:07:09 -05:00
whoswhip 05cd024110 chore: disable admins_require_2fa in dev 2026-01-31 11:23:48 -05:00
whoswhip 270360a32f fix: add IValidateableObject interface to required DTO's ensuring model validation 2026-01-31 11:23:23 -05:00