33 Commits
Author SHA1 Message Date
whoswhip 6ed2974e42 feat: allow staff members to see user's unlisted pastes; show dislikes in the paste lists 2026-06-18 21:28:48 -04:00
whoswhip d16f1f872f fix: lower vulnerabilities + harden docker setup
also includes a github workflow
2026-06-17 22:18:55 -04:00
whoswhip 6a7b8653dc fix: multiple vulnerabilities 2026-06-17 21:43:41 -04:00
whoswhip 41d441135c feat: add bot detection to skip recording views for known bots 2026-04-26 05:36:28 -04:00
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 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 44d7ae8cd3 feat(roles, visibility): refactor user roles to use flags and introduce visibility enum 2026-03-10 03:21:13 -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 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 0d9a713247 style: format via csharpier 2026-02-10 17:15:29 -05:00
whoswhip 697ec384f8 fix: correct spelling of 'Verification' in PasteSettings and PasteController 2026-02-06 22:11:37 -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 8aa1543296 feat: include paste createdAt in responses 2026-01-28 04:40:59 -05:00
whoswhip c9aa0d9a16 fix: include author data in recent paste data 2026-01-25 09:41:59 -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
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 3048af3a6d feat: paste views; configuration validation; hmacsha256 method; enhance paste clean up serivce; paste view clean up service; 2026-01-09 19:12:05 -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 284c5e927e fix: improve error handling and response messages in EditPaste method 2026-01-09 15:12:47 -05:00
whoswhip 1f2761f463 feat: update API routes for paste options and recent pastes 2026-01-08 17:31:02 -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 48543c7ff0 fix: update API routes for fetching raw paste content and deleting pastes 2026-01-04 09:55:15 -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 1ec4877aad chore: rename SharpbinV3 dir to SharpbinV3.Server 2025-12-30 12:39:26 -05:00