v.1.2.0 - New User Management, MQTT DataTarget, Improved LoRaWAN Monitoring, General fixes
Important notes on migrations and deployment
New User Management
This release fundamentally changes how useraccess is managed in OS2iot. A database migration automatically maps the existing UserGroups/Permissions to the new models - but as these cannot be mapped exactly 1:1 you should check out the mapping before releasing and manually correct issues. The new structure is documented in:
https://os2iot.readthedocs.io/en/latest/software-architecture/software-architecture.html?highlight=Gateway%20administrator#user-permissions
Emails
As a new feature, the platform can and will now send emails to new users and User Administrators when applying for access to organizations. This requires the setup of new environment variables in the backend as described:
https://os2iot.readthedocs.io/en/latest/software-architecture/software-architecture.html?highlight=Gateway%20administrator#user-permissions
This requires setting up an SMTP server OS2iot can integrate with. Currently Username/Password is supported for the SMTP login.
Integration can be tested with tools like:
Ethereal
Gateway status
The backend now listens to the MQTT gateway status feed from Chirpstack and updates the database accordingly. The data is relatively limited, but if the Postgres database is very limited - make sure it can handle this new load.
What's Changed
- Add MQTT datatarget by @AramAlsabti in #164
- Revised user management and permissions by @AramAlsabti in #149
- Add controller for retrieving API key info by @AramAlsabti in #162
- Show signal strength by @AramAlsabti in #166
- Resettable API key for generic HTTP device by @AramAlsabti in #161
- Delete signal data more than a year old by @AramAlsabti in #167
- Add flow for hiding new welcome screen by @AramAlsabti in #172
- Fixed connection to SigFox by @GufCab in #165
- Emails for Kombit users by @augusthjerrild in #168
- Show overview of gateway status by @AramAlsabti in #170
- Fix applications sorting by @AramAlsabti in #176
- Limit user controller access to mostly user admins by @AramAlsabti in #175
- Simplify revised permission migration by @AramAlsabti in #177
- Revise text when requesting organizations by @AramAlsabti in #178
- Show gateway status for whole time period by @AramAlsabti in #179
- Delete iot device with transaction by @AramAlsabti in #180
- Reword e-mail. Prefix sender with "OS2iot" if missing by @AramAlsabti in #181
- Allow null numbers and validate them correctly by @AramAlsabti in #182
Bug fixes
- Connection to Sigfox now works again after changes in the Sigfox API
- Application sorting works properly everywhere
- Backend now handles validation of nullable numbers
- Fixed an issue where relations between DataTargets and Devices were not handled correctly leading to issues with devices being deleted in ChirpStack but not OS2iot
Full Changelog: v.1.1.1...v1.2.0