Commit Graph
100 Commits
Author SHA1 Message Date
whoswhip 045a1934d8 fix: add docker entrypoint sccript 2026-06-17 22:27:44 -04:00
whoswhip d16f1f872f fix: lower vulnerabilities + harden docker setup
also includes a github workflow
2026-06-17 22:18:55 -04:00
whoswhip 4f5ca9a069 chore: bump rate limits 2026-06-17 22:06:18 -04:00
whoswhip 6a7b8653dc fix: multiple vulnerabilities 2026-06-17 21:43:41 -04:00
whoswhip 6c810b07b7 fix: enhance user update permissions and authentication checks 2026-06-17 21:32:40 -04:00
whoswhip df39f2bd46 chore: format code via prettier & csharpier 2026-06-17 20:28:58 -04:00
whoswhip f2c67ae367 fix: prevent admins and moderators from being reported 2026-06-17 20:27:59 -04:00
whoswhip ed582afe0e Merge pull request #20 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-c3db33d60f
chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
2026-06-16 13:58:35 -04:00
whoswhip 7a4c0a9b4d Merge pull request #19 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-f148cc1241
chore(deps): bump esbuild from 0.27.2 to 0.27.7 in /SharpbinV3.Client in the npm_and_yarn group across 1 directory
2026-06-15 12:42:47 -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 c6ba7b2ea9 Merge branch 'SharpbinV3' of github.com:whoswhip/Sharpbin into SharpbinV3 2026-06-13 20:15:44 -04:00
whoswhip f5a7aabf42 fix: handle username conflict during user creation 2026-06-13 20:15:41 -04:00
whoswhip 18c20cdf64 fix!: normalize and make usernames unique 2026-06-13 20:10:01 -04:00
whoswhip 69aef92b09 Create FUNDING.yml 2026-06-08 18:58:38 -04:00
whoswhip a2a030936c Merge pull request #18 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-e5a46ec0e1
chore(deps): bump ws from 8.19.0 to 8.20.1 in /SharpbinV3.Client in the npm_and_yarn group across 1 directory
2026-05-22 16:32:44 -04:00
whoswhip c2383ff892 Merge pull request #17 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-ec84fab188
chore(deps-dev): bump @sveltejs/kit from 2.57.1 to 2.60.1 in /SharpbinV3.Client in the npm_and_yarn group across 1 directory
2026-05-21 15:35:17 -04:00
whoswhip c2ec839f0a Merge pull request #16 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-ef85f29010
chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
2026-05-14 20:45:51 -04:00
whoswhip aa5de648d7 Merge pull request #15 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-e4e91a86d1
chore(deps): bump devalue from 5.6.4 to 5.8.1 in /SharpbinV3.Client in the npm_and_yarn group across 1 directory
2026-05-14 20:42:15 -04:00
whoswhip e8cd93e7bd fix: compact paste smaller; better edited display 2026-04-28 10:24:17 -04:00
whoswhip 41d441135c feat: add bot detection to skip recording views for known bots 2026-04-26 05:36:28 -04:00
whoswhip 52dd251e14 chore: increase global rate limiter to 120 requests within a minute 2026-04-25 06:06:49 -04:00
whoswhip 20473da0ba fix: allow null display name when saving display name
this lets you remove display names
2026-04-25 05:47:20 -04:00
whoswhip 99169305c7 fix: make cursor-not-allowed !important 2026-04-25 05:45:59 -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 e20a6200dd feat: add sub tab to the settings tab 2026-04-25 05:00:52 -04:00
whoswhip 70e637b281 feat: add /@username redirect to /user/username 2026-04-25 03:12:12 -04:00
whoswhip 6c65a52ee0 fix: sizeStored -> StoredSize in typescript paste type 2026-04-25 02:54:05 -04:00
whoswhip 40c6ac663f fix: only show report button if logged in
also switched to roles enum instead of directly using numbers in has role for paste comments
2026-04-25 02:23:22 -04:00
whoswhip c98e5e53b0 fix: add tooltip to comment timestamp for better context 2026-04-25 02:23:22 -04:00
whoswhip 23f0c92aed fix: disable styles on comment reactions 2026-04-25 02:23:22 -04:00
whoswhip e239bf2ae5 fix: always underline users in comments 2026-04-25 02:23:22 -04:00
whoswhip 95a5c18dc5 fix: disabled:cursor-not-allowed on like buttons 2026-04-25 02:23:15 -04:00
whoswhip 3da7f99feb fix: prevent authors from reacting to their pas6te 2026-04-24 22:01:56 -04:00
whoswhip 77f6623fcf fix: disable but show buttons for author or anon users 2026-04-24 21:33:17 -04:00
whoswhip 8d3caf5375 feat(comments): implement recursive comment deletion in HardDeleteComment method 2026-04-24 19:17:26 -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 f82d314d80 feat(modal): refactor modal types and integrate security action requirements 2026-04-24 08:52:22 -04:00
whoswhip 38dd017dcd refactor: remove duplicate escape functions; improve escapeHtml function 2026-04-24 08:52:14 -04:00
whoswhip 9064aecedb refactor: migrate to props and runes
this was done using sv migrate and a bit of ai to fully migrate
2026-04-24 01:12:33 -04:00
whoswhip 2864c81f83 feat(auth): enhance token management and synchronization with user data 2026-04-23 19:50:00 -04:00
whoswhip df8b1456af Merge branch 'SharpbinV3' of github.com:whoswhip/Sharpbin into SharpbinV3 2026-04-21 14:37:28 -04:00
whoswhip b65d3f8726 fix: remove recipient information from warning log when email settings are incomplete 2026-04-21 14:37:26 -04:00
whoswhip ac08f5e32e Merge pull request #14 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/dompurify-3.4.0
chore(deps): bump dompurify from 3.3.2 to 3.4.0 in /SharpbinV3.Client
2026-04-20 22:23:00 -04:00
whoswhip fbf21b9d6e Merge pull request #13 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/flatted-3.4.2
chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 in /SharpbinV3.Client
2026-04-20 22:21:07 -04:00
whoswhip 7c9c4026f0 Merge pull request #12 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/vite-7.3.2
chore(deps-dev): bump vite from 7.3.0 to 7.3.2 in /SharpbinV3.Client
2026-04-20 22:19:16 -04:00
whoswhip f6dd45a87b Merge pull request #11 from whoswhip/dependabot/nuget/SharpbinV3.Server/MailKit-4.16.0
Bump MailKit from 4.15.1 to 4.16.0
2026-04-20 22:16:44 -04:00
whoswhip ad693b28ea fix: normalize canonical URL to prevent duplicate content issues 2026-04-20 22:04:20 -04:00
whoswhip b962ed9f67 style: format via prettier 2026-04-18 19:09:13 -04:00
whoswhip 60796a85fb fix: improve paste description 2026-04-18 19:08:57 -04:00
whoswhip edffd5490f feat: enhance SEO for home, recent, and paste pages 2026-04-18 18:41:23 -04:00
whoswhip ea634fd851 fix: update robots.txt to specify allowed and disallowed paths for web crawlers 2026-04-18 18:39:54 -04:00
whoswhip 2b272f2e93 Merge pull request #10 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/sveltejs/kit-2.57.1
chore(deps-dev): bump @sveltejs/kit from 2.50.0 to 2.57.1 in /SharpbinV3.Client
2026-04-12 14:22:26 -04:00
whoswhip ee6a6d5e6d fix: include '.' before extension on paste download 2026-03-31 21:06:56 -04:00
whoswhip 13260ffc0f Merge pull request #9 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/devalue-5.6.4
chore(deps): bump devalue from 5.6.3 to 5.6.4 in /SharpbinV3.Client
2026-03-31 15:08:31 -04:00
whoswhip ec4bbad1d7 chore: bump version to 3.0.5 2026-03-31 02:19:59 -04:00
whoswhip 3b53cfbddf fix: forward headers during requests where needed
this is mainly just so any ip headers like cf-connecting-ip are forwarded for rate limiting
2026-03-31 02:18:52 -04:00
whoswhip 6d99a06c17 fix: improve header handling and error checking in paste loading 2026-03-30 22:51:28 -04:00
whoswhip 094c8e5e08 fix: remove rate limiting on {id}/raw and {id} 2026-03-30 22:16:04 -04:00
whoswhip 801426f93e fix: make syntax extension comparison case insensitive and remove '.' 2026-03-30 22:13:19 -04:00
whoswhip abacbf14af Merge branch 'SharpbinV3' of github.com:whoswhip/Sharpbin into SharpbinV3 2026-03-30 20:34:37 -04:00
whoswhip 62d80597dc fix: forward the request header when viewing on the /[id] server route 2026-03-30 20:34:30 -04:00
whoswhip ccb5db14d2 Merge pull request #8 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/picomatch-4.0.4
chore(deps): bump picomatch from 4.0.3 to 4.0.4 in /SharpbinV3.Client
2026-03-29 23:41:48 -04:00
whoswhip 08c4bf4367 Merge pull request #7 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/handlebars-4.7.9
chore(deps-dev): bump handlebars from 4.7.8 to 4.7.9 in /SharpbinV3.Client
2026-03-29 23:36:26 -04:00
whoswhip e8eb677ba7 refactor: use getUserFromToken on report/[reportId] 2026-03-28 18:55:45 -04:00
whoswhip 322af06832 refactor(auth): simplify role checking and remove JWT decoding function
this also fixes permission checking
2026-03-28 18:53:15 -04:00
whoswhip d78baae19e feat(auth): add JWT user parsing from token 2026-03-28 18:52:51 -04:00
whoswhip e102c91d79 fix: improve icon consistency 2026-03-27 20:29:23 -04:00
whoswhip 6a59b72d08 style: format via prettier 2026-03-27 20:21:47 -04:00
whoswhip 27093acadf style: improve code line number display and adjust top-0 to top-15 on paste header 2026-03-27 20:21:33 -04:00
whoswhip 4e02399d9f style: enhance navbar styling and improve link hover effects 2026-03-27 20:21:11 -04:00
whoswhip b7ce54d5a0 feat: add HatGlasses icon for anonymous users in Paste component 2026-03-27 20:20:42 -04:00
whoswhip 8eede40000 feat: guest param in user page
shows as if the user isnt logged in, except for the settings tab
2026-03-27 20:19:54 -04:00
whoswhip c98aca92b6 fix(cache): ensure pasteExpiresAt is valid before cache deletion 2026-03-26 17:52:38 -04:00
whoswhip 5296efa9db fix: switch to better sqlite-3 instead of experimental node api 2026-03-26 17:20:38 -04:00
whoswhip 9486840f05 feat: open graph embed image generation 2026-03-26 17:13:42 -04:00
whoswhip 6047d48da2 fix(types): add missing createdAt field to Paste interface 2026-03-26 17:13:04 -04:00
whoswhip 73f73d88dc docs: add JSDoc comments for utility functions in misc.ts 2026-03-26 15:51:58 -04:00
whoswhip 1496a02b76 refactor: wrap break word instead of truncate on paste titles 2026-03-26 14:25:58 -04:00
whoswhip 059d32e42c feat: /user/{uuid} redirects to /user/{username} based off uuid 2026-03-19 10:10:20 -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 8b8c0bbf7a style: format via prettier/csharpier 2026-03-10 04:10:31 -04:00
whoswhip 6eb4f699b5 refactor(backend:auth): improve banned user checks and simplify claim retrieval
1,000 commits in 270 days 🎉
2026-03-10 04:09:48 -04:00
whoswhip e0c9f1bbc1 fix(docker): correct environment variable syntax for backend service 2026-03-10 03:39:05 -04:00
whoswhip bf1c647d10 chore(docker): add missing environment section for backend service 2026-03-10 03:36:44 -04:00
whoswhip 873b1778ee refactor(migrations): correct namespace for entities in model snapshot 2026-03-10 03:23:44 -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 0564d55396 feat(email): add email verification html templates 2026-03-10 03:20:48 -04:00
whoswhip 5f11ee4350 chore(backend): remove unnecessary settings 2026-03-10 03:13:47 -04:00
whoswhip 4c071fcc39 fix(frontend:paste): increase paste views only if api returns 'Paste view recorded.' 2026-03-09 15:04:17 -04:00
whoswhip e7cd3723a7 feat(markdown): add dont warn again feature 2026-03-09 14:53:16 -04:00
whoswhip d4e2cf25d3 fix(docker-compose): add back VITE_API_URL environment variable to frontend 2026-03-08 16:41:49 -04:00
whoswhip fbec598ee2 docs(README): add backend configuration details for domain and HTTPS settings 2026-03-08 16:26:00 -04:00
whoswhip cb7f94fd5c chore(env): add example environment configuration files for backend and frontend 2026-03-08 16:14:52 -04:00
whoswhip 0c9a747935 chore(docker-compose): remove unused environment variables from backend and frontend services 2026-03-08 16:14:39 -04:00
whoswhip 38c8af1c57 fix(routes): /raw/{pasteId} no longer returns a body on error 2026-03-08 14:58:56 -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 49e73cde9c fix(auth): replace HMAC token generation with SHA256 for email verification
the HMAC is intended for other actions like change email, i just forgot and was rushing at the time, whoops!
2026-03-07 17:56:06 -05:00
whoswhip 12f716eb83 chore(deps): update package references to latest versions 2026-03-07 12:49:48 -05:00