The following list describes the changes by component:
- Update Poetry's package dependencies
- Update Poetry's package dependencies
New features:
- Set top domain from UI (#729)
Add the option to set an organization's domain as top domain from the UI. - Order individuals by indentities (#732)
Adds the option to order the individuals by the number of identities they have. - Import identities automatically (#746)
Create a schema to import identities to SortingHat automatically using custom backends. The jobs will be executed periodically, at the given interval. The tasks can be configured using the GraphQL API. To create a custom importer you need to extendIdentitiesImporter
, define aNAME
for your importer (that will be used in the UI), and implementget_identities
method that returns a list of individuals with the related identities that will be imported into SortingHat. If your importer requires extra parameters, you must extend the__init__
method with the required parameters. Those parameters can be defined using the API. - Create account command
Include a new command to create users in SortingHat. The command can be executed assortinghat-admin create-user
. - Drag and drop to enroll in teams
Expanding an organization on the table now shows the full list of teams. Individuals can be dragged and dropped into a team and viceversa to affiliate them. The buttons to add, edit and delete organization and team information are reorganized into a dropdown menu to simplify the interface. - Multi-tenancy mode
SortingHat allows hosting multiple instances with a single service having each instance's data isolated in different databases. To enable this feature follow these guidelines: - SetMULTI_TENANT
settings toTrue
. - Define the tenants insortinghat/config/tenants.json
. - Assign users to tenants withsortinghat-admin set-user-tenant
command. - Verify SSL option for client
Include an option for the client to verify if the certificate is valid. By default it is verified.
Bug fixes:
- Fix outdated recommendation count (#733)
The number of remaining recommendations on the UI was wrong each time a recommendation was applied or dismissed. - Fix search syntax link (#735)
Fixes the link to the search syntax page on the search bar.
Feature removals:
- Groups table removed from the UI
Groups and organizations are very similar, and having both tables in the dashboard can be confusing to users. To simplify the view, the table is removed from the user interface, but groups remain available through the API.
New features:
- Support for more languages and file types
The library is able to detect the new file formats and language formats. This list includes JavaScript, TypeScript, Terraform, among others.
Bug fixes:
- Default value for mbox to-date (#810)
Include a default value for--to-date
argument in mbox backend.
- Update Poetry's package dependencies
- Update Poetry's package dependencies
- Update Poetry's package dependencies
- Update Poetry's package dependencies
Dependencies updateds:
- Update package dependencies
Update package dependencies and pinmarkdown-it-py
to a specific version.
Bug fixes:
- Fix typo in SortingHat fields
Some fields were not updated from the old version of SortingHat. Now the API returns 'isBot' and 'genderAcc' instead of 'is_bot' and 'gender_acc'.
Breaking changes:
- Define date format for Git documents
Git by default uses a custom date format that is not recognized by Elastic/OpenSearch. Specify the format for the AuthorDate and CommitDate fields in Git documents to support the formats usually returned bygit log
. This allows us to do proper filtering on these fields such as "all documents with CommitDate before 2020". - Update support for ES/OS versions > 7.X/1.X
Currently the support for ES/OS versions > 7.X/1.X is broken due to a faulty version check. Add a static method to the Elasticsearch object that correctly checks whether the version is 'legacy' (defined as ES 6.X or OS 0.X) and adds this check to various places in the codebase. Additionally, fixes an instance whereinterval
is used instead offixed_interval
.interval
was deprecated in ES7.
New features:
- SirMordred logs available on console
All SirMordred logs are now available on the console output. Thelogs_dir
parameter in thegeneral
section is optional and it is only needed if you also want the logs in a file. - SortingHat option to verify SSL
Includeverify_ssl
option to SortingHat configuration to verify the connection with the server. By default it isTrue
.