Commit Graph
100 Commits
Author SHA1 Message Date
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
whoswhip c986a73ef4 fix(docker-compose): add env_file entries for backend and frontend services 2026-03-07 11:30:51 -05:00
whoswhip b9cff6a0bd fix(email): ensure all email settings are validated before sending; allow nullable From property 2026-03-07 11:12:44 -05:00
whoswhip 2302ebdffc fix(dotenv): skip empty lines and comments when loading environment variables 2026-03-07 11:12:26 -05:00
whoswhip 2b66cb2762 fix(email): validate settings before sending; use hmac for tokens 2026-03-07 10:44:26 -05:00
whoswhip 32c46b8c2b refactor: remove unused EmailService dependency from AuthController 2026-03-07 10:38:41 -05:00
whoswhip e329e1f8ea Merge branch 'SharpbinV3' of github.com:whoswhip/Sharpbin into SharpbinV3 2026-03-06 20:13:58 -05:00
whoswhip 2c794b833a style: format via prettier and csharpier 2026-03-06 20:13:56 -05:00
whoswhip 5420d94595 feat(email): implement email queue management 2026-03-06 20:13:24 -05:00
whoswhip 95da3f9543 feat: email verification via smtp 2026-03-06 20:10:07 -05:00
whoswhip d21265f443 refactor: centralize API URL and internal API key management for improved maintainability 2026-03-06 20:09:14 -05:00
whoswhip 7dbbcb65ac Merge pull request #6 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/dompurify-3.3.2
chore(deps): bump dompurify from 3.3.1 to 3.3.2 in /SharpbinV3.Client
2026-03-06 15:52:37 -05:00
whoswhip 528456c168 refactor(encryption): replace magic numbers with constants for improved readability and maintainability 2026-03-05 22:05:24 -05:00
whoswhip b54c12ba10 fix(encryption): improve encryption security: adjust salt size and memory parameters for AES encryption 2026-03-05 22:03:32 -05:00
whoswhip eef98030d6 fix(frontend): use darker version of tooltip on generate random password 2026-03-04 15:12:00 -05:00
whoswhip 00233280d4 feat(backend): add DotEnv class for loading environment variables from .env file 2026-03-04 15:11:25 -05:00
whoswhip 4e8d71b8c6 Merge pull request #5 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/multi-770cfcd984
chore(deps): bump minimatch in /SharpbinV3.Client
2026-02-27 05:03:00 -05:00
whoswhip f1aef1cc3c Merge pull request #4 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/rollup-4.59.0
chore(deps): bump rollup from 4.54.0 to 4.59.0 in /SharpbinV3.Client
2026-02-27 04:56:42 -05:00
whoswhip 51c6ea5f98 Merge pull request #3 from whoswhip/dependabot/npm_and_yarn/SharpbinV3.Client/svelte-5.53.5
chore(deps-dev): bump svelte from 5.48.3 to 5.53.5 in /SharpbinV3.Client
2026-02-27 04:54:54 -05:00
whoswhip ac2f0a3dcf refactor(backend:utilties): simplify GenerateSecureRandomString 2026-02-21 01:35:34 -05:00
whoswhip 75ecfbe7e7 feat(auth): improve token refreshing 2026-02-18 19:08:15 -05:00
whoswhip 2c3f8c95ac fix(frontend:user): resolve lint error 2026-02-18 19:07:46 -05:00
whoswhip f64584602e fix: set default value for AuthSettings__First_User_Admin and pass GIT_COMMIT_HASH as build argument 2026-02-17 20:40:52 -05:00
whoswhip 5eebea314e feat: add GIT_COMMIT_HASH support for versioning in Dockerfile and footer 2026-02-17 20:40:44 -05:00
whoswhip f786117cad fix: correct expiration time for 'Expire in 5 Minutes' option 2026-02-14 18:52:25 -05:00
whoswhip 3ba63f692c fix: add back CSV syntax support in consts and appsettings 2026-02-14 18:50:49 -05:00
whoswhip 012690f507 chore: bump version and generate change log 2026-02-14 18:36:17 -05:00
whoswhip 5017e73bb5 fix(backend): use GenerateSecureRandomString for api-keys, paste ids, and refresh tokens 2026-02-14 18:31:40 -05:00
whoswhip 809b513e7a feat(backend:utilities): implement GenerateSecureRandomString function that uses RandomNumberGenerator 2026-02-14 18:30:58 -05:00
whoswhip 3374eadb56 feat(backend:authentication): implement API key authentication scheme and update authorization policies 2026-02-14 05:05:33 -05:00
whoswhip 7d09870ad2 fix(frontend:user): resolve lint errors 2026-02-13 22:08:00 -05:00
whoswhip fd1cb3998c style: format via prettier 2026-02-13 21:59:33 -05:00
whoswhip 3dc8070efe feat(frontend:api-keys): display the count of API keys in the header and adjust empty state condition 2026-02-13 21:58:31 -05:00
whoswhip 78f4ae181e fix(frontend:api-keys): add flag to track successful API key fetch
this prevents the api from being spammed when the api keys have been successfully fetched but there are no keys
2026-02-13 21:12:13 -05:00
whoswhip ee45deb439 feat(frontend:api-keys): implement API key management features including creation, deletion, and fetching
this also fixed a few layout issues and lint issues
2026-02-13 21:05:48 -05:00
whoswhip 3b2801a655 feat(frontend:modal): decrease modal background opacity and blur 2026-02-13 20:37:49 -05:00
whoswhip cac34423d9 feat(frontend:stats): enhance tooltip for total storage used to show uncompressed size 2026-02-13 18:49:31 -05:00
whoswhip 5052bbdb13 feat(frontend:user): improve UX; move user settings to settings tab 2026-02-13 18:11:55 -05:00
whoswhip 0283d987d0 docs: api-key hmac secret; show default in :**value**: format instead of the description 2026-02-13 02:45:24 -05:00
whoswhip ff706d8777 feat(frontend): improve user page UX 2026-02-13 02:35:05 -05:00