Skip to content

Releases: rackslab/RFL

v1.1.1

05 Nov 08:04
v1.1.1
Compare
Choose a tag to compare

Added

  • web: Add warning log entry in case of JWT decode error (#21).

Fixed

  • settings: Valid ip and network default values were wrongly reported having the wrong type (#18).

v1.1.0

18 Oct 08:00
v1.1.0
Compare
Choose a tag to compare

Added

  • core: Introduce asyncio module with asyncio_run() wrapper with a backported version of asyncio.run() compatible with Python 3.6 (#11).
  • settings:
    • Add dump() method on RuntimeSettings class to print all settings with their value and origin on standard output.
    • Add name attribute on SettingsDefinitionLoaderYaml and RuntimeSettingsSiteLoaderIni classes.
    • Add _origin dict attribute on RuntimeSettingsSection to keep tracks of origin of parameters values.
    • Support new password type of parameters, similar to strings but it is not printed as clear text when dumped (#7).
    • Support new ip and network types of parameters which return Python ipaddress.IPv{4,6}Address and ipaddress.IPv{4,6}Network objects respectively (#8).

Fixed

  • auth: When retrieving users with users() method, raise LDAPAuthenticationError only when user name attribute is missing in all retrieved user entries, instead of raising as soon as it is missing in any user entry. Warning log message is emitted for all user entries that miss the attribute (#12).

v1.0.3

30 Aug 07:27
v1.0.3
Compare
Choose a tag to compare

Added

  • core: Introduce utils module with shlex_join function to backport shlex.join() from Python >= 3.8.
  • auth:
    • Add user_primary_group_attribute argument to LDAPAuthentifier class initializer with default value gidNumber to define an alternative
      user primary group ID attribute (#4).
    • Add group_object_classes argument to LDAPAuthentifier class initializer with default values posixGroup and groupOfNames to define alternative LDAP group object classes (#6).

Changed

  • auth: Support absence of primary group attribute optional in LDAP user entries (#5).

Fixed

  • auth: Handle UnicodeDecodeError when loading JWT private key (#3).

v1.0.2

19 Jun 12:30
v1.0.2
Compare
Choose a tag to compare

Added

  • auth: Add user_name_attribute argumetn with default value uid to LDAPAuthentifier class initializer to specify an alternative user name attribute (#2).
  • build: Support explicit packages list without find, lack of dependencies, lack of urls, lack and file license in PEP 518 → setup.py script generator.

Changed

  • auth: Add default values for cacert, user_class, user_fullname_attribute and group_name_attribute arguments of LDAPAuthentifier class initializer.

v1.0.1

08 May 07:38
v1.0.1
Compare
Choose a tag to compare

Changed

  • pkgs: add project and build-system sections in main pyproject.toml to satisfy requirements of packaging build systems.

v1.0.0

08 Apr 09:25
v1.0.0
Compare
Choose a tag to compare

First stable release of RFL.