Commit Graph
100 Commits
Author SHA1 Message Date
whoswhip 091c6d895e feat: style dropdown scrollbar 2026-01-26 03:42:36 -05:00
whoswhip 43f9a25915 feat: add tailwind-scrollbar npm package 2026-01-26 03:41:27 -05:00
whoswhip 6e59fbe627 style: format via prettier 2026-01-26 03:33:48 -05:00
whoswhip ec62e3be75 fix: enhance password validation and add show/hide functionality 2026-01-25 23:08:06 -05:00
whoswhip 3681f586dc fix: allow flexible display on cf turnstile 2026-01-25 23:07:56 -05:00
whoswhip a06021f0cd fix: update Open Graph description to use syntax name from consts 2026-01-25 23:07:28 -05:00
whoswhip 5ecb6a9714 chore: only show reports if length > 0 2026-01-25 22:31:35 -05:00
whoswhip 75010d3034 fix: render all turnstiles as flexible and interaction-only 2026-01-25 22:29:03 -05:00
whoswhip 71fb5b1616 fix: resolve lint issue svelte/no-at-html-tags
the html has already been sanitized by dompurify
2026-01-25 10:14:47 -05:00
whoswhip 6c8cdccbbf fix: update visibility icons in Paste component 2026-01-25 10:14:06 -05:00
whoswhip 4db986715c fix: enhance Paste component layout and user information display 2026-01-25 10:13:56 -05:00
whoswhip c9aa0d9a16 fix: include author data in recent paste data 2026-01-25 09:41:59 -05:00
whoswhip 51449abe6e fix: resize markdown preview as well 2026-01-25 08:38:32 -05:00
whoswhip 9c49c21e62 fix: update Turnstile configuration and improve layout for verification 2026-01-25 05:24:28 -05:00
whoswhip c1784f626a style(docs): format via prettier 2026-01-25 05:11:08 -05:00
whoswhip c95b2fe0c3 docs: reorganize project structure section in README 2026-01-25 05:10:49 -05:00
whoswhip 9d0bf7e5af docs: update description to include link for pastebin reference 2026-01-25 05:10:41 -05:00
whoswhip 3f4201b12c docs: add live instance link to README 2026-01-25 05:10:32 -05:00
whoswhip 33dce1ef17 style: format via prettier 2026-01-25 04:25:23 -05:00
whoswhip 2d01e726a9 fix: adjust dropdown max height dynamically and improve search input positioning 2026-01-25 04:24:54 -05:00
whoswhip a6b98a97f8 refactor: move expiration options into consts.ts 2026-01-25 04:24:39 -05:00
whoswhip 01efa399cf fix: adjust height properties for paste creation info 2026-01-24 23:11:50 -05:00
whoswhip 590f0c3da9 fix: disable pointer events on menu icons 2026-01-24 06:26:37 -05:00
whoswhip 1937307ae7 feat: close hamburger menu when clicked outside 2026-01-24 06:26:29 -05:00
whoswhip 8252d58f47 fix: update version number to 3.0.0 and remove beta check from footer 2026-01-24 02:30:42 -05:00
whoswhip bd7d1154ea fix: use margin-bottom instead of margin-top for elements 2026-01-23 22:32:00 -05:00
whoswhip 753d28f720 feat: create Paste component for displaying paste details 2026-01-23 21:15:43 -05:00
whoswhip 4dafde739a fix: center-align text in login and registration links in navbar 2026-01-23 20:48:22 -05:00
whoswhip 91810d284f chore: npm run format 2026-01-23 20:43:58 -05:00
whoswhip 63f55d2bda feat: implement mobile support for navbar 2026-01-23 20:43:52 -05:00
whoswhip 9e56c4eee1 fix: correct property name for TOTP enabled flag in parseTotpEnabled function 2026-01-23 19:52:39 -05:00
whoswhip 729898296b fix: correct conditional logic for user role checks in component rendering 2026-01-23 11:17:30 -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 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