Skip to content

Releases: croessner/nauthilus

v1.1.3

14 Aug 14:50
Compare
Choose a tag to compare
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

25 Jul 19:57
Compare
Choose a tag to compare
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

23 Jul 19:13
Compare
Choose a tag to compare
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

22 Jul 18:34
Compare
Choose a tag to compare
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

28 May 19:28
Compare
Choose a tag to compare
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

28 May 07:17
Compare
Choose a tag to compare
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

15 May 13:33
Compare
Choose a tag to compare
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]>