mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
57f1709032fb4fd716857eb4dc9b162391ddf1dd
- Updated `AuthController.cs` to include user `Type` in responses. - Added `DeletePaste` and `ChangePasteID` endpoints in `PasteController.cs` with authentication and error handling. - Removed `Logging.cs`, indicating a refactor of the logging mechanism. - Implemented methods for deleting and updating paste IDs in `DatabaseService.cs`. - Modified `SharpbinV2.Server.csproj` to exclude `logs` and `pastes` directories from compilation. - Enhanced `paste.css` with styles for an edit icon. - Introduced `userTypes` object in `dash.js` for better role management. - Added delete button functionality in `paste.js` for authorized users. - Updated `paste.html` to include edit and delete buttons for improved user experience.
SharpbinV2
SharpbinV2 is a re-write to the original messy code base.
Instead of using html files and replacing variables(Simple SSR) it is now done with just apis and static html pages served from wwwroot.
Current Features
- Account Systrem
- Syntax Highlighting
- Private Pastes with Client Side Encryption
- Raw Text Serving
- Paste Compression at Rest and on Response Transit (Files are only compressed when there is a considerable file size decrease)
- Cleaner Code Base
- Paste Analytics (Views etc.)
TODO
- Password Resets
- Switch to Controllers
- Admin Panel
- Paste Editing
- Paste Searching (maybe)
- Paste Deletion
Description
Mirror of https://github.com/whoswhip/Sharpbin
https://sharpbin.cc
Readme
GPL-3.0
2.2 MiB
Languages
C#
49.5%
Svelte
35.3%
TypeScript
13.3%
HTML
1.1%
CSS
0.3%
Other
0.5%