-
Notifications
You must be signed in to change notification settings - Fork 5.1k
test dont use #3526
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
base: main
Are you sure you want to change the base?
test dont use #3526
Conversation
/deploypr security |
🚀 Translation Verification Summary🔄 Reference Branch:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces team management functionality and enhancements to the PDF table of contents editing feature while refactoring several user‐related flows. Key changes include:
- New endpoints and repository methods to manage and assign teams.
- UI updates in account and navigation templates to reflect team and table of contents changes.
- Overloaded service method updates for user creation with team association.
Reviewed Changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
src/main/resources/templates/fragments/navElements.html | Added a new navbar entry for editing the table of contents. |
src/main/resources/templates/account.html | Redesigned account page sections, integrating API key display, admin settings banner, and settings synchronization features. |
src/main/resources/static/css/modern-tables.css | Introduced modern styling for data tables and related UI elements. |
src/main/resources/messages_en_GB.properties | Added new internationalized messages for team management and table of contents features. |
src/main/java/stirling/software/SPDF/repository/UserRepository.java | Added new queries supporting team-based user queries. |
src/main/java/stirling/software/SPDF/repository/TeamRepository.java | Introduced repository for team entities with methods to retrieve teams with related users. |
src/main/java/stirling/software/SPDF/model/api/EditTableOfContentsRequest.java | Extended API request object for editing PDF bookmarks. |
src/main/java/stirling/software/SPDF/model/User.java & Team.java | Added team association mapping between users and teams. |
src/main/java/stirling/software/SPDF/controller/** | Multiple controllers updated with endpoints to support team management and table of contents editing. |
src/main/java/stirling/software/SPDF/config/security/** | Updated security services and initial setup to include team assignment and default team creation. |
LICENSE | The LICENSE file has been removed. |
Comments suppressed due to low confidence (1)
LICENSE:1
- The LICENSE file has been removed, which may impact legal clarity for the project. Please confirm that this change is intentional.
MIT License
src/main/java/stirling/software/SPDF/config/security/UserService.java
Outdated
Show resolved
Hide resolved
🚀 PR Test DeploymentYour PR has been deployed for testing! 🔗 Test URL: http://185.252.234.121:3526 This deployment will be automatically cleaned up when the PR is closed. |
/deploypr security |
🚀 PR Test DeploymentYour PR has been deployed for testing! 🔗 Test URL: http://185.252.234.121:3526 This deployment will be automatically cleaned up when the PR is closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor maintainability points with a few style suggestions. Assuming you meant to delete the license file.
<a class="btn btn-outline-primary" data-bs-toggle="collapse" href="#info" role="button" | ||
aria-expanded="false" aria-controls="info" th:text="#{info}"></a> | ||
</p> | ||
<div class="collapse" id="info"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some padding to the top of this. It's a bit squashed to the menu
|
||
function addBookmark(parent = null, title = '', pageNumber = 1) { | ||
try { | ||
console.log('Adding bookmark:', { parent, title, pageNumber }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably remove excessive logging before release
padding: 15px; | ||
margin-bottom: 10px; | ||
border: 1px solid #ced4da; | ||
border-radius: 0.25rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the borders. Look a bit intense in dark mode. May be better if styled to appear like a table of contents which you can edit..
/deploypr security |
🚀 PR Test DeploymentYour PR has been deployed for testing! 🔗 Test URL: http://185.252.234.121:3526 This deployment will be automatically cleaned up when the PR is closed. |
Description of Changes
Please provide a summary of the changes, including:
Closes #(issue_number)
Checklist
General
Documentation
UI Changes (if applicable)
Testing (if applicable)