• 2024.3.1 b45819428d

    2024.3.1 Stable

    bn8 released this 2024-03-15 10:51:16 +01:00 | 5 commits to master since this release

    Changelog:

    • Switch from Woodpecker CI to Forgejo Actions
    • Introduce some new pre-commit hooks
    • Fix including test email template
    • config: add _set_option() method to ConfigurableObject
    • config: Add logging sections in init() to allow to set their default values
    • config: fix configure() method to validate configuration only if -V/--validate parameter is provided
    • PgDB: fix doSelect() method to retreive list of dicts instead of list of lists.
    • PgDB / MyDB / OracleDB: add limit parameter to select() method
    • report: add add_logging_handler & send_at_exit parameters
    • config: add default_config_filename parameter
    • config: Add OctalOption
    • config: add console log_level parameter
    • config: fix python 3.9 compatibility
    • config: Add logfile feature
    • Update pre-commit config and fix some pylint & bandit warnings
    Downloads
  • 2023.7.10 698fd52a03

    2023.7.10 Stable

    bn8 released this 2023-07-10 13:07:34 +02:00 | 22 commits to master since this release

    Changelog:

    • Telltale: add check_entrypoint() to easily implement Icinga checker script
    • Fix some pylint warnings
    • pre-commit: bump to isort 5.11.5
    • Config: add stuff to handle just-try mode in ConfigurableObject class
    • LdapClient.get_changes(): properly handle attributes with empty value
    • ldap.LdapServer: add format_modify_modlist() and factorize format_changes() & update_need()
    • Re-ordering pre-commits hooks to run those who change the code first
    • Intruce bandit pre-commit checks
    • Email: add support for CC & BCC recipients
    • Email: add possibility to specify more than one recipient
    • Email: fix handling templates_path default value
    • ConfigurableObject: add set_default() / set_defaults() methods
    • Email: add possibility to easily load templates from a directory
    • Config: add set_default() / set_defaults() methods
    • LdapClient.update_object(): add relax parameter
    Downloads
  • 2023.01.16 3efaceb823

    2023.01.16 Stable

    bn8 released this 2023-01-16 13:37:53 +01:00 | 41 commits to master since this release

    Changelog:

    • Fix tests.sh exit code
    • Run pytest only when at least one python file is changed
    • Improve docker images and use brenard/mylib:dev-master to run tests quickly
    • Introduce pyupgrade,isort,black and configure pre-commit hooks to run all testing tools before commit
    • Add mylib.mapping.map_hash()
    • Docker: try to make images lighter
    • Config.parse_arguments_options(): add hardcoded_options argument
    • config: if option value was previously set, ignore from options value
    • Config: make the configparser always defined to allow to set options at any moment
    • config: add optional --reconfigure parameter
    • tests: add some tests on BooleanOption
    • ConfigOption: add _get_user_input method to allow to mock it in tests
    • config: make sure to reload file after saving it
    • config: add --console-stderr parameter
    Downloads
  • 2023.01.07 da63f533be

    2023.01.07 Stable

    bn8 released this 2023-01-07 02:19:18 +01:00 | 55 commits to master since this release

    Changelog:

    • Abstract common DB methods in mysql.db.DB class and use it as base to implement PgDB, OracleDB and MyDB
    • CI now run pylint & flake8
    • Code cleaning
    • PgDB: Fix tests
    • Add doc about pip install method
    • Code cleaning
    • config: split console logging between stdout & stderr base on level
    • config: code cleaning
    • Add the Dockerfile to build the docker brenard/mylib:dev-master image
    • Add the Dockerfile to build the docker brenard/mylib:latest image
    • ldap: add option to disable referral following
    • oracle: fix closing cursors
    • ldap: Work-arround with AD invalid return on searching objects
    • Config: allow access/setting config options as with a dict
    Downloads
  • v0.1.10 fd2911e810

    v0.1.10 Stable

    bn8 released this 2022-08-02 01:42:04 +02:00 | 69 commits to master since this release

    Changelog:

    • CI: fix path of deb files in publish-apt job
    • CI: fix release notes file path
    • CI: use brenard/aptly-publish image for publish-apt job
    • CI: add release notes
    • ldap.LdapClient.get_objects: add paged_search & pagesize parameters
    • ldap.LdapServer: make parameters accepted by search and paged_search methods identical
    • SFTP client: add missing connect() call in get_file and open_file methods
    • SFTP client: add missing docstrings
    Downloads
  • v0.1.9 54d6c6e0f3

    v0.1.9 Stable

    bn8 released this 2022-06-30 14:34:25 +02:00 | 77 commits to master since this release

    Downloads
  • v0.1.8 9511b31a79

    v0.1.8 Stable

    bn8 released this 2022-06-28 11:05:43 +02:00 | 78 commits to master since this release

    Downloads
  • v0.1.7 f541630a63

    v0.1.7 Stable

    bn8 released this 2022-06-23 18:38:21 +02:00 | 80 commits to master since this release

    Downloads
  • v0.1.6 fe3e3ed5f4

    v0.1.6 Stable

    bn8 released this 2022-06-07 12:40:53 +02:00 | 82 commits to master since this release

    Downloads
  • v0.1.5 2cdc7b870d

    v0.1.5 Stable

    bn8 released this 2022-05-01 00:01:38 +02:00 | 94 commits to master since this release

    Downloads