Commit Graph
302 Commits
Author SHA1 Message Date
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
dependabot[bot] 980cbfa989 chore(deps): bump dompurify from 3.3.1 to 3.3.2 in /SharpbinV3.Client
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.3.1...3.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 20:51:38 +00: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
dependabot[bot] 73a1edcc85 chore(deps): bump minimatch in /SharpbinV3.Client
Bumps  and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together.

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

Updates `minimatch` from 9.0.5 to 9.0.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 9.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 09:58:02 +00: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
dependabot[bot] 7d87e2be13 chore(deps): bump rollup from 4.54.0 to 4.59.0 in /SharpbinV3.Client
Bumps [rollup](https://github.com/rollup/rollup) from 4.54.0 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.54.0...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 09:56:06 +00: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
dependabot[bot] 3c346353aa chore(deps-dev): bump svelte from 5.48.3 to 5.53.5 in /SharpbinV3.Client
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.48.3 to 5.53.5.
- [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.53.5/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.53.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 09:36:58 +00: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 v3.0.4 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