Commit Graph
263 Commits
Author SHA1 Message Date
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
dependabot[bot] 3b8039e036 chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the /SharpbinV3.Client directory: [esbuild](https://github.com/evanw/esbuild) and [ws](https://github.com/websockets/ws).


Removes `esbuild`

Updates `ws` from 8.20.1 to 8.21.0
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.20.1...8.21.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version:
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ws
  dependency-version: 8.21.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-15 16:44:39 +00: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
dependabot[bot] 0d551b887f chore(deps): bump esbuild
Bumps the npm_and_yarn group with 1 update in the /SharpbinV3.Client directory: [esbuild](https://github.com/evanw/esbuild).


Updates `esbuild` from 0.27.2 to 0.27.7
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2025.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.27.2...v0.27.7)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.27.7
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 11:59:50 +00:00
dependabot[bot] 77b4c11a9f chore(deps): bump ws
Bumps the npm_and_yarn group with 1 update in the /SharpbinV3.Client directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 8.19.0 to 8.20.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.19.0...8.20.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.20.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-21 19:36:35 +00:00
dependabot[bot] de58bc732c chore(deps-dev): bump @sveltejs/kit
Bumps the npm_and_yarn group with 1 update in the /SharpbinV3.Client directory: [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit).


Updates `@sveltejs/kit` from 2.57.1 to 2.60.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.60.1/packages/kit)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-21 18:08:51 +00:00
dependabot[bot] 090d9ed533 chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the /SharpbinV3.Client directory: [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) and [postcss](https://github.com/postcss/postcss).


Updates `svelte` from 5.53.5 to 5.55.7
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.55.7/packages/svelte)

Updates `postcss` from 8.5.6 to 8.5.14
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.6...8.5.14)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.55.7
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: postcss
  dependency-version: 8.5.14
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 00:43:26 +00:00
dependabot[bot] dac67df266 chore(deps): bump devalue
Bumps the npm_and_yarn group with 1 update in the /SharpbinV3.Client directory: [devalue](https://github.com/sveltejs/devalue).


Updates `devalue` from 5.6.4 to 5.8.1
- [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.4...v5.8.1)

---
updated-dependencies:
- dependency-name: devalue
  dependency-version: 5.8.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-14 21:33:53 +00:00
whoswhip e8cd93e7bd fix: compact paste smaller; better edited display 2026-04-28 10:24:17 -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 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