Enhance validation, logging, and UI/UX improvements

## COMMIT MESSAGE GENERATED BY COPILOT

Added JSON validation to multiple endpoints, ensuring valid JSON requests and improved error handling. Updated logging to use `DateTime.Now` and append to `logs.log` for specific actions. Enhanced `/api/accounts/login` with JSON validation and refactored for consistency.  Improved admin and user interfaces with search functionality, better date localization, and CSS adjustments. Enhanced error handling and feedback in `login.html` and `signup.html`, and improved search functionality in `archives.html`.
This commit is contained in:
whoswhip
2024-09-07 13:59:33 -04:00
parent 0e2aa78b5c
commit f02e68b1d3
10 changed files with 660 additions and 395 deletions
+3
View File
@@ -71,6 +71,9 @@ body{
width: 100%;
height: 98.7vh;
}
#pasteContent {
max-height: 500px;
}
.creation-container{
display: flex;
flex-direction: column;