Releases: croessner/nauthilus
Releases · croessner/nauthilus
v1.1.3
Refactor error handling function for consistency Replace all instances of nauthilus_util.raise_error with nauthilus_util.if_error_raise across multiple scripts. This enhances code readability and maintains uniform error handling throughout the project. Signed-off-by: Christian Roessner <[email protected]>
v1.1.2
Add Lua Redis set commands (SAdd, SIsMember, SMembers, SRem, SCard) Introduced Lua functions for Redis set operations including adding members, checking membership, retrieving members, removing members, and getting the set cardinality. Updated constants and Lua table registration to integrate these new commands for seamless usage within Lua scripts. Signed-off-by: Christian Roessner <[email protected]>
v1.1.1
Refactor SMTP mail sending code using gomail package The gomail package is now used to handle the generation of emails in the SMTP client code. This refactoring simplifies and standardizes the mail sending code. The necessary dependencies have also been added to go.mod and vendor/modules.txt. Signed-off-by: Christian Roessner <[email protected]>
v1.1.0
Refactor geoip.lua to handle response object The previous version was incorrectly handling the "object" variable, which has been corrected to handle "response.object" instead. Code to retrieve and store ISO country codes has been refactored, replacing "idso_codes" with correctly named "iso_codes". This change improves accuracy and maintains better readability. Signed-off-by: Christian Roessner <[email protected]>
v1.0.6
Refactor auth request processing and TOTP secret retrieval In this commit, we made changes in the authentication mechanism and the TOTP secret retrieval process. Firstly, we simplified our condition in the authentication process where the 'found' variable was removed to reduce unnecessary code complexity. Secondly, we updated the TOTP secret retrieval in LDAP to immediately return the value, improving the readability and efficiency of our code. Signed-off-by: Christian Roessner <[email protected]>
v1.0.5
Update username validation logic This commit changes the validation logic for the username in auth.go. The username validation is now only performed if the query mode isn't 'list-accounts', enhancing the flexibility of the validation process. Signed-off-by: Christian Roessner <[email protected]>
v1.0.4
Update condition and token in github action The github action in 'build-stable.yaml' has been updated with a new condition for release. It now triggers only if the github reference starts with 'refs/tags/'. The token has also been updated from 'GITHUB_TOKEN' to 'NAUTHILUS_RELEASE' which specifies the token to be used for release authentication. Signed-off-by: Christian Roessner <[email protected]>