Commit Graph

46 Commits

Author SHA1 Message Date
33566572fb generate session secret key randomly each application start,
bump app version 1.0.6
2024-11-15 00:35:57 +00:00
7da5c22313 update go.mod 2024-11-14 07:26:45 +00:00
bf80945168 rename make testsd target to test 2024-10-24 18:08:43 +00:00
e18737c043 cleanup gitignore 2024-10-23 22:46:43 +00:00
162eda70b9 fix make PHONY targets 2024-10-23 18:58:06 +00:00
0d1dd540c0 update go.mod 2024-10-21 19:56:01 +00:00
b8b0504a70 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
2024-10-19 04:16:17 +00:00
99242b70a0 add starttls support,
add starttls option to config
2024-10-18 04:38:26 +00:00
fd84f9a991 Update README.md 2024-10-16 05:03:58 +00:00
0689ee46fd improve ModGroup to perform NOP 2024-10-15 21:34:34 +00:00
ca0832a010 update go mod 2024-10-14 22:21:44 +00:00
5d41b605b9 add better ldap response error handling 2024-10-14 22:21:10 +00:00
03177eb4d9 add mail attribute to user,
bump API version to 1.0.3
2024-10-12 22:33:34 +00:00
95ad75b20d go mod tidy 2024-10-10 20:59:01 +00:00
8cefdb0b01 update go version and dependencies 2024-10-10 20:57:29 +00:00
eacc349cac fix critical userPassword bug,
improve ldap user/group data handling
2024-10-05 00:08:58 +00:00
bf0596d385 add memberOf attribute to users,
bump version to 1.0.1
2024-07-26 01:25:46 +00:00
f11e5ccc31 fix default session cookie max age,
disable cgo in build
2024-07-18 20:22:12 +00:00
8f8f6bd1e8 add installation instructions to README 2024-07-06 03:11:30 +00:00
d41bca141c add version route 2024-07-06 02:46:10 +00:00
05e0c02fe8 rename config.template,json to template.config.json 2024-06-27 02:40:09 +00:00
alu
eea5b8599e Merge pull request 'Rewrite API in GO' (#1) from go-rewrite into main
Reviewed-on: #1
2024-06-21 23:33:29 +00:00
cc8d72cba7 update default listen port to 80 2024-06-20 03:18:42 +00:00
e8dec2fbef add Makefile, move systemd service file to init folder 2024-06-20 03:03:11 +00:00
df2d5f0bf7 move config template to configs folder 2024-06-20 02:33:30 +00:00
a5d01e3bed rewrite api in go/gin 2024-06-18 21:23:22 +00:00
cb4a3e4031 remove ldap setup scripts 2024-03-28 21:29:37 +00:00
6fff2a3f7f add starttls init script,
fix some bugs with init script
2024-01-26 03:31:00 +00:00
e5f2f19a69 add password check to init.sh 2024-01-19 08:30:14 +00:00
64853b3b14 update config.template.json,
update .gitignore,
fix required admin membership in openldap init,
add set cookie header to delete ticket endpoint
2024-01-19 08:02:10 +00:00
ca6fbfc002 fix newline in paas.template.ldif 2024-01-18 04:53:26 +00:00
174a2c7fa4 add admin email field 2024-01-18 04:50:09 +00:00
b7731c1fc7 change paas to any admin user in init 2024-01-16 22:44:37 +00:00
68eebae8cf fix linting 2024-01-12 01:48:34 +00:00
0fe0fd97a6 consolidate package and config import,
fix ldap auth template,
add start script and systemd service
2024-01-11 00:07:35 +00:00
f556de9a0c add endpoints for session creation,
update package.json
2024-01-09 20:05:21 +00:00
213cf4a8fd add get all user and get all groups endpoints 2023-12-22 04:20:31 +00:00
ad271d010e implement group member endpoints 2023-12-21 01:48:46 +00:00
2e0497f1c1 add group endpoints,
improve comments for other endpoints
2023-12-19 08:07:10 +00:00
3d1834b5a2 remove admin userPassword read permission,
implement user add mod get del endpoints
2023-12-15 23:20:43 +00:00
485017b916 add prototypes of api routes 2023-12-14 00:25:08 +00:00
444ed847cd improve ldap wrapper return values 2023-12-01 23:06:15 +00:00
164f937b0a improve ldap return values,
fix addUserToGroup and delUser logic with user-group interaction
2023-11-30 04:28:49 +00:00
91092d554c implement group methods,
implement modUser
2023-11-28 00:20:54 +00:00
10116da900 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
2023-11-17 19:49:11 +00:00
0896ea4c81 create openldap setup utilities,
prototype ldap api interface
2023-11-16 22:41:38 +00:00