Commit Graph

  • 296618a34e
    config: allow to customize default config file mode master Benjamin Renard 2024-04-16 10:39:35 +0200
  • 28103836ac config: Add ask_value() helper to section & config objects Benjamin Renard 2024-04-13 17:52:05 +0200
  • 3cf6a2682c opening_hours: global rework to make module more atomic and add somes new helper methods Benjamin Renard 2024-04-01 19:37:51 +0200
  • eb87516e1a Docker: upgrade images and based them on node:16-bookworm-slim to allow to use it with Forgejo Actions Benjamin Renard 2024-03-15 11:51:31 +0100
  • 5dbdb0ffe6 CI: add missing publish jobs dependency on build job Benjamin Renard 2024-03-15 11:34:07 +0100
  • b45819428d Switch from Woodpecker CI to Forgejo Actions 2024.3.1 Benjamin Renard 2024-03-15 10:23:48 +0100
  • 85caf81ac2 Introduce some new pre-commit hooks Benjamin Renard 2024-03-15 09:52:23 +0100
  • 09c422efe2
    Fix including test email template Benjamin Renard 2024-03-01 16:34:45 +0100
  • e368521a96
    config: add _set_option() method to ConfigurableObject Benjamin Renard 2024-01-03 15:12:52 +0100
  • 25cdf9d4dc
    config: Add logging sections in __init__() to allow to set their default values Benjamin Renard 2023-12-19 18:36:09 +0100
  • 4962b16099
    config: fix configure() method to validate configuration only if -V/--validate parameter is provided Benjamin Renard 2023-12-15 13:15:07 +0100
  • 371d194728
    PgDB: fix doSelect() method to retreive list of dicts instead of list of lists. Benjamin Renard 2023-12-15 12:12:48 +0100
  • dcaec24ea4
    PgDB / MyDB / OracleDB: add limit parameter to select() method Benjamin Renard 2023-12-15 11:35:43 +0100
  • 2736fc30ae
    report: add add_logging_handler & send_at_exit parameters Benjamin Renard 2023-12-14 21:41:16 +0100
  • 73795d27b8
    config: add default_config_filename parameter Benjamin Renard 2023-12-14 21:25:00 +0100
  • 07ab4490d2
    config: Add OctalOption Benjamin Renard 2023-12-14 17:10:34 +0100
  • 68c2103c58
    config: add console log_level parameter Benjamin Renard 2023-10-30 14:04:43 +0100
  • 0064fa979c
    config: fix python 3.9 compatibility Benjamin Renard 2023-10-27 13:42:42 +0200
  • b92a814577
    config: Add logfile feature Benjamin Renard 2023-10-27 13:36:32 +0200
  • 8a0a65465d
    Update pre-commit config and fix some pylint & bandit warnings Benjamin Renard 2023-10-27 13:35:59 +0200
  • 8e0e75f30e
    setup.py: use README.md file as long_description (required by latest stdeb lib) Benjamin Renard 2023-07-10 16:04:56 +0200
  • 14d82fe796
    build.sh: exclude pre-commit commits on computing Debian changelog Benjamin Renard 2023-07-10 14:19:41 +0200
  • 698fd52a03
    build.sh: add some commit exclusion regex on computing Debian changelog 2023.7.10 Benjamin Renard 2023-07-10 13:07:34 +0200
  • 71a49f7b2f
    build.sh: fix python package version Benjamin Renard 2023-07-10 13:06:01 +0200
  • e38e5b10a7
    build.sh: fix dpkg-source / quilt 'version does not contain a revision' error Benjamin Renard 2023-07-10 12:47:33 +0200
  • 3a443e1fa5
    build.sh: fix handling git safe protection Benjamin Renard 2023-07-10 12:46:44 +0200
  • 44bd9a6446
    Telltale: add check_entrypoint() to easily implement Icinga checker script Benjamin Renard 2023-07-10 11:56:03 +0200
  • f8602801d7
    Fix some pylint warnings Benjamin Renard 2023-07-10 11:55:09 +0200
  • e8572e2eaa
    pre-commit: bump to isort 5.11.5 Benjamin Renard 2023-07-10 11:53:42 +0200
  • f597164305
    Config: add stuff to handle just-try mode in ConfigurableObject class Benjamin Renard 2023-06-19 17:07:59 +0200
  • 72877dd13e
    LdapClient.get_changes(): properly handle attributes with empty value Benjamin Renard 2023-05-03 11:33:19 +0200
  • ebd73812bc
    ldap.LdapServer: add format_modify_modlist() and factorize format_changes() & update_need() Benjamin Renard 2023-05-03 11:14:18 +0200
  • 5693cf8f8a
    Re-ordering pre-commits hooks to run those who change the code first Benjamin Renard 2023-03-23 09:59:05 +0100
  • 63d6a6e0ed
    Intruce bandit pre-commit checks Benjamin Renard 2023-03-23 09:56:31 +0100
  • 73735b378f
    Email: add support for CC & BCC recipients Benjamin Renard 2023-03-14 17:00:31 +0100
  • c93b3508ed
    Email: add possibility to specify more than one recipient Benjamin Renard 2023-03-14 16:04:53 +0100
  • d75a61b4e8
    Email: fix handling templates_path default value Benjamin Renard 2023-03-13 19:13:52 +0100
  • 93b06d6127
    ConfigurableObject: add set_default() / set_defaults() methods Benjamin Renard 2023-03-13 19:12:47 +0100
  • e71fb28295
    Email: add possibility to easily load templates from a directory Benjamin Renard 2023-03-13 18:58:20 +0100
  • b5df95a2dd
    Config: add set_default() / set_defaults() methods Benjamin Renard 2023-03-13 18:53:29 +0100
  • 5aa6a0cea4
    LdapClient.update_object(): add relax parameter Benjamin Renard 2023-03-13 17:02:52 +0100
  • 3efaceb823 Fix tests.sh exit code 2023.01.16 Benjamin Renard 2023-01-16 13:37:53 +0100
  • 56f66dcd6e Run pytest only when at least one python file is changed Benjamin Renard 2023-01-16 13:37:17 +0100
  • 86e1d59b1d Improve docker images and use brenard/mylib:dev-master to run tests quickly Benjamin Renard 2023-01-16 13:24:19 +0100
  • 62c3fadf96 Introduce pyupgrade,isort,black and configure pre-commit hooks to run all testing tools before commit Benjamin Renard 2023-01-16 12:56:12 +0100
  • a83c3d635f Add mylib.mapping.map_hash() Benjamin Renard 2023-01-16 12:23:50 +0100
  • 69d6a596a8 Docker: try to make images lighter Benjamin Renard 2023-01-10 11:22:39 +0100
  • 3a43b8d07d Config.parse_arguments_options(): add hardcoded_options argument Benjamin Renard 2023-01-10 10:51:48 +0100
  • 56162452ac config: if option value was previously set, ignore from options value Benjamin Renard 2023-01-10 10:50:48 +0100
  • 5fefc1ed84 Config: make the configparser always defined to allow to set options at any moment Benjamin Renard 2023-01-10 10:48:57 +0100
  • e9477b1566 config: add optional --reconfigure parameter Benjamin Renard 2023-01-09 13:34:07 +0100
  • 508a28e5c8 tests: add some tests on BooleanOption Benjamin Renard 2023-01-09 13:33:14 +0100
  • 6a7368deb5 ConfigOption: add _get_user_input method to allow to mock it in tests Benjamin Renard 2023-01-09 13:32:25 +0100
  • 014a0802f8 config: make sure to reload file after saving it Benjamin Renard 2023-01-09 13:27:52 +0100
  • 135a742b6e config: add --console-stderr parameter Benjamin Renard 2023-01-09 11:25:58 +0100
  • da63f533be Abstract common DB methods in mysql.db.DB class and use it as base to implement PgDB, OracleDB and MyDB 2023.01.07 Benjamin Renard 2023-01-07 02:19:18 +0100
  • 83ce6b9d1b CI now run pylint & flake8 Benjamin Renard 2023-01-06 22:18:46 +0100
  • b0fd2b1c6d Code cleaning Benjamin Renard 2023-01-06 22:13:28 +0100
  • 815081d544 PgDB: Fix tests Benjamin Renard 2023-01-06 21:10:25 +0100
  • 01d71fef89 Add doc about pip install method Benjamin Renard 2023-01-06 19:38:39 +0100
  • ad04357c6b Code cleaning Benjamin Renard 2023-01-06 19:36:14 +0100
  • eb183b0d3b config: split console logging between stdout & stderr base on level Benjamin Renard 2023-01-06 18:18:55 +0100
  • 55782df47c config: code cleaning Benjamin Renard 2023-01-06 18:16:46 +0100
  • 7efacf04e4 Add the Dockerfile to build the docker brenard/mylib:dev-master image Benjamin Renard 2023-01-03 00:35:22 +0100
  • a1118cc40a Add the Dockerfile to build the docker brenard/mylib:latest image Benjamin Renard 2023-01-03 00:21:44 +0100
  • cb4b8d6974 ldap: add option to disable referral following Benjamin Renard 2022-12-09 12:33:09 +0100
  • c643fd30ac oracle: fix closing cursors Benjamin Renard 2022-12-09 12:20:01 +0100
  • 651e1a1a6c ldap: Work-arround with AD invalid return on searching objects Benjamin Renard 2022-12-02 12:09:40 +0100
  • 85d34b7b9a Config: allow access/setting config options as with a dict Benjamin Renard 2022-11-09 10:25:13 +0100
  • fd2911e810 CI: fix path of deb files in publish-apt job v0.1.10 Benjamin Renard 2022-08-02 01:42:04 +0200
  • cb9146f6e9 CI: fix release notes file path Benjamin Renard 2022-08-02 01:37:37 +0200
  • d0676443d7 CI: use brenard/aptly-publish image for publish-apt job Benjamin Renard 2022-08-02 01:33:52 +0200
  • 68729f301f CI: add release notes Benjamin Renard 2022-08-02 01:30:25 +0200
  • 31eeff367c ldap.LdapClient.get_objects: add paged_search & pagesize parameters Benjamin Renard 2022-07-20 10:52:10 +0200
  • 86eae5dae5 ldap.LdapServer: make parameters accepted by search and paged_search methods identical Benjamin Renard 2022-07-20 10:50:58 +0200
  • 6adcc1eeed SFTP client: add missing connect() call in get_file and open_file methods Benjamin Renard 2022-06-30 14:46:43 +0200
  • e858cb3d71 SFTP client: add missing docstrings Benjamin Renard 2022-06-30 14:36:51 +0200
  • 54d6c6e0f3 SFTP client: add get_file and open_file methods v0.1.9 Benjamin Renard 2022-06-30 14:34:25 +0200
  • 9511b31a79 Add SFTP client v0.1.8 Benjamin Renard 2022-06-28 11:05:43 +0200
  • b80cc3b3b6 Fix typo Benjamin Renard 2022-06-23 18:56:58 +0200
  • f541630a63 ldap: code cleaning / fix pylint/flake8 warnings v0.1.7 Benjamin Renard 2022-06-23 18:38:21 +0200
  • 2bc9964b12 ldap.LdapServer: Add encode/decode helpers and parameters Benjamin Renard 2022-06-23 18:34:48 +0200
  • fe3e3ed5f4 ldap: fix DN spliting/escaping problems v0.1.6 Benjamin Renard 2022-06-07 12:40:53 +0200
  • cbb97ae726 LdapClient.update_need: fix handling None changes Benjamin Renard 2022-06-01 18:46:37 +0200
  • 025fd12dc4 ldap: add parameter to disable SSL certificate check Benjamin Renard 2022-06-01 18:46:08 +0200
  • e8de509346 Report: add methods to attach file/payload Benjamin Renard 2022-05-27 19:59:47 +0200
  • 5a7a46355c LdapClient.update_object: do not modify the provided changes parameter in case of renaming Benjamin Renard 2022-05-27 19:54:03 +0200
  • a36ce4070b LdapClient.add_object: ignore 'dn' attribute if provided Benjamin Renard 2022-05-27 19:52:59 +0200
  • be80b1ed8c report: make Report compatible with mylib.config.Config Benjamin Renard 2022-05-27 17:09:51 +0200
  • 6ac1216ed8 LdapClient: improve just-try mode detection Benjamin Renard 2022-05-27 15:29:16 +0200
  • 5f0527f0c3 config: add get_option() method Benjamin Renard 2022-05-27 15:15:34 +0200
  • ade97bc90f LdapClient: init cache in __init__ method and reset it during initialization Benjamin Renard 2022-05-27 14:11:40 +0200
  • e7e07a944a LdapClient: replace private __get_option method by protected _get_option Benjamin Renard 2022-05-27 12:53:11 +0200
  • 3bf87222fd config: start adding support of multiline values Benjamin Renard 2022-05-13 14:47:01 +0200
  • 2cdc7b870d CI: fix publishing v0.1.5 Benjamin Renard 2022-05-01 00:01:38 +0200
  • 2927065ed6 build.sh: Fix escaping gitdch calling args Benjamin Renard 2022-04-30 23:44:40 +0200
  • bf37e6223e Add debian publishing Benjamin Renard 2022-04-30 22:59:19 +0200
  • 03668e7003 CI: Try agin fixing CI steps conditions v0.1.4 Benjamin Renard 2022-04-28 17:04:32 +0200
  • f07ec8d0e9 CI: Try agin fixing CI steps conditions v0.1.3 Benjamin Renard 2022-04-28 00:45:26 +0200
  • 36269c81c1 CI: Try agin fixing CI steps conditions Benjamin Renard 2022-04-28 00:42:38 +0200