Commit Graph
85 Commits
Author SHA1 Message Date
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
whoswhip c52ad8ba9b fix: enable AllowMissingPrunePackageData in project configuration 2026-01-30 17:14:29 -05:00
whoswhip 5375e1caa6 feat: enhance PasteService with caching and cache invalidation methods 2026-01-28 09:13:32 -05:00
whoswhip 2cc2379e10 refactor: make unnecessary asynchronous methods synchronous 2026-01-28 08:53:32 -05:00
whoswhip adcaaadd7e refactor: change ValidSyntaxLanguages from string array to HashSet for improved performance 2026-01-28 08:47:49 -05:00
whoswhip 1af3c095c4 refactor: use inline cache with tag on stats 2026-01-28 08:47:06 -05:00
whoswhip ca210c5ea3 feat: add output caching and stats endpoint to track pastes and users
i plan to implement caching for all other endpoints but output cache doesn't have what i need right now
2026-01-28 07:53:58 -05:00
whoswhip 854e50fe78 feat: include createdAt in user responses 2026-01-28 05:17:03 -05:00
whoswhip 500f457f97 feat: user createdAt property 2026-01-28 05:16:37 -05:00
whoswhip 8aa1543296 feat: include paste createdAt in responses 2026-01-28 04:40:59 -05:00
whoswhip 9d0cc54db4 feat: createdAt paste property 2026-01-28 04:40:38 -05:00
whoswhip 3101f83e3f chore: index syntax, views, and size on pastes 2026-01-28 04:31:28 -05:00
whoswhip 147e43cd8a feat: add CSV to syntax lists 2026-01-26 19:09:32 -05:00
whoswhip c9aa0d9a16 fix: include author data in recent paste data 2026-01-25 09:41:59 -05:00
whoswhip f8a1490582 fix: null user/paste fk in reports on delete 2026-01-23 10:56:08 -05:00
whoswhip ae91108484 feat: refactor refresh token handling; update schema and logic for improved security and functionality 2026-01-23 10:45:49 -05:00
whoswhip 6f990364a5 fix: properly set limiter 2026-01-20 17:11:35 -05:00
whoswhip 3895bd9681 feat: implement rate limiting policy for site info endpoints in Auth and Paste controllers 2026-01-20 17:09:31 -05:00
whoswhip 67447d51ae feat: reports; improved+simplifed modals; extractError funcction;
refactor: change jwt claims to lowercase; use response dtos for sensitive data
fix: nullify user on token clears; change appsettings.dev View_Internal_API_Key
2026-01-14 19:41:52 -05:00