Commit graph

9 commits

Author SHA1 Message Date
3b7757b1d9 chore: add support for build automation (#5)
All checks were successful
Run tests and linters / test (push) Successful in 42s
Run tests and linters / build (push) Successful in 41s
Run tests and linters / lint (push) Successful in 1m18s
This PR seeks to solve #2.

It adds a Makefile that can build, test, lint and package the code and the Forgejo workflows needed to automate the build. In addition, it resolves various issues highlighted by the linter.

Reviewed-on: #5
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-26 14:07:46 +02:00
36850a0650
chore: upgrade yaml to 3.0.1 2024-07-26 12:03:44 +02:00
9ceab0ff36
chore: upgrade go-ldap to 3.4.8 2024-07-26 12:00:07 +02:00
245c79ed9c
chore: upgrade logrus to 1.9.3 and its Graylog hook to 3.2.1 2024-07-26 11:57:25 +02:00
f7e892ef81
chore: change module name 2024-07-26 11:40:03 +02:00
0e642c85a6 LDAP connection code
* Code that connects to LDAP servers and send queries
  * Helper functions to fetch CA certificates or EE certificates
2021-11-05 13:40:47 +01:00
f971c1e961 Configuration validation
* Validate most of the entries in the configuration file, with the
    exception of DNs / RDNs.
  * Use the govalidator library for DNS names and file paths
2021-10-31 11:30:39 +01:00
610cbf28f8 Configuration file reading
* An example configuration file has been added.
  * The data structure that corresponds to the configuration has been
    defined, and functions to load it have been added.
  * Logging using logrus and command line arguments that configure
    logging and set the configuration file's path have been added.
  * Opening the UNIX socket has been implemented.
2021-10-30 17:07:06 +02:00
18ce1d6738 Created project repo 2021-10-30 11:36:05 +02:00