Commit Graph
100 Commits
Author SHA1 Message Date
whoswhip eed65b754e refactor: improve encryption performance and safety
also fixed some issues i saw related to dynamic urls being resolved improperly
formatted via prettier
2026-11-06 08:25:26 -05:00
whoswhip 22c144e970 chore: bump version 2026-10-18 11:59:59 -04:00
whoswhip 336990f5b8 style: separate comments from the paste container 2026-10-18 11:55:39 -04:00
whoswhip 45878d5af1 omfg, actually fix #lib imports 2026-10-18 11:47:06 -04:00
whoswhip 2c43c0b29c chore(deps): update nuget packages for security 2026-10-18 11:24:29 -04:00
whoswhip 0e3a6d97e3 fix: use node env instead of sveltekit env 2026-10-11 22:15:13 -04:00
whoswhip 878457f49d fix #lib 2026-10-10 21:32:51 -04:00
whoswhip 8d060204c8 fix: use #lib instead of $lib 2026-10-10 21:29:02 -04:00
whoswhip f2559eaad0 fix: update TypeScript configuration to extend from $app/tsconfig and adjust include/exclude paths 2026-10-10 21:04:04 -04:00
whoswhip e485b9782b fix node adapter 2026-10-10 20:33:08 -04:00
whoswhip ed7e82adc2 Merge branch 'SharpbinV3' of github.com:whoswhip/Sharpbin into SharpbinV3 2026-10-10 13:34:52 -04:00
whoswhip f8a74d415d Merge pull request #27 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-b9088de85f
chore(deps): bump the npm_and_yarn group across 1 directory with 6 updates
2026-10-10 13:33:41 -04:00
whoswhip e7a28ea8c0 Merge pull request #26 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-e422db4233
chore(deps): bump devalue from 5.8.1 to 5.9.4 in /SharpbinV3.Client in the npm_and_yarn group across 1 directory
2026-10-09 23:17:00 -04:00
whoswhip e375b0a020 refactor: simplify configuration to a single env file 2026-09-26 19:40:36 -04:00
whoswhip ee8b8f239d docs: fix example secrets 2026-09-26 15:26:00 -04:00
whoswhip b304d8ac9f chore: update node to 24 in ci and docker 2026-09-26 15:19:29 -04:00
whoswhip d45f253c00 fix: normalize cononical 2026-09-14 18:58:28 -04:00
whoswhip b0e9f5104c fix: remove trailing '.' in filename
firefox removes it but chrome sanitizes it to '_'
2026-09-13 18:35:24 -04:00
whoswhip da79f3713a Merge pull request #25 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-c2134247b9
chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
2026-09-13 18:31:28 -04:00
whoswhip 4e8187c186 Merge pull request #24 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-275026e82a
chore(deps-dev): bump the npm_and_yarn group across 1 directory with 3 updates
2026-09-04 18:21:27 -04:00
whoswhip e8f2050eb1 chore(deps): update npm packages, add sharp types 2026-09-02 23:21:48 -04:00
whoswhip db492054f7 Merge pull request #22 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-360cad5ee5
chore(deps): bump dompurify from 3.4.9 to 3.4.11 in /SharpbinV3.Client in the npm_and_yarn group across 1 directory
2026-07-16 17:35:46 -04:00
whoswhip 500a6cfe76 Merge pull request #21 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/npm_and_yarn-cfff62663e
chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
2026-07-06 13:10:48 -04:00
whoswhip 1bfc5dbbc4 style: improve comments overall styling 2026-06-21 23:24:15 -04:00
whoswhip 6cadc0b74d feat: improve rate limit partition keys + less strict limits 2026-06-18 21:46:43 -04:00
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 d4976ac9aa feat: password resets
fix: frontend docker file
chore: format via csharpier again
2026-06-18 21:15:34 -04:00
whoswhip 67ccee736a chore: format via csharpier 2026-06-17 22:32:31 -04:00
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