Commit graph

229 commits

Author SHA1 Message Date
esy
e09818ca6b feat: add license
Some checks failed
Build / build (push) Failing after 39s
Build / deploy (push) Has been skipped
2024-09-23 20:07:50 +00:00
71f5928c66 ci: swapped out gitlab for forgejo actions
All checks were successful
Build / build (push) Successful in 13s
Build / deploy (push) Successful in 8s
2024-08-09 21:16:59 +01:00
36c5e5bbae Merge branch '#7-multiple-ssh-keys' into 'main'
Frontend for new SSH page

Closes #7

See merge request compsoc1/skynet/ldap/frontend!12
2024-02-18 17:28:20 +00:00
daragh
92a83a2079
fmt , made default textarea bigger 2024-02-18 16:47:22 +00:00
daragh
0851e9934d
fix : styling and word wrap 2024-02-18 16:30:16 +00:00
daragh
e4a48864ad
fix : trailing slash 2024-02-18 13:34:31 +00:00
daragh
318b4136b0
fix : correct api endpoints 2024-02-18 13:32:29 +00:00
daragh
dcbce9942b
Table now refreshes after deleting / adding key
Can get keys multiple times, ssh key is now an attribute of the row, so
no weird logic when deleting the key.
Tested with mockoon seems to be working.
2024-02-18 02:42:06 +00:00
daragh
5f11bbce09 feat : changed post_request to be more general and return true/false based on response 2024-01-01 18:36:48 +00:00
daragh
c215c710b9 fix : remove ssh from modify page , added ssh page to index.html 2024-01-01 18:01:43 +00:00
daragh
cb806ad893 fix : rename ssh.js 2024-01-01 17:16:50 +00:00
daragh
7c2a3e6414 fix : now can catch any errors thrown by awaiting req.json() 2024-01-01 17:16:10 +00:00
daragh
7100dad705 fix : moved ssh stuff int src/ 2024-01-01 17:02:37 +00:00
daragh
a12bd3e040 Merge branch 'main' of https://gitlab.skynet.ie/compsoc1/skynet/ldap/frontend into #7-multiple-ssh-keys
# Conflicts:
#	src/index.html
2024-01-01 16:48:44 +00:00
d3b4c822b9 Merge branch '#9-not-correctly-showing-errors' into 'main'
Fix errors not being propogated to teh end user.

Closes #9

See merge request compsoc1/skynet/ldap/frontend!13
2024-01-01 10:11:01 +00:00
9042ce0df9 feat: since most pages were posting to the api and displaying any errors its easier to turn it into a shared function for easy refactoring.
Related to #9
2024-01-01 10:06:21 +00:00
4881be37e1 feat: Moved the JS out of the username reminder page into its own file
Related to #9
2024-01-01 09:44:21 +00:00
741bb8c7ca feat: Moved the JS out of the ssh recovery page into its own file
Related to #9
2024-01-01 09:41:24 +00:00
ae433303b8 feat: Moved the JS out of the password recovery_reset page into its own file
Related to #9
2024-01-01 09:36:30 +00:00
eec783bd77 feat: Moved the JS out of the password recovery page into its own file
Related to #9
2024-01-01 09:31:32 +00:00
ad55bf81ef fix: not going to give these their own folder 2024-01-01 09:28:22 +00:00
68953f0d5f feat: Moved the JS out of the signup page into its own file
Related to #9
2024-01-01 09:24:48 +00:00
da7adea36e feat: Moved the JS out of the register page into its own file
Related to #9
2024-01-01 09:19:34 +00:00
019d22695f feat: Moved the JS out of the password reset page into its own file
Related to #9
2024-01-01 09:09:38 +00:00
a7bde90cb8 feat: Moved the JS out of the modify page into its own file
Related to #9
2024-01-01 09:09:38 +00:00
daragh
c6e0714485
fmt : newline 2023-12-31 08:35:16 +00:00
daragh
202c89ca74
fix : early return, logging errors into frontend 2023-12-31 08:18:33 +00:00
daragh
9b9ea81206
fix : removed testing api endpoints with actual 2023-12-31 07:09:31 +00:00
daragh
128794648c
feat : made input for new key textarea, split keys on their comment to display in table. Made js code use async/await instead of then.
Works fine with mockoon but might need more testing with actual LDAP server.
2023-12-30 23:27:32 +00:00
daragh
7f40a4b259
feat : added link to SSH page from main page
Might also need to remove SSH stuff from modify page
2023-12-30 04:07:35 +00:00
daragh
0af81c6efa
fix : fetch paths 2023-12-30 01:55:45 +00:00
daragh
040fdeaf4a
Merge remote-tracking branch 'origin/#7-multiple-ssh-keys' into #7-multiple-ssh-keys 2023-12-30 01:48:06 +00:00
daragh
115f0257e5
feat : frontend for adding & deleting keys 2023-12-30 01:47:41 +00:00
b2c23910fb Merge branch frontend:main into #7-multiple-ssh-keys 2023-12-27 20:02:09 +00:00
520464b73d Merge branch '#8_deal_with_new_auth_process' into 'main'
feat: adjust any form that takes the users username and pass so its in the auth field.

Closes #8

See merge request compsoc1/skynet/ldap/frontend!11
2023-12-27 14:49:29 +00:00
ec5ecd504c feat: adjust any form that takes teh suers username and pass so its in the auth field.
Closes #8
2023-12-27 14:47:29 +00:00
daragh
1e2d2c0408
feat : added frontend for getting ssh keys 2023-12-24 22:15:06 +00:00
7ab4419132 Improve formatting a little to make it closer to usable 2023-11-06 13:11:17 +00:00
63388a8d1c fix: make sure folks know that tehy have complete control over their username 2023-09-28 00:54:57 +01:00
fb5990602a format a little 2023-09-27 12:14:32 +00:00
f1ee82e43f improve format a tiny bit 2023-09-27 12:11:43 +00:00
d97ecde7fc fmt: tidied up a good chunk 2023-09-27 02:24:15 +01:00
d864a3bafd feat: merged in css from the almnui renew page/repo https://gitlab.skynet.ie/compsoc1/skynet/website/alumni-renew 2023-09-27 01:58:27 +01:00
2038a88466 Style the page real quick 2023-09-26 21:49:23 +00:00
3c3649ccfe Merge branch '4-account-recovery' into 'main'
Feat. Form default behaviour bypassed

See merge request compsoc1/skynet/ldap/frontend!10
2023-09-26 20:22:50 +00:00
092dec7e21 fmt: a little bit of cleanup and formatting 2023-09-26 21:20:33 +01:00
8cb50b67f5 feat: auth side of teh password up and running 2023-09-26 21:17:38 +01:00
b2c0d939f9 feat: password reset request form is functional 2023-09-26 18:16:38 +01:00
7105bb2a9b Merge branch 'main' into 4-account-recovery
# Conflicts:
#	src/index.html
#	src/password.html
2023-09-26 17:36:44 +01:00
d44884309f forgot to change stylesheet reference 2023-09-25 12:51:16 +00:00