OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

Release v0.19.0 #1657

Closed jh-RLI closed 1 month ago

jh-RLI commented 1 month ago

Summary of the discussion

This release introduces changes to our oeplatform test and production infrastructure and brings new or revised features. We can now use our updated server infrastructure. The main benefit is, among others, that we can now use Python 3.10 on the production system and thus write code with new Python features like type annotation and much more. This is also the reason why we have updated our test workflow so that it only runs with Python 3.10.

In terms of features, we have updated a lot of code and the user interface in the user profile area in terms of user tables and permission groups. This includes enabling the autocomplete function when users want to assign other users or a group to a table for which they have permissions. The profile table page now uses a more powerful function to retrieve user tables. The query now avoids querying all available database objects from the Django database and only queries the data tables related to the current user and its permissions.

By adding a new database extension, we can now query user names or group names at the database level to get quick results and enable the autocomplete feature for the user.