Commit Graph

45 Commits

Author SHA1 Message Date
alu 320d2b117f generate session secret key randomly each application start,
bump app version 1.0.6
2025-02-11 07:09:48 +00:00
alu 09e9e99532 update go.mod 2025-02-11 07:09:48 +00:00
alu e43f48bfb8 rename make testsd target to test 2025-02-11 07:09:48 +00:00
alu 48411c18df cleanup gitignore 2025-02-11 07:09:48 +00:00
alu 415eebb531 fix make PHONY targets 2025-02-11 07:09:48 +00:00
alu 23d65ce6cb update go.mod 2025-02-11 07:09:48 +00:00
alu 5e2c64f9b7 add unit tests for various utility functions,
add integration test for LDAPClient,
add aiutomatic openldap configuration for testing through make,
add make targets for tests
improve make targets for build/clean,
update README with build and test instructions
2025-02-11 07:09:48 +00:00
alu 50ff3b2cfc add starttls support,
add starttls option to config
2025-02-11 07:09:48 +00:00
alu 89c7dc7897 Update README.md 2025-02-11 07:09:48 +00:00
alu 6ed7641ee2 improve ModGroup to perform NOP 2025-02-11 07:09:48 +00:00
alu 8ba2458b59 update go mod 2025-02-11 07:09:48 +00:00
alu 70451c95bc add better ldap response error handling 2025-02-11 07:09:48 +00:00
alu ef51f6d31d add mail attribute to user,
bump API version to 1.0.3
2025-02-11 07:09:48 +00:00
alu fa9abe19fc go mod tidy 2025-02-11 07:09:48 +00:00
alu 95b29948ed update go version and dependencies 2025-02-11 07:09:48 +00:00
alu 2cbd6007b3 fix critical userPassword bug,
improve ldap user/group data handling
2025-02-11 07:09:48 +00:00
alu a216304518 add memberOf attribute to users,
bump version to 1.0.1
2025-02-11 07:09:48 +00:00
alu 56766847f8 fix default session cookie max age,
disable cgo in build
2025-02-11 07:09:48 +00:00
alu 8b727920ec add installation instructions to README 2025-02-11 07:09:48 +00:00
alu bd2e7c1e4b add version route 2025-02-11 07:09:48 +00:00
alu 4ec715851f rename config.template,json to template.config.json 2025-02-11 07:09:48 +00:00
alu 5c9015ec0c update default listen port to 80 2025-02-11 07:09:48 +00:00
alu 311a3e332d add Makefile, move systemd service file to init folder 2025-02-11 07:09:48 +00:00
alu 715691f2f7 move config template to configs folder 2025-02-11 07:09:48 +00:00
alu 9412bd57cb rewrite api in go/gin 2025-02-11 07:09:47 +00:00
alu 8f2489df47 remove ldap setup scripts 2025-02-11 07:09:47 +00:00
alu 3fda9d675f add starttls init script,
fix some bugs with init script
2025-02-11 07:09:47 +00:00
alu 9d5966bd58 add password check to init.sh 2025-02-11 07:09:47 +00:00
alu c030e0f11d update config.template.json,
update .gitignore,
fix required admin membership in openldap init,
add set cookie header to delete ticket endpoint
2025-02-11 07:09:47 +00:00
alu c64b6b8379 fix newline in paas.template.ldif 2025-02-11 07:09:47 +00:00
alu a1438d1388 add admin email field 2025-02-11 07:09:47 +00:00
alu 6cbac8b2ce change paas to any admin user in init 2025-02-11 07:09:47 +00:00
alu 2b97c60ea5 fix linting 2025-02-11 07:09:47 +00:00
alu 4e720caa0a consolidate package and config import,
fix ldap auth template,
add start script and systemd service
2025-02-11 07:09:47 +00:00
alu f7e91d7300 add endpoints for session creation,
update package.json
2025-02-11 07:09:47 +00:00
alu 3821565d31 add get all user and get all groups endpoints 2025-02-11 07:09:47 +00:00
alu 7c269c0e19 implement group member endpoints 2025-02-11 07:09:47 +00:00
alu 7fc62e53fe add group endpoints,
improve comments for other endpoints
2025-02-11 07:09:47 +00:00
alu 1d758d6e28 remove admin userPassword read permission,
implement user add mod get del endpoints
2025-02-11 07:09:47 +00:00
alu 63e9f47409 add prototypes of api routes 2025-02-11 07:09:47 +00:00
alu 3cc651ccad improve ldap wrapper return values 2025-02-11 07:09:47 +00:00
alu e6eaf044b3 improve ldap return values,
fix addUserToGroup and delUser logic with user-group interaction
2025-02-11 07:09:47 +00:00
alu 7d7af2d05e implement group methods,
implement modUser
2025-02-11 07:09:47 +00:00
alu cf06cfd334 fix openldap init script paas user token saving,
add config file with BASE_DN,
add async wrapper class for ldap client,
implement addUser getUser delUser,
add and implement addGroup delGroup methods
2025-02-11 07:09:47 +00:00
alu 79c6fd8703 create openldap setup utilities,
prototype ldap api interface
2025-02-11 07:09:47 +00:00