mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Add private pastes, user bans, and UI enhancements
Enhanced Program.cs with response caching, compression, CORS policy, and private paste handling. Refactored user ban logic and added expiration date handling. Improved admin.html with localization and overflow handling. Introduced PrivatePaste and Punishment classes. Enhanced Paste and User classes for private pastes and punishments. Updated initialization logic for punishedUsers table. Ensured salts are written back to config.json if generated. Enhanced user.html with ban/unban functionality and animations. Improved archives.html, dash.html, and index.html with new UI elements and styles. Added asynchronous content loading and notifications to paste.html. Introduced Encryption.cs for AES encryption and decryption. Created banned.html for displaying error messages. Added privatepaste.html with dynamic content, password protection, and user interactions.
This commit is contained in:
@@ -374,5 +374,4 @@ PasteBin/p/2d48a001-383d-44fd-8553-4806c9de100d.html
|
||||
*.sqlite-journal
|
||||
/PasteBin/logs.txt
|
||||
/PasteBin/config.json
|
||||
/PasteBin/Encryption.cs
|
||||
/PasteBin/.config
|
||||
|
||||
Reference in New Issue
Block a user