Skip to content
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

Proper handling of roles in the UI and many performance improvements. #411

Merged
merged 72 commits into from
Oct 9, 2020

Conversation

maximAtanasov
Copy link
Member

@maximAtanasov maximAtanasov commented Sep 3, 2020

The following things are new:

  • Users only see UI elements they have access to.
  • The first user to register becomes the platform admin and has the permission to use the "Shutdown" and "Manage users" functions.
  • The Shutdown function is a special endpoint that will cleanly stop the application.
  • Passwords for git repositories are now encrypted using a key in the properties file (see the new admin guide).
  • "Add to team" option for projects is now "Manage teams". It displays teams the project is currently in and now has error handling as well.
  • Added functionality for editing teams.
  • The user creating the team is now always automatically a part of it.
  • Fixed URL routing issues when the URL contains a .
  • Added more logging.
  • Improve the performance of the file tree with big projects
  • Add the ability to set a default branch
  • Added an analysis indicator in the UI.
  • Added the ability to delete users.
  • Added the ability to delete projects at any time.
  • Added the "Manage users" page that is only available to platform admins.
  • Removed the AnalyzerConfigurationFile class.
  • Newly created projects automatically receive the **/*.java file pattern and both analyzers as configured.
  • Multiple performance improvements:
    • greatly reduced the amount of database usage by removing unneeded relationship attributes. (changeType, oldPath)
    • greatly reduced the amount of objects created (no more FileToCommitRelationship/-Entity).
    • replaced the usage of many map objects with compact arrays in the CommitAdapter.
    • Limited the size of the commit hash and message.
    • Removed useless intermediary Findings class from the plugin-api and the unused charStart and charEnd attributes.

maximAtanasov and others added 30 commits July 6, 2020 10:18
…hip classes. Optimize saving node relationships
@maximAtanasov maximAtanasov force-pushed the teams-frontend-roles branch 2 times, most recently from 1e75207 to dc443a6 Compare October 7, 2020 08:50
@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 1 Security Hotspot to review)
Code Smell A 3 Code Smells

63.7% 63.7% Coverage
1.4% 1.4% Duplication

@maximAtanasov maximAtanasov merged commit d666578 into master Oct 9, 2020
@maximAtanasov maximAtanasov deleted the teams-frontend-roles branch October 9, 2020 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment