Commit graph

214 commits

Author SHA1 Message Date
daragh
2e0ba6e53c
fmt : rustrover formatter is different from cargo fmt ¯\_(ツ)_/¯ 2023-12-30 04:11:36 +00:00
daragh
0638f48397
Merge remote-tracking branch 'origin/#24_ssh_keys' into #24_ssh_keys
# Conflicts:
#	src/main.rs
#	src/methods/account_ssh.rs
2023-12-30 03:39:21 +00:00
daragh
0492bffe61
feat : methods for adding and deleting ssh keys
needs testing and changes to error handling - match statements?
2023-12-30 03:38:36 +00:00
e8fa808673 Merge branch backend:main into #24_ssh_keys 2023-12-27 20:02:32 +00:00
daragh
91dcb021a9
feat : added get_ssh_keys
needs testing
2023-12-27 18:10:47 +00:00
7ff179f5f2 Merge branch '#25-split-out-auth-code' into 'main'
feat: split out the auth mechanism for a user's account

See merge request compsoc1/skynet/ldap/backend!19
2023-12-27 17:04:49 +00:00
8f4f4b11d8 feat: split out the auth mechanism for a user's account
Closes #25
2023-12-27 14:42:55 +00:00
9924b2a2e8 fix: ignore the cargo dir
Signed-off-by: Brendan Golden <git_laptop@brendan.ie>
2023-12-24 23:29:35 +00:00
4855748866 feat: added a toolchain to use 2023-12-24 22:28:21 +00:00
daragh
a28e58db76
feat : added get_ssh_keys
needs testing
2023-12-24 22:02:12 +00:00
303885ef0d feat: added support for skynet trainees 2023-11-20 16:31:01 +00:00
b0bc6f35c2 fix: email changed to contact_email (2)
Related to #20
2023-10-27 11:36:37 +01:00
ee88cbeb55 fix: email changed to contact_email
Related to #20
2023-10-27 11:17:23 +01:00
2b86fa58e4 fix: wolves ID is numeric 2023-10-27 03:00:51 +01:00
d634806808 Merge branch '#20_wolves-api' into 'main'
feat: nixos side of the config

Closes #20

See merge request compsoc1/skynet/ldap/backend!18
2023-10-27 01:43:38 +00:00
c1f5be0a62 feat: remove the last traces of the csv 2023-10-27 01:48:37 +01:00
b729c050f9 fix: better error handling 2023-10-27 01:42:54 +01:00
ba06d1ec0b fmt: clippy and fmt 2023-10-26 23:06:59 +01:00
1e9b49f459 feat: nixos side of the config
Closes #20
2023-10-26 22:59:30 +01:00
984ebc4fb0 feat: completed the rust side of the new wolves api 2023-10-26 22:56:49 +01:00
5267c588c4 fix: removed some unused database attributes 2023-10-26 00:45:14 +01:00
20d79e427a fix: removed a bad attribute 2023-10-25 17:30:58 +00:00
a43c8c363e fix: when any of the env files gets updated teh service will restart 2023-10-24 17:43:21 +01:00
3f7ac7f9d3 fix: formatting always trips me up 2023-10-22 14:19:17 +01:00
a76c00b200 feat: not storing discord data in the ldap 2023-10-22 14:14:17 +01:00
6cc97eccb2 fix: was blocking users 2023-10-19 20:27:22 +01:00
9db8a238d2 fix: should allow folks to register 2023-09-27 23:47:37 +01:00
f60345493c feat: allow using student ID as a recovery method (for current students) 2023-09-26 00:04:14 +01:00
8fe859b393 fix: typo 2023-09-25 23:36:59 +01:00
f60425f2ad fix: fmt 2023-09-23 20:58:07 +01:00
e6da06ea0d fix: better logging to figure out teh issue on the backend 2023-09-23 20:52:37 +01:00
347988e113 feat: backend updated to have support for both teh current csv and future API
Also tweeked #21 a tad
2023-09-16 16:28:28 +01:00
e4e7171eac Merge branch '#23-restricted-account-names' into 'main'
Restrict account names that users can signup with

Closes #23

See merge request compsoc1/skynet/ldap/backend!17
2023-09-16 14:11:49 +00:00
dadaf73c78 feat: added machanism for not allowing users to sign up with forbidden/restricted usernames.
Names will be added to the nixos config.

Closes #23
2023-09-16 14:56:16 +01:00
35952a2030 fix: no need to send email out, the wolves ID is enough
relates to #21
2023-09-16 14:01:47 +01:00
dc142e8521 fix: return the wolves id as well 2023-09-11 01:06:17 +01:00
7af2f92f22 fmt: fmt 2023-09-11 01:06:03 +01:00
cfd757507d feat: now returning discord and email 2023-09-11 00:55:23 +01:00
079a60cd0b feat: update backend to share more info2 2023-09-10 22:27:36 +01:00
0ece2418ef feat: update backend to share more info 2023-09-10 22:21:44 +01:00
9d4575df27 fix: force ci pipeline 2023-09-03 22:32:23 +01:00
c4de27e46c [skip ci] fix: set right path for password reset 2023-09-03 22:31:02 +01:00
76ed7f5513 [skip ci] doc: check if accounts are expired in teh wolves db 2023-09-03 21:38:31 +01:00
01b5be2660 [skip ci] fix: hadn't set teh env file properly 2023-08-27 21:32:10 +01:00
4f47de1501 fix: ignore all env files 2023-08-27 21:21:05 +01:00
92fad0dc4b feat: added a route to return discord usernames.
Closes #19
2023-08-27 20:33:43 +01:00
ce471ad39a fix: now deals with the correct path for the old ssh accounts 2023-08-24 18:54:22 +01:00
32d693fa8c fix: ensure openssl is available to build the project 2023-08-20 16:24:25 +01:00
Brendan Golden
bfef964084 Merge branch '#18-better-formatting' into 'main'
fmt: updated the formatting

See merge request compsoc1/skynet/ldap/backend!16
2023-08-19 21:18:43 +00:00
ba6021e328 fmt: updated the formatting 2023-08-19 22:09:41 +01:00