Commit Graph
100 Commits
Author SHA1 Message Date
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 35d891bed7 feat: bypass user confirmation when loading external assets in markdown for trusted domains 2026-01-23 08:17:20 -05:00
whoswhip 3cee99f9c2 chore: include syntax type in Open Graph description for pastes 2026-01-23 02:38:14 -05:00
whoswhip 3f27a3a3e7 feat: preview markdown in paste creation; prevent external option in parseMarkdown 2026-01-23 02:06:54 -05:00
whoswhip 825d384db4 fix(styling): add table styling for markdown elements 2026-01-23 01:41:31 -05:00
whoswhip 8f5499ae05 fix(styling): adjust margin and padding for first child in markdown elements 2026-01-23 01:34:04 -05:00
whoswhip 7789ab6cb2 fix: ensure JSDOM is only loaded in server-side environments 2026-01-23 01:33:58 -05:00
whoswhip 406381fbfe feat: add markdown parsing and rendering support
fix: resolve lint issues
chore: npm run format

- Added `parseMarkdown` function to handle markdown content with DOMPurify for sanitization.
- Updated `+page.svelte` to render markdown content and handle media loading.
- Introduced new styles for markdown elements in the Svelte component.
- Enhanced media placeholders for external content with privacy warnings.
2026-01-23 01:20:52 -05:00
whoswhip 5e4afafac0 fix: improve error handling in paste fetching and add error page 2026-01-20 17:30:54 -05:00
whoswhip 8accfa2dc5 fix(styling): enforce max width on recent pastes titles 2026-01-20 17:26:11 -05:00
whoswhip f467a2a899 fix: enhance paste size validation logic 2026-01-20 17:21:14 -05:00
whoswhip 2b60ee8636 fix: inline is expired calculation
should be reactive
2026-01-20 17:15:05 -05:00
whoswhip 6f990364a5 fix: properly set limiter 2026-01-20 17:11:35 -05:00
whoswhip 3a5738b531 feat: improve recent page; improve SEO for pages 2026-01-20 17:10:09 -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 8a6ab29f52 feat: add recent pastes page with data fetching and display logic 2026-01-20 11:26:06 -05:00
whoswhip 698183690c feat: update button styles for active state in paste creation 2026-01-20 10:59:00 -05:00
whoswhip c565c57e20 feat: update minimum height for main sections across multiple pages for consistent layout 2026-01-20 09:14:59 -05:00
whoswhip 7b3af77449 feat: enhance decryption process with status updates and improved user feedback 2026-01-20 09:14:48 -05:00
whoswhip 5410a8973a feat: enhance paste creation with dynamic textarea resizing and improved password handling; generate random password button in paste creation; show password in paste creation; 2026-01-20 09:14:35 -05:00
whoswhip 72206e9ba2 feat: declare application version constant in app.d.ts 2026-01-20 09:13:52 -05:00
whoswhip 7e1fb3add4 feat: integrate hash-wasm for enhanced AES encryption and decryption 2026-01-20 09:13:45 -05:00
whoswhip eca6867fca feat: add application version definition to Vite config 2026-01-20 09:13:27 -05:00
whoswhip e0935505ea feat: add Footer component to layout for improved user navigation 2026-01-20 09:13:10 -05:00
whoswhip 6c3caaf2ec fix(style): update Navbar styling for improved layout and consistency 2026-01-20 07:11:50 -05:00
whoswhip 62b5dcef00 fix: correct syntax selection logic for file drag and drop handling 2026-01-19 23:15:15 -05:00
whoswhip ca9fa81771 feat: refactor drag and drop file handling to update syntax selection conditionally 2026-01-19 23:14:50 -05:00
whoswhip fed06630b7 feat: improve file download naming by using syntax extension conditionally 2026-01-19 04:04:26 -05:00
whoswhip 9e056009e3 feat: auto detect syntax from file extension on drag and drop; syntax from extension function
refactor: syntax type with display and extension
2026-01-19 03:55:41 -05:00
whoswhip bf0eac9ed8 feat: add isBinaryData utility function and integrate it into paste handling; add drag and drop functionality when creating a paste 2026-01-19 03:37:28 -05:00
whoswhip 1ed21789e6 feat: update favicon and improve tooltip for paste size display 2026-01-18 23:50:53 -05:00
whoswhip b465725ec2 Merge branch 'SharpbinV3' of https://github.com/whoswhip/Sharpbin into SharpbinV3 2026-01-18 22:01:55 -05:00
whoswhip 28a0ccbfab feat: view raw button; paste header follows when scrolling; scroll to top button appears after scrolling far enough
chore: npm run format + lint
2026-01-18 22:01:50 -05:00
whoswhip ca87b1a5f2 feat: /raw/{id} endpoint 2026-01-18 22:00:54 -05:00
whoswhip c08fe0690f refactor: navbar no longer fixed position
this is just testing, im not sure what i prefer so far
2026-01-18 22:00:03 -05:00
whoswhip 08e88f5e75 chore: add license 2026-01-18 20:14:30 -05:00
whoswhip e907ca4615 Merge pull request #1 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/sveltejs/kit-2.50.0
chore(deps-dev): bump @sveltejs/kit from 2.49.2 to 2.50.0 in /SharpbinV3.Client
2026-01-18 02:09:48 -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 1da88dba4e fix: reset turnstile on login error handling 2026-01-11 18:54:23 -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 864a4ee91a chore: npm run format 2026-01-09 20:38:56 -05:00
whoswhip f9b63edf77 fix: update paste view count display in metadata 2026-01-09 20:38:26 -05:00
whoswhip 6072f7f674 fix: update API fetch calls to use dynamic apiUrl 2026-01-09 20:33:18 -05:00
whoswhip 8b84a2d8a3 fix: improve error logging for view count increment failure
i honestly have no clue whats causing it to fail right now
2026-01-09 20:16:45 -05:00
whoswhip ccdb000934 refactor: streamline API key handling in view increment logic 2026-01-09 20:13:17 -05:00
whoswhip a6fa65c3bd feat: add PasteSettings environment variables for internal API key and HMAC secret 2026-01-09 19:39:42 -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 5a630d2a71 fix: reset Turnstile on login and registration error handling 2026-01-08 15:38:50 -05:00
whoswhip 54a4fe1a08 docs: update README with new environment variables for registration and paste settings 2026-01-08 15:27:04 -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 fabef95159 fix: enhance textarea styling and display content metrics 2026-01-07 22:00:22 -05:00
whoswhip 2a9a4b9eef fix: improve formatBytes function and display byte size in textarea 2026-01-07 20:18:42 -05:00
whoswhip 2773813c26 fix: correct environment variable key for Turnstile Site Key in docker-compose 2026-01-07 18:53:30 -05:00
whoswhip f96396b586 fix: remove quotes from DATA_PROTECTION_KEY_PATH in docker-compose 2026-01-07 18:43:04 -05:00
whoswhip d5565f9a68 fix: remove quotes from default connection string in docker-compose 2026-01-07 18:00:33 -05:00
whoswhip 4de6a6a118 fix: display 2FA status only for the account owner 2026-01-07 18:00:28 -05:00
whoswhip 5e8d7be864 fix: update environment variables in docker-compose for backend and frontend services 2026-01-07 17:52:15 -05:00
whoswhip 6bcc62a7e7 fix: update TOTP API request payload to use 'code' instead of 'totpcode' 2026-01-07 16:41:10 -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 361cf76f46 fix: adjust password hint display logic in registration form 2026-01-07 10:29:55 -05:00
whoswhip 3711885a38 fix: prevent moderators from modifiying higher roles(admin) 2026-01-07 10:24:51 -05:00
whoswhip d514e456bf fix: improve error handling for registration response 2026-01-07 10:24:16 -05:00
whoswhip ce66fe13e8 fix: improve error handling and display for login failures 2026-01-07 10:23:40 -05:00
whoswhip 1f4fda1a16 fix: resolve lint issues
chore: npm run format
2026-01-07 09:54:27 -05:00
whoswhip d3c2efd210 fix: enhance tooltip functionality and update last login display 2026-01-07 09:46:58 -05:00
whoswhip 7650fd786d fix: increase max height 2026-01-06 21:11:34 -05:00
whoswhip bffc4e2bf4 fix: ssr request to user; navbar positioning 2026-01-06 20:36:22 -05:00
whoswhip a912d0463b fix: update Navbar and layout server to improve structure and data handling 2026-01-06 17:51:19 -05:00
whoswhip 3bbd64631a feat: seo optimizations + opengraph embeds
fix: nullable AuthorUUIDs; assign admins member & mod role
2026-01-06 16:26:47 -05:00
whoswhip a7185d6a3d docs: update README files to include first user admin role configuration 2026-01-06 15:42:37 -05:00
whoswhip c934c85b13 feat: enhance AuthService to support admin role assignment for the first user 2026-01-06 15:42:29 -05:00
whoswhip edd94c45e8 docs: update configuration details for backend and frontend in README files 2026-01-06 15:02:59 -05:00
whoswhip 8bc031a13c docs: update README files for client and server setup, features, and tech stack 2026-01-06 14:59:26 -05:00
whoswhip 73b847c06b refactor: implement password validation in dto; remove redundant validation code in auth controller 2026-01-06 14:44:29 -05:00
whoswhip 21b6f95edc fix: lint issues resolved
chore: npm run format
2026-01-06 14:18:05 -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 b1d2d3f5bb feat: add registration status check and disable form elements when registration is disabled 2026-01-04 11:28:02 -05:00
whoswhip bbfa9ffc56 fix: dont disabled login button when registrations are disabled 2026-01-04 11:18:10 -05:00
whoswhip 159fcc2a89 feat: enable registration toggle and update Navbar to reflect registration status 2026-01-04 11:16:09 -05:00
whoswhip f5de211611 fix: add cursor pointer to the submit button for better UX 2026-01-04 11:01:51 -05:00
whoswhip b6e020fa69 feat: implement modal component for password input and confirmation actions 2026-01-04 09:55:39 -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 2c24af5ac9 fix: load turnstile script in layout and explicitly render
chore: npm run format + lint
2026-01-04 09:22:27 -05:00
whoswhip 24b25c2291 feat: implement registration page with Turnstile verification and loading state 2026-01-01 10:14:06 -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 08c4be4f7e feat: add health checks for backend and frontend services in docker-compose.yml 2025-12-30 22:00:20 -05:00
whoswhip c4f606ecf2 fix: add ASPNETCORE_URLS environment variable for backend service in docker-compose.yml 2025-12-30 21:54:46 -05:00
whoswhip 095df2f3f3 fix: remove dependency condition for backend service health check in docker-compose.yml 2025-12-30 21:31:20 -05:00
whoswhip 57dad564a6 feat: add health checks for backend and frontend services in docker-compose.yml 2025-12-30 21:25:25 -05:00
whoswhip dfdce51c6e feat: add health check endpoint returning status ok 2025-12-30 21:21:43 -05:00
whoswhip cab1b170c1 feat: add health checks for database connectivity 2025-12-30 21:19:10 -05:00
whoswhip 011b523fd3 fix: update database connection string configuration in Program.cs and docker-compose.yml 2025-12-30 20:43:42 -05:00
whoswhip 9bb620a4a3 fix: add validation for display name length in user creation and update requests 2025-12-30 20:28:00 -05:00
whoswhip 27d5de3509 chore: update Svelte adapter to use @sveltejs/adapter-node 2025-12-30 17:58:05 -05:00