Commit graph

225 commits

Author SHA1 Message Date
f5ab63b59e feat: apparently this is all taht is needed to enable C&S
Closes #26
2024-03-11 21:14:45 +00:00
ff85fb657e feat: new env var for clubs and socs 2024-03-11 20:56:14 +00:00
7576b954bb feat: handle cors in-app 2024-02-18 14:29:03 +00:00
100b0d6552 Merge branch 'main' into 'main'
fix : clippy

See merge request compsoc1/skynet/ldap/backend!21
2024-02-18 01:46:11 +00:00
daragh
05e99203e8
fix : clippy 2024-02-18 00:39:39 +00:00
daragh
25c85fe076
fix : clippy 2024-02-18 00:37:28 +00:00
96f86985ee feat: any modifications to ssh keys will return the new array of keys.
Should help https://gitlab.skynet.ie/compsoc1/skynet/ldap/frontend/-/merge_requests/12 be displaying accurate information
2024-01-10 11:25:28 +00:00
1ec21d22dd Merge branch '#24_ssh_keys' into 'main'
Backend for new SSH page

Closes #24

See merge request compsoc1/skynet/ldap/backend!20
2023-12-31 06:56:29 +00:00
daragh
c72ade8dab
docs : documentation for new endpoints 2023-12-31 02:42:25 +00:00
daragh
79edb50f65
fix : removed unused variables and made structs private 2023-12-31 00:17:43 +00:00
daragh
08ce4c3942
fix : remove redundant code + fmt 2023-12-30 13:09:13 +00:00
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