Commit graph

215 commits

Author SHA1 Message Date
Benjamin Renard
e38e5b10a7
build.sh: fix dpkg-source / quilt 'version does not contain a revision' error 2023-07-10 12:47:33 +02:00
Benjamin Renard
3a443e1fa5
build.sh: fix handling git safe protection 2023-07-10 12:46:44 +02:00
Benjamin Renard
44bd9a6446
Telltale: add check_entrypoint() to easily implement Icinga checker script 2023-07-10 11:56:03 +02:00
Benjamin Renard
f8602801d7
Fix some pylint warnings 2023-07-10 11:55:09 +02:00
Benjamin Renard
e8572e2eaa
pre-commit: bump to isort 5.11.5 2023-07-10 11:53:42 +02:00
Benjamin Renard
f597164305
Config: add stuff to handle just-try mode in ConfigurableObject class 2023-06-19 17:07:59 +02:00
Benjamin Renard
72877dd13e
LdapClient.get_changes(): properly handle attributes with empty value 2023-05-03 11:35:30 +02:00
Benjamin Renard
ebd73812bc
ldap.LdapServer: add format_modify_modlist() and factorize format_changes() & update_need() 2023-05-03 11:14:18 +02:00
Benjamin Renard
5693cf8f8a
Re-ordering pre-commits hooks to run those who change the code first 2023-03-23 09:59:05 +01:00
Benjamin Renard
63d6a6e0ed
Intruce bandit pre-commit checks 2023-03-23 09:56:31 +01:00
Benjamin Renard
73735b378f
Email: add support for CC & BCC recipients 2023-03-14 17:12:50 +01:00
Benjamin Renard
c93b3508ed
Email: add possibility to specify more than one recipient 2023-03-14 16:55:36 +01:00
Benjamin Renard
d75a61b4e8
Email: fix handling templates_path default value 2023-03-13 19:13:52 +01:00
Benjamin Renard
93b06d6127
ConfigurableObject: add set_default() / set_defaults() methods 2023-03-13 19:12:47 +01:00
Benjamin Renard
e71fb28295
Email: add possibility to easily load templates from a directory 2023-03-13 18:58:20 +01:00
Benjamin Renard
b5df95a2dd
Config: add set_default() / set_defaults() methods 2023-03-13 18:53:29 +01:00
Benjamin Renard
5aa6a0cea4
LdapClient.update_object(): add relax parameter 2023-03-13 17:02:52 +01:00
Benjamin Renard
3efaceb823 Fix tests.sh exit code
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2023-01-16 13:37:53 +01:00
Benjamin Renard
56f66dcd6e Run pytest only when at least one python file is changed 2023-01-16 13:37:17 +01:00
Benjamin Renard
86e1d59b1d Improve docker images and use brenard/mylib:dev-master to run tests quickly
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-16 13:24:19 +01:00
Benjamin Renard
62c3fadf96 Introduce pyupgrade,isort,black and configure pre-commit hooks to run all testing tools before commit
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-16 12:56:12 +01:00
Benjamin Renard
a83c3d635f Add mylib.mapping.map_hash() 2023-01-16 12:23:50 +01:00
Benjamin Renard
69d6a596a8 Docker: try to make images lighter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-10 11:22:39 +01:00
Benjamin Renard
3a43b8d07d Config.parse_arguments_options(): add hardcoded_options argument
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-10 10:52:26 +01:00
Benjamin Renard
56162452ac config: if option value was previously set, ignore from options value 2023-01-10 10:50:48 +01:00
Benjamin Renard
5fefc1ed84 Config: make the configparser always defined to allow to set options at any moment 2023-01-10 10:48:57 +01:00
Benjamin Renard
e9477b1566 config: add optional --reconfigure parameter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-09 13:34:07 +01:00
Benjamin Renard
508a28e5c8 tests: add some tests on BooleanOption 2023-01-09 13:33:14 +01:00
Benjamin Renard
6a7368deb5 ConfigOption: add _get_user_input method to allow to mock it in tests 2023-01-09 13:32:25 +01:00
Benjamin Renard
014a0802f8 config: make sure to reload file after saving it
To ensure the configparser object is uptodate.
2023-01-09 13:27:52 +01:00
Benjamin Renard
135a742b6e config: add --console-stderr parameter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-09 11:25:58 +01:00
da63f533be Abstract common DB methods in mysql.db.DB class and use it as base to implement PgDB, OracleDB and MyDB
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2023-01-07 02:19:18 +01:00
83ce6b9d1b CI now run pylint & flake8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-06 22:18:46 +01:00
b0fd2b1c6d Code cleaning 2023-01-06 22:18:18 +01:00
815081d544 PgDB: Fix tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-06 21:10:25 +01:00
Benjamin Renard
01d71fef89 Add doc about pip install method
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-06 19:38:39 +01:00
Benjamin Renard
ad04357c6b Code cleaning 2023-01-06 19:38:32 +01:00
Benjamin Renard
eb183b0d3b config: split console logging between stdout & stderr base on level
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-06 18:19:48 +01:00
Benjamin Renard
55782df47c config: code cleaning 2023-01-06 18:19:48 +01:00
7efacf04e4 Add the Dockerfile to build the docker brenard/mylib:dev-master image
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-03 00:35:22 +01:00
a1118cc40a Add the Dockerfile to build the docker brenard/mylib:latest image 2023-01-03 00:21:44 +01:00
Benjamin Renard
cb4b8d6974 ldap: add option to disable referral following
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-09 12:33:09 +01:00
Benjamin Renard
c643fd30ac oracle: fix closing cursors 2022-12-09 12:20:01 +01:00
Benjamin Renard
651e1a1a6c ldap: Work-arround with AD invalid return on searching objects
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-02 12:09:40 +01:00
Benjamin Renard
85d34b7b9a Config: allow access/setting config options as with a dict 2022-11-09 10:25:13 +01:00
Benjamin Renard
fd2911e810 CI: fix path of deb files in publish-apt job
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-08-02 01:42:04 +02:00
Benjamin Renard
cb9146f6e9 CI: fix release notes file path
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-08-02 01:37:37 +02:00
Benjamin Renard
d0676443d7 CI: use brenard/aptly-publish image for publish-apt job
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-08-02 01:33:52 +02:00
Benjamin Renard
68729f301f CI: add release notes 2022-08-02 01:30:25 +02:00
Benjamin Renard
31eeff367c ldap.LdapClient.get_objects: add paged_search & pagesize parameters
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-07-20 10:52:10 +02:00