Commit Graph
25 Commits
Author SHA1 Message Date
whoswhip 6c810b07b7 fix: enhance user update permissions and authentication checks 2026-06-17 21:32:40 -04:00
whoswhip 61efbf8b04 fix: show uncompressed size in stats
also renamed variables to make it more readable
2026-06-14 12:40:19 -04:00
whoswhip a55268afdc fix: enforce 2fa only on certain update actions
prevent newer admins from demoting older admins, and also prevent deletion of all admins
2026-04-25 05:02:31 -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 44d7ae8cd3 feat(roles, visibility): refactor user roles to use flags and introduce visibility enum 2026-03-10 03:21:13 -04:00
whoswhip 95da3f9543 feat: email verification via smtp 2026-03-06 20:10:07 -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 0d9a713247 style: format via csharpier 2026-02-10 17:15:29 -05:00
whoswhip 270360a32f fix: add IValidateableObject interface to required DTO's ensuring model validation 2026-01-31 11:23:23 -05:00
whoswhip 854e50fe78 feat: include createdAt in user responses 2026-01-28 05:17:03 -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
whoswhip 14bbd9c762 feat: reporting apis; better rate limiting
refactor: change certain apis to be more REST like (e.g. DELETE /api/paste/{pasteId}/delete -> DELETE /api/paste/{pasteId}
2026-01-10 00:06:36 -05:00
whoswhip 60876eb1ba refactor: more verbose api responses
fix: exclude .idea folder from rider ide
2026-01-09 16:09:23 -05:00
whoswhip 6bea6c49be Revert "chore: format via csharpier"
This reverts commit 7a2eb699f4.
2026-01-09 15:24:19 -05:00
whoswhip 7a2eb699f4 chore: format via csharpier 2026-01-09 15:13:57 -05:00
whoswhip 9f55aa1b22 feat: paste compression & verification enforcement settings; enforce 2fa on admins setting; increase paste validation; anonymous uploads
fix: minor styling issue on main elements; resolve lint issue
refactor: remove 2FA badge on user pages; enhance paste creation flow; body background color always neutral-950; improve paste creation paste info (lines, cchars etc) for mobile
2026-01-08 15:25:42 -05:00
whoswhip 20ceb91db8 feat: totp 2fa; httpcontext extension for jwtuser; asp.net data protection; prevent banned users from certain actions; account deletion requires 2fa if enabled; making users admins requires 2fa if enabled; httpcontext extension to get ip; enhance user store
refactor: organize dtos by domain; verification providers use verification context; move ip parsing into http context extensions
chore: clean code
2026-01-07 16:36:41 -05:00
whoswhip 3711885a38 fix: prevent moderators from modifiying higher roles(admin) 2026-01-07 10:24:51 -05:00
whoswhip bffc4e2bf4 fix: ssr request to user; navbar positioning 2026-01-06 20:36:22 -05:00
whoswhip 99feb2795a feat: admins can change user's roles
refactor: banned role has priority over all other roles when displaying
chore: npm run format
2026-01-06 14:07:55 -05:00
whoswhip fe54ff15ce feat: account deletion; auto incremental uids; display name renaming UI + account deletion UI; enhanced username validation 2026-01-04 16:58:05 -05:00
whoswhip 848b8598e5 feat: implement Turnstile verification for enhanced security during login and registration
refactor: remove unnecessary interfaces for services; change user key from UID to UUID
2025-12-31 12:11:09 -05:00
whoswhip f40d4ab68c feat: implement user update functionality by UUID and add validation to UpdateUserRequest 2025-12-30 13:35:10 -05:00
whoswhip 1ec4877aad chore: rename SharpbinV3 dir to SharpbinV3.Server 2025-12-30 12:39:26 -05:00