Commit Graph
251 Commits
Author SHA1 Message Date
whoswhip 99169305c7 fix: make cursor-not-allowed !important 2026-04-25 05:45:59 -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
dependabot[bot] 6201369342 chore(deps): bump dompurify from 3.3.2 to 3.4.0 in /SharpbinV3.Client
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.3.2...3.4.0)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 02:22:20 +00:00
dependabot[bot] 245f07bf64 chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 in /SharpbinV3.Client
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 02:20:39 +00:00
dependabot[bot] 3f17a41285 chore(deps-dev): bump vite from 7.3.0 to 7.3.2 in /SharpbinV3.Client
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.0 to 7.3.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 02:18:55 +00: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
dependabot[bot] 9999b90305 chore(deps-dev): bump @sveltejs/kit in /SharpbinV3.Client
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.50.0 to 2.57.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.57.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.57.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-11 15:51:18 +00:00
whoswhip ee6a6d5e6d fix: include '.' before extension on paste download 2026-03-31 21:06:56 -04:00
dependabot[bot] ddb0bb80de chore(deps): bump devalue from 5.6.3 to 5.6.4 in /SharpbinV3.Client
Bumps [devalue](https://github.com/sveltejs/devalue) from 5.6.3 to 5.6.4.
- [Release notes](https://github.com/sveltejs/devalue/releases)
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/devalue/compare/v5.6.3...v5.6.4)

---
updated-dependencies:
- dependency-name: devalue
  dependency-version: 5.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-31 19:08:02 +00: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 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
dependabot[bot] da423eb1c8 chore(deps): bump picomatch from 4.0.3 to 4.0.4 in /SharpbinV3.Client
Bumps [picomatch](https://github.com/micromatch/picomatch) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 03:41:22 +00:00
dependabot[bot] 0aa9176835 chore(deps-dev): bump handlebars in /SharpbinV3.Client
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 03:36:00 +00: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