-
Notifications
You must be signed in to change notification settings - Fork 6
refactor and update to .NET 9.0 #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update nlog.config fix dotnet/efcore#35158
Changes the CreatePostAsync and CreateThreadAsync methods to return a `OneOf` result, either the created post id or a domain error, depending on whether posting restrictions are active for the user. This allows the web layer to display appropriate error messages to the user if they are banned or otherwise restricted from posting.
Ensures a newline character is added before quoting a post if the textarea isn't empty and doesn't already end with a newline. Also, focuses the textarea after quoting.
Improves category creation and update processes by using mapping profiles. This reduces code duplication and enhances maintainability.
Modifies the thread creation process to handle potential errors during category retrieval. Instead of throwing an exception, returns a domain error, allowing for more graceful error handling in the application layer. This ensures that the application can respond appropriately to invalid category aliases. fix
…stead of ExecuteUpdateAsync for better tracking and data consistency.
Adds a check to prevent the banning of users with private IP addresses. This enhances security and avoids unintended consequences of banning internal network addresses. The implementation includes an `IsPrivate` method within the IP address calculator service. The ban creation prerequisite service is updated to check for private IPs before proceeding. A new status is added to reflect this condition. fix
Adds the display of the banned IP address to the ban administration index and display template. This enhancement improves the clarity and manageability of ban records.
Improves the ban creation process by preventing the banning of local or private IP addresses. This change adds a specific error message when an attempt is made to ban such an address, enhancing user experience and preventing unintended consequences. Additionally, enables SS018 analyzer to catch missing enum cases.
Makes thread titles clickable, linking to the thread details page. Also adds title attributes to the pin, lock, and infinity icons for accessibility.
Updates the thread details URL generation to correctly include the thread ID. This ensures that the generated URL properly links back to the intended thread details page.
Improves accessibility by adding tooltips to the 'IsSageEnabled' and 'ModifiedAt' fields in the post details view. The tooltips display the display name of the model properties, providing users with more context about the fields.
Implements role-based user management in the admin panel. Introduces role listing and assignment to users, enhancing administrative control. Also, refactors user management to include role information and assignment during creation and editing. Updates validation and identity configuration to improve security and data integrity.
This reverts commit 540b3f4.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.