Commit graph

187 commits

Author SHA1 Message Date
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
Benjamin Renard
86eae5dae5 ldap.LdapServer: make parameters accepted by search and paged_search methods identical 2022-07-20 10:50:58 +02:00
Benjamin Renard
6adcc1eeed SFTP client: add missing connect() call in get_file and open_file methods
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-06-30 14:46:43 +02:00
Benjamin Renard
e858cb3d71 SFTP client: add missing docstrings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-06-30 14:36:51 +02:00
Benjamin Renard
54d6c6e0f3 SFTP client: add get_file and open_file methods
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-06-30 14:34:25 +02:00
Benjamin Renard
9511b31a79 Add SFTP client
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-06-28 11:05:43 +02:00
Benjamin Renard
b80cc3b3b6 Fix typo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-06-23 18:56:58 +02:00
Benjamin Renard
f541630a63 ldap: code cleaning / fix pylint/flake8 warnings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-06-23 18:38:21 +02:00
Benjamin Renard
2bc9964b12 ldap.LdapServer: Add encode/decode helpers and parameters 2022-06-23 18:34:48 +02:00
Benjamin Renard
fe3e3ed5f4 ldap: fix DN spliting/escaping problems
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-06-07 12:40:53 +02:00
Benjamin Renard
cbb97ae726 LdapClient.update_need: fix handling None changes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-06-01 18:46:37 +02:00
Benjamin Renard
025fd12dc4 ldap: add parameter to disable SSL certificate check 2022-06-01 18:46:08 +02:00
Benjamin Renard
e8de509346 Report: add methods to attach file/payload
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-05-27 19:59:47 +02:00
Benjamin Renard
5a7a46355c LdapClient.update_object: do not modify the provided changes parameter in case of renaming 2022-05-27 19:54:03 +02:00
Benjamin Renard
a36ce4070b LdapClient.add_object: ignore 'dn' attribute if provided 2022-05-27 19:52:59 +02:00
Benjamin Renard
be80b1ed8c report: make Report compatible with mylib.config.Config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-05-27 17:09:51 +02:00
Benjamin Renard
6ac1216ed8 LdapClient: improve just-try mode detection
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-05-27 15:29:16 +02:00
Benjamin Renard
5f0527f0c3 config: add get_option() method 2022-05-27 15:15:34 +02:00
Benjamin Renard
ade97bc90f LdapClient: init cache in __init__ method and reset it during initialization
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fix cache sharing problem when multiple clients are used on same soft
2022-05-27 14:11:40 +02:00
Benjamin Renard
e7e07a944a LdapClient: replace private __get_option method by protected _get_option
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
To make call by inherited class object easier.
2022-05-27 12:53:11 +02:00
Benjamin Renard
3bf87222fd config: start adding support of multiline values
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-05-13 14:47:01 +02:00
Benjamin Renard
2cdc7b870d CI: fix publishing
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-05-01 00:01:38 +02:00
Benjamin Renard
2927065ed6 build.sh: Fix escaping gitdch calling args
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-04-30 23:44:40 +02:00
Benjamin Renard
bf37e6223e Add debian publishing
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
Use brenard/debian-python-deb docker image to speedup pipeline
2022-04-30 22:59:19 +02:00
Benjamin Renard
03668e7003 CI: Try agin fixing CI steps conditions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-04-28 17:04:32 +02:00
Benjamin Renard
f07ec8d0e9 CI: Try agin fixing CI steps conditions
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-04-28 00:45:26 +02:00
Benjamin Renard
36269c81c1 CI: Try agin fixing CI steps conditions
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-04-28 00:42:38 +02:00
Benjamin Renard
c02c271375 CI: Try agin fixing CI steps conditions
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-04-28 00:40:16 +02:00
Benjamin Renard
adcfe27ee1 CI: add publish-dryrun step
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-04-28 00:36:11 +02:00